Sync from openai/math@faee2cf485a8 (part 23)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- lean/OAI/RepresentationTheory/RestrictedTilting/FormalAssociatedAction.lean +77 -77
- lean/OAI/RepresentationTheory/RestrictedTilting/FormalAssociatedIso.lean +100 -100
- lean/OAI/RepresentationTheory/RestrictedTilting/FormalLine.lean +92 -92
- lean/OAI/RepresentationTheory/RestrictedTilting/FormalLineContinuity.lean +50 -50
- lean/OAI/RepresentationTheory/RestrictedTilting/FormalSectionAction.lean +37 -37
- lean/OAI/RepresentationTheory/RestrictedTilting/FormalSections.lean +169 -169
- lean/OAI/RepresentationTheory/RestrictedTilting/FrobeniusTensor.lean +226 -226
- lean/OAI/RepresentationTheory/RestrictedTilting/GeneratedStableKernel.lean +117 -117
- lean/OAI/RepresentationTheory/RestrictedTilting/GlobalLattices.lean +323 -323
- lean/OAI/RepresentationTheory/RestrictedTilting/GoodKernel.lean +104 -104
- lean/OAI/RepresentationTheory/RestrictedTilting/GoodKernelExtension.lean +101 -101
- lean/OAI/RepresentationTheory/RestrictedTilting/IntertwinerDescent.lean +94 -94
- lean/OAI/RepresentationTheory/RestrictedTilting/JetRelations.lean +277 -277
- lean/OAI/RepresentationTheory/RestrictedTilting/JetRepresentations.lean +357 -357
- lean/OAI/RepresentationTheory/RestrictedTilting/JetTriviality.lean +108 -108
- lean/OAI/RepresentationTheory/RestrictedTilting/LatticeGluing.lean +313 -313
- lean/OAI/RepresentationTheory/RestrictedTilting/LatticeLocalProjectivity.lean +28 -28
- lean/OAI/RepresentationTheory/RestrictedTilting/LatticeNumerator.lean +76 -76
- lean/OAI/RepresentationTheory/RestrictedTilting/LatticeSwap.lean +33 -33
- lean/OAI/RepresentationTheory/RestrictedTilting/LaurentPolynomialSeparation.lean +71 -71
- lean/OAI/RepresentationTheory/RestrictedTilting/LinearFormalComparison.lean +85 -85
- lean/OAI/RepresentationTheory/RestrictedTilting/LocalFreeness.lean +139 -139
- lean/OAI/RepresentationTheory/RestrictedTilting/LowDegreeTrace.lean +49 -49
- lean/OAI/RepresentationTheory/RestrictedTilting/Main.lean +89 -89
- lean/OAI/RepresentationTheory/RestrictedTilting/MatrixFormalComparison.lean +50 -50
- lean/OAI/RepresentationTheory/RestrictedTilting/NormConverse.lean +96 -96
- lean/OAI/RepresentationTheory/RestrictedTilting/NormDefinitions.lean +39 -39
- lean/OAI/RepresentationTheory/RestrictedTilting/NormFree.lean +100 -100
- lean/OAI/RepresentationTheory/RestrictedTilting/NormMaps.lean +58 -58
- lean/OAI/RepresentationTheory/RestrictedTilting/NormProjectivity.lean +41 -41
- lean/OAI/RepresentationTheory/RestrictedTilting/NumeratorAction.lean +54 -54
- lean/OAI/RepresentationTheory/RestrictedTilting/OriginCoordinates.lean +346 -346
- lean/OAI/RepresentationTheory/RestrictedTilting/PGroupInvariants.lean +58 -58
- lean/OAI/RepresentationTheory/RestrictedTilting/PiPlaneOrigin.lean +82 -82
- lean/OAI/RepresentationTheory/RestrictedTilting/PlaneCharts.lean +270 -270
- lean/OAI/RepresentationTheory/RestrictedTilting/PlaneFibre.lean +122 -122
- lean/OAI/RepresentationTheory/RestrictedTilting/PlaneMatrixTensor.lean +115 -115
- lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialActions.lean +398 -398
- lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialCovers.lean +78 -78
- lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialIntertwiner.lean +58 -58
- lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialJets.lean +109 -109
- lean/OAI/RepresentationTheory/RestrictedTilting/ProjectiveFactor.lean +46 -46
- lean/OAI/RepresentationTheory/RestrictedTilting/ProjectiveRegular.lean +25 -25
- lean/OAI/RepresentationTheory/RestrictedTilting/RationalHomWeights.lean +65 -65
- lean/OAI/RepresentationTheory/RestrictedTilting/RationalMatrices.lean +79 -79
- lean/OAI/RepresentationTheory/RestrictedTilting/RegularActions.lean +311 -311
- lean/OAI/RepresentationTheory/RestrictedTilting/RegularSplitting.lean +82 -82
- lean/OAI/RepresentationTheory/RestrictedTilting/RegularTorus.lean +438 -438
- lean/OAI/RepresentationTheory/RestrictedTilting/RelativeTrace.lean +49 -49
- lean/OAI/RepresentationTheory/RestrictedTilting/RepProducts.lean +52 -52
lean/OAI/RepresentationTheory/RestrictedTilting/FormalAssociatedAction.lean
CHANGED
|
@@ -1,77 +1,77 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalSectionAction
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedPlaneJet
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.NumeratorAction
|
| 4 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompletionCoefficients
|
| 5 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompletedCoordinates
|
| 6 |
-
|
| 7 |
-
namespace OAI
|
| 8 |
-
|
| 9 |
-
namespace FiberFunctorProof
|
| 10 |
-
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 11 |
-
open scoped TensorProduct BigOperators Pointwise
|
| 12 |
-
universe u
|
| 13 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 14 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 15 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 16 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 17 |
-
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 18 |
-
variable (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d)
|
| 19 |
-
local notation "N" => associatedSectionsSubmodule k ι ρ
|
| 20 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 21 |
-
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 22 |
-
local notation "σ" => associatedSectionsRepresentation k ι ρ
|
| 23 |
-
local notation "hσ" => associatedSections_planeCompatible k ι ρ
|
| 24 |
-
local notation "W" => associatedNumeratorLinear k ι ρ P hP d hd
|
| 25 |
-
variable [Module.Finite k ((associatedSectionsSubmodule k ι ρ) ⧸
|
| 26 |
-
planeJetRelation (M := associatedSectionsSubmodule k ι ρ) k 1)]
|
| 27 |
-
local notation "T" => planeJetFD k σ hσ 1
|
| 28 |
-
|
| 29 |
-
noncomputable def formalAssociatedCoordinates
|
| 30 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 31 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j) (v : T) :
|
| 32 |
-
ι → planeCompletion k := completedCoordinates I W (formalPlaneSection k σ hσ s hs v)
|
| 33 |
-
|
| 34 |
-
omit [Infinite k] in
|
| 35 |
-
lemma linePolynomial_cleared (p : Polynomial k) (t : k) (d : ℕ) :
|
| 36 |
-
linePolynomial k (clearedPolynomial p (MvPolynomial.C t) ((MvPolynomial.X 0 : A)^2) d) =
|
| 37 |
-
clearedLineAction k p t d := by
|
| 38 |
-
rw [map_clearedPolynomial]
|
| 39 |
-
simp [linePolynomial, clearedLineAction]
|
| 40 |
-
|
| 41 |
-
omit [Infinite k] in
|
| 42 |
-
lemma formalLineMap_cleared (p : Polynomial k) (t : k) (d : ℕ) :
|
| 43 |
-
formalLineMap k (algebraMap A (planeCompletion k)
|
| 44 |
-
(clearedPolynomial p (MvPolynomial.C t) ((MvPolynomial.X 0 : A)^2) d)) =
|
| 45 |
-
clearedPolynomial p (algebraMap k (PowerSeries k) t) ((PowerSeries.X : PowerSeries k)^2) d := by
|
| 46 |
-
change formalLineMap k ((IsScalarTower.toAlgHom k A (planeCompletion k)) _) = _
|
| 47 |
-
rw [map_clearedPolynomial, map_clearedPolynomial]
|
| 48 |
-
simp only [IsScalarTower.toAlgHom_apply, map_pow, formalLineMap_X]
|
| 49 |
-
congr 1
|
| 50 |
-
rw [MvPolynomial.C_eq_algebraMap, ← IsScalarTower.algebraMap_apply,
|
| 51 |
-
AlgHom.commutes]
|
| 52 |
-
|
| 53 |
-
lemma formalAssociatedCoordinates_unipotent
|
| 54 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 55 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 56 |
-
(t : k) (v : T) (i : ι) :
|
| 57 |
-
(PowerSeries.X : PowerSeries k)^(2*d) * formalLineMap k
|
| 58 |
-
(formalAssociatedCoordinates k ι ρ P hP d hd s hs ((planeJetFD k σ hσ 1).ρ (unipotent k t) v) i) =
|
| 59 |
-
∑ j, clearedPolynomial (P i j) (algebraMap k (PowerSeries k) t)
|
| 60 |
-
((PowerSeries.X : PowerSeries k)^2) d * formalLineMap k
|
| 61 |
-
(formalAssociatedCoordinates k ι ρ P hP d hd s hs v j) := by
|
| 62 |
-
let F : N →ₗ[A] A := (MvPolynomial.X 0 : A)^(2*d) • (LinearMap.proj i).comp W
|
| 63 |
-
let G : N →ₗ[A] A := ∑ j, clearedPolynomial (P i j) (MvPolynomial.C t)
|
| 64 |
-
((MvPolynomial.X 0 : A)^2) d • (LinearMap.proj j).comp W
|
| 65 |
-
have he : ∀ f : N, linePolynomial k (F (σ (unipotent k t) f)) = linePolynomial k (G f) := by
|
| 66 |
-
intro f
|
| 67 |
-
simpa only [F,G,LinearMap.smul_apply,LinearMap.sum_apply,LinearMap.comp_apply,
|
| 68 |
-
LinearMap.proj_apply,smul_eq_mul,map_mul,map_pow,map_sum,
|
| 69 |
-
show linePolynomial k (MvPolynomial.X 0) = Polynomial.X from by simp [linePolynomial],
|
| 70 |
-
linePolynomial_cleared] using associatedNumerator_line_unipotent k ι ρ P hP d hd t f i
|
| 71 |
-
have h := formalPlaneSection_line_action k σ hσ s hs (unipotent k t) F G he v
|
| 72 |
-
simp only [F,G,completion_map_smul, LinearMap.sum_apply, completion_self_smul, map_mul, map_sum,
|
| 73 |
-
map_pow, formalLineMap_X, formalLineMap_cleared] at h
|
| 74 |
-
simpa only [formalAssociatedCoordinates, completedCoordinates_apply] using h
|
| 75 |
-
end FiberFunctorProof
|
| 76 |
-
|
| 77 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalSectionAction
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedPlaneJet
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.NumeratorAction
|
| 4 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompletionCoefficients
|
| 5 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompletedCoordinates
|
| 6 |
+
|
| 7 |
+
namespace OAI
|
| 8 |
+
|
| 9 |
+
namespace FiberFunctorProof
|
| 10 |
+
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 11 |
+
open scoped TensorProduct BigOperators Pointwise
|
| 12 |
+
universe u
|
| 13 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 14 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 15 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 16 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 17 |
+
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 18 |
+
variable (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d)
|
| 19 |
+
local notation "N" => associatedSectionsSubmodule k ι ρ
|
| 20 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 21 |
+
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 22 |
+
local notation "σ" => associatedSectionsRepresentation k ι ρ
|
| 23 |
+
local notation "hσ" => associatedSections_planeCompatible k ι ρ
|
| 24 |
+
local notation "W" => associatedNumeratorLinear k ι ρ P hP d hd
|
| 25 |
+
variable [Module.Finite k ((associatedSectionsSubmodule k ι ρ) ⧸
|
| 26 |
+
planeJetRelation (M := associatedSectionsSubmodule k ι ρ) k 1)]
|
| 27 |
+
local notation "T" => planeJetFD k σ hσ 1
|
| 28 |
+
|
| 29 |
+
noncomputable def formalAssociatedCoordinates
|
| 30 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 31 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j) (v : T) :
|
| 32 |
+
ι → planeCompletion k := completedCoordinates I W (formalPlaneSection k σ hσ s hs v)
|
| 33 |
+
|
| 34 |
+
omit [Infinite k] in
|
| 35 |
+
lemma linePolynomial_cleared (p : Polynomial k) (t : k) (d : ℕ) :
|
| 36 |
+
linePolynomial k (clearedPolynomial p (MvPolynomial.C t) ((MvPolynomial.X 0 : A)^2) d) =
|
| 37 |
+
clearedLineAction k p t d := by
|
| 38 |
+
rw [map_clearedPolynomial]
|
| 39 |
+
simp [linePolynomial, clearedLineAction]
|
| 40 |
+
|
| 41 |
+
omit [Infinite k] in
|
| 42 |
+
lemma formalLineMap_cleared (p : Polynomial k) (t : k) (d : ℕ) :
|
| 43 |
+
formalLineMap k (algebraMap A (planeCompletion k)
|
| 44 |
+
(clearedPolynomial p (MvPolynomial.C t) ((MvPolynomial.X 0 : A)^2) d)) =
|
| 45 |
+
clearedPolynomial p (algebraMap k (PowerSeries k) t) ((PowerSeries.X : PowerSeries k)^2) d := by
|
| 46 |
+
change formalLineMap k ((IsScalarTower.toAlgHom k A (planeCompletion k)) _) = _
|
| 47 |
+
rw [map_clearedPolynomial, map_clearedPolynomial]
|
| 48 |
+
simp only [IsScalarTower.toAlgHom_apply, map_pow, formalLineMap_X]
|
| 49 |
+
congr 1
|
| 50 |
+
rw [MvPolynomial.C_eq_algebraMap, ← IsScalarTower.algebraMap_apply,
|
| 51 |
+
AlgHom.commutes]
|
| 52 |
+
|
| 53 |
+
lemma formalAssociatedCoordinates_unipotent
|
| 54 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 55 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 56 |
+
(t : k) (v : T) (i : ι) :
|
| 57 |
+
(PowerSeries.X : PowerSeries k)^(2*d) * formalLineMap k
|
| 58 |
+
(formalAssociatedCoordinates k ι ρ P hP d hd s hs ((planeJetFD k σ hσ 1).ρ (unipotent k t) v) i) =
|
| 59 |
+
∑ j, clearedPolynomial (P i j) (algebraMap k (PowerSeries k) t)
|
| 60 |
+
((PowerSeries.X : PowerSeries k)^2) d * formalLineMap k
|
| 61 |
+
(formalAssociatedCoordinates k ι ρ P hP d hd s hs v j) := by
|
| 62 |
+
let F : N →ₗ[A] A := (MvPolynomial.X 0 : A)^(2*d) • (LinearMap.proj i).comp W
|
| 63 |
+
let G : N →ₗ[A] A := ∑ j, clearedPolynomial (P i j) (MvPolynomial.C t)
|
| 64 |
+
((MvPolynomial.X 0 : A)^2) d • (LinearMap.proj j).comp W
|
| 65 |
+
have he : ∀ f : N, linePolynomial k (F (σ (unipotent k t) f)) = linePolynomial k (G f) := by
|
| 66 |
+
intro f
|
| 67 |
+
simpa only [F,G,LinearMap.smul_apply,LinearMap.sum_apply,LinearMap.comp_apply,
|
| 68 |
+
LinearMap.proj_apply,smul_eq_mul,map_mul,map_pow,map_sum,
|
| 69 |
+
show linePolynomial k (MvPolynomial.X 0) = Polynomial.X from by simp [linePolynomial],
|
| 70 |
+
linePolynomial_cleared] using associatedNumerator_line_unipotent k ι ρ P hP d hd t f i
|
| 71 |
+
have h := formalPlaneSection_line_action k σ hσ s hs (unipotent k t) F G he v
|
| 72 |
+
simp only [F,G,completion_map_smul, LinearMap.sum_apply, completion_self_smul, map_mul, map_sum,
|
| 73 |
+
map_pow, formalLineMap_X, formalLineMap_cleared] at h
|
| 74 |
+
simpa only [formalAssociatedCoordinates, completedCoordinates_apply] using h
|
| 75 |
+
end FiberFunctorProof
|
| 76 |
+
|
| 77 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/FormalAssociatedIso.lean
CHANGED
|
@@ -1,100 +1,100 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalAssociatedAction
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory CategoryTheory.MonoidalCategory Matrix
|
| 7 |
-
open scoped TensorProduct BigOperators Pointwise
|
| 8 |
-
universe u
|
| 9 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 10 |
-
attribute [local instance 1100] HahnSeries.instAlgebra
|
| 11 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 12 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 13 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 14 |
-
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 15 |
-
variable (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d)
|
| 16 |
-
local notation "N" => associatedSectionsSubmodule k ι ρ
|
| 17 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 18 |
-
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 19 |
-
local notation "H" => planeCompletion k
|
| 20 |
-
local notation "K" => LaurentSeries k
|
| 21 |
-
local notation "σ" => associatedSectionsRepresentation k ι ρ
|
| 22 |
-
local notation "hσ" => associatedSections_planeCompatible k ι ρ
|
| 23 |
-
local notation "W" => associatedNumeratorLinear k ι ρ P hP d hd
|
| 24 |
-
local notation "Z" => associatedDenominatorLinear k ι ρ P hP d hd
|
| 25 |
-
local notation "hx" => And.left (associatedSections_regular k ι ρ P hP)
|
| 26 |
-
local notation "hy" => And.right (associatedSections_regular k ι ρ P hP)
|
| 27 |
-
variable [Module.Finite k ((associatedSectionsSubmodule k ι ρ) ⧸
|
| 28 |
-
planeJetRelation (M := associatedSectionsSubmodule k ι ρ) k 1)]
|
| 29 |
-
local notation "T" => planeJetFD k σ hσ 1
|
| 30 |
-
|
| 31 |
-
omit [Infinite k] in
|
| 32 |
-
lemma ofPowerSeriesAlg_apply_eq (f : PowerSeries k) :
|
| 33 |
-
(HahnSeries.ofPowerSeriesAlg ℤ k) f = HahnSeries.ofPowerSeries ℤ k f := rfl
|
| 34 |
-
|
| 35 |
-
noncomputable def formalLineParameter : K :=
|
| 36 |
-
HahnSeries.ofPowerSeries ℤ k PowerSeries.X
|
| 37 |
-
|
| 38 |
-
omit [Infinite k] in
|
| 39 |
-
lemma formalLineParameter_ne_zero : formalLineParameter k ≠ 0 := by
|
| 40 |
-
intro hz
|
| 41 |
-
apply PowerSeries.X_ne_zero (R := k)
|
| 42 |
-
exact HahnSeries.ofPowerSeries_injective (hz.trans (map_zero _).symm)
|
| 43 |
-
|
| 44 |
-
noncomputable def associatedFieldTrivialization
|
| 45 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 46 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j) : (K ⊗[k] T) ≃ₗ[K] (ι → K) := by
|
| 47 |
-
letI : Algebra H K := (formalLineFieldMap k).toRingHom.toAlgebra
|
| 48 |
-
exact fieldCoordinateTrivialization (formalPlaneTrivialization k σ hσ s hs0 hs hx hy)
|
| 49 |
-
(completedCoordinates I W) (completedDenominator I Z)
|
| 50 |
-
(algebraMap A H ((MvPolynomial.X 0)^ (d+d)))
|
| 51 |
-
(completedCoordinates_denominator I W Z _ (associatedNumerator_denominator k ι ρ P hP d hd))
|
| 52 |
-
(completedDenominator_coordinates I W Z _ (associatedDenominator_numerator k ι ρ P hP d hd))
|
| 53 |
-
(by
|
| 54 |
-
change formalLineFieldMap k (algebraMap A H ((MvPolynomial.X 0)^(d+d))) ≠ 0
|
| 55 |
-
rw [map_pow, map_pow]
|
| 56 |
-
exact pow_ne_zero _ (formalLineFieldMap_X_ne_zero k))
|
| 57 |
-
|
| 58 |
-
lemma associatedFieldTrivialization_one
|
| 59 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 60 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 61 |
-
(v : T) (i : ι) :
|
| 62 |
-
associatedFieldTrivialization k ι ρ P hP d hd s hs0 hs (1 ⊗ₜ[k] v) i =
|
| 63 |
-
HahnSeries.ofPowerSeries ℤ k
|
| 64 |
-
(formalLineMap k (formalAssociatedCoordinates k ι ρ P hP d hd s hs v i)) := by
|
| 65 |
-
let : Algebra H K := (formalLineFieldMap k).toRingHom.toAlgebra
|
| 66 |
-
dsimp only [associatedFieldTrivialization]
|
| 67 |
-
rw [fieldCoordinateTrivialization_one, formalPlaneTrivialization_one_tmul]
|
| 68 |
-
rfl
|
| 69 |
-
|
| 70 |
-
lemma associatedFieldTrivialization_unipotent_one
|
| 71 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 72 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 73 |
-
(t : k) (v : T) :
|
| 74 |
-
associatedFieldTrivialization k ι ρ P hP d hd s hs0 hs
|
| 75 |
-
(1 ⊗ₜ[k] ((planeJetFD k σ hσ 1).ρ (unipotent k t) v)) =
|
| 76 |
-
polynomialMatrixEval P (algebraMap k K t / (formalLineParameter k)^2) *ᵥ
|
| 77 |
-
associatedFieldTrivialization k ι ρ P hP d hd s hs0 hs (1 ⊗ₜ[k] v) := by
|
| 78 |
-
apply funext
|
| 79 |
-
intro i
|
| 80 |
-
have he := congrArg (HahnSeries.ofPowerSeriesAlg ℤ k)
|
| 81 |
-
(formalAssociatedCoordinates_unipotent k ι ρ P hP d hd s hs t v i)
|
| 82 |
-
simp only [map_mul, map_pow, map_sum] at he
|
| 83 |
-
have hc (j : ι) : (HahnSeries.ofPowerSeriesAlg ℤ k)
|
| 84 |
-
(clearedPolynomial (P i j) (algebraMap k (PowerSeries k) t)
|
| 85 |
-
((PowerSeries.X : PowerSeries k)^2) d) =
|
| 86 |
-
(formalLineParameter k)^(2*d) *
|
| 87 |
-
Polynomial.aeval (algebraMap k K t / (formalLineParameter k)^2) (P i j) := by
|
| 88 |
-
have hc := clearedPolynomial_eval (HahnSeries.ofPowerSeriesAlg ℤ k) (P i j)
|
| 89 |
-
(algebraMap k (PowerSeries k) t) ((PowerSeries.X : PowerSeries k)^2) d (hd i j)
|
| 90 |
-
(by
|
| 91 |
-
rw [map_pow]
|
| 92 |
-
exact pow_ne_zero 2 (formalLineParameter_ne_zero k))
|
| 93 |
-
simpa only [map_pow, AlgHom.commutes, ofPowerSeriesAlg_apply_eq, formalLineParameter, ← pow_mul, div_eq_mul_inv] using hc
|
| 94 |
-
simp only [hc, mul_assoc, ← Finset.mul_sum] at he
|
| 95 |
-
apply mul_left_cancel₀ (pow_ne_zero (2*d) (formalLineParameter_ne_zero k))
|
| 96 |
-
simpa only [associatedFieldTrivialization_one, Matrix.mulVec, dotProduct, polynomialMatrixEval,
|
| 97 |
-
formalLineParameter, ofPowerSeriesAlg_apply_eq] using he
|
| 98 |
-
end FiberFunctorProof
|
| 99 |
-
|
| 100 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalAssociatedAction
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory CategoryTheory.MonoidalCategory Matrix
|
| 7 |
+
open scoped TensorProduct BigOperators Pointwise
|
| 8 |
+
universe u
|
| 9 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 10 |
+
attribute [local instance 1100] HahnSeries.instAlgebra
|
| 11 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 12 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 13 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 14 |
+
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 15 |
+
variable (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d)
|
| 16 |
+
local notation "N" => associatedSectionsSubmodule k ι ρ
|
| 17 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 18 |
+
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 19 |
+
local notation "H" => planeCompletion k
|
| 20 |
+
local notation "K" => LaurentSeries k
|
| 21 |
+
local notation "σ" => associatedSectionsRepresentation k ι ρ
|
| 22 |
+
local notation "hσ" => associatedSections_planeCompatible k ι ρ
|
| 23 |
+
local notation "W" => associatedNumeratorLinear k ι ρ P hP d hd
|
| 24 |
+
local notation "Z" => associatedDenominatorLinear k ι ρ P hP d hd
|
| 25 |
+
local notation "hx" => And.left (associatedSections_regular k ι ρ P hP)
|
| 26 |
+
local notation "hy" => And.right (associatedSections_regular k ι ρ P hP)
|
| 27 |
+
variable [Module.Finite k ((associatedSectionsSubmodule k ι ρ) ⧸
|
| 28 |
+
planeJetRelation (M := associatedSectionsSubmodule k ι ρ) k 1)]
|
| 29 |
+
local notation "T" => planeJetFD k σ hσ 1
|
| 30 |
+
|
| 31 |
+
omit [Infinite k] in
|
| 32 |
+
lemma ofPowerSeriesAlg_apply_eq (f : PowerSeries k) :
|
| 33 |
+
(HahnSeries.ofPowerSeriesAlg ℤ k) f = HahnSeries.ofPowerSeries ℤ k f := rfl
|
| 34 |
+
|
| 35 |
+
noncomputable def formalLineParameter : K :=
|
| 36 |
+
HahnSeries.ofPowerSeries ℤ k PowerSeries.X
|
| 37 |
+
|
| 38 |
+
omit [Infinite k] in
|
| 39 |
+
lemma formalLineParameter_ne_zero : formalLineParameter k ≠ 0 := by
|
| 40 |
+
intro hz
|
| 41 |
+
apply PowerSeries.X_ne_zero (R := k)
|
| 42 |
+
exact HahnSeries.ofPowerSeries_injective (hz.trans (map_zero _).symm)
|
| 43 |
+
|
| 44 |
+
noncomputable def associatedFieldTrivialization
|
| 45 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 46 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j) : (K ⊗[k] T) ≃ₗ[K] (ι → K) := by
|
| 47 |
+
letI : Algebra H K := (formalLineFieldMap k).toRingHom.toAlgebra
|
| 48 |
+
exact fieldCoordinateTrivialization (formalPlaneTrivialization k σ hσ s hs0 hs hx hy)
|
| 49 |
+
(completedCoordinates I W) (completedDenominator I Z)
|
| 50 |
+
(algebraMap A H ((MvPolynomial.X 0)^ (d+d)))
|
| 51 |
+
(completedCoordinates_denominator I W Z _ (associatedNumerator_denominator k ι ρ P hP d hd))
|
| 52 |
+
(completedDenominator_coordinates I W Z _ (associatedDenominator_numerator k ι ρ P hP d hd))
|
| 53 |
+
(by
|
| 54 |
+
change formalLineFieldMap k (algebraMap A H ((MvPolynomial.X 0)^(d+d))) ≠ 0
|
| 55 |
+
rw [map_pow, map_pow]
|
| 56 |
+
exact pow_ne_zero _ (formalLineFieldMap_X_ne_zero k))
|
| 57 |
+
|
| 58 |
+
lemma associatedFieldTrivialization_one
|
| 59 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 60 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 61 |
+
(v : T) (i : ι) :
|
| 62 |
+
associatedFieldTrivialization k ι ρ P hP d hd s hs0 hs (1 ⊗ₜ[k] v) i =
|
| 63 |
+
HahnSeries.ofPowerSeries ℤ k
|
| 64 |
+
(formalLineMap k (formalAssociatedCoordinates k ι ρ P hP d hd s hs v i)) := by
|
| 65 |
+
let : Algebra H K := (formalLineFieldMap k).toRingHom.toAlgebra
|
| 66 |
+
dsimp only [associatedFieldTrivialization]
|
| 67 |
+
rw [fieldCoordinateTrivialization_one, formalPlaneTrivialization_one_tmul]
|
| 68 |
+
rfl
|
| 69 |
+
|
| 70 |
+
lemma associatedFieldTrivialization_unipotent_one
|
| 71 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 72 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 73 |
+
(t : k) (v : T) :
|
| 74 |
+
associatedFieldTrivialization k ι ρ P hP d hd s hs0 hs
|
| 75 |
+
(1 ⊗ₜ[k] ((planeJetFD k σ hσ 1).ρ (unipotent k t) v)) =
|
| 76 |
+
polynomialMatrixEval P (algebraMap k K t / (formalLineParameter k)^2) *ᵥ
|
| 77 |
+
associatedFieldTrivialization k ι ρ P hP d hd s hs0 hs (1 ⊗ₜ[k] v) := by
|
| 78 |
+
apply funext
|
| 79 |
+
intro i
|
| 80 |
+
have he := congrArg (HahnSeries.ofPowerSeriesAlg ℤ k)
|
| 81 |
+
(formalAssociatedCoordinates_unipotent k ι ρ P hP d hd s hs t v i)
|
| 82 |
+
simp only [map_mul, map_pow, map_sum] at he
|
| 83 |
+
have hc (j : ι) : (HahnSeries.ofPowerSeriesAlg ℤ k)
|
| 84 |
+
(clearedPolynomial (P i j) (algebraMap k (PowerSeries k) t)
|
| 85 |
+
((PowerSeries.X : PowerSeries k)^2) d) =
|
| 86 |
+
(formalLineParameter k)^(2*d) *
|
| 87 |
+
Polynomial.aeval (algebraMap k K t / (formalLineParameter k)^2) (P i j) := by
|
| 88 |
+
have hc := clearedPolynomial_eval (HahnSeries.ofPowerSeriesAlg ℤ k) (P i j)
|
| 89 |
+
(algebraMap k (PowerSeries k) t) ((PowerSeries.X : PowerSeries k)^2) d (hd i j)
|
| 90 |
+
(by
|
| 91 |
+
rw [map_pow]
|
| 92 |
+
exact pow_ne_zero 2 (formalLineParameter_ne_zero k))
|
| 93 |
+
simpa only [map_pow, AlgHom.commutes, ofPowerSeriesAlg_apply_eq, formalLineParameter, ← pow_mul, div_eq_mul_inv] using hc
|
| 94 |
+
simp only [hc, mul_assoc, ← Finset.mul_sum] at he
|
| 95 |
+
apply mul_left_cancel₀ (pow_ne_zero (2*d) (formalLineParameter_ne_zero k))
|
| 96 |
+
simpa only [associatedFieldTrivialization_one, Matrix.mulVec, dotProduct, polynomialMatrixEval,
|
| 97 |
+
formalLineParameter, ofPowerSeriesAlg_apply_eq] using he
|
| 98 |
+
end FiberFunctorProof
|
| 99 |
+
|
| 100 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/FormalLine.lean
CHANGED
|
@@ -1,92 +1,92 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped TensorProduct
|
| 7 |
-
universe u
|
| 8 |
-
variable (k : Type u) [Field k]
|
| 9 |
-
attribute [local instance 1100] HahnSeries.instAlgebra
|
| 10 |
-
|
| 11 |
-
abbrev planeCompletion := AdicCompletion (MvPolynomial.idealOfVars (Fin 2) k)
|
| 12 |
-
(MvPolynomial (Fin 2) k)
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
def formalLineEmbedding : Unit ↪ Fin 2 := ⟨fun _ => 0, fun a b _ => Subsingleton.elim a b⟩
|
| 16 |
-
|
| 17 |
-
noncomputable def formalLineMap : planeCompletion k →ₐ[k] PowerSeries k :=
|
| 18 |
-
(MvPowerSeries.killCompl (formalLineEmbedding)).comp
|
| 19 |
-
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm.restrictScalars k).toAlgHom
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
noncomputable def formalLineFieldMap : planeCompletion k →ₐ[k] LaurentSeries k :=
|
| 24 |
-
(HahnSeries.ofPowerSeriesAlg ℤ k).comp (formalLineMap k)
|
| 25 |
-
|
| 26 |
-
lemma formalLineMap_poly :
|
| 27 |
-
(formalLineMap k).comp (IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeCompletion k)) =
|
| 28 |
-
MvPolynomial.aeval (fun i : Fin 2 => if i = 0 then (PowerSeries.X : PowerSeries k) else 0) := by
|
| 29 |
-
ext i : 1
|
| 30 |
-
change MvPowerSeries.killCompl (formalLineEmbedding)
|
| 31 |
-
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm
|
| 32 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) (MvPolynomial.X i))) = _
|
| 33 |
-
rw [AlgEquiv.commutes]
|
| 34 |
-
rw [MvPowerSeries.algebraMap_apply', MvPolynomial.coe_X, MvPowerSeries.map_X]
|
| 35 |
-
fin_cases i
|
| 36 |
-
· simp only [MvPolynomial.aeval_X]
|
| 37 |
-
change MvPowerSeries.killCompl (R := k) formalLineEmbedding (MvPowerSeries.X 0) = PowerSeries.X
|
| 38 |
-
exact MvPowerSeries.killCompl_X (R := k) (e := formalLineEmbedding) ()
|
| 39 |
-
· rw [MvPowerSeries.killCompl_X_eq_zero]
|
| 40 |
-
· simp
|
| 41 |
-
· rintro ⟨u,hu⟩
|
| 42 |
-
exact Fin.zero_ne_one (show (0 : Fin 2) = 1 from hu)
|
| 43 |
-
|
| 44 |
-
@[simp] lemma formalLineMap_of (P : MvPolynomial (Fin 2) k) :
|
| 45 |
-
formalLineMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) P) =
|
| 46 |
-
MvPolynomial.aeval (fun i : Fin 2 => if i = 0 then (PowerSeries.X : PowerSeries k) else 0) P :=
|
| 47 |
-
congrArg (fun f : MvPolynomial (Fin 2) k →ₐ[k] PowerSeries k => f P) (formalLineMap_poly k)
|
| 48 |
-
|
| 49 |
-
@[simp] lemma formalLineMap_X :
|
| 50 |
-
formalLineMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) (MvPolynomial.X 0)) =
|
| 51 |
-
PowerSeries.X := by simp
|
| 52 |
-
|
| 53 |
-
@[simp] lemma formalLineMap_Y :
|
| 54 |
-
formalLineMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) (MvPolynomial.X 1)) = 0 := by
|
| 55 |
-
simp
|
| 56 |
-
|
| 57 |
-
lemma formalLineFieldMap_X_ne_zero :
|
| 58 |
-
formalLineFieldMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k)
|
| 59 |
-
(MvPolynomial.X 0)) ≠ 0 := by
|
| 60 |
-
change HahnSeries.ofPowerSeries ℤ k (formalLineMap k _) ≠ 0
|
| 61 |
-
rw [formalLineMap_X]
|
| 62 |
-
intro hz
|
| 63 |
-
apply PowerSeries.X_ne_zero (R := k)
|
| 64 |
-
exact (HahnSeries.ofPowerSeries_injective (Γ := ℤ) (R := k))
|
| 65 |
-
(hz.trans (map_zero _).symm)
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
lemma formalLineMap_coeff_eq (n : ℕ) (x y : planeCompletion k)
|
| 70 |
-
(h : x.val (n+1) = y.val (n+1)) :
|
| 71 |
-
PowerSeries.coeff n (formalLineMap k x) = PowerSeries.coeff n (formalLineMap k y) := by
|
| 72 |
-
change MvPowerSeries.coeff (Finsupp.single () n)
|
| 73 |
-
(MvPowerSeries.killCompl (formalLineEmbedding) ((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm x)) =
|
| 74 |
-
MvPowerSeries.coeff (Finsupp.single () n)
|
| 75 |
-
(MvPowerSeries.killCompl (formalLineEmbedding) ((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm y))
|
| 76 |
-
simp only [MvPowerSeries.coeff_killCompl, Finsupp.embDomain_single]
|
| 77 |
-
change MvPowerSeries.coeff (Finsupp.single (0 : Fin 2) n)
|
| 78 |
-
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm x) =
|
| 79 |
-
MvPowerSeries.coeff (Finsupp.single (0 : Fin 2) n)
|
| 80 |
-
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm y)
|
| 81 |
-
simp only [MvPowerSeries.toAdicCompletionAlgEquiv_symm_apply,
|
| 82 |
-
MvPowerSeries.coeff_toAdicCompletionInv]
|
| 83 |
-
apply congrArg (fun polynomial : MvPolynomial (Fin 2) k =>
|
| 84 |
-
polynomial.coeff (Finsupp.single (0 : Fin 2) n))
|
| 85 |
-
have h' : x.val ((Finsupp.single (0 : Fin 2) n).degree + 1) =
|
| 86 |
-
y.val ((Finsupp.single (0 : Fin 2) n).degree + 1) := by
|
| 87 |
-
rw [Finsupp.degree_single]
|
| 88 |
-
exact h
|
| 89 |
-
exact congrArg Quotient.out h'
|
| 90 |
-
end FiberFunctorProof
|
| 91 |
-
|
| 92 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped TensorProduct
|
| 7 |
+
universe u
|
| 8 |
+
variable (k : Type u) [Field k]
|
| 9 |
+
attribute [local instance 1100] HahnSeries.instAlgebra
|
| 10 |
+
|
| 11 |
+
abbrev planeCompletion := AdicCompletion (MvPolynomial.idealOfVars (Fin 2) k)
|
| 12 |
+
(MvPolynomial (Fin 2) k)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def formalLineEmbedding : Unit ↪ Fin 2 := ⟨fun _ => 0, fun a b _ => Subsingleton.elim a b⟩
|
| 16 |
+
|
| 17 |
+
noncomputable def formalLineMap : planeCompletion k →ₐ[k] PowerSeries k :=
|
| 18 |
+
(MvPowerSeries.killCompl (formalLineEmbedding)).comp
|
| 19 |
+
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm.restrictScalars k).toAlgHom
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
noncomputable def formalLineFieldMap : planeCompletion k →ₐ[k] LaurentSeries k :=
|
| 24 |
+
(HahnSeries.ofPowerSeriesAlg ℤ k).comp (formalLineMap k)
|
| 25 |
+
|
| 26 |
+
lemma formalLineMap_poly :
|
| 27 |
+
(formalLineMap k).comp (IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeCompletion k)) =
|
| 28 |
+
MvPolynomial.aeval (fun i : Fin 2 => if i = 0 then (PowerSeries.X : PowerSeries k) else 0) := by
|
| 29 |
+
ext i : 1
|
| 30 |
+
change MvPowerSeries.killCompl (formalLineEmbedding)
|
| 31 |
+
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm
|
| 32 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) (MvPolynomial.X i))) = _
|
| 33 |
+
rw [AlgEquiv.commutes]
|
| 34 |
+
rw [MvPowerSeries.algebraMap_apply', MvPolynomial.coe_X, MvPowerSeries.map_X]
|
| 35 |
+
fin_cases i
|
| 36 |
+
· simp only [MvPolynomial.aeval_X]
|
| 37 |
+
change MvPowerSeries.killCompl (R := k) formalLineEmbedding (MvPowerSeries.X 0) = PowerSeries.X
|
| 38 |
+
exact MvPowerSeries.killCompl_X (R := k) (e := formalLineEmbedding) ()
|
| 39 |
+
· rw [MvPowerSeries.killCompl_X_eq_zero]
|
| 40 |
+
· simp
|
| 41 |
+
· rintro ⟨u,hu⟩
|
| 42 |
+
exact Fin.zero_ne_one (show (0 : Fin 2) = 1 from hu)
|
| 43 |
+
|
| 44 |
+
@[simp] lemma formalLineMap_of (P : MvPolynomial (Fin 2) k) :
|
| 45 |
+
formalLineMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) P) =
|
| 46 |
+
MvPolynomial.aeval (fun i : Fin 2 => if i = 0 then (PowerSeries.X : PowerSeries k) else 0) P :=
|
| 47 |
+
congrArg (fun f : MvPolynomial (Fin 2) k →ₐ[k] PowerSeries k => f P) (formalLineMap_poly k)
|
| 48 |
+
|
| 49 |
+
@[simp] lemma formalLineMap_X :
|
| 50 |
+
formalLineMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) (MvPolynomial.X 0)) =
|
| 51 |
+
PowerSeries.X := by simp
|
| 52 |
+
|
| 53 |
+
@[simp] lemma formalLineMap_Y :
|
| 54 |
+
formalLineMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k) (MvPolynomial.X 1)) = 0 := by
|
| 55 |
+
simp
|
| 56 |
+
|
| 57 |
+
lemma formalLineFieldMap_X_ne_zero :
|
| 58 |
+
formalLineFieldMap k (algebraMap (MvPolynomial (Fin 2) k) (planeCompletion k)
|
| 59 |
+
(MvPolynomial.X 0)) ≠ 0 := by
|
| 60 |
+
change HahnSeries.ofPowerSeries ℤ k (formalLineMap k _) ≠ 0
|
| 61 |
+
rw [formalLineMap_X]
|
| 62 |
+
intro hz
|
| 63 |
+
apply PowerSeries.X_ne_zero (R := k)
|
| 64 |
+
exact (HahnSeries.ofPowerSeries_injective (Γ := ℤ) (R := k))
|
| 65 |
+
(hz.trans (map_zero _).symm)
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
lemma formalLineMap_coeff_eq (n : ℕ) (x y : planeCompletion k)
|
| 70 |
+
(h : x.val (n+1) = y.val (n+1)) :
|
| 71 |
+
PowerSeries.coeff n (formalLineMap k x) = PowerSeries.coeff n (formalLineMap k y) := by
|
| 72 |
+
change MvPowerSeries.coeff (Finsupp.single () n)
|
| 73 |
+
(MvPowerSeries.killCompl (formalLineEmbedding) ((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm x)) =
|
| 74 |
+
MvPowerSeries.coeff (Finsupp.single () n)
|
| 75 |
+
(MvPowerSeries.killCompl (formalLineEmbedding) ((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm y))
|
| 76 |
+
simp only [MvPowerSeries.coeff_killCompl, Finsupp.embDomain_single]
|
| 77 |
+
change MvPowerSeries.coeff (Finsupp.single (0 : Fin 2) n)
|
| 78 |
+
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm x) =
|
| 79 |
+
MvPowerSeries.coeff (Finsupp.single (0 : Fin 2) n)
|
| 80 |
+
((MvPowerSeries.toAdicCompletionAlgEquiv (Fin 2) k).symm y)
|
| 81 |
+
simp only [MvPowerSeries.toAdicCompletionAlgEquiv_symm_apply,
|
| 82 |
+
MvPowerSeries.coeff_toAdicCompletionInv]
|
| 83 |
+
apply congrArg (fun polynomial : MvPolynomial (Fin 2) k =>
|
| 84 |
+
polynomial.coeff (Finsupp.single (0 : Fin 2) n))
|
| 85 |
+
have h' : x.val ((Finsupp.single (0 : Fin 2) n).degree + 1) =
|
| 86 |
+
y.val ((Finsupp.single (0 : Fin 2) n).degree + 1) := by
|
| 87 |
+
rw [Finsupp.degree_single]
|
| 88 |
+
exact h
|
| 89 |
+
exact congrArg Quotient.out h'
|
| 90 |
+
end FiberFunctorProof
|
| 91 |
+
|
| 92 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/FormalLineContinuity.lean
CHANGED
|
@@ -1,50 +1,50 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalLine
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.ClearedPolynomial
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
universe u
|
| 8 |
-
variable (k : Type u) [Field k]
|
| 9 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 10 |
-
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 11 |
-
|
| 12 |
-
lemma formalLineMap_of_linePolynomial (P : A) :
|
| 13 |
-
formalLineMap k (AdicCompletion.of I A P) =
|
| 14 |
-
Polynomial.aeval (PowerSeries.X : PowerSeries k) (linePolynomial k P) := by
|
| 15 |
-
change formalLineMap k (algebraMap A (planeCompletion k) P) = _
|
| 16 |
-
rw [formalLineMap_of]
|
| 17 |
-
have he : (Polynomial.aeval (PowerSeries.X : PowerSeries k)).comp (linePolynomial k) =
|
| 18 |
-
MvPolynomial.aeval (fun i : Fin 2 => if i = 0 then PowerSeries.X else 0) := by
|
| 19 |
-
ext i
|
| 20 |
-
simp only [AlgHom.comp_apply, linePolynomial, MvPolynomial.aeval_X]
|
| 21 |
-
split_ifs <;> simp
|
| 22 |
-
exact congrArg (fun f : A →ₐ[k] PowerSeries k => f P) he.symm
|
| 23 |
-
|
| 24 |
-
variable {M : Type u} [AddCommGroup M] [Module (MvPolynomial (Fin 2) k) M]
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
lemma formalLine_map_eq_of_representatives
|
| 29 |
-
(F G : M →ₗ[A] A) (x y : AdicCompletion I M)
|
| 30 |
-
(h : ∀ n : ℕ, ∃ v w : M,
|
| 31 |
-
x.val (n+1) = (AdicCompletion.of I M v).val (n+1) ∧
|
| 32 |
-
y.val (n+1) = (AdicCompletion.of I M w).val (n+1) ∧
|
| 33 |
-
linePolynomial k (F v) = linePolynomial k (G w)) :
|
| 34 |
-
formalLineMap k (AdicCompletion.map I F x) =
|
| 35 |
-
formalLineMap k (AdicCompletion.map I G y) := by
|
| 36 |
-
ext n
|
| 37 |
-
obtain ⟨v,w,hv,hw,he⟩ := h n
|
| 38 |
-
have hF : (AdicCompletion.map I F x).val (n+1) =
|
| 39 |
-
(AdicCompletion.of I A (F v)).val (n+1) := by
|
| 40 |
-
rw [← AdicCompletion.map_of]
|
| 41 |
-
simp only [AdicCompletion.map_val_apply, hv]
|
| 42 |
-
have hG : (AdicCompletion.map I G y).val (n+1) =
|
| 43 |
-
(AdicCompletion.of I A (G w)).val (n+1) := by
|
| 44 |
-
rw [← AdicCompletion.map_of]
|
| 45 |
-
simp only [AdicCompletion.map_val_apply, hw]
|
| 46 |
-
rw [formalLineMap_coeff_eq k n _ _ hF, formalLineMap_coeff_eq k n _ _ hG,
|
| 47 |
-
formalLineMap_of_linePolynomial, formalLineMap_of_linePolynomial, he]
|
| 48 |
-
end FiberFunctorProof
|
| 49 |
-
|
| 50 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalLine
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.ClearedPolynomial
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
universe u
|
| 8 |
+
variable (k : Type u) [Field k]
|
| 9 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 10 |
+
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 11 |
+
|
| 12 |
+
lemma formalLineMap_of_linePolynomial (P : A) :
|
| 13 |
+
formalLineMap k (AdicCompletion.of I A P) =
|
| 14 |
+
Polynomial.aeval (PowerSeries.X : PowerSeries k) (linePolynomial k P) := by
|
| 15 |
+
change formalLineMap k (algebraMap A (planeCompletion k) P) = _
|
| 16 |
+
rw [formalLineMap_of]
|
| 17 |
+
have he : (Polynomial.aeval (PowerSeries.X : PowerSeries k)).comp (linePolynomial k) =
|
| 18 |
+
MvPolynomial.aeval (fun i : Fin 2 => if i = 0 then PowerSeries.X else 0) := by
|
| 19 |
+
ext i
|
| 20 |
+
simp only [AlgHom.comp_apply, linePolynomial, MvPolynomial.aeval_X]
|
| 21 |
+
split_ifs <;> simp
|
| 22 |
+
exact congrArg (fun f : A →ₐ[k] PowerSeries k => f P) he.symm
|
| 23 |
+
|
| 24 |
+
variable {M : Type u} [AddCommGroup M] [Module (MvPolynomial (Fin 2) k) M]
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
lemma formalLine_map_eq_of_representatives
|
| 29 |
+
(F G : M →ₗ[A] A) (x y : AdicCompletion I M)
|
| 30 |
+
(h : ∀ n : ℕ, ∃ v w : M,
|
| 31 |
+
x.val (n+1) = (AdicCompletion.of I M v).val (n+1) ∧
|
| 32 |
+
y.val (n+1) = (AdicCompletion.of I M w).val (n+1) ∧
|
| 33 |
+
linePolynomial k (F v) = linePolynomial k (G w)) :
|
| 34 |
+
formalLineMap k (AdicCompletion.map I F x) =
|
| 35 |
+
formalLineMap k (AdicCompletion.map I G y) := by
|
| 36 |
+
ext n
|
| 37 |
+
obtain ⟨v,w,hv,hw,he⟩ := h n
|
| 38 |
+
have hF : (AdicCompletion.map I F x).val (n+1) =
|
| 39 |
+
(AdicCompletion.of I A (F v)).val (n+1) := by
|
| 40 |
+
rw [← AdicCompletion.map_of]
|
| 41 |
+
simp only [AdicCompletion.map_val_apply, hv]
|
| 42 |
+
have hG : (AdicCompletion.map I G y).val (n+1) =
|
| 43 |
+
(AdicCompletion.of I A (G w)).val (n+1) := by
|
| 44 |
+
rw [← AdicCompletion.map_of]
|
| 45 |
+
simp only [AdicCompletion.map_val_apply, hw]
|
| 46 |
+
rw [formalLineMap_coeff_eq k n _ _ hF, formalLineMap_coeff_eq k n _ _ hG,
|
| 47 |
+
formalLineMap_of_linePolynomial, formalLineMap_of_linePolynomial, he]
|
| 48 |
+
end FiberFunctorProof
|
| 49 |
+
|
| 50 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/FormalSectionAction.lean
CHANGED
|
@@ -1,37 +1,37 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalSections
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalLineContinuity
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 8 |
-
open scoped TensorProduct
|
| 9 |
-
universe u
|
| 10 |
-
variable (k : Type u) [Field k]
|
| 11 |
-
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
-
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 13 |
-
[Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)]
|
| 14 |
-
variable (σ : Representation k (SL2 k) M) (hσ : PlaneCompatible k σ)
|
| 15 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 16 |
-
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 17 |
-
local notation "T" => planeJetFD k σ hσ 1
|
| 18 |
-
|
| 19 |
-
lemma formalPlaneSection_line_action
|
| 20 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 21 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 22 |
-
(g : SL2 k) (F G : M →ₗ[A] A)
|
| 23 |
-
(he : ∀ v, linePolynomial k (F (σ g v)) = linePolynomial k (G v)) (t : T) :
|
| 24 |
-
formalLineMap k (AdicCompletion.map I F (formalPlaneSection k σ hσ s hs ((planeJetFD k σ hσ 1).ρ g t))) =
|
| 25 |
-
formalLineMap k (AdicCompletion.map I G (formalPlaneSection k σ hσ s hs t)) := by
|
| 26 |
-
apply formalLine_map_eq_of_representatives
|
| 27 |
-
intro n
|
| 28 |
-
obtain ⟨v,hv⟩ := (planeJetRelation (M := M) k (n+1)).mkQ_surjective (fdrepLinear k (s n) t)
|
| 29 |
-
refine ⟨σ g v, v, ?_, ?_, he v⟩
|
| 30 |
-
· rw [formalPlaneSection_equivariant, ← hv]
|
| 31 |
-
rfl
|
| 32 |
-
· change planeJetAdicEquiv k (n+1) (fdrepLinear k (s n) t) = _
|
| 33 |
-
rw [← hv]
|
| 34 |
-
rfl
|
| 35 |
-
end FiberFunctorProof
|
| 36 |
-
|
| 37 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalSections
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalLineContinuity
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 8 |
+
open scoped TensorProduct
|
| 9 |
+
universe u
|
| 10 |
+
variable (k : Type u) [Field k]
|
| 11 |
+
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
+
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 13 |
+
[Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)]
|
| 14 |
+
variable (σ : Representation k (SL2 k) M) (hσ : PlaneCompatible k σ)
|
| 15 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 16 |
+
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 17 |
+
local notation "T" => planeJetFD k σ hσ 1
|
| 18 |
+
|
| 19 |
+
lemma formalPlaneSection_line_action
|
| 20 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 21 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 22 |
+
(g : SL2 k) (F G : M →ₗ[A] A)
|
| 23 |
+
(he : ∀ v, linePolynomial k (F (σ g v)) = linePolynomial k (G v)) (t : T) :
|
| 24 |
+
formalLineMap k (AdicCompletion.map I F (formalPlaneSection k σ hσ s hs ((planeJetFD k σ hσ 1).ρ g t))) =
|
| 25 |
+
formalLineMap k (AdicCompletion.map I G (formalPlaneSection k σ hσ s hs t)) := by
|
| 26 |
+
apply formalLine_map_eq_of_representatives
|
| 27 |
+
intro n
|
| 28 |
+
obtain ⟨v,hv⟩ := (planeJetRelation (M := M) k (n+1)).mkQ_surjective (fdrepLinear k (s n) t)
|
| 29 |
+
refine ⟨σ g v, v, ?_, ?_, he v⟩
|
| 30 |
+
· rw [formalPlaneSection_equivariant, ← hv]
|
| 31 |
+
rfl
|
| 32 |
+
· change planeJetAdicEquiv k (n+1) (fdrepLinear k (s n) t) = _
|
| 33 |
+
rw [← hv]
|
| 34 |
+
rfl
|
| 35 |
+
end FiberFunctorProof
|
| 36 |
+
|
| 37 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/FormalSections.lean
CHANGED
|
@@ -1,169 +1,169 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.FiniteJetMaps
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompletionTriviality
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 8 |
-
open scoped TensorProduct Pointwise
|
| 9 |
-
universe u
|
| 10 |
-
variable (k : Type u) [Field k]
|
| 11 |
-
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
-
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 13 |
-
[Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)]
|
| 14 |
-
variable (σ : Representation k (SL2 k) M) (hσ : PlaneCompatible k σ)
|
| 15 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 16 |
-
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 17 |
-
local notation "T" => planeJetFD k σ hσ 1
|
| 18 |
-
|
| 19 |
-
noncomputable def adicPlaneSections
|
| 20 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) :
|
| 21 |
-
(j : ℕ) → T →ₗ[k] M ⧸ (I^j • (⊤ : Submodule A M))
|
| 22 |
-
| 0 => 0
|
| 23 |
-
| j+1 => (planeJetAdicEquiv k (j+1)).toLinearMap ∘ₗ fdrepLinear k (s j)
|
| 24 |
-
|
| 25 |
-
lemma adicPlaneSections_succ
|
| 26 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 27 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 28 |
-
(j : ℕ) (t : T) :
|
| 29 |
-
AdicCompletion.transitionMap I M (Nat.le_succ j) (adicPlaneSections k σ hσ s (j+1) t) =
|
| 30 |
-
adicPlaneSections k σ hσ s j t := by
|
| 31 |
-
cases j with
|
| 32 |
-
| zero =>
|
| 33 |
-
have : Subsingleton (M ⧸ (I^0 • (⊤ : Submodule A M))) := by
|
| 34 |
-
rw [pow_zero, Submodule.one_smul]
|
| 35 |
-
infer_instance
|
| 36 |
-
exact Subsingleton.elim _ _
|
| 37 |
-
| succ j =>
|
| 38 |
-
change AdicCompletion.transitionMap I M (Nat.le_succ (j+1))
|
| 39 |
-
(planeJetAdicEquiv k (j+2) (fdrepLinear k (s (j+1)) t)) =
|
| 40 |
-
planeJetAdicEquiv k (j+1) (fdrepLinear k (s j) t)
|
| 41 |
-
trans planeJetAdicEquiv k (j+1)
|
| 42 |
-
(planeJetTransition k (j+1) (fdrepLinear k (s (j+1)) t))
|
| 43 |
-
· exact planeJetAdicEquiv_transition k (j+1) _
|
| 44 |
-
apply congrArg
|
| 45 |
-
exact congrArg (fun f : T ⟶ planeJetFD k σ hσ (j+1) => fdrepLinear k f t) (hs j)
|
| 46 |
-
|
| 47 |
-
lemma adicPlaneSections_transition
|
| 48 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 49 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 50 |
-
(m n : ℕ) (h : m ≤ n) (t : T) :
|
| 51 |
-
AdicCompletion.transitionMap I M h (adicPlaneSections k σ hσ s n t) =
|
| 52 |
-
adicPlaneSections k σ hσ s m t := by
|
| 53 |
-
exact (Submodule.eq_factor_of_eq_factor_succ
|
| 54 |
-
(fun _ _ h => Submodule.pow_smul_top_le I M h)
|
| 55 |
-
(fun j => adicPlaneSections k σ hσ s j t)
|
| 56 |
-
(fun j => (adicPlaneSections_succ k σ hσ s hs j t).symm) h).symm
|
| 57 |
-
|
| 58 |
-
lemma adicPlaneSections_origin
|
| 59 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _) (t : T) :
|
| 60 |
-
adicPlaneSections k σ hσ s 1 t = planeJetAdicEquiv k 1 t := by
|
| 61 |
-
change planeJetAdicEquiv k 1 (fdrepLinear k (s 0) t) = _
|
| 62 |
-
rw [hs0]
|
| 63 |
-
rfl
|
| 64 |
-
|
| 65 |
-
lemma adicPlaneSections_bijective
|
| 66 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 67 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 68 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 69 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 70 |
-
∃ w : M, v = (MvPolynomial.X 0 : A) • w) (j : ℕ) :
|
| 71 |
-
Function.Bijective (polynomialJetExtend j (adicPlaneSections k σ hσ s j)) := by
|
| 72 |
-
cases j with
|
| 73 |
-
| zero =>
|
| 74 |
-
have : Subsingleton (M ⧸ (I^0 • (⊤ : Submodule A M))) := by
|
| 75 |
-
rw [pow_zero, Submodule.one_smul]; infer_instance
|
| 76 |
-
have : Subsingleton ((A ⊗[k] T) ⧸ (I^0 • (⊤ : Submodule A (A ⊗[k] T)))) := by
|
| 77 |
-
rw [pow_zero, Submodule.one_smul]; infer_instance
|
| 78 |
-
exact ⟨fun _ _ _ => Subsingleton.elim _ _, fun z => ⟨0, Subsingleton.elim _ _⟩⟩
|
| 79 |
-
| succ j =>
|
| 80 |
-
let q : M →ₗ[k] T := (planeJetRelation k 1).mkQ
|
| 81 |
-
let r : (M ⧸ (I^(j+1) • (⊤ : Submodule A M))) →ₗ[k] T :=
|
| 82 |
-
(planeJetAdicEquiv k 1).symm.toLinearMap ∘ₗ
|
| 83 |
-
(AdicCompletion.transitionMap I M (Nat.succ_le_succ (Nat.zero_le j))).restrictScalars k
|
| 84 |
-
apply polynomialJetExtend_bijective (j+1) q _ r
|
| 85 |
-
· intro n
|
| 86 |
-
change (Submodule.Quotient.mk n : M ⧸ planeJetRelation k 1) = 0 ↔ _
|
| 87 |
-
rw [Submodule.Quotient.mk_eq_zero]
|
| 88 |
-
simp only [planeJetRelation, Submodule.restrictScalars_mem, jetRelation_one]
|
| 89 |
-
· intro n; rfl
|
| 90 |
-
· ext t
|
| 91 |
-
change (planeJetAdicEquiv k 1).symm
|
| 92 |
-
(AdicCompletion.transitionMap I M (Nat.succ_le_succ (Nat.zero_le j)) (adicPlaneSections k σ hσ s (j+1) t)) = t
|
| 93 |
-
rw [adicPlaneSections_transition k σ hσ s hs, adicPlaneSections_origin k σ hσ s hs0]
|
| 94 |
-
exact (planeJetAdicEquiv k 1).symm_apply_apply t
|
| 95 |
-
· exact hx
|
| 96 |
-
· exact hy
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
noncomputable def formalPlaneSection
|
| 100 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 101 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j) :
|
| 102 |
-
T →ₗ[k] AdicCompletion I M where
|
| 103 |
-
toFun t := ⟨fun j => adicPlaneSections k σ hσ s j t,
|
| 104 |
-
fun {_ _} h => adicPlaneSections_transition k σ hσ s hs _ _ h t⟩
|
| 105 |
-
map_add' a b := by ext j; exact map_add _ _ _
|
| 106 |
-
map_smul' c a := by ext j; exact map_smul _ _ _
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
lemma formalPlaneSection_equivariant
|
| 111 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 112 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 113 |
-
(g : SL2 k) (j : ℕ) (t : T) :
|
| 114 |
-
(formalPlaneSection k σ hσ s hs ((planeJetFD k σ hσ 1).ρ g t)).val (j+1) =
|
| 115 |
-
planeJetAdicEquiv k (j+1)
|
| 116 |
-
((planeJetFD k σ hσ (j+1)).ρ g (fdrepLinear k (s j) t)) := by
|
| 117 |
-
change planeJetAdicEquiv k (j+1) (fdrepLinear k (s j) ((planeJetFD k σ hσ 1).ρ g t)) = _
|
| 118 |
-
exact congrArg (planeJetAdicEquiv k (j+1)) (fdrepLinear_comm k (s j) g t)
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
noncomputable def formalPlaneTrivialization
|
| 123 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 124 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 125 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 126 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 127 |
-
∃ w : M, v = (MvPolynomial.X 0 : A) • w) :
|
| 128 |
-
(AdicCompletion I A) ⊗[k] T ≃ₗ[AdicCompletion I A] AdicCompletion I M :=
|
| 129 |
-
(TensorProduct.AlgebraTensorModule.cancelBaseChange k A
|
| 130 |
-
(AdicCompletion I A) (AdicCompletion I A) T).symm ≪≫ₗ
|
| 131 |
-
AdicCompletion.ofTensorProductEquivOfFiniteNoetherian I (A ⊗[k] T) ≪≫ₗ
|
| 132 |
-
LinearEquiv.ofBijective
|
| 133 |
-
(completionOfJetMaps I (fun j => polynomialJetExtend j (adicPlaneSections k σ hσ s j))
|
| 134 |
-
(fun m n h z => polynomialJetExtend_transition m n h _ _
|
| 135 |
-
(adicPlaneSections_transition k σ hσ s hs m n h) z))
|
| 136 |
-
(completionOfJetMaps_bijective I _ _ (adicPlaneSections_bijective k σ hσ s hs0 hs hx hy))
|
| 137 |
-
|
| 138 |
-
lemma formalPlaneTrivialization_one_tmul
|
| 139 |
-
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 140 |
-
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 141 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 142 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 143 |
-
∃ w : M, v = (MvPolynomial.X 0 : A) • w) (t : T) :
|
| 144 |
-
formalPlaneTrivialization k σ hσ s hs0 hs hx hy (1 ⊗ₜ[k] t) =
|
| 145 |
-
formalPlaneSection k σ hσ s hs t := by
|
| 146 |
-
simp only [formalPlaneTrivialization, LinearEquiv.trans_apply,
|
| 147 |
-
TensorProduct.AlgebraTensorModule.cancelBaseChange_symm_tmul,
|
| 148 |
-
AdicCompletion.ofTensorProductEquivOfFiniteNoetherian_apply,
|
| 149 |
-
AdicCompletion.ofTensorProduct_tmul, one_smul]
|
| 150 |
-
apply AdicCompletion.ext
|
| 151 |
-
intro j
|
| 152 |
-
change polynomialJetExtend j (adicPlaneSections k σ hσ s j)
|
| 153 |
-
(Submodule.Quotient.mk ((1 : A) ⊗ₜ[k] t)) = adicPlaneSections k σ hσ s j t
|
| 154 |
-
rw [polynomialJetExtend_mk_tmul, one_smul]
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
theorem exists_formalPlaneTrivialization [Infinite k]
|
| 159 |
-
(hr : IsRational k σ)
|
| 160 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 161 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 162 |
-
∃ w : M, v = (MvPolynomial.X 0 : A) • w)
|
| 163 |
-
(hT : IsTilting k T) :
|
| 164 |
-
Nonempty ((AdicCompletion I A) ⊗[k] T ≃ₗ[AdicCompletion I A] AdicCompletion I M) := by
|
| 165 |
-
obtain ⟨s,hs0,hs⟩ := compatible_planeJet_sections k σ hσ hr hx hy hT
|
| 166 |
-
exact ⟨formalPlaneTrivialization k σ hσ s hs0 hs hx hy⟩
|
| 167 |
-
end FiberFunctorProof
|
| 168 |
-
|
| 169 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.FiniteJetMaps
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompletionTriviality
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 8 |
+
open scoped TensorProduct Pointwise
|
| 9 |
+
universe u
|
| 10 |
+
variable (k : Type u) [Field k]
|
| 11 |
+
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
+
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 13 |
+
[Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)]
|
| 14 |
+
variable (σ : Representation k (SL2 k) M) (hσ : PlaneCompatible k σ)
|
| 15 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 16 |
+
local notation "I" => MvPolynomial.idealOfVars (Fin 2) k
|
| 17 |
+
local notation "T" => planeJetFD k σ hσ 1
|
| 18 |
+
|
| 19 |
+
noncomputable def adicPlaneSections
|
| 20 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) :
|
| 21 |
+
(j : ℕ) → T →ₗ[k] M ⧸ (I^j • (⊤ : Submodule A M))
|
| 22 |
+
| 0 => 0
|
| 23 |
+
| j+1 => (planeJetAdicEquiv k (j+1)).toLinearMap ∘ₗ fdrepLinear k (s j)
|
| 24 |
+
|
| 25 |
+
lemma adicPlaneSections_succ
|
| 26 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 27 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 28 |
+
(j : ℕ) (t : T) :
|
| 29 |
+
AdicCompletion.transitionMap I M (Nat.le_succ j) (adicPlaneSections k σ hσ s (j+1) t) =
|
| 30 |
+
adicPlaneSections k σ hσ s j t := by
|
| 31 |
+
cases j with
|
| 32 |
+
| zero =>
|
| 33 |
+
have : Subsingleton (M ⧸ (I^0 • (⊤ : Submodule A M))) := by
|
| 34 |
+
rw [pow_zero, Submodule.one_smul]
|
| 35 |
+
infer_instance
|
| 36 |
+
exact Subsingleton.elim _ _
|
| 37 |
+
| succ j =>
|
| 38 |
+
change AdicCompletion.transitionMap I M (Nat.le_succ (j+1))
|
| 39 |
+
(planeJetAdicEquiv k (j+2) (fdrepLinear k (s (j+1)) t)) =
|
| 40 |
+
planeJetAdicEquiv k (j+1) (fdrepLinear k (s j) t)
|
| 41 |
+
trans planeJetAdicEquiv k (j+1)
|
| 42 |
+
(planeJetTransition k (j+1) (fdrepLinear k (s (j+1)) t))
|
| 43 |
+
· exact planeJetAdicEquiv_transition k (j+1) _
|
| 44 |
+
apply congrArg
|
| 45 |
+
exact congrArg (fun f : T ⟶ planeJetFD k σ hσ (j+1) => fdrepLinear k f t) (hs j)
|
| 46 |
+
|
| 47 |
+
lemma adicPlaneSections_transition
|
| 48 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 49 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 50 |
+
(m n : ℕ) (h : m ≤ n) (t : T) :
|
| 51 |
+
AdicCompletion.transitionMap I M h (adicPlaneSections k σ hσ s n t) =
|
| 52 |
+
adicPlaneSections k σ hσ s m t := by
|
| 53 |
+
exact (Submodule.eq_factor_of_eq_factor_succ
|
| 54 |
+
(fun _ _ h => Submodule.pow_smul_top_le I M h)
|
| 55 |
+
(fun j => adicPlaneSections k σ hσ s j t)
|
| 56 |
+
(fun j => (adicPlaneSections_succ k σ hσ s hs j t).symm) h).symm
|
| 57 |
+
|
| 58 |
+
lemma adicPlaneSections_origin
|
| 59 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _) (t : T) :
|
| 60 |
+
adicPlaneSections k σ hσ s 1 t = planeJetAdicEquiv k 1 t := by
|
| 61 |
+
change planeJetAdicEquiv k 1 (fdrepLinear k (s 0) t) = _
|
| 62 |
+
rw [hs0]
|
| 63 |
+
rfl
|
| 64 |
+
|
| 65 |
+
lemma adicPlaneSections_bijective
|
| 66 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 67 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 68 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 69 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 70 |
+
∃ w : M, v = (MvPolynomial.X 0 : A) • w) (j : ℕ) :
|
| 71 |
+
Function.Bijective (polynomialJetExtend j (adicPlaneSections k σ hσ s j)) := by
|
| 72 |
+
cases j with
|
| 73 |
+
| zero =>
|
| 74 |
+
have : Subsingleton (M ⧸ (I^0 • (⊤ : Submodule A M))) := by
|
| 75 |
+
rw [pow_zero, Submodule.one_smul]; infer_instance
|
| 76 |
+
have : Subsingleton ((A ⊗[k] T) ⧸ (I^0 • (⊤ : Submodule A (A ⊗[k] T)))) := by
|
| 77 |
+
rw [pow_zero, Submodule.one_smul]; infer_instance
|
| 78 |
+
exact ⟨fun _ _ _ => Subsingleton.elim _ _, fun z => ⟨0, Subsingleton.elim _ _⟩⟩
|
| 79 |
+
| succ j =>
|
| 80 |
+
let q : M →ₗ[k] T := (planeJetRelation k 1).mkQ
|
| 81 |
+
let r : (M ⧸ (I^(j+1) • (⊤ : Submodule A M))) →ₗ[k] T :=
|
| 82 |
+
(planeJetAdicEquiv k 1).symm.toLinearMap ∘ₗ
|
| 83 |
+
(AdicCompletion.transitionMap I M (Nat.succ_le_succ (Nat.zero_le j))).restrictScalars k
|
| 84 |
+
apply polynomialJetExtend_bijective (j+1) q _ r
|
| 85 |
+
· intro n
|
| 86 |
+
change (Submodule.Quotient.mk n : M ⧸ planeJetRelation k 1) = 0 ↔ _
|
| 87 |
+
rw [Submodule.Quotient.mk_eq_zero]
|
| 88 |
+
simp only [planeJetRelation, Submodule.restrictScalars_mem, jetRelation_one]
|
| 89 |
+
· intro n; rfl
|
| 90 |
+
· ext t
|
| 91 |
+
change (planeJetAdicEquiv k 1).symm
|
| 92 |
+
(AdicCompletion.transitionMap I M (Nat.succ_le_succ (Nat.zero_le j)) (adicPlaneSections k σ hσ s (j+1) t)) = t
|
| 93 |
+
rw [adicPlaneSections_transition k σ hσ s hs, adicPlaneSections_origin k σ hσ s hs0]
|
| 94 |
+
exact (planeJetAdicEquiv k 1).symm_apply_apply t
|
| 95 |
+
· exact hx
|
| 96 |
+
· exact hy
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
noncomputable def formalPlaneSection
|
| 100 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 101 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j) :
|
| 102 |
+
T →ₗ[k] AdicCompletion I M where
|
| 103 |
+
toFun t := ⟨fun j => adicPlaneSections k σ hσ s j t,
|
| 104 |
+
fun {_ _} h => adicPlaneSections_transition k σ hσ s hs _ _ h t⟩
|
| 105 |
+
map_add' a b := by ext j; exact map_add _ _ _
|
| 106 |
+
map_smul' c a := by ext j; exact map_smul _ _ _
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
lemma formalPlaneSection_equivariant
|
| 111 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1))
|
| 112 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 113 |
+
(g : SL2 k) (j : ℕ) (t : T) :
|
| 114 |
+
(formalPlaneSection k σ hσ s hs ((planeJetFD k σ hσ 1).ρ g t)).val (j+1) =
|
| 115 |
+
planeJetAdicEquiv k (j+1)
|
| 116 |
+
((planeJetFD k σ hσ (j+1)).ρ g (fdrepLinear k (s j) t)) := by
|
| 117 |
+
change planeJetAdicEquiv k (j+1) (fdrepLinear k (s j) ((planeJetFD k σ hσ 1).ρ g t)) = _
|
| 118 |
+
exact congrArg (planeJetAdicEquiv k (j+1)) (fdrepLinear_comm k (s j) g t)
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
noncomputable def formalPlaneTrivialization
|
| 123 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 124 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 125 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 126 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 127 |
+
∃ w : M, v = (MvPolynomial.X 0 : A) • w) :
|
| 128 |
+
(AdicCompletion I A) ⊗[k] T ≃ₗ[AdicCompletion I A] AdicCompletion I M :=
|
| 129 |
+
(TensorProduct.AlgebraTensorModule.cancelBaseChange k A
|
| 130 |
+
(AdicCompletion I A) (AdicCompletion I A) T).symm ≪≫ₗ
|
| 131 |
+
AdicCompletion.ofTensorProductEquivOfFiniteNoetherian I (A ⊗[k] T) ≪≫ₗ
|
| 132 |
+
LinearEquiv.ofBijective
|
| 133 |
+
(completionOfJetMaps I (fun j => polynomialJetExtend j (adicPlaneSections k σ hσ s j))
|
| 134 |
+
(fun m n h z => polynomialJetExtend_transition m n h _ _
|
| 135 |
+
(adicPlaneSections_transition k σ hσ s hs m n h) z))
|
| 136 |
+
(completionOfJetMaps_bijective I _ _ (adicPlaneSections_bijective k σ hσ s hs0 hs hx hy))
|
| 137 |
+
|
| 138 |
+
lemma formalPlaneTrivialization_one_tmul
|
| 139 |
+
(s : (j : ℕ) → T ⟶ planeJetFD k σ hσ (j+1)) (hs0 : s 0 = 𝟙 _)
|
| 140 |
+
(hs : ∀ j, s (j+1) ≫ planeJetTransitionHom k σ hσ (j+1) = s j)
|
| 141 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 142 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 143 |
+
∃ w : M, v = (MvPolynomial.X 0 : A) • w) (t : T) :
|
| 144 |
+
formalPlaneTrivialization k σ hσ s hs0 hs hx hy (1 ⊗ₜ[k] t) =
|
| 145 |
+
formalPlaneSection k σ hσ s hs t := by
|
| 146 |
+
simp only [formalPlaneTrivialization, LinearEquiv.trans_apply,
|
| 147 |
+
TensorProduct.AlgebraTensorModule.cancelBaseChange_symm_tmul,
|
| 148 |
+
AdicCompletion.ofTensorProductEquivOfFiniteNoetherian_apply,
|
| 149 |
+
AdicCompletion.ofTensorProduct_tmul, one_smul]
|
| 150 |
+
apply AdicCompletion.ext
|
| 151 |
+
intro j
|
| 152 |
+
change polynomialJetExtend j (adicPlaneSections k σ hσ s j)
|
| 153 |
+
(Submodule.Quotient.mk ((1 : A) ⊗ₜ[k] t)) = adicPlaneSections k σ hσ s j t
|
| 154 |
+
rw [polynomialJetExtend_mk_tmul, one_smul]
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
theorem exists_formalPlaneTrivialization [Infinite k]
|
| 159 |
+
(hr : IsRational k σ)
|
| 160 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : A) • m))
|
| 161 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : A) • v = (MvPolynomial.X 0 : A) • n →
|
| 162 |
+
∃ w : M, v = (MvPolynomial.X 0 : A) • w)
|
| 163 |
+
(hT : IsTilting k T) :
|
| 164 |
+
Nonempty ((AdicCompletion I A) ⊗[k] T ≃ₗ[AdicCompletion I A] AdicCompletion I M) := by
|
| 165 |
+
obtain ⟨s,hs0,hs⟩ := compatible_planeJet_sections k σ hσ hr hx hy hT
|
| 166 |
+
exact ⟨formalPlaneTrivialization k σ hσ s hs0 hs hx hy⟩
|
| 167 |
+
end FiberFunctorProof
|
| 168 |
+
|
| 169 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/FrobeniusTensor.lean
CHANGED
|
@@ -1,226 +1,226 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.SteinbergDuality
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorLimits
|
| 4 |
-
|
| 5 |
-
namespace OAI
|
| 6 |
-
|
| 7 |
-
/-! Binary Frobenius multiplication and Steinberg twists of filtrations. -/
|
| 8 |
-
|
| 9 |
-
noncomputable section
|
| 10 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 11 |
-
open scoped BigOperators
|
| 12 |
-
|
| 13 |
-
namespace FiberFunctorProof
|
| 14 |
-
section
|
| 15 |
-
open scoped TensorProduct
|
| 16 |
-
universe u
|
| 17 |
-
variable (k : Type u) [Field k]
|
| 18 |
-
|
| 19 |
-
lemma expand_homogeneous {n : ℕ} (p : ℕ)
|
| 20 |
-
(f : MvPolynomial (Fin 2) k) (hf : f.IsHomogeneous n) :
|
| 21 |
-
(MvPolynomial.expand p f).IsHomogeneous (p*n) := by
|
| 22 |
-
exact hf.aeval (fun i => MvPolynomial.X i ^ p)
|
| 23 |
-
(fun i => by simpa using (MvPolynomial.isHomogeneous_X k i).pow p)
|
| 24 |
-
|
| 25 |
-
noncomputable def binaryFrobeniusMultiply (p b : ℕ) :
|
| 26 |
-
Binary k (p-1) ⊗[k] Binary k b →ₗ[k] Binary k (p-1+p*b) :=
|
| 27 |
-
TensorProduct.lift
|
| 28 |
-
{ toFun := fun f =>
|
| 29 |
-
{ toFun := fun g => ⟨f.val * MvPolynomial.expand p g.val,
|
| 30 |
-
f.property.mul (expand_homogeneous k p g.val g.property)⟩
|
| 31 |
-
map_add' := by intro g h; apply Subtype.ext; simp [mul_add]
|
| 32 |
-
map_smul' := by intro c g; apply Subtype.ext; simp }
|
| 33 |
-
map_add' := by intro f g; ext h : 1; apply Subtype.ext; simp [add_mul]
|
| 34 |
-
map_smul' := by intro c f; ext g : 1; apply Subtype.ext; simp }
|
| 35 |
-
|
| 36 |
-
@[simp] lemma binaryFrobeniusMultiply_tmul (p b : ℕ)
|
| 37 |
-
(f : Binary k (p-1)) (g : Binary k b) :
|
| 38 |
-
(binaryFrobeniusMultiply k p b (f ⊗ₜ[k] g)).val =
|
| 39 |
-
f.val * MvPolynomial.expand p g.val := rfl
|
| 40 |
-
|
| 41 |
-
lemma binaryFrobeniusMultiply_surjective (p b : ℕ) (hp : 0 < p) :
|
| 42 |
-
Function.Surjective (binaryFrobeniusMultiply k p b) := by
|
| 43 |
-
rw [← LinearMap.range_eq_top]
|
| 44 |
-
apply top_unique
|
| 45 |
-
rw [← (binaryBasis k (p-1+p*b)).span_eq]
|
| 46 |
-
apply Submodule.span_le.mpr
|
| 47 |
-
rintro _ ⟨i,rfl⟩
|
| 48 |
-
have hj : i.val % p < p := Nat.mod_lt _ hp
|
| 49 |
-
have hil : i.val < p*(b+1) := by have := i.isLt; nlinarith [Nat.sub_add_cancel hp]
|
| 50 |
-
have hl : i.val / p < b+1 := (Nat.div_lt_iff_lt_mul hp).mpr (by simpa [mul_comm] using hil)
|
| 51 |
-
let j : Fin (p-1+1) := ⟨i.val % p, by omega⟩
|
| 52 |
-
let l : Fin (b+1) := ⟨i.val / p, hl⟩
|
| 53 |
-
refine ⟨binaryBasis k (p-1) j ⊗ₜ[k] binaryBasis k b l, ?_⟩
|
| 54 |
-
apply Subtype.ext
|
| 55 |
-
simp only [binaryFrobeniusMultiply_tmul, binaryBasis_apply, map_mul, map_pow,
|
| 56 |
-
MvPolynomial.expand_X, ← pow_mul]
|
| 57 |
-
rw [mul_mul_mul_comm, ← pow_add, ← pow_add]
|
| 58 |
-
have hi : j.val + p*l.val = i.val := Nat.mod_add_div _ _
|
| 59 |
-
have hnot : l.val ≤ b := by omega
|
| 60 |
-
have h₁ : (p-1-j.val) + p*(b-l.val) = p-1+p*b-i.val := by
|
| 61 |
-
rw [Nat.mul_sub_left_distrib]
|
| 62 |
-
have hpj : j.val ≤ p-1 := by dsimp [j]; omega
|
| 63 |
-
have hpb : p*l.val ≤ p*b := Nat.mul_le_mul_left _ hnot
|
| 64 |
-
omega
|
| 65 |
-
rw [h₁, hi]
|
| 66 |
-
|
| 67 |
-
lemma binaryFrobeniusMultiply_bijective (p b : ℕ) (hp : 0 < p) :
|
| 68 |
-
Function.Bijective (binaryFrobeniusMultiply k p b) := by
|
| 69 |
-
have he : Module.finrank k (Binary k (p-1) ⊗[k] Binary k b) =
|
| 70 |
-
Module.finrank k (Binary k (p-1+p*b)) := by
|
| 71 |
-
rw [Module.finrank_tensorProduct, binaryBasis_finrank, binaryBasis_finrank,
|
| 72 |
-
binaryBasis_finrank]
|
| 73 |
-
nlinarith [Nat.sub_add_cancel hp]
|
| 74 |
-
constructor
|
| 75 |
-
· apply (LinearMap.injective_iff_surjective_of_finrank_eq_finrank (K := k)
|
| 76 |
-
(V := Binary k (p-1) ⊗[k] Binary k b) (V₂ := Binary k (p-1+p*b))
|
| 77 |
-
he (f := binaryFrobeniusMultiply k p b)).mpr
|
| 78 |
-
exact binaryFrobeniusMultiply_surjective k p b hp
|
| 79 |
-
· exact binaryFrobeniusMultiply_surjective k p b hp
|
| 80 |
-
|
| 81 |
-
variable (p : ℕ) [Fact p.Prime] [CharP k p]
|
| 82 |
-
|
| 83 |
-
noncomputable def frobeniusSL2 : SL2 k →* SL2 k :=
|
| 84 |
-
Matrix.SpecialLinearGroup.map (frobenius k p)
|
| 85 |
-
|
| 86 |
-
lemma dualMatrix_frobeniusSL2 (g : SL2 k) :
|
| 87 |
-
dualMatrix k (frobeniusSL2 k p g) =
|
| 88 |
-
(frobenius k p).mapMatrix (dualMatrix k g) := by
|
| 89 |
-
change ((↑((frobeniusSL2 k p g)⁻¹) : Matrix (Fin 2) (Fin 2) k)).transpose = _
|
| 90 |
-
rw [← map_inv]
|
| 91 |
-
rfl
|
| 92 |
-
|
| 93 |
-
lemma linearChange_expand (A : Matrix (Fin 2) (Fin 2) k) (f : MvPolynomial (Fin 2) k) :
|
| 94 |
-
linearChange A (MvPolynomial.expand p f) =
|
| 95 |
-
MvPolynomial.expand p (linearChange ((frobenius k p).mapMatrix A) f) := by
|
| 96 |
-
have he : (linearChange A).comp (MvPolynomial.expand p) =
|
| 97 |
-
(MvPolynomial.expand p).comp (linearChange ((frobenius k p).mapMatrix A)) := by
|
| 98 |
-
ext i : 1
|
| 99 |
-
simp [Fin.sum_univ_two, add_pow_char, mul_pow, frobenius_def, map_pow]
|
| 100 |
-
exact AlgHom.congr_fun he f
|
| 101 |
-
|
| 102 |
-
lemma binaryFrobeniusMultiply_intertwines (b : ℕ) (g : SL2 k)
|
| 103 |
-
(z : Binary k (p-1) ⊗[k] Binary k b) :
|
| 104 |
-
binaryFrobeniusMultiply k p b
|
| 105 |
-
(Representation.tprod (costandard k (p-1)).ρ
|
| 106 |
-
((costandard k b).ρ.comp (frobeniusSL2 k p)) g z) =
|
| 107 |
-
(costandard k (p-1+p*b)).ρ g (binaryFrobeniusMultiply k p b z) := by
|
| 108 |
-
change binaryFrobeniusMultiply k p b
|
| 109 |
-
(TensorProduct.map (homogeneousRepresentation (p-1) (dualMatrix k g))
|
| 110 |
-
(homogeneousRepresentation b (dualMatrix k (frobeniusSL2 k p g))) z) =
|
| 111 |
-
homogeneousRepresentation (p-1+p*b) (dualMatrix k g) (binaryFrobeniusMultiply k p b z)
|
| 112 |
-
induction z using TensorProduct.inductionOn with
|
| 113 |
-
| add z w hz hw => simp only [map_add, hz, hw]
|
| 114 |
-
| tmul f h =>
|
| 115 |
-
apply Subtype.ext
|
| 116 |
-
change linearChange (dualMatrix k g) f.val *
|
| 117 |
-
MvPolynomial.expand p (linearChange (dualMatrix k (frobeniusSL2 k p g)) h.val) =
|
| 118 |
-
linearChange (dualMatrix k g) (f.val * MvPolynomial.expand p h.val)
|
| 119 |
-
rw [map_mul, dualMatrix_frobeniusSL2, linearChange_expand]
|
| 120 |
-
|
| 121 |
-
end
|
| 122 |
-
|
| 123 |
-
universe u
|
| 124 |
-
variable (k : Type u) [Field k]
|
| 125 |
-
variable (p : ℕ) [Fact p.Prime] [CharP k p]
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
noncomputable def frobeniusTwist : FDRep k (SL2 k) ⥤ FDRep k (SL2 k) :=
|
| 129 |
-
Action.res (FGModuleCat k) (frobeniusSL2 k p)
|
| 130 |
-
|
| 131 |
-
instance : (frobeniusTwist k p).Additive where
|
| 132 |
-
map_add := by intros; rfl
|
| 133 |
-
|
| 134 |
-
lemma frobeniusTwist_shortExact (S : ShortComplex (FDRep k (SL2 k)))
|
| 135 |
-
(hS : S.ShortExact) : (S.map (frobeniusTwist k p)).ShortExact := by
|
| 136 |
-
have := hS.mono_f
|
| 137 |
-
have := hS.epi_g
|
| 138 |
-
exact fdrep_shortExact k _ (fdrep_injective k S.f) (fdrep_surjective k S.g)
|
| 139 |
-
(fdrep_exact k (S := S) hS.exact)
|
| 140 |
-
|
| 141 |
-
noncomputable def frobeniusCostandardHom (b : ℕ) :
|
| 142 |
-
costandard k (p-1) ⊗ (frobeniusTwist k p).obj (costandard k b) ⟶
|
| 143 |
-
costandard k (p-1+p*b) :=
|
| 144 |
-
fdrepHom k (binaryFrobeniusMultiply k p b) (binaryFrobeniusMultiply_intertwines k p b)
|
| 145 |
-
|
| 146 |
-
noncomputable def frobeniusCostandardIso (b : ℕ) :
|
| 147 |
-
costandard k (p-1) ⊗ (frobeniusTwist k p).obj (costandard k b) ≅
|
| 148 |
-
costandard k (p-1+p*b) := by
|
| 149 |
-
let f := frobeniusCostandardHom k p b
|
| 150 |
-
have : IsIso f := fdrepHom_isIso_of_bijective k f
|
| 151 |
-
(binaryFrobeniusMultiply_bijective k p b (Fact.out : p.Prime).pos)
|
| 152 |
-
exact asIso f
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
theorem HasGoodFiltration.steinberg_frobenius {A : FDRep k (SL2 k)}
|
| 157 |
-
(hA : HasGoodFiltration k A) :
|
| 158 |
-
HasGoodFiltration k (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A) := by
|
| 159 |
-
induction hA with
|
| 160 |
-
| zero A hA =>
|
| 161 |
-
exact .zero _ ((tensorLeft (costandard k (p-1))).map_isZero
|
| 162 |
-
((frobeniusTwist k p).map_isZero hA))
|
| 163 |
-
| @step A B n f g w hS hA ih =>
|
| 164 |
-
let F := tensorLeft (costandard k (p-1))
|
| 165 |
-
let := tensorLeft_preservesFiniteLimits (costandard k (p-1))
|
| 166 |
-
let := tensorLeft_preservesFiniteColimits (costandard k (p-1))
|
| 167 |
-
have hT := (frobeniusTwist_shortExact k p _ hS).map_of_exact F
|
| 168 |
-
have hc := (costandard_hasGoodFiltration k (p-1+p*n)).of_iso k
|
| 169 |
-
(frobeniusCostandardIso k p n).symm
|
| 170 |
-
exact ih.extension k hc _ _ _ hT
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
lemma IsRational.frobenius {M : Type u} [AddCommGroup M] [Module k M]
|
| 174 |
-
(ρ : Representation k (SL2 k) M) (hρ : IsRational k ρ) :
|
| 175 |
-
IsRational k (ρ.comp (frobeniusSL2 k p)) := by
|
| 176 |
-
intro v l
|
| 177 |
-
obtain ⟨P,hP⟩ := hρ v l
|
| 178 |
-
refine ⟨MvPolynomial.expand p P, fun g => ?_⟩
|
| 179 |
-
change l (ρ (frobeniusSL2 k p g) v) = _
|
| 180 |
-
rw [hP]
|
| 181 |
-
change MvPolynomial.eval₂ (RingHom.id k) (fun ij => (g ij.1 ij.2)^p) P =
|
| 182 |
-
MvPolynomial.eval₂ (RingHom.id k) (fun ij => g ij.1 ij.2) (MvPolynomial.expand p P)
|
| 183 |
-
rw [MvPolynomial.eval₂_expand]
|
| 184 |
-
rfl
|
| 185 |
-
|
| 186 |
-
noncomputable def frobeniusDualIso (A : FDRep k (SL2 k)) :
|
| 187 |
-
((frobeniusTwist k p).obj A)ᘁ ≅ (frobeniusTwist k p).obj Aᘁ := by
|
| 188 |
-
let f : ((frobeniusTwist k p).obj A)ᘁ ⟶ (frobeniusTwist k p).obj Aᘁ :=
|
| 189 |
-
fdrepHom k LinearMap.id (by
|
| 190 |
-
intro g l
|
| 191 |
-
change Module.Dual k A at l
|
| 192 |
-
rw [fdrep_dual_repr]
|
| 193 |
-
change Representation.dual (A.ρ.comp (frobeniusSL2 k p)) g l =
|
| 194 |
-
Aᘁ.ρ (frobeniusSL2 k p g) l
|
| 195 |
-
rw [fdrep_dual_repr]
|
| 196 |
-
apply LinearMap.ext
|
| 197 |
-
intro x
|
| 198 |
-
change l (A.ρ (frobeniusSL2 k p (g⁻¹)) x) = l (A.ρ ((frobeniusSL2 k p g)⁻¹) x)
|
| 199 |
-
rw [map_inv])
|
| 200 |
-
have : IsIso f := fdrepHom_isIso_of_bijective k f Function.bijective_id
|
| 201 |
-
exact asIso f
|
| 202 |
-
|
| 203 |
-
variable [Infinite k]
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
theorem IsTilting.steinberg_frobenius {A : FDRep k (SL2 k)} (hA : IsTilting k A) :
|
| 207 |
-
IsTilting k (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A) := by
|
| 208 |
-
have hr : IsRational k ((frobeniusTwist k p).obj A).ρ :=
|
| 209 |
-
IsRational.frobenius k p A.ρ hA.1
|
| 210 |
-
have hrt : IsRational k (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A).ρ :=
|
| 211 |
-
IsRational.tensor k (costandard k (p-1)).ρ ((frobeniusTwist k p).obj A).ρ
|
| 212 |
-
(costandard_rational k (p-1)) hr
|
| 213 |
-
refine ⟨hrt, hA.2.1.steinberg_frobenius k p, ?_⟩
|
| 214 |
-
obtain ⟨hs⟩ := costandard_self_dual_of_choose_ne_zero k (p-1)
|
| 215 |
-
(fun i => choose_cast_ne_zero_of_lt_char k p
|
| 216 |
-
(by have := (Fact.out : p.Prime).pos; omega) (by have := i.isLt; omega))
|
| 217 |
-
let e : (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A)ᘁ ≅
|
| 218 |
-
costandard k (p-1) ⊗ (frobeniusTwist k p).obj Aᘁ :=
|
| 219 |
-
rightDualTensorIso _ _ ≪≫ (tensorIso (frobeniusDualIso k p A) hs) ≪≫
|
| 220 |
-
(β_ _ _)
|
| 221 |
-
exact (hA.2.2.steinberg_frobenius k p).of_iso k e.symm
|
| 222 |
-
|
| 223 |
-
end FiberFunctorProof
|
| 224 |
-
end
|
| 225 |
-
|
| 226 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.SteinbergDuality
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorLimits
|
| 4 |
+
|
| 5 |
+
namespace OAI
|
| 6 |
+
|
| 7 |
+
/-! Binary Frobenius multiplication and Steinberg twists of filtrations. -/
|
| 8 |
+
|
| 9 |
+
noncomputable section
|
| 10 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 11 |
+
open scoped BigOperators
|
| 12 |
+
|
| 13 |
+
namespace FiberFunctorProof
|
| 14 |
+
section
|
| 15 |
+
open scoped TensorProduct
|
| 16 |
+
universe u
|
| 17 |
+
variable (k : Type u) [Field k]
|
| 18 |
+
|
| 19 |
+
lemma expand_homogeneous {n : ℕ} (p : ℕ)
|
| 20 |
+
(f : MvPolynomial (Fin 2) k) (hf : f.IsHomogeneous n) :
|
| 21 |
+
(MvPolynomial.expand p f).IsHomogeneous (p*n) := by
|
| 22 |
+
exact hf.aeval (fun i => MvPolynomial.X i ^ p)
|
| 23 |
+
(fun i => by simpa using (MvPolynomial.isHomogeneous_X k i).pow p)
|
| 24 |
+
|
| 25 |
+
noncomputable def binaryFrobeniusMultiply (p b : ℕ) :
|
| 26 |
+
Binary k (p-1) ⊗[k] Binary k b →ₗ[k] Binary k (p-1+p*b) :=
|
| 27 |
+
TensorProduct.lift
|
| 28 |
+
{ toFun := fun f =>
|
| 29 |
+
{ toFun := fun g => ⟨f.val * MvPolynomial.expand p g.val,
|
| 30 |
+
f.property.mul (expand_homogeneous k p g.val g.property)⟩
|
| 31 |
+
map_add' := by intro g h; apply Subtype.ext; simp [mul_add]
|
| 32 |
+
map_smul' := by intro c g; apply Subtype.ext; simp }
|
| 33 |
+
map_add' := by intro f g; ext h : 1; apply Subtype.ext; simp [add_mul]
|
| 34 |
+
map_smul' := by intro c f; ext g : 1; apply Subtype.ext; simp }
|
| 35 |
+
|
| 36 |
+
@[simp] lemma binaryFrobeniusMultiply_tmul (p b : ℕ)
|
| 37 |
+
(f : Binary k (p-1)) (g : Binary k b) :
|
| 38 |
+
(binaryFrobeniusMultiply k p b (f ⊗ₜ[k] g)).val =
|
| 39 |
+
f.val * MvPolynomial.expand p g.val := rfl
|
| 40 |
+
|
| 41 |
+
lemma binaryFrobeniusMultiply_surjective (p b : ℕ) (hp : 0 < p) :
|
| 42 |
+
Function.Surjective (binaryFrobeniusMultiply k p b) := by
|
| 43 |
+
rw [← LinearMap.range_eq_top]
|
| 44 |
+
apply top_unique
|
| 45 |
+
rw [← (binaryBasis k (p-1+p*b)).span_eq]
|
| 46 |
+
apply Submodule.span_le.mpr
|
| 47 |
+
rintro _ ⟨i,rfl⟩
|
| 48 |
+
have hj : i.val % p < p := Nat.mod_lt _ hp
|
| 49 |
+
have hil : i.val < p*(b+1) := by have := i.isLt; nlinarith [Nat.sub_add_cancel hp]
|
| 50 |
+
have hl : i.val / p < b+1 := (Nat.div_lt_iff_lt_mul hp).mpr (by simpa [mul_comm] using hil)
|
| 51 |
+
let j : Fin (p-1+1) := ⟨i.val % p, by omega⟩
|
| 52 |
+
let l : Fin (b+1) := ⟨i.val / p, hl⟩
|
| 53 |
+
refine ⟨binaryBasis k (p-1) j ⊗ₜ[k] binaryBasis k b l, ?_⟩
|
| 54 |
+
apply Subtype.ext
|
| 55 |
+
simp only [binaryFrobeniusMultiply_tmul, binaryBasis_apply, map_mul, map_pow,
|
| 56 |
+
MvPolynomial.expand_X, ← pow_mul]
|
| 57 |
+
rw [mul_mul_mul_comm, ← pow_add, ← pow_add]
|
| 58 |
+
have hi : j.val + p*l.val = i.val := Nat.mod_add_div _ _
|
| 59 |
+
have hnot : l.val ≤ b := by omega
|
| 60 |
+
have h₁ : (p-1-j.val) + p*(b-l.val) = p-1+p*b-i.val := by
|
| 61 |
+
rw [Nat.mul_sub_left_distrib]
|
| 62 |
+
have hpj : j.val ≤ p-1 := by dsimp [j]; omega
|
| 63 |
+
have hpb : p*l.val ≤ p*b := Nat.mul_le_mul_left _ hnot
|
| 64 |
+
omega
|
| 65 |
+
rw [h₁, hi]
|
| 66 |
+
|
| 67 |
+
lemma binaryFrobeniusMultiply_bijective (p b : ℕ) (hp : 0 < p) :
|
| 68 |
+
Function.Bijective (binaryFrobeniusMultiply k p b) := by
|
| 69 |
+
have he : Module.finrank k (Binary k (p-1) ⊗[k] Binary k b) =
|
| 70 |
+
Module.finrank k (Binary k (p-1+p*b)) := by
|
| 71 |
+
rw [Module.finrank_tensorProduct, binaryBasis_finrank, binaryBasis_finrank,
|
| 72 |
+
binaryBasis_finrank]
|
| 73 |
+
nlinarith [Nat.sub_add_cancel hp]
|
| 74 |
+
constructor
|
| 75 |
+
· apply (LinearMap.injective_iff_surjective_of_finrank_eq_finrank (K := k)
|
| 76 |
+
(V := Binary k (p-1) ⊗[k] Binary k b) (V₂ := Binary k (p-1+p*b))
|
| 77 |
+
he (f := binaryFrobeniusMultiply k p b)).mpr
|
| 78 |
+
exact binaryFrobeniusMultiply_surjective k p b hp
|
| 79 |
+
· exact binaryFrobeniusMultiply_surjective k p b hp
|
| 80 |
+
|
| 81 |
+
variable (p : ℕ) [Fact p.Prime] [CharP k p]
|
| 82 |
+
|
| 83 |
+
noncomputable def frobeniusSL2 : SL2 k →* SL2 k :=
|
| 84 |
+
Matrix.SpecialLinearGroup.map (frobenius k p)
|
| 85 |
+
|
| 86 |
+
lemma dualMatrix_frobeniusSL2 (g : SL2 k) :
|
| 87 |
+
dualMatrix k (frobeniusSL2 k p g) =
|
| 88 |
+
(frobenius k p).mapMatrix (dualMatrix k g) := by
|
| 89 |
+
change ((↑((frobeniusSL2 k p g)⁻¹) : Matrix (Fin 2) (Fin 2) k)).transpose = _
|
| 90 |
+
rw [← map_inv]
|
| 91 |
+
rfl
|
| 92 |
+
|
| 93 |
+
lemma linearChange_expand (A : Matrix (Fin 2) (Fin 2) k) (f : MvPolynomial (Fin 2) k) :
|
| 94 |
+
linearChange A (MvPolynomial.expand p f) =
|
| 95 |
+
MvPolynomial.expand p (linearChange ((frobenius k p).mapMatrix A) f) := by
|
| 96 |
+
have he : (linearChange A).comp (MvPolynomial.expand p) =
|
| 97 |
+
(MvPolynomial.expand p).comp (linearChange ((frobenius k p).mapMatrix A)) := by
|
| 98 |
+
ext i : 1
|
| 99 |
+
simp [Fin.sum_univ_two, add_pow_char, mul_pow, frobenius_def, map_pow]
|
| 100 |
+
exact AlgHom.congr_fun he f
|
| 101 |
+
|
| 102 |
+
lemma binaryFrobeniusMultiply_intertwines (b : ℕ) (g : SL2 k)
|
| 103 |
+
(z : Binary k (p-1) ⊗[k] Binary k b) :
|
| 104 |
+
binaryFrobeniusMultiply k p b
|
| 105 |
+
(Representation.tprod (costandard k (p-1)).ρ
|
| 106 |
+
((costandard k b).ρ.comp (frobeniusSL2 k p)) g z) =
|
| 107 |
+
(costandard k (p-1+p*b)).ρ g (binaryFrobeniusMultiply k p b z) := by
|
| 108 |
+
change binaryFrobeniusMultiply k p b
|
| 109 |
+
(TensorProduct.map (homogeneousRepresentation (p-1) (dualMatrix k g))
|
| 110 |
+
(homogeneousRepresentation b (dualMatrix k (frobeniusSL2 k p g))) z) =
|
| 111 |
+
homogeneousRepresentation (p-1+p*b) (dualMatrix k g) (binaryFrobeniusMultiply k p b z)
|
| 112 |
+
induction z using TensorProduct.inductionOn with
|
| 113 |
+
| add z w hz hw => simp only [map_add, hz, hw]
|
| 114 |
+
| tmul f h =>
|
| 115 |
+
apply Subtype.ext
|
| 116 |
+
change linearChange (dualMatrix k g) f.val *
|
| 117 |
+
MvPolynomial.expand p (linearChange (dualMatrix k (frobeniusSL2 k p g)) h.val) =
|
| 118 |
+
linearChange (dualMatrix k g) (f.val * MvPolynomial.expand p h.val)
|
| 119 |
+
rw [map_mul, dualMatrix_frobeniusSL2, linearChange_expand]
|
| 120 |
+
|
| 121 |
+
end
|
| 122 |
+
|
| 123 |
+
universe u
|
| 124 |
+
variable (k : Type u) [Field k]
|
| 125 |
+
variable (p : ℕ) [Fact p.Prime] [CharP k p]
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
noncomputable def frobeniusTwist : FDRep k (SL2 k) ⥤ FDRep k (SL2 k) :=
|
| 129 |
+
Action.res (FGModuleCat k) (frobeniusSL2 k p)
|
| 130 |
+
|
| 131 |
+
instance : (frobeniusTwist k p).Additive where
|
| 132 |
+
map_add := by intros; rfl
|
| 133 |
+
|
| 134 |
+
lemma frobeniusTwist_shortExact (S : ShortComplex (FDRep k (SL2 k)))
|
| 135 |
+
(hS : S.ShortExact) : (S.map (frobeniusTwist k p)).ShortExact := by
|
| 136 |
+
have := hS.mono_f
|
| 137 |
+
have := hS.epi_g
|
| 138 |
+
exact fdrep_shortExact k _ (fdrep_injective k S.f) (fdrep_surjective k S.g)
|
| 139 |
+
(fdrep_exact k (S := S) hS.exact)
|
| 140 |
+
|
| 141 |
+
noncomputable def frobeniusCostandardHom (b : ℕ) :
|
| 142 |
+
costandard k (p-1) ⊗ (frobeniusTwist k p).obj (costandard k b) ⟶
|
| 143 |
+
costandard k (p-1+p*b) :=
|
| 144 |
+
fdrepHom k (binaryFrobeniusMultiply k p b) (binaryFrobeniusMultiply_intertwines k p b)
|
| 145 |
+
|
| 146 |
+
noncomputable def frobeniusCostandardIso (b : ℕ) :
|
| 147 |
+
costandard k (p-1) ⊗ (frobeniusTwist k p).obj (costandard k b) ≅
|
| 148 |
+
costandard k (p-1+p*b) := by
|
| 149 |
+
let f := frobeniusCostandardHom k p b
|
| 150 |
+
have : IsIso f := fdrepHom_isIso_of_bijective k f
|
| 151 |
+
(binaryFrobeniusMultiply_bijective k p b (Fact.out : p.Prime).pos)
|
| 152 |
+
exact asIso f
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
theorem HasGoodFiltration.steinberg_frobenius {A : FDRep k (SL2 k)}
|
| 157 |
+
(hA : HasGoodFiltration k A) :
|
| 158 |
+
HasGoodFiltration k (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A) := by
|
| 159 |
+
induction hA with
|
| 160 |
+
| zero A hA =>
|
| 161 |
+
exact .zero _ ((tensorLeft (costandard k (p-1))).map_isZero
|
| 162 |
+
((frobeniusTwist k p).map_isZero hA))
|
| 163 |
+
| @step A B n f g w hS hA ih =>
|
| 164 |
+
let F := tensorLeft (costandard k (p-1))
|
| 165 |
+
let := tensorLeft_preservesFiniteLimits (costandard k (p-1))
|
| 166 |
+
let := tensorLeft_preservesFiniteColimits (costandard k (p-1))
|
| 167 |
+
have hT := (frobeniusTwist_shortExact k p _ hS).map_of_exact F
|
| 168 |
+
have hc := (costandard_hasGoodFiltration k (p-1+p*n)).of_iso k
|
| 169 |
+
(frobeniusCostandardIso k p n).symm
|
| 170 |
+
exact ih.extension k hc _ _ _ hT
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
lemma IsRational.frobenius {M : Type u} [AddCommGroup M] [Module k M]
|
| 174 |
+
(ρ : Representation k (SL2 k) M) (hρ : IsRational k ρ) :
|
| 175 |
+
IsRational k (ρ.comp (frobeniusSL2 k p)) := by
|
| 176 |
+
intro v l
|
| 177 |
+
obtain ⟨P,hP⟩ := hρ v l
|
| 178 |
+
refine ⟨MvPolynomial.expand p P, fun g => ?_⟩
|
| 179 |
+
change l (ρ (frobeniusSL2 k p g) v) = _
|
| 180 |
+
rw [hP]
|
| 181 |
+
change MvPolynomial.eval₂ (RingHom.id k) (fun ij => (g ij.1 ij.2)^p) P =
|
| 182 |
+
MvPolynomial.eval₂ (RingHom.id k) (fun ij => g ij.1 ij.2) (MvPolynomial.expand p P)
|
| 183 |
+
rw [MvPolynomial.eval₂_expand]
|
| 184 |
+
rfl
|
| 185 |
+
|
| 186 |
+
noncomputable def frobeniusDualIso (A : FDRep k (SL2 k)) :
|
| 187 |
+
((frobeniusTwist k p).obj A)ᘁ ≅ (frobeniusTwist k p).obj Aᘁ := by
|
| 188 |
+
let f : ((frobeniusTwist k p).obj A)ᘁ ⟶ (frobeniusTwist k p).obj Aᘁ :=
|
| 189 |
+
fdrepHom k LinearMap.id (by
|
| 190 |
+
intro g l
|
| 191 |
+
change Module.Dual k A at l
|
| 192 |
+
rw [fdrep_dual_repr]
|
| 193 |
+
change Representation.dual (A.ρ.comp (frobeniusSL2 k p)) g l =
|
| 194 |
+
Aᘁ.ρ (frobeniusSL2 k p g) l
|
| 195 |
+
rw [fdrep_dual_repr]
|
| 196 |
+
apply LinearMap.ext
|
| 197 |
+
intro x
|
| 198 |
+
change l (A.ρ (frobeniusSL2 k p (g⁻¹)) x) = l (A.ρ ((frobeniusSL2 k p g)⁻¹) x)
|
| 199 |
+
rw [map_inv])
|
| 200 |
+
have : IsIso f := fdrepHom_isIso_of_bijective k f Function.bijective_id
|
| 201 |
+
exact asIso f
|
| 202 |
+
|
| 203 |
+
variable [Infinite k]
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
theorem IsTilting.steinberg_frobenius {A : FDRep k (SL2 k)} (hA : IsTilting k A) :
|
| 207 |
+
IsTilting k (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A) := by
|
| 208 |
+
have hr : IsRational k ((frobeniusTwist k p).obj A).ρ :=
|
| 209 |
+
IsRational.frobenius k p A.ρ hA.1
|
| 210 |
+
have hrt : IsRational k (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A).ρ :=
|
| 211 |
+
IsRational.tensor k (costandard k (p-1)).ρ ((frobeniusTwist k p).obj A).ρ
|
| 212 |
+
(costandard_rational k (p-1)) hr
|
| 213 |
+
refine ⟨hrt, hA.2.1.steinberg_frobenius k p, ?_⟩
|
| 214 |
+
obtain ⟨hs⟩ := costandard_self_dual_of_choose_ne_zero k (p-1)
|
| 215 |
+
(fun i => choose_cast_ne_zero_of_lt_char k p
|
| 216 |
+
(by have := (Fact.out : p.Prime).pos; omega) (by have := i.isLt; omega))
|
| 217 |
+
let e : (costandard k (p-1) ⊗ (frobeniusTwist k p).obj A)ᘁ ≅
|
| 218 |
+
costandard k (p-1) ⊗ (frobeniusTwist k p).obj Aᘁ :=
|
| 219 |
+
rightDualTensorIso _ _ ≪≫ (tensorIso (frobeniusDualIso k p A) hs) ≪≫
|
| 220 |
+
(β_ _ _)
|
| 221 |
+
exact (hA.2.2.steinberg_frobenius k p).of_iso k e.symm
|
| 222 |
+
|
| 223 |
+
end FiberFunctorProof
|
| 224 |
+
end
|
| 225 |
+
|
| 226 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/GeneratedStableKernel.lean
CHANGED
|
@@ -1,117 +1,117 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.TiltingCovers
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.SteinbergSpan
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedStableFaithfulness
|
| 4 |
-
|
| 5 |
-
namespace OAI
|
| 6 |
-
|
| 7 |
-
namespace FiberFunctorProof
|
| 8 |
-
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 9 |
-
universe u
|
| 10 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 11 |
-
variable (p r : ℕ) [Fact p.Prime] [CharP k p]
|
| 12 |
-
variable (l : (Fin r → ZMod p) →+ k) (hl : Function.Injective l)
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
def StableFaithfulPair (A B : FDRep k (SL2 k)) : Prop :=
|
| 16 |
-
∀ (f : A ⟶ B), FactorsThroughProjective ((restrictElementary k p r l).map f) →
|
| 17 |
-
f ∈ steinbergSpan k p r A B
|
| 18 |
-
|
| 19 |
-
omit [Infinite k] [CharP k p] in
|
| 20 |
-
lemma StableFaithfulPair.iso_left {A A' B : FDRep k (SL2 k)}
|
| 21 |
-
(h : StableFaithfulPair k p r l A B) (e : A ≅ A') :
|
| 22 |
-
StableFaithfulPair k p r l A' B := by
|
| 23 |
-
intro f hf
|
| 24 |
-
have hg : FactorsThroughProjective ((restrictElementary k p r l).map (e.hom ≫ f)) := by
|
| 25 |
-
rw [Functor.map_comp]
|
| 26 |
-
exact hf.precomp _
|
| 27 |
-
have H := steinbergSpan.precomp k p r e.inv _ (h _ hg)
|
| 28 |
-
simpa using H
|
| 29 |
-
|
| 30 |
-
omit [Infinite k] [CharP k p] in
|
| 31 |
-
lemma StableFaithfulPair.iso_right {A B B' : FDRep k (SL2 k)}
|
| 32 |
-
(h : StableFaithfulPair k p r l A B) (e : B ≅ B') :
|
| 33 |
-
StableFaithfulPair k p r l A B' := by
|
| 34 |
-
intro f hf
|
| 35 |
-
have hg : FactorsThroughProjective ((restrictElementary k p r l).map (f ≫ e.inv)) := by
|
| 36 |
-
rw [Functor.map_comp]
|
| 37 |
-
exact hf.postcomp _
|
| 38 |
-
have H := steinbergSpan.postcomp k p r _ e.hom (h _ hg)
|
| 39 |
-
simpa using H
|
| 40 |
-
|
| 41 |
-
omit [Infinite k] [CharP k p] in
|
| 42 |
-
lemma StableFaithfulPair.prod_left {A A' B : FDRep k (SL2 k)}
|
| 43 |
-
(h : StableFaithfulPair k p r l A B) (h' : StableFaithfulPair k p r l A' B) :
|
| 44 |
-
StableFaithfulPair k p r l (repProduct k A A') B := by
|
| 45 |
-
intro f hf
|
| 46 |
-
have h₁ : FactorsThroughProjective
|
| 47 |
-
((restrictElementary k p r l).map (repInl k A A' ≫ f)) := by
|
| 48 |
-
rw [Functor.map_comp]; exact hf.precomp _
|
| 49 |
-
have h₂ : FactorsThroughProjective
|
| 50 |
-
((restrictElementary k p r l).map (repInr k A A' ≫ f)) := by
|
| 51 |
-
rw [Functor.map_comp]; exact hf.precomp _
|
| 52 |
-
have H := (steinbergSpan k p r _ B).add_mem
|
| 53 |
-
(steinbergSpan.precomp k p r (repFst k A A') _ (h _ h₁))
|
| 54 |
-
(steinbergSpan.precomp k p r (repSnd k A A') _ (h' _ h₂))
|
| 55 |
-
have he : (repFst k A A' ≫ repInl k A A' + repSnd k A A' ≫ repInr k A A') ≫ f = f := by
|
| 56 |
-
rw [repProduct_decomposition, Category.id_comp]
|
| 57 |
-
rw [Preadditive.add_comp, Category.assoc, Category.assoc] at he
|
| 58 |
-
rwa [he] at H
|
| 59 |
-
|
| 60 |
-
omit [Infinite k] [CharP k p] in
|
| 61 |
-
lemma StableFaithfulPair.prod_right {A B B' : FDRep k (SL2 k)}
|
| 62 |
-
(h : StableFaithfulPair k p r l A B) (h' : StableFaithfulPair k p r l A B') :
|
| 63 |
-
StableFaithfulPair k p r l A (repProduct k B B') := by
|
| 64 |
-
intro f hf
|
| 65 |
-
have h₁ : FactorsThroughProjective
|
| 66 |
-
((restrictElementary k p r l).map (f ≫ repFst k B B')) := by
|
| 67 |
-
rw [Functor.map_comp]; exact hf.postcomp _
|
| 68 |
-
have h₂ : FactorsThroughProjective
|
| 69 |
-
((restrictElementary k p r l).map (f ≫ repSnd k B B')) := by
|
| 70 |
-
rw [Functor.map_comp]; exact hf.postcomp _
|
| 71 |
-
have H := (steinbergSpan k p r A _).add_mem
|
| 72 |
-
(steinbergSpan.postcomp k p r _ (repInl k B B') (h _ h₁))
|
| 73 |
-
(steinbergSpan.postcomp k p r _ (repInr k B B') (h' _ h₂))
|
| 74 |
-
have he : f ≫ (repFst k B B' ≫ repInl k B B' + repSnd k B B' ≫ repInr k B B') = f := by
|
| 75 |
-
rw [repProduct_decomposition, Category.comp_id]
|
| 76 |
-
rw [Preadditive.comp_add, ← Category.assoc, ← Category.assoc] at he
|
| 77 |
-
rwa [he] at H
|
| 78 |
-
|
| 79 |
-
include hl
|
| 80 |
-
|
| 81 |
-
omit [CharP k p] in
|
| 82 |
-
lemma generated_stable_kernel {A B : FDRep k (SL2 k)}
|
| 83 |
-
(hA : SteinbergGenerated k p r A) (hB : SteinbergGenerated k p r B) :
|
| 84 |
-
StableFaithfulPair k p r l A B := by
|
| 85 |
-
induction hA generalizing B with
|
| 86 |
-
| low A hA a ha hw =>
|
| 87 |
-
induction hB with
|
| 88 |
-
| low B hB b hb hw' =>
|
| 89 |
-
intro f hf
|
| 90 |
-
have hz := low_weight_projective_factor_zero p r l hl A B hA.1 hB.1 a b hw hw'
|
| 91 |
-
(by omega) f hf
|
| 92 |
-
rw [hz]
|
| 93 |
-
exact (steinbergSpan k p r A B).zero_mem
|
| 94 |
-
| high X hX => exact fun f _ => steinbergSpan_of_high_right k p r X hX f
|
| 95 |
-
| of_iso hB e ih => exact ih.iso_right k p r l e
|
| 96 |
-
| prod hB hB' ih ih' => exact ih.prod_right k p r l ih'
|
| 97 |
-
| high X hX => exact fun f _ => steinbergSpan_of_high_left k p r X hX f
|
| 98 |
-
| of_iso hA e ih => exact (ih hB).iso_left k p r l e
|
| 99 |
-
| prod hA hA' ih ih' => exact (ih hB).prod_left k p r l (ih' hB)
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
theorem tilting_projective_factor_mem_steinbergSpan (hr : 1 ≤ r)
|
| 103 |
-
(A B : FDRep k (SL2 k)) (hA : IsTilting k A) (hB : IsTilting k B)
|
| 104 |
-
(f : A ⟶ B) (hf : FactorsThroughProjective ((restrictElementary k p r l).map f)) :
|
| 105 |
-
f ∈ steinbergSpan k p r A B := by
|
| 106 |
-
obtain ⟨P,a,s,ha,hP⟩ := tilting_retract_generated k p r hr A hA
|
| 107 |
-
obtain ⟨Q,b,t,hb,hQ⟩ := tilting_retract_generated k p r hr B hB
|
| 108 |
-
have hg : FactorsThroughProjective ((restrictElementary k p r l).map (a ≫ f ≫ t)) := by
|
| 109 |
-
simp only [Functor.map_comp]
|
| 110 |
-
exact (hf.precomp _).postcomp _
|
| 111 |
-
have H := generated_stable_kernel k p r l hl hP hQ _ hg
|
| 112 |
-
have H' := steinbergSpan.postcomp k p r _ b (steinbergSpan.precomp k p r s _ H)
|
| 113 |
-
simp only [Category.assoc] at H'
|
| 114 |
-
rwa [← Category.assoc s a, ha, Category.id_comp, hb, Category.comp_id] at H'
|
| 115 |
-
end FiberFunctorProof
|
| 116 |
-
|
| 117 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.TiltingCovers
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.SteinbergSpan
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedStableFaithfulness
|
| 4 |
+
|
| 5 |
+
namespace OAI
|
| 6 |
+
|
| 7 |
+
namespace FiberFunctorProof
|
| 8 |
+
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 9 |
+
universe u
|
| 10 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 11 |
+
variable (p r : ℕ) [Fact p.Prime] [CharP k p]
|
| 12 |
+
variable (l : (Fin r → ZMod p) →+ k) (hl : Function.Injective l)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def StableFaithfulPair (A B : FDRep k (SL2 k)) : Prop :=
|
| 16 |
+
∀ (f : A ⟶ B), FactorsThroughProjective ((restrictElementary k p r l).map f) →
|
| 17 |
+
f ∈ steinbergSpan k p r A B
|
| 18 |
+
|
| 19 |
+
omit [Infinite k] [CharP k p] in
|
| 20 |
+
lemma StableFaithfulPair.iso_left {A A' B : FDRep k (SL2 k)}
|
| 21 |
+
(h : StableFaithfulPair k p r l A B) (e : A ≅ A') :
|
| 22 |
+
StableFaithfulPair k p r l A' B := by
|
| 23 |
+
intro f hf
|
| 24 |
+
have hg : FactorsThroughProjective ((restrictElementary k p r l).map (e.hom ≫ f)) := by
|
| 25 |
+
rw [Functor.map_comp]
|
| 26 |
+
exact hf.precomp _
|
| 27 |
+
have H := steinbergSpan.precomp k p r e.inv _ (h _ hg)
|
| 28 |
+
simpa using H
|
| 29 |
+
|
| 30 |
+
omit [Infinite k] [CharP k p] in
|
| 31 |
+
lemma StableFaithfulPair.iso_right {A B B' : FDRep k (SL2 k)}
|
| 32 |
+
(h : StableFaithfulPair k p r l A B) (e : B ≅ B') :
|
| 33 |
+
StableFaithfulPair k p r l A B' := by
|
| 34 |
+
intro f hf
|
| 35 |
+
have hg : FactorsThroughProjective ((restrictElementary k p r l).map (f ≫ e.inv)) := by
|
| 36 |
+
rw [Functor.map_comp]
|
| 37 |
+
exact hf.postcomp _
|
| 38 |
+
have H := steinbergSpan.postcomp k p r _ e.hom (h _ hg)
|
| 39 |
+
simpa using H
|
| 40 |
+
|
| 41 |
+
omit [Infinite k] [CharP k p] in
|
| 42 |
+
lemma StableFaithfulPair.prod_left {A A' B : FDRep k (SL2 k)}
|
| 43 |
+
(h : StableFaithfulPair k p r l A B) (h' : StableFaithfulPair k p r l A' B) :
|
| 44 |
+
StableFaithfulPair k p r l (repProduct k A A') B := by
|
| 45 |
+
intro f hf
|
| 46 |
+
have h₁ : FactorsThroughProjective
|
| 47 |
+
((restrictElementary k p r l).map (repInl k A A' ≫ f)) := by
|
| 48 |
+
rw [Functor.map_comp]; exact hf.precomp _
|
| 49 |
+
have h₂ : FactorsThroughProjective
|
| 50 |
+
((restrictElementary k p r l).map (repInr k A A' ≫ f)) := by
|
| 51 |
+
rw [Functor.map_comp]; exact hf.precomp _
|
| 52 |
+
have H := (steinbergSpan k p r _ B).add_mem
|
| 53 |
+
(steinbergSpan.precomp k p r (repFst k A A') _ (h _ h₁))
|
| 54 |
+
(steinbergSpan.precomp k p r (repSnd k A A') _ (h' _ h₂))
|
| 55 |
+
have he : (repFst k A A' ≫ repInl k A A' + repSnd k A A' ≫ repInr k A A') ≫ f = f := by
|
| 56 |
+
rw [repProduct_decomposition, Category.id_comp]
|
| 57 |
+
rw [Preadditive.add_comp, Category.assoc, Category.assoc] at he
|
| 58 |
+
rwa [he] at H
|
| 59 |
+
|
| 60 |
+
omit [Infinite k] [CharP k p] in
|
| 61 |
+
lemma StableFaithfulPair.prod_right {A B B' : FDRep k (SL2 k)}
|
| 62 |
+
(h : StableFaithfulPair k p r l A B) (h' : StableFaithfulPair k p r l A B') :
|
| 63 |
+
StableFaithfulPair k p r l A (repProduct k B B') := by
|
| 64 |
+
intro f hf
|
| 65 |
+
have h₁ : FactorsThroughProjective
|
| 66 |
+
((restrictElementary k p r l).map (f ≫ repFst k B B')) := by
|
| 67 |
+
rw [Functor.map_comp]; exact hf.postcomp _
|
| 68 |
+
have h₂ : FactorsThroughProjective
|
| 69 |
+
((restrictElementary k p r l).map (f ≫ repSnd k B B')) := by
|
| 70 |
+
rw [Functor.map_comp]; exact hf.postcomp _
|
| 71 |
+
have H := (steinbergSpan k p r A _).add_mem
|
| 72 |
+
(steinbergSpan.postcomp k p r _ (repInl k B B') (h _ h₁))
|
| 73 |
+
(steinbergSpan.postcomp k p r _ (repInr k B B') (h' _ h₂))
|
| 74 |
+
have he : f ≫ (repFst k B B' ≫ repInl k B B' + repSnd k B B' ≫ repInr k B B') = f := by
|
| 75 |
+
rw [repProduct_decomposition, Category.comp_id]
|
| 76 |
+
rw [Preadditive.comp_add, ← Category.assoc, ← Category.assoc] at he
|
| 77 |
+
rwa [he] at H
|
| 78 |
+
|
| 79 |
+
include hl
|
| 80 |
+
|
| 81 |
+
omit [CharP k p] in
|
| 82 |
+
lemma generated_stable_kernel {A B : FDRep k (SL2 k)}
|
| 83 |
+
(hA : SteinbergGenerated k p r A) (hB : SteinbergGenerated k p r B) :
|
| 84 |
+
StableFaithfulPair k p r l A B := by
|
| 85 |
+
induction hA generalizing B with
|
| 86 |
+
| low A hA a ha hw =>
|
| 87 |
+
induction hB with
|
| 88 |
+
| low B hB b hb hw' =>
|
| 89 |
+
intro f hf
|
| 90 |
+
have hz := low_weight_projective_factor_zero p r l hl A B hA.1 hB.1 a b hw hw'
|
| 91 |
+
(by omega) f hf
|
| 92 |
+
rw [hz]
|
| 93 |
+
exact (steinbergSpan k p r A B).zero_mem
|
| 94 |
+
| high X hX => exact fun f _ => steinbergSpan_of_high_right k p r X hX f
|
| 95 |
+
| of_iso hB e ih => exact ih.iso_right k p r l e
|
| 96 |
+
| prod hB hB' ih ih' => exact ih.prod_right k p r l ih'
|
| 97 |
+
| high X hX => exact fun f _ => steinbergSpan_of_high_left k p r X hX f
|
| 98 |
+
| of_iso hA e ih => exact (ih hB).iso_left k p r l e
|
| 99 |
+
| prod hA hA' ih ih' => exact (ih hB).prod_left k p r l (ih' hB)
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
theorem tilting_projective_factor_mem_steinbergSpan (hr : 1 ≤ r)
|
| 103 |
+
(A B : FDRep k (SL2 k)) (hA : IsTilting k A) (hB : IsTilting k B)
|
| 104 |
+
(f : A ⟶ B) (hf : FactorsThroughProjective ((restrictElementary k p r l).map f)) :
|
| 105 |
+
f ∈ steinbergSpan k p r A B := by
|
| 106 |
+
obtain ⟨P,a,s,ha,hP⟩ := tilting_retract_generated k p r hr A hA
|
| 107 |
+
obtain ⟨Q,b,t,hb,hQ⟩ := tilting_retract_generated k p r hr B hB
|
| 108 |
+
have hg : FactorsThroughProjective ((restrictElementary k p r l).map (a ≫ f ≫ t)) := by
|
| 109 |
+
simp only [Functor.map_comp]
|
| 110 |
+
exact (hf.precomp _).postcomp _
|
| 111 |
+
have H := generated_stable_kernel k p r l hl hP hQ _ hg
|
| 112 |
+
have H' := steinbergSpan.postcomp k p r _ b (steinbergSpan.precomp k p r s _ H)
|
| 113 |
+
simp only [Category.assoc] at H'
|
| 114 |
+
rwa [← Category.assoc s a, ha, Category.id_comp, hb, Category.comp_id] at H'
|
| 115 |
+
end FiberFunctorProof
|
| 116 |
+
|
| 117 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/GlobalLattices.lean
CHANGED
|
@@ -1,323 +1,323 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.OriginCoordinates
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Fraction charts, global lattices and finite origin quotients. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
variable (k : Type*) [Field k]
|
| 15 |
-
abbrev planeFractionField := FractionRing (MvPolynomial (Fin 2) k)
|
| 16 |
-
|
| 17 |
-
noncomputable instance planeCoordinateRing_gcd : GCDMonoid (MvPolynomial (Fin 2) k) :=
|
| 18 |
-
UniqueFactorizationMonoid.toGCDMonoid _
|
| 19 |
-
|
| 20 |
-
lemma planeCoordinates_relPrime :
|
| 21 |
-
IsRelPrime (MvPolynomial.X (0 : Fin 2) : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) := by
|
| 22 |
-
apply (MvPolynomial.X_prime (R := k) (i := (0 : Fin 2))).irreducible.isRelPrime_iff_not_dvd.mpr
|
| 23 |
-
intro h
|
| 24 |
-
exact (by decide : (0 : Fin 2) ≠ 1) (MvPolynomial.X_dvd_X.mp h)
|
| 25 |
-
|
| 26 |
-
lemma planeFractionCoordinate_ne_zero (i : Fin 2) :
|
| 27 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) (MvPolynomial.X i) ≠ 0 :=
|
| 28 |
-
fun h => MvPolynomial.X_ne_zero i
|
| 29 |
-
((FaithfulSMul.algebraMap_injective _ _) (h.trans (map_zero _).symm))
|
| 30 |
-
|
| 31 |
-
noncomputable def planeChartToFraction (i : Fin 2) :
|
| 32 |
-
planeCoordinateChart k i →ₐ[k] planeFractionField k :=
|
| 33 |
-
IsLocalization.Away.liftAlgHom (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 34 |
-
(f := IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeFractionField k))
|
| 35 |
-
(isUnit_iff_ne_zero.mpr (planeFractionCoordinate_ne_zero k i))
|
| 36 |
-
|
| 37 |
-
lemma planeChartToFraction_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 38 |
-
planeChartToFraction k i
|
| 39 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 40 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) P :=
|
| 41 |
-
IsLocalization.Away.lift_eq _ (isUnit_iff_ne_zero.mpr (planeFractionCoordinate_ne_zero k i)) _
|
| 42 |
-
|
| 43 |
-
lemma planeChartToFraction_injective (i : Fin 2) :
|
| 44 |
-
Function.Injective (planeChartToFraction k i) := by
|
| 45 |
-
apply (IsLocalization.injective_iff_map_algebraMap_eq
|
| 46 |
-
(Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 47 |
-
(planeChartToFraction k i).toRingHom).mpr
|
| 48 |
-
intro P Q
|
| 49 |
-
constructor
|
| 50 |
-
· exact congrArg (planeChartToFraction k i)
|
| 51 |
-
· intro h
|
| 52 |
-
have h' : algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) P =
|
| 53 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) Q := by
|
| 54 |
-
simpa only [AlgHom.toRingHom_eq_coe, RingHom.coe_coe, planeChartToFraction_algebraMap] using h
|
| 55 |
-
exact congrArg (algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i))
|
| 56 |
-
((FaithfulSMul.algebraMap_injective _ _) h')
|
| 57 |
-
|
| 58 |
-
noncomputable def planeChartToFractionLinear (i : Fin 2) :
|
| 59 |
-
planeCoordinateChart k i →ₗ[MvPolynomial (Fin 2) k] planeFractionField k where
|
| 60 |
-
toFun := planeChartToFraction k i
|
| 61 |
-
map_add' := (planeChartToFraction k i).map_add
|
| 62 |
-
map_smul' := by
|
| 63 |
-
intro P f
|
| 64 |
-
simp only [Algebra.smul_def, map_mul, planeChartToFraction_algebraMap,
|
| 65 |
-
RingHom.id_apply]
|
| 66 |
-
|
| 67 |
-
noncomputable def planeOverlapToFraction : planeOverlapRing k →ₐ[k] planeFractionField k :=
|
| 68 |
-
IsLocalization.Away.liftAlgHom (MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k)
|
| 69 |
-
(f := IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeFractionField k))
|
| 70 |
-
(isUnit_iff_ne_zero.mpr (by
|
| 71 |
-
change algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 72 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1) ≠ 0
|
| 73 |
-
rw [map_mul]
|
| 74 |
-
exact mul_ne_zero (planeFractionCoordinate_ne_zero k 0) (planeFractionCoordinate_ne_zero k 1)))
|
| 75 |
-
|
| 76 |
-
lemma planeOverlapToFraction_algebraMap (P : MvPolynomial (Fin 2) k) :
|
| 77 |
-
planeOverlapToFraction k
|
| 78 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) P) =
|
| 79 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) P := by
|
| 80 |
-
unfold planeOverlapToFraction
|
| 81 |
-
rw [IsLocalization.Away.liftAlgHom_apply, IsLocalization.Away.lift_eq]
|
| 82 |
-
rfl
|
| 83 |
-
|
| 84 |
-
lemma planeChartToFraction_overlap (i : Fin 2) (f : planeCoordinateChart k i) :
|
| 85 |
-
planeOverlapToFraction k (planeChartToOverlap k i f) = planeChartToFraction k i f := by
|
| 86 |
-
have h : (planeOverlapToFraction k).toRingHom.comp (planeChartToOverlap k i).toRingHom =
|
| 87 |
-
(planeChartToFraction k i).toRingHom := by
|
| 88 |
-
apply IsLocalization.ringHom_ext
|
| 89 |
-
(Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 90 |
-
apply RingHom.ext
|
| 91 |
-
intro P
|
| 92 |
-
simp only [RingHom.comp_apply, AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 93 |
-
planeChartToOverlap_algebraMap, planeChartToFraction_algebraMap,
|
| 94 |
-
planeOverlapToFraction_algebraMap]
|
| 95 |
-
exact RingHom.congr_fun h f
|
| 96 |
-
|
| 97 |
-
noncomputable def planeOverlapInverse : planeOverlapRing k :=
|
| 98 |
-
IsLocalization.Away.invSelf (MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k)
|
| 99 |
-
|
| 100 |
-
lemma planeOverlapInverse_evaluation (x : planeTorusPoints k) :
|
| 101 |
-
planeOverlapEvaluation k (planeOverlapInverse k) x = (x.val 0 * x.val 1)⁻¹ := by
|
| 102 |
-
have h := congrFun (congrArg (planeOverlapEvaluation k)
|
| 103 |
-
(IsLocalization.Away.mul_invSelf (S := planeOverlapRing k)
|
| 104 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k))) x
|
| 105 |
-
simp only [map_mul, map_one, Pi.mul_apply, Pi.one_apply,
|
| 106 |
-
planeOverlapEvaluation_algebraMap, planeTorusEvaluation_apply,
|
| 107 |
-
MvPolynomial.eval_X] at h
|
| 108 |
-
exact mul_left_cancel₀ (mul_ne_zero (x.property 0) (x.property 1))
|
| 109 |
-
(h.trans (mul_inv_cancel₀ (mul_ne_zero (x.property 0) (x.property 1))).symm)
|
| 110 |
-
|
| 111 |
-
lemma planeOverlapInverse_fraction :
|
| 112 |
-
planeOverlapToFraction k (planeOverlapInverse k) =
|
| 113 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 114 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1))⁻¹ := by
|
| 115 |
-
have h := congrArg (planeOverlapToFraction k)
|
| 116 |
-
(IsLocalization.Away.mul_invSelf (S := planeOverlapRing k)
|
| 117 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k))
|
| 118 |
-
simp only [map_mul, map_one, planeOverlapToFraction_algebraMap] at h
|
| 119 |
-
have hn : algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 120 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1) ≠ 0 := by
|
| 121 |
-
rw [map_mul]
|
| 122 |
-
exact mul_ne_zero (planeFractionCoordinate_ne_zero k 0) (planeFractionCoordinate_ne_zero k 1)
|
| 123 |
-
apply mul_left_cancel₀ hn
|
| 124 |
-
rw [mul_inv_cancel₀ hn]
|
| 125 |
-
simpa only [map_mul, planeOverlapInverse] using h
|
| 126 |
-
|
| 127 |
-
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
|
| 128 |
-
|
| 129 |
-
omit [DecidableEq ι] in
|
| 130 |
-
lemma planeChartVector_mem (a : Fin 2) (f : ι → planeCoordinateChart k a) :
|
| 131 |
-
(fun i => planeChartToFraction k a (f i)) ∈
|
| 132 |
-
powerLocalization (MvPolynomial.X a : MvPolynomial (Fin 2) k) coordinateLattice := by
|
| 133 |
-
obtain ⟨s,hs⟩ := IsLocalization.exist_integer_multiples
|
| 134 |
-
(Submonoid.powers (MvPolynomial.X a : MvPolynomial (Fin 2) k)) Finset.univ f
|
| 135 |
-
obtain ⟨n,hn⟩ := s.property
|
| 136 |
-
refine ⟨n, (mem_coordinateLattice _).mpr fun i => ?_⟩
|
| 137 |
-
obtain ⟨b,hb⟩ := hs i (Finset.mem_univ i)
|
| 138 |
-
refine ⟨b,?_⟩
|
| 139 |
-
have h := congrArg (planeChartToFraction k a) hb
|
| 140 |
-
rw [planeChartToFraction_algebraMap] at h
|
| 141 |
-
change _ = planeChartToFraction k a (s.val • f i) at h
|
| 142 |
-
rw [← hn] at h
|
| 143 |
-
exact h.trans ((planeChartToFractionLinear k a).map_smul (MvPolynomial.X a ^ n) (f i))
|
| 144 |
-
|
| 145 |
-
variable [Infinite k]
|
| 146 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 147 |
-
|
| 148 |
-
omit [DecidableEq ι] in
|
| 149 |
-
lemma planeChartPair_fraction_relation
|
| 150 |
-
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 151 |
-
(hf : ∀ x : planeTorusPoints k,
|
| 152 |
-
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 153 |
-
(polynomialMatrixEval P ((x.val 0 * x.val 1)⁻¹)).mulVec
|
| 154 |
-
(fun j => planeChartEvaluation k 0 (f₀ j) x)) :
|
| 155 |
-
(fun i => planeChartToFraction k 1 (f₁ i)) =
|
| 156 |
-
(polynomialMatrixEval P ((algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 157 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1))⁻¹)).mulVec
|
| 158 |
-
(fun i => planeChartToFraction k 0 (f₀ i)) := by
|
| 159 |
-
have hov (i : ι) : planeChartToOverlap k 1 (f₁ i) =
|
| 160 |
-
∑ j, Polynomial.aeval (planeOverlapInverse k) (P i j) * planeChartToOverlap k 0 (f₀ j) := by
|
| 161 |
-
apply planeOverlapEvaluation_injective k
|
| 162 |
-
funext x
|
| 163 |
-
let ev : planeOverlapRing k →ₐ[k] k :=
|
| 164 |
-
(Pi.evalAlgHom k _ x).comp (planeOverlapEvaluation k)
|
| 165 |
-
change ev (planeChartToOverlap k 1 (f₁ i)) = ev _
|
| 166 |
-
simp only [map_sum, map_mul, map_aeval_polynomial]
|
| 167 |
-
change planeOverlapEvaluation k (planeChartToOverlap k 1 (f₁ i)) x =
|
| 168 |
-
∑ j, Polynomial.aeval (planeOverlapEvaluation k (planeOverlapInverse k) x) (P i j) *
|
| 169 |
-
planeOverlapEvaluation k (planeChartToOverlap k 0 (f₀ j)) x
|
| 170 |
-
simp only [planeChartToOverlap_evaluation, planeOverlapInverse_evaluation]
|
| 171 |
-
exact congrFun (hf x) i
|
| 172 |
-
funext i
|
| 173 |
-
have h := congrArg (planeOverlapToFraction k) (hov i)
|
| 174 |
-
simpa only [map_sum, map_mul, map_aeval_polynomial, planeChartToFraction_overlap,
|
| 175 |
-
planeOverlapInverse_fraction, Matrix.mulVec, dotProduct, polynomialMatrixEval] using h
|
| 176 |
-
|
| 177 |
-
variable (h0 : polynomialMatrixEval P (0 : k) = 1)
|
| 178 |
-
(hadd : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 179 |
-
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 180 |
-
|
| 181 |
-
noncomputable def planeGlobalTransition :
|
| 182 |
-
(ι → planeFractionField k) ≃ₗ[planeFractionField k] (ι → planeFractionField k) :=
|
| 183 |
-
polynomialActionEquiv P h0 hadd
|
| 184 |
-
(-(algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 185 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1))⁻¹)
|
| 186 |
-
|
| 187 |
-
noncomputable def planeGlobalLattice :
|
| 188 |
-
Submodule (MvPolynomial (Fin 2) k) (ι → planeFractionField k) :=
|
| 189 |
-
gluedLattice (MvPolynomial.X 0) (MvPolynomial.X 1) (planeGlobalTransition k P h0 hadd)
|
| 190 |
-
|
| 191 |
-
omit [Infinite k] in
|
| 192 |
-
lemma planeFraction_product_ne_zero :
|
| 193 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 194 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1) ≠ 0 := by
|
| 195 |
-
rw [map_mul]
|
| 196 |
-
exact mul_ne_zero (planeFractionCoordinate_ne_zero k 0) (planeFractionCoordinate_ne_zero k 1)
|
| 197 |
-
|
| 198 |
-
lemma planeGlobalTransition_denominator (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 199 |
-
∀ v ∈ coordinateLattice (R := MvPolynomial (Fin 2) k),
|
| 200 |
-
(MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k)^d •
|
| 201 |
-
planeGlobalTransition k P h0 hadd v ∈ coordinateLattice (R := MvPolynomial (Fin 2) k) :=
|
| 202 |
-
polynomialAction_denominator P h0 hadd _ (planeFraction_product_ne_zero k) d hd
|
| 203 |
-
|
| 204 |
-
lemma planeGlobalLattice_finite (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 205 |
-
Module.Finite (MvPolynomial (Fin 2) k) (planeGlobalLattice k P h0 hadd) :=
|
| 206 |
-
gluedLattice_finite _ _ (MvPolynomial.X_ne_zero 0) (planeCoordinates_relPrime k) _ d
|
| 207 |
-
(planeGlobalTransition_denominator k P h0 hadd d hd)
|
| 208 |
-
|
| 209 |
-
lemma planeChartPair_mem_globalLattice
|
| 210 |
-
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 211 |
-
(hf : ∀ x : planeTorusPoints k,
|
| 212 |
-
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 213 |
-
(polynomialMatrixEval P ((x.val 0 * x.val 1)⁻¹)).mulVec
|
| 214 |
-
(fun j => planeChartEvaluation k 0 (f₀ j) x)) :
|
| 215 |
-
(fun i => planeChartToFraction k 0 (f₀ i)) ∈ planeGlobalLattice k P h0 hadd := by
|
| 216 |
-
constructor
|
| 217 |
-
· exact planeChartVector_mem k 0 f₀
|
| 218 |
-
· refine ⟨fun i => planeChartToFraction k 1 (f₁ i), planeChartVector_mem k 1 f₁, ?_⟩
|
| 219 |
-
have h := planeChartPair_fraction_relation k P f₀ f₁ hf
|
| 220 |
-
change planeGlobalTransition k P h0 hadd (fun i => planeChartToFraction k 1 (f₁ i)) = _
|
| 221 |
-
rw [h]
|
| 222 |
-
change (polynomialMatrixEval P (-_)).mulVec ((polynomialMatrixEval P _).mulVec _) = _
|
| 223 |
-
rw [Matrix.mulVec_mulVec, ← polynomialMatrixEval_add P hadd, neg_add_cancel,
|
| 224 |
-
polynomialMatrixEval_zero P h0, Matrix.one_mulVec]
|
| 225 |
-
|
| 226 |
-
end
|
| 227 |
-
|
| 228 |
-
section
|
| 229 |
-
universe u
|
| 230 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 231 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 232 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 233 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 234 |
-
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 235 |
-
|
| 236 |
-
omit [Infinite k] in
|
| 237 |
-
include hP in
|
| 238 |
-
lemma associatedPolynomial_zero : polynomialMatrixEval P (0 : k) = 1 := by
|
| 239 |
-
rw [hP]
|
| 240 |
-
change LinearMap.toMatrix' (ρ 1) = 1
|
| 241 |
-
rw [map_one]
|
| 242 |
-
exact LinearMap.toMatrix'_one
|
| 243 |
-
|
| 244 |
-
omit [Infinite k] in
|
| 245 |
-
include hP in
|
| 246 |
-
lemma associatedPolynomial_add (s t : k) : polynomialMatrixEval P (s+t) =
|
| 247 |
-
polynomialMatrixEval P s * polynomialMatrixEval P t := by
|
| 248 |
-
rw [hP, hP, hP]
|
| 249 |
-
change LinearMap.toMatrix' (ρ (Multiplicative.ofAdd s * Multiplicative.ofAdd t)) = _
|
| 250 |
-
rw [map_mul, LinearMap.toMatrix'_mul]
|
| 251 |
-
|
| 252 |
-
noncomputable def associatedFractionChart :
|
| 253 |
-
(associatedSectionsSubmodule k ι ρ) →ₗ[MvPolynomial (Fin 2) k]
|
| 254 |
-
(ι → planeFractionField k) :=
|
| 255 |
-
(LinearMap.pi fun i => (planeChartToFractionLinear k 0).comp
|
| 256 |
-
(LinearMap.proj i)).comp (associatedXChartPolynomial k ι ρ)
|
| 257 |
-
|
| 258 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 259 |
-
lemma associatedFractionChart_injective : Function.Injective (associatedFractionChart k ι ρ) := by
|
| 260 |
-
intro f g h
|
| 261 |
-
apply associatedXChart_injective k ι ρ
|
| 262 |
-
funext i
|
| 263 |
-
exact planeChartToFraction_injective k 0 (congrFun h i)
|
| 264 |
-
|
| 265 |
-
lemma associatedFractionChart_mem (f : associatedSectionsSubmodule k ι ρ) :
|
| 266 |
-
associatedFractionChart k ι ρ f ∈ planeGlobalLattice k P
|
| 267 |
-
(associatedPolynomial_zero k ι ρ P hP) (associatedPolynomial_add k ι ρ P hP) := by
|
| 268 |
-
apply planeChartPair_mem_globalLattice k P _ _
|
| 269 |
-
(associatedXChart k ι ρ f) (associatedYChart k ι ρ f)
|
| 270 |
-
intro x
|
| 271 |
-
rw [hP, LinearMap.toMatrix'_mulVec]
|
| 272 |
-
exact associatedCharts_transition k ι ρ f x
|
| 273 |
-
|
| 274 |
-
include hP in
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
theorem associatedSections_finite (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 278 |
-
Module.Finite (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) := by
|
| 279 |
-
let L := planeGlobalLattice k P
|
| 280 |
-
(associatedPolynomial_zero k ι ρ P hP) (associatedPolynomial_add k ι ρ P hP)
|
| 281 |
-
let : Module.Finite (MvPolynomial (Fin 2) k) L :=
|
| 282 |
-
planeGlobalLattice_finite k P _ _ d hd
|
| 283 |
-
let f := (associatedFractionChart k ι ρ).codRestrict L
|
| 284 |
-
(associatedFractionChart_mem k ι ρ P hP)
|
| 285 |
-
exact Module.Finite.of_injective f fun a b h =>
|
| 286 |
-
associatedFractionChart_injective k ι ρ (congrArg Subtype.val h)
|
| 287 |
-
|
| 288 |
-
end
|
| 289 |
-
|
| 290 |
-
variable {k M σ : Type*} [Field k] [AddCommGroup M] [Module k M]
|
| 291 |
-
[Module (MvPolynomial σ k) M] [IsScalarTower k (MvPolynomial σ k) M]
|
| 292 |
-
|
| 293 |
-
lemma originQuotient_polynomial_smul (N : Submodule k M)
|
| 294 |
-
(hX : ∀ (i : σ) (m : M), (MvPolynomial.X i : MvPolynomial σ k) • m ∈ N)
|
| 295 |
-
(P : MvPolynomial σ k) (m : M) :
|
| 296 |
-
N.mkQ (P • m) = MvPolynomial.constantCoeff P • N.mkQ m := by
|
| 297 |
-
induction P using MvPolynomial.induction_on with
|
| 298 |
-
| C a =>
|
| 299 |
-
rw [MvPolynomial.constantCoeff_C]
|
| 300 |
-
change N.mkQ (algebraMap k (MvPolynomial σ k) a • m) = a • N.mkQ m
|
| 301 |
-
rw [algebraMap_smul, map_smul]
|
| 302 |
-
| add P Q hP hQ => simp only [add_smul, map_add, hP, hQ]
|
| 303 |
-
| mul_X P i _ =>
|
| 304 |
-
rw [mul_comm, mul_smul]
|
| 305 |
-
have hz : N.mkQ ((MvPolynomial.X i : MvPolynomial σ k) • (P • m)) = 0 :=
|
| 306 |
-
(Submodule.Quotient.mk_eq_zero N).mpr (hX i (P • m))
|
| 307 |
-
simpa using hz
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
theorem originQuotient_finite (N : Submodule k M)
|
| 312 |
-
(hX : ∀ (i : σ) (m : M), (MvPolynomial.X i : MvPolynomial σ k) • m ∈ N)
|
| 313 |
-
[Module.Finite (MvPolynomial σ k) M] : Module.Finite k (M ⧸ N) := by
|
| 314 |
-
let f : M →ₛₗ[MvPolynomial.constantCoeff] (M ⧸ N) :=
|
| 315 |
-
{ toFun := N.mkQ
|
| 316 |
-
map_add' := N.mkQ.map_add
|
| 317 |
-
map_smul' := originQuotient_polynomial_smul N hX }
|
| 318 |
-
exact Module.Finite.of_surjective f N.mkQ_surjective
|
| 319 |
-
|
| 320 |
-
end FiberFunctorProof
|
| 321 |
-
end
|
| 322 |
-
|
| 323 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.OriginCoordinates
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Fraction charts, global lattices and finite origin quotients. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
variable (k : Type*) [Field k]
|
| 15 |
+
abbrev planeFractionField := FractionRing (MvPolynomial (Fin 2) k)
|
| 16 |
+
|
| 17 |
+
noncomputable instance planeCoordinateRing_gcd : GCDMonoid (MvPolynomial (Fin 2) k) :=
|
| 18 |
+
UniqueFactorizationMonoid.toGCDMonoid _
|
| 19 |
+
|
| 20 |
+
lemma planeCoordinates_relPrime :
|
| 21 |
+
IsRelPrime (MvPolynomial.X (0 : Fin 2) : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) := by
|
| 22 |
+
apply (MvPolynomial.X_prime (R := k) (i := (0 : Fin 2))).irreducible.isRelPrime_iff_not_dvd.mpr
|
| 23 |
+
intro h
|
| 24 |
+
exact (by decide : (0 : Fin 2) ≠ 1) (MvPolynomial.X_dvd_X.mp h)
|
| 25 |
+
|
| 26 |
+
lemma planeFractionCoordinate_ne_zero (i : Fin 2) :
|
| 27 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) (MvPolynomial.X i) ≠ 0 :=
|
| 28 |
+
fun h => MvPolynomial.X_ne_zero i
|
| 29 |
+
((FaithfulSMul.algebraMap_injective _ _) (h.trans (map_zero _).symm))
|
| 30 |
+
|
| 31 |
+
noncomputable def planeChartToFraction (i : Fin 2) :
|
| 32 |
+
planeCoordinateChart k i →ₐ[k] planeFractionField k :=
|
| 33 |
+
IsLocalization.Away.liftAlgHom (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 34 |
+
(f := IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeFractionField k))
|
| 35 |
+
(isUnit_iff_ne_zero.mpr (planeFractionCoordinate_ne_zero k i))
|
| 36 |
+
|
| 37 |
+
lemma planeChartToFraction_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 38 |
+
planeChartToFraction k i
|
| 39 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 40 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) P :=
|
| 41 |
+
IsLocalization.Away.lift_eq _ (isUnit_iff_ne_zero.mpr (planeFractionCoordinate_ne_zero k i)) _
|
| 42 |
+
|
| 43 |
+
lemma planeChartToFraction_injective (i : Fin 2) :
|
| 44 |
+
Function.Injective (planeChartToFraction k i) := by
|
| 45 |
+
apply (IsLocalization.injective_iff_map_algebraMap_eq
|
| 46 |
+
(Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 47 |
+
(planeChartToFraction k i).toRingHom).mpr
|
| 48 |
+
intro P Q
|
| 49 |
+
constructor
|
| 50 |
+
· exact congrArg (planeChartToFraction k i)
|
| 51 |
+
· intro h
|
| 52 |
+
have h' : algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) P =
|
| 53 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) Q := by
|
| 54 |
+
simpa only [AlgHom.toRingHom_eq_coe, RingHom.coe_coe, planeChartToFraction_algebraMap] using h
|
| 55 |
+
exact congrArg (algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i))
|
| 56 |
+
((FaithfulSMul.algebraMap_injective _ _) h')
|
| 57 |
+
|
| 58 |
+
noncomputable def planeChartToFractionLinear (i : Fin 2) :
|
| 59 |
+
planeCoordinateChart k i →ₗ[MvPolynomial (Fin 2) k] planeFractionField k where
|
| 60 |
+
toFun := planeChartToFraction k i
|
| 61 |
+
map_add' := (planeChartToFraction k i).map_add
|
| 62 |
+
map_smul' := by
|
| 63 |
+
intro P f
|
| 64 |
+
simp only [Algebra.smul_def, map_mul, planeChartToFraction_algebraMap,
|
| 65 |
+
RingHom.id_apply]
|
| 66 |
+
|
| 67 |
+
noncomputable def planeOverlapToFraction : planeOverlapRing k →ₐ[k] planeFractionField k :=
|
| 68 |
+
IsLocalization.Away.liftAlgHom (MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k)
|
| 69 |
+
(f := IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeFractionField k))
|
| 70 |
+
(isUnit_iff_ne_zero.mpr (by
|
| 71 |
+
change algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 72 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1) ≠ 0
|
| 73 |
+
rw [map_mul]
|
| 74 |
+
exact mul_ne_zero (planeFractionCoordinate_ne_zero k 0) (planeFractionCoordinate_ne_zero k 1)))
|
| 75 |
+
|
| 76 |
+
lemma planeOverlapToFraction_algebraMap (P : MvPolynomial (Fin 2) k) :
|
| 77 |
+
planeOverlapToFraction k
|
| 78 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) P) =
|
| 79 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k) P := by
|
| 80 |
+
unfold planeOverlapToFraction
|
| 81 |
+
rw [IsLocalization.Away.liftAlgHom_apply, IsLocalization.Away.lift_eq]
|
| 82 |
+
rfl
|
| 83 |
+
|
| 84 |
+
lemma planeChartToFraction_overlap (i : Fin 2) (f : planeCoordinateChart k i) :
|
| 85 |
+
planeOverlapToFraction k (planeChartToOverlap k i f) = planeChartToFraction k i f := by
|
| 86 |
+
have h : (planeOverlapToFraction k).toRingHom.comp (planeChartToOverlap k i).toRingHom =
|
| 87 |
+
(planeChartToFraction k i).toRingHom := by
|
| 88 |
+
apply IsLocalization.ringHom_ext
|
| 89 |
+
(Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 90 |
+
apply RingHom.ext
|
| 91 |
+
intro P
|
| 92 |
+
simp only [RingHom.comp_apply, AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 93 |
+
planeChartToOverlap_algebraMap, planeChartToFraction_algebraMap,
|
| 94 |
+
planeOverlapToFraction_algebraMap]
|
| 95 |
+
exact RingHom.congr_fun h f
|
| 96 |
+
|
| 97 |
+
noncomputable def planeOverlapInverse : planeOverlapRing k :=
|
| 98 |
+
IsLocalization.Away.invSelf (MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k)
|
| 99 |
+
|
| 100 |
+
lemma planeOverlapInverse_evaluation (x : planeTorusPoints k) :
|
| 101 |
+
planeOverlapEvaluation k (planeOverlapInverse k) x = (x.val 0 * x.val 1)⁻¹ := by
|
| 102 |
+
have h := congrFun (congrArg (planeOverlapEvaluation k)
|
| 103 |
+
(IsLocalization.Away.mul_invSelf (S := planeOverlapRing k)
|
| 104 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k))) x
|
| 105 |
+
simp only [map_mul, map_one, Pi.mul_apply, Pi.one_apply,
|
| 106 |
+
planeOverlapEvaluation_algebraMap, planeTorusEvaluation_apply,
|
| 107 |
+
MvPolynomial.eval_X] at h
|
| 108 |
+
exact mul_left_cancel₀ (mul_ne_zero (x.property 0) (x.property 1))
|
| 109 |
+
(h.trans (mul_inv_cancel₀ (mul_ne_zero (x.property 0) (x.property 1))).symm)
|
| 110 |
+
|
| 111 |
+
lemma planeOverlapInverse_fraction :
|
| 112 |
+
planeOverlapToFraction k (planeOverlapInverse k) =
|
| 113 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 114 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1))⁻¹ := by
|
| 115 |
+
have h := congrArg (planeOverlapToFraction k)
|
| 116 |
+
(IsLocalization.Away.mul_invSelf (S := planeOverlapRing k)
|
| 117 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k))
|
| 118 |
+
simp only [map_mul, map_one, planeOverlapToFraction_algebraMap] at h
|
| 119 |
+
have hn : algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 120 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1) ≠ 0 := by
|
| 121 |
+
rw [map_mul]
|
| 122 |
+
exact mul_ne_zero (planeFractionCoordinate_ne_zero k 0) (planeFractionCoordinate_ne_zero k 1)
|
| 123 |
+
apply mul_left_cancel₀ hn
|
| 124 |
+
rw [mul_inv_cancel₀ hn]
|
| 125 |
+
simpa only [map_mul, planeOverlapInverse] using h
|
| 126 |
+
|
| 127 |
+
variable {ι : Type*} [Fintype ι] [DecidableEq ι]
|
| 128 |
+
|
| 129 |
+
omit [DecidableEq ι] in
|
| 130 |
+
lemma planeChartVector_mem (a : Fin 2) (f : ι → planeCoordinateChart k a) :
|
| 131 |
+
(fun i => planeChartToFraction k a (f i)) ∈
|
| 132 |
+
powerLocalization (MvPolynomial.X a : MvPolynomial (Fin 2) k) coordinateLattice := by
|
| 133 |
+
obtain ⟨s,hs⟩ := IsLocalization.exist_integer_multiples
|
| 134 |
+
(Submonoid.powers (MvPolynomial.X a : MvPolynomial (Fin 2) k)) Finset.univ f
|
| 135 |
+
obtain ⟨n,hn⟩ := s.property
|
| 136 |
+
refine ⟨n, (mem_coordinateLattice _).mpr fun i => ?_⟩
|
| 137 |
+
obtain ⟨b,hb⟩ := hs i (Finset.mem_univ i)
|
| 138 |
+
refine ⟨b,?_⟩
|
| 139 |
+
have h := congrArg (planeChartToFraction k a) hb
|
| 140 |
+
rw [planeChartToFraction_algebraMap] at h
|
| 141 |
+
change _ = planeChartToFraction k a (s.val • f i) at h
|
| 142 |
+
rw [← hn] at h
|
| 143 |
+
exact h.trans ((planeChartToFractionLinear k a).map_smul (MvPolynomial.X a ^ n) (f i))
|
| 144 |
+
|
| 145 |
+
variable [Infinite k]
|
| 146 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 147 |
+
|
| 148 |
+
omit [DecidableEq ι] in
|
| 149 |
+
lemma planeChartPair_fraction_relation
|
| 150 |
+
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 151 |
+
(hf : ∀ x : planeTorusPoints k,
|
| 152 |
+
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 153 |
+
(polynomialMatrixEval P ((x.val 0 * x.val 1)⁻¹)).mulVec
|
| 154 |
+
(fun j => planeChartEvaluation k 0 (f₀ j) x)) :
|
| 155 |
+
(fun i => planeChartToFraction k 1 (f₁ i)) =
|
| 156 |
+
(polynomialMatrixEval P ((algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 157 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1))⁻¹)).mulVec
|
| 158 |
+
(fun i => planeChartToFraction k 0 (f₀ i)) := by
|
| 159 |
+
have hov (i : ι) : planeChartToOverlap k 1 (f₁ i) =
|
| 160 |
+
∑ j, Polynomial.aeval (planeOverlapInverse k) (P i j) * planeChartToOverlap k 0 (f₀ j) := by
|
| 161 |
+
apply planeOverlapEvaluation_injective k
|
| 162 |
+
funext x
|
| 163 |
+
let ev : planeOverlapRing k →ₐ[k] k :=
|
| 164 |
+
(Pi.evalAlgHom k _ x).comp (planeOverlapEvaluation k)
|
| 165 |
+
change ev (planeChartToOverlap k 1 (f₁ i)) = ev _
|
| 166 |
+
simp only [map_sum, map_mul, map_aeval_polynomial]
|
| 167 |
+
change planeOverlapEvaluation k (planeChartToOverlap k 1 (f₁ i)) x =
|
| 168 |
+
∑ j, Polynomial.aeval (planeOverlapEvaluation k (planeOverlapInverse k) x) (P i j) *
|
| 169 |
+
planeOverlapEvaluation k (planeChartToOverlap k 0 (f₀ j)) x
|
| 170 |
+
simp only [planeChartToOverlap_evaluation, planeOverlapInverse_evaluation]
|
| 171 |
+
exact congrFun (hf x) i
|
| 172 |
+
funext i
|
| 173 |
+
have h := congrArg (planeOverlapToFraction k) (hov i)
|
| 174 |
+
simpa only [map_sum, map_mul, map_aeval_polynomial, planeChartToFraction_overlap,
|
| 175 |
+
planeOverlapInverse_fraction, Matrix.mulVec, dotProduct, polynomialMatrixEval] using h
|
| 176 |
+
|
| 177 |
+
variable (h0 : polynomialMatrixEval P (0 : k) = 1)
|
| 178 |
+
(hadd : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 179 |
+
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 180 |
+
|
| 181 |
+
noncomputable def planeGlobalTransition :
|
| 182 |
+
(ι → planeFractionField k) ≃ₗ[planeFractionField k] (ι → planeFractionField k) :=
|
| 183 |
+
polynomialActionEquiv P h0 hadd
|
| 184 |
+
(-(algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 185 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1))⁻¹)
|
| 186 |
+
|
| 187 |
+
noncomputable def planeGlobalLattice :
|
| 188 |
+
Submodule (MvPolynomial (Fin 2) k) (ι → planeFractionField k) :=
|
| 189 |
+
gluedLattice (MvPolynomial.X 0) (MvPolynomial.X 1) (planeGlobalTransition k P h0 hadd)
|
| 190 |
+
|
| 191 |
+
omit [Infinite k] in
|
| 192 |
+
lemma planeFraction_product_ne_zero :
|
| 193 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeFractionField k)
|
| 194 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1) ≠ 0 := by
|
| 195 |
+
rw [map_mul]
|
| 196 |
+
exact mul_ne_zero (planeFractionCoordinate_ne_zero k 0) (planeFractionCoordinate_ne_zero k 1)
|
| 197 |
+
|
| 198 |
+
lemma planeGlobalTransition_denominator (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 199 |
+
∀ v ∈ coordinateLattice (R := MvPolynomial (Fin 2) k),
|
| 200 |
+
(MvPolynomial.X 0 * MvPolynomial.X 1 : MvPolynomial (Fin 2) k)^d •
|
| 201 |
+
planeGlobalTransition k P h0 hadd v ∈ coordinateLattice (R := MvPolynomial (Fin 2) k) :=
|
| 202 |
+
polynomialAction_denominator P h0 hadd _ (planeFraction_product_ne_zero k) d hd
|
| 203 |
+
|
| 204 |
+
lemma planeGlobalLattice_finite (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 205 |
+
Module.Finite (MvPolynomial (Fin 2) k) (planeGlobalLattice k P h0 hadd) :=
|
| 206 |
+
gluedLattice_finite _ _ (MvPolynomial.X_ne_zero 0) (planeCoordinates_relPrime k) _ d
|
| 207 |
+
(planeGlobalTransition_denominator k P h0 hadd d hd)
|
| 208 |
+
|
| 209 |
+
lemma planeChartPair_mem_globalLattice
|
| 210 |
+
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 211 |
+
(hf : ∀ x : planeTorusPoints k,
|
| 212 |
+
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 213 |
+
(polynomialMatrixEval P ((x.val 0 * x.val 1)⁻¹)).mulVec
|
| 214 |
+
(fun j => planeChartEvaluation k 0 (f₀ j) x)) :
|
| 215 |
+
(fun i => planeChartToFraction k 0 (f₀ i)) ∈ planeGlobalLattice k P h0 hadd := by
|
| 216 |
+
constructor
|
| 217 |
+
· exact planeChartVector_mem k 0 f₀
|
| 218 |
+
· refine ⟨fun i => planeChartToFraction k 1 (f₁ i), planeChartVector_mem k 1 f₁, ?_⟩
|
| 219 |
+
have h := planeChartPair_fraction_relation k P f₀ f₁ hf
|
| 220 |
+
change planeGlobalTransition k P h0 hadd (fun i => planeChartToFraction k 1 (f₁ i)) = _
|
| 221 |
+
rw [h]
|
| 222 |
+
change (polynomialMatrixEval P (-_)).mulVec ((polynomialMatrixEval P _).mulVec _) = _
|
| 223 |
+
rw [Matrix.mulVec_mulVec, ← polynomialMatrixEval_add P hadd, neg_add_cancel,
|
| 224 |
+
polynomialMatrixEval_zero P h0, Matrix.one_mulVec]
|
| 225 |
+
|
| 226 |
+
end
|
| 227 |
+
|
| 228 |
+
section
|
| 229 |
+
universe u
|
| 230 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 231 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 232 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 233 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 234 |
+
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 235 |
+
|
| 236 |
+
omit [Infinite k] in
|
| 237 |
+
include hP in
|
| 238 |
+
lemma associatedPolynomial_zero : polynomialMatrixEval P (0 : k) = 1 := by
|
| 239 |
+
rw [hP]
|
| 240 |
+
change LinearMap.toMatrix' (ρ 1) = 1
|
| 241 |
+
rw [map_one]
|
| 242 |
+
exact LinearMap.toMatrix'_one
|
| 243 |
+
|
| 244 |
+
omit [Infinite k] in
|
| 245 |
+
include hP in
|
| 246 |
+
lemma associatedPolynomial_add (s t : k) : polynomialMatrixEval P (s+t) =
|
| 247 |
+
polynomialMatrixEval P s * polynomialMatrixEval P t := by
|
| 248 |
+
rw [hP, hP, hP]
|
| 249 |
+
change LinearMap.toMatrix' (ρ (Multiplicative.ofAdd s * Multiplicative.ofAdd t)) = _
|
| 250 |
+
rw [map_mul, LinearMap.toMatrix'_mul]
|
| 251 |
+
|
| 252 |
+
noncomputable def associatedFractionChart :
|
| 253 |
+
(associatedSectionsSubmodule k ι ρ) →ₗ[MvPolynomial (Fin 2) k]
|
| 254 |
+
(ι → planeFractionField k) :=
|
| 255 |
+
(LinearMap.pi fun i => (planeChartToFractionLinear k 0).comp
|
| 256 |
+
(LinearMap.proj i)).comp (associatedXChartPolynomial k ι ρ)
|
| 257 |
+
|
| 258 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 259 |
+
lemma associatedFractionChart_injective : Function.Injective (associatedFractionChart k ι ρ) := by
|
| 260 |
+
intro f g h
|
| 261 |
+
apply associatedXChart_injective k ι ρ
|
| 262 |
+
funext i
|
| 263 |
+
exact planeChartToFraction_injective k 0 (congrFun h i)
|
| 264 |
+
|
| 265 |
+
lemma associatedFractionChart_mem (f : associatedSectionsSubmodule k ι ρ) :
|
| 266 |
+
associatedFractionChart k ι ρ f ∈ planeGlobalLattice k P
|
| 267 |
+
(associatedPolynomial_zero k ι ρ P hP) (associatedPolynomial_add k ι ρ P hP) := by
|
| 268 |
+
apply planeChartPair_mem_globalLattice k P _ _
|
| 269 |
+
(associatedXChart k ι ρ f) (associatedYChart k ι ρ f)
|
| 270 |
+
intro x
|
| 271 |
+
rw [hP, LinearMap.toMatrix'_mulVec]
|
| 272 |
+
exact associatedCharts_transition k ι ρ f x
|
| 273 |
+
|
| 274 |
+
include hP in
|
| 275 |
+
|
| 276 |
+
|
| 277 |
+
theorem associatedSections_finite (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 278 |
+
Module.Finite (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) := by
|
| 279 |
+
let L := planeGlobalLattice k P
|
| 280 |
+
(associatedPolynomial_zero k ι ρ P hP) (associatedPolynomial_add k ι ρ P hP)
|
| 281 |
+
let : Module.Finite (MvPolynomial (Fin 2) k) L :=
|
| 282 |
+
planeGlobalLattice_finite k P _ _ d hd
|
| 283 |
+
let f := (associatedFractionChart k ι ρ).codRestrict L
|
| 284 |
+
(associatedFractionChart_mem k ι ρ P hP)
|
| 285 |
+
exact Module.Finite.of_injective f fun a b h =>
|
| 286 |
+
associatedFractionChart_injective k ι ρ (congrArg Subtype.val h)
|
| 287 |
+
|
| 288 |
+
end
|
| 289 |
+
|
| 290 |
+
variable {k M σ : Type*} [Field k] [AddCommGroup M] [Module k M]
|
| 291 |
+
[Module (MvPolynomial σ k) M] [IsScalarTower k (MvPolynomial σ k) M]
|
| 292 |
+
|
| 293 |
+
lemma originQuotient_polynomial_smul (N : Submodule k M)
|
| 294 |
+
(hX : ∀ (i : σ) (m : M), (MvPolynomial.X i : MvPolynomial σ k) • m ∈ N)
|
| 295 |
+
(P : MvPolynomial σ k) (m : M) :
|
| 296 |
+
N.mkQ (P • m) = MvPolynomial.constantCoeff P • N.mkQ m := by
|
| 297 |
+
induction P using MvPolynomial.induction_on with
|
| 298 |
+
| C a =>
|
| 299 |
+
rw [MvPolynomial.constantCoeff_C]
|
| 300 |
+
change N.mkQ (algebraMap k (MvPolynomial σ k) a • m) = a • N.mkQ m
|
| 301 |
+
rw [algebraMap_smul, map_smul]
|
| 302 |
+
| add P Q hP hQ => simp only [add_smul, map_add, hP, hQ]
|
| 303 |
+
| mul_X P i _ =>
|
| 304 |
+
rw [mul_comm, mul_smul]
|
| 305 |
+
have hz : N.mkQ ((MvPolynomial.X i : MvPolynomial σ k) • (P • m)) = 0 :=
|
| 306 |
+
(Submodule.Quotient.mk_eq_zero N).mpr (hX i (P • m))
|
| 307 |
+
simpa using hz
|
| 308 |
+
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
theorem originQuotient_finite (N : Submodule k M)
|
| 312 |
+
(hX : ∀ (i : σ) (m : M), (MvPolynomial.X i : MvPolynomial σ k) • m ∈ N)
|
| 313 |
+
[Module.Finite (MvPolynomial σ k) M] : Module.Finite k (M ⧸ N) := by
|
| 314 |
+
let f : M →ₛₗ[MvPolynomial.constantCoeff] (M ⧸ N) :=
|
| 315 |
+
{ toFun := N.mkQ
|
| 316 |
+
map_add' := N.mkQ.map_add
|
| 317 |
+
map_smul' := originQuotient_polynomial_smul N hX }
|
| 318 |
+
exact Module.Finite.of_surjective f N.mkQ_surjective
|
| 319 |
+
|
| 320 |
+
end FiberFunctorProof
|
| 321 |
+
end
|
| 322 |
+
|
| 323 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/GoodKernel.lean
CHANGED
|
@@ -1,104 +1,104 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 7 |
-
universe u
|
| 8 |
-
variable (k : Type u) [Field k]
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
def HasGoodKernel {P A : FDRep k (SL2 k)} (g : P ⟶ A) : Prop :=
|
| 12 |
-
∃ (K : FDRep k (SL2 k)) (i : K ⟶ P) (w : i ≫ g = 0),
|
| 13 |
-
(ShortComplex.mk i g w).ShortExact ∧ HasGoodFiltration k K
|
| 14 |
-
|
| 15 |
-
lemma HasGoodKernel.epi {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 16 |
-
(h : HasGoodKernel k g) : Epi g := by
|
| 17 |
-
obtain ⟨K,i,w,hs,hK⟩ := h
|
| 18 |
-
exact hs.epi_g
|
| 19 |
-
|
| 20 |
-
lemma fdrepKernel_shortExact {P A : FDRep k (SL2 k)} (g : P ⟶ A)
|
| 21 |
-
(hg : Function.Surjective (fdrepLinear k g)) :
|
| 22 |
-
(ShortComplex.mk (fdrepKernelι k g) g (by
|
| 23 |
-
apply fdrep_hom_ext k; intro x; exact x.property)).ShortExact := by
|
| 24 |
-
apply fdrep_shortExact k _ Subtype.val_injective hg
|
| 25 |
-
exact Submodule.range_subtype _
|
| 26 |
-
|
| 27 |
-
lemma HasGoodKernel.id (A : FDRep k (SL2 k)) : HasGoodKernel k (𝟙 A) := by
|
| 28 |
-
refine ⟨fdrepKernel k (𝟙 A), fdrepKernelι k (𝟙 A), ?_, ?_, ?_⟩
|
| 29 |
-
· apply fdrep_hom_ext k; intro x; exact x.property
|
| 30 |
-
· exact fdrepKernel_shortExact k (𝟙 A) Function.surjective_id
|
| 31 |
-
· have : Subsingleton (fdrepKernel k (𝟙 A)) := by
|
| 32 |
-
apply subsingleton_of_forall_eq 0
|
| 33 |
-
intro x
|
| 34 |
-
apply Subtype.ext
|
| 35 |
-
exact x.property
|
| 36 |
-
exact .zero _ (fdrep_isZero_of_subsingleton k _)
|
| 37 |
-
|
| 38 |
-
lemma HasGoodKernel.comp {P A B : FDRep k (SL2 k)} {g : P ⟶ A} {h : A ⟶ B}
|
| 39 |
-
(hg : HasGoodKernel k g) (hh : HasGoodKernel k h) : HasGoodKernel k (g ≫ h) := by
|
| 40 |
-
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 41 |
-
obtain ⟨L,j,v,hT,hL⟩ := hh
|
| 42 |
-
obtain ⟨N,a,b,c,wab,wc,hN,hC⟩ := fdrep_splice k i g w hS j h v hT
|
| 43 |
-
exact ⟨N,c,wc,hC,hK.extension k hL a b wab hN⟩
|
| 44 |
-
|
| 45 |
-
lemma HasGoodKernel.tensor_right {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 46 |
-
(hg : HasGoodKernel k g) (B : FDRep k (SL2 k)) (hB : HasGoodFiltration k B) :
|
| 47 |
-
HasGoodKernel k ((tensorRight B).map g) := by
|
| 48 |
-
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 49 |
-
let := tensorRight_preservesFiniteLimits B
|
| 50 |
-
let := tensorRight_preservesFiniteColimits B
|
| 51 |
-
exact ⟨K ⊗ B, (tensorRight B).map i, (by rw [← Functor.map_comp, w, Functor.map_zero]),
|
| 52 |
-
hS.map_of_exact (tensorRight B), hK.tensor k hB⟩
|
| 53 |
-
|
| 54 |
-
lemma HasGoodKernel.split [Infinite k] {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 55 |
-
(hg : HasGoodKernel k g) (hP : IsRational k P.ρ) (hA : IsTilting k A) :
|
| 56 |
-
∃ s : A ⟶ P, s ≫ g = 𝟙 A := by
|
| 57 |
-
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 58 |
-
exact good_weyl_extension_split k hK hA.2.2 P hP i g w hS
|
| 59 |
-
|
| 60 |
-
lemma HasGoodKernel.of_isIso {P A : FDRep k (SL2 k)} (g : P ⟶ A) [IsIso g] :
|
| 61 |
-
HasGoodKernel k g := by
|
| 62 |
-
refine ⟨fdrepKernel k g, fdrepKernelι k g, ?_, ?_, ?_⟩
|
| 63 |
-
· apply fdrep_hom_ext k; intro x; exact x.property
|
| 64 |
-
· exact fdrepKernel_shortExact k g (fdrep_surjective k g)
|
| 65 |
-
· have : Subsingleton (fdrepKernel k g) := by
|
| 66 |
-
apply subsingleton_of_forall_eq 0
|
| 67 |
-
intro x
|
| 68 |
-
apply Subtype.ext
|
| 69 |
-
apply fdrep_injective k g
|
| 70 |
-
exact x.property.trans (map_zero _).symm
|
| 71 |
-
exact .zero _ (fdrep_isZero_of_subsingleton k _)
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
lemma costandardMultiply_goodKernel (a b : ℕ) : HasGoodKernel k (costandardMultiply k a b) := by
|
| 75 |
-
rcases a with _ | a
|
| 76 |
-
· have := costandardMultiply_isIso_of_zero k 0 b (Or.inl rfl)
|
| 77 |
-
exact HasGoodKernel.of_isIso k _
|
| 78 |
-
· rcases b with _ | b
|
| 79 |
-
· have := costandardMultiply_isIso_of_zero k (a+1) 0 (Or.inr rfl)
|
| 80 |
-
exact HasGoodKernel.of_isIso k _
|
| 81 |
-
· exact ⟨_, costandardDeterminant k a b, costandardDeterminant_multiply k a b,
|
| 82 |
-
costandardTensorSequence_shortExact k a b, costandard_tensor_hasGoodFiltration k a b⟩
|
| 83 |
-
|
| 84 |
-
lemma HasGoodKernel.kernel_good {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 85 |
-
(hg : HasGoodKernel k g) : HasGoodFiltration k (fdrepKernel k g) := by
|
| 86 |
-
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 87 |
-
have := hS.mono_f
|
| 88 |
-
let j := fdrepKernelLift k i g w
|
| 89 |
-
have hj : Function.Bijective (fdrepLinear k j) := by
|
| 90 |
-
constructor
|
| 91 |
-
· intro x y h
|
| 92 |
-
apply fdrep_injective k i
|
| 93 |
-
exact congrArg Subtype.val h
|
| 94 |
-
· intro x
|
| 95 |
-
have hx : x.val ∈ LinearMap.range (fdrepLinear k i) := by
|
| 96 |
-
rw [fdrep_exact k hS.exact]
|
| 97 |
-
exact x.property
|
| 98 |
-
obtain ⟨v,hv⟩ := hx
|
| 99 |
-
exact ⟨v,Subtype.ext hv⟩
|
| 100 |
-
have := fdrepHom_isIso_of_bijective k j hj
|
| 101 |
-
exact hK.of_iso k (asIso j)
|
| 102 |
-
end FiberFunctorProof
|
| 103 |
-
|
| 104 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 7 |
+
universe u
|
| 8 |
+
variable (k : Type u) [Field k]
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def HasGoodKernel {P A : FDRep k (SL2 k)} (g : P ⟶ A) : Prop :=
|
| 12 |
+
∃ (K : FDRep k (SL2 k)) (i : K ⟶ P) (w : i ≫ g = 0),
|
| 13 |
+
(ShortComplex.mk i g w).ShortExact ∧ HasGoodFiltration k K
|
| 14 |
+
|
| 15 |
+
lemma HasGoodKernel.epi {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 16 |
+
(h : HasGoodKernel k g) : Epi g := by
|
| 17 |
+
obtain ⟨K,i,w,hs,hK⟩ := h
|
| 18 |
+
exact hs.epi_g
|
| 19 |
+
|
| 20 |
+
lemma fdrepKernel_shortExact {P A : FDRep k (SL2 k)} (g : P ⟶ A)
|
| 21 |
+
(hg : Function.Surjective (fdrepLinear k g)) :
|
| 22 |
+
(ShortComplex.mk (fdrepKernelι k g) g (by
|
| 23 |
+
apply fdrep_hom_ext k; intro x; exact x.property)).ShortExact := by
|
| 24 |
+
apply fdrep_shortExact k _ Subtype.val_injective hg
|
| 25 |
+
exact Submodule.range_subtype _
|
| 26 |
+
|
| 27 |
+
lemma HasGoodKernel.id (A : FDRep k (SL2 k)) : HasGoodKernel k (𝟙 A) := by
|
| 28 |
+
refine ⟨fdrepKernel k (𝟙 A), fdrepKernelι k (𝟙 A), ?_, ?_, ?_⟩
|
| 29 |
+
· apply fdrep_hom_ext k; intro x; exact x.property
|
| 30 |
+
· exact fdrepKernel_shortExact k (𝟙 A) Function.surjective_id
|
| 31 |
+
· have : Subsingleton (fdrepKernel k (𝟙 A)) := by
|
| 32 |
+
apply subsingleton_of_forall_eq 0
|
| 33 |
+
intro x
|
| 34 |
+
apply Subtype.ext
|
| 35 |
+
exact x.property
|
| 36 |
+
exact .zero _ (fdrep_isZero_of_subsingleton k _)
|
| 37 |
+
|
| 38 |
+
lemma HasGoodKernel.comp {P A B : FDRep k (SL2 k)} {g : P ⟶ A} {h : A ⟶ B}
|
| 39 |
+
(hg : HasGoodKernel k g) (hh : HasGoodKernel k h) : HasGoodKernel k (g ≫ h) := by
|
| 40 |
+
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 41 |
+
obtain ⟨L,j,v,hT,hL⟩ := hh
|
| 42 |
+
obtain ⟨N,a,b,c,wab,wc,hN,hC⟩ := fdrep_splice k i g w hS j h v hT
|
| 43 |
+
exact ⟨N,c,wc,hC,hK.extension k hL a b wab hN⟩
|
| 44 |
+
|
| 45 |
+
lemma HasGoodKernel.tensor_right {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 46 |
+
(hg : HasGoodKernel k g) (B : FDRep k (SL2 k)) (hB : HasGoodFiltration k B) :
|
| 47 |
+
HasGoodKernel k ((tensorRight B).map g) := by
|
| 48 |
+
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 49 |
+
let := tensorRight_preservesFiniteLimits B
|
| 50 |
+
let := tensorRight_preservesFiniteColimits B
|
| 51 |
+
exact ⟨K ⊗ B, (tensorRight B).map i, (by rw [← Functor.map_comp, w, Functor.map_zero]),
|
| 52 |
+
hS.map_of_exact (tensorRight B), hK.tensor k hB⟩
|
| 53 |
+
|
| 54 |
+
lemma HasGoodKernel.split [Infinite k] {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 55 |
+
(hg : HasGoodKernel k g) (hP : IsRational k P.ρ) (hA : IsTilting k A) :
|
| 56 |
+
∃ s : A ⟶ P, s ≫ g = 𝟙 A := by
|
| 57 |
+
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 58 |
+
exact good_weyl_extension_split k hK hA.2.2 P hP i g w hS
|
| 59 |
+
|
| 60 |
+
lemma HasGoodKernel.of_isIso {P A : FDRep k (SL2 k)} (g : P ⟶ A) [IsIso g] :
|
| 61 |
+
HasGoodKernel k g := by
|
| 62 |
+
refine ⟨fdrepKernel k g, fdrepKernelι k g, ?_, ?_, ?_⟩
|
| 63 |
+
· apply fdrep_hom_ext k; intro x; exact x.property
|
| 64 |
+
· exact fdrepKernel_shortExact k g (fdrep_surjective k g)
|
| 65 |
+
· have : Subsingleton (fdrepKernel k g) := by
|
| 66 |
+
apply subsingleton_of_forall_eq 0
|
| 67 |
+
intro x
|
| 68 |
+
apply Subtype.ext
|
| 69 |
+
apply fdrep_injective k g
|
| 70 |
+
exact x.property.trans (map_zero _).symm
|
| 71 |
+
exact .zero _ (fdrep_isZero_of_subsingleton k _)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
lemma costandardMultiply_goodKernel (a b : ℕ) : HasGoodKernel k (costandardMultiply k a b) := by
|
| 75 |
+
rcases a with _ | a
|
| 76 |
+
· have := costandardMultiply_isIso_of_zero k 0 b (Or.inl rfl)
|
| 77 |
+
exact HasGoodKernel.of_isIso k _
|
| 78 |
+
· rcases b with _ | b
|
| 79 |
+
· have := costandardMultiply_isIso_of_zero k (a+1) 0 (Or.inr rfl)
|
| 80 |
+
exact HasGoodKernel.of_isIso k _
|
| 81 |
+
· exact ⟨_, costandardDeterminant k a b, costandardDeterminant_multiply k a b,
|
| 82 |
+
costandardTensorSequence_shortExact k a b, costandard_tensor_hasGoodFiltration k a b⟩
|
| 83 |
+
|
| 84 |
+
lemma HasGoodKernel.kernel_good {P A : FDRep k (SL2 k)} {g : P ⟶ A}
|
| 85 |
+
(hg : HasGoodKernel k g) : HasGoodFiltration k (fdrepKernel k g) := by
|
| 86 |
+
obtain ⟨K,i,w,hS,hK⟩ := hg
|
| 87 |
+
have := hS.mono_f
|
| 88 |
+
let j := fdrepKernelLift k i g w
|
| 89 |
+
have hj : Function.Bijective (fdrepLinear k j) := by
|
| 90 |
+
constructor
|
| 91 |
+
· intro x y h
|
| 92 |
+
apply fdrep_injective k i
|
| 93 |
+
exact congrArg Subtype.val h
|
| 94 |
+
· intro x
|
| 95 |
+
have hx : x.val ∈ LinearMap.range (fdrepLinear k i) := by
|
| 96 |
+
rw [fdrep_exact k hS.exact]
|
| 97 |
+
exact x.property
|
| 98 |
+
obtain ⟨v,hv⟩ := hx
|
| 99 |
+
exact ⟨v,Subtype.ext hv⟩
|
| 100 |
+
have := fdrepHom_isIso_of_bijective k j hj
|
| 101 |
+
exact hK.of_iso k (asIso j)
|
| 102 |
+
end FiberFunctorProof
|
| 103 |
+
|
| 104 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/GoodKernelExtension.lean
CHANGED
|
@@ -1,101 +1,101 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.GoodKernel
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.RepProducts
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 8 |
-
universe u
|
| 9 |
-
variable (k : Type u) [Field k]
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
noncomputable def extensionCoverMap {A B P Q : FDRep k (SL2 k)}
|
| 13 |
-
(f : A ⟶ B) (a : P ⟶ A) (s : Q ⟶ B) : repProduct k P Q ⟶ B :=
|
| 14 |
-
repFst k P Q ≫ a ≫ f + repSnd k P Q ≫ s
|
| 15 |
-
|
| 16 |
-
lemma extensionCoverMap_goodKernel {A B C P Q : FDRep k (SL2 k)}
|
| 17 |
-
(f : A ⟶ B) (g : B ⟶ C) (w : f ≫ g = 0)
|
| 18 |
-
(hS : (ShortComplex.mk f g w).ShortExact)
|
| 19 |
-
(a : P ⟶ A) (q : Q ⟶ C) (ha : HasGoodKernel k a) (hq : HasGoodKernel k q)
|
| 20 |
-
(s : Q ⟶ B) (hs : s ≫ g = q) :
|
| 21 |
-
HasGoodKernel k (extensionCoverMap k f a s) := by
|
| 22 |
-
have := hS.mono_f
|
| 23 |
-
have := ha.epi k
|
| 24 |
-
have := hq.epi k
|
| 25 |
-
have hf := fdrep_injective k f
|
| 26 |
-
have hex := fdrep_exact k hS.exact
|
| 27 |
-
have hfg (x : A) : fdrepLinear k g (fdrepLinear k f x) = 0 :=
|
| 28 |
-
congrArg (fun z => fdrepLinear k z x) w
|
| 29 |
-
have hsg (y : Q) : fdrepLinear k g (fdrepLinear k s y) = fdrepLinear k q y :=
|
| 30 |
-
congrArg (fun z => fdrepLinear k z y) hs
|
| 31 |
-
let F := extensionCoverMap k f a s
|
| 32 |
-
have hF (x : repProduct k P Q) : fdrepLinear k F x =
|
| 33 |
-
fdrepLinear k f (fdrepLinear k a x.1) + fdrepLinear k s x.2 := rfl
|
| 34 |
-
have hFsurj : Function.Surjective (fdrepLinear k F) := by
|
| 35 |
-
intro b
|
| 36 |
-
obtain ⟨y,hy⟩ := fdrep_surjective k q (fdrepLinear k g b)
|
| 37 |
-
have hmem : b - fdrepLinear k s y ∈ LinearMap.range (fdrepLinear k f) := by
|
| 38 |
-
rw [hex]
|
| 39 |
-
change fdrepLinear k g (b - fdrepLinear k s y) = 0
|
| 40 |
-
rw [map_sub, hsg, hy, sub_self]
|
| 41 |
-
obtain ⟨x,hx⟩ := hmem
|
| 42 |
-
obtain ⟨v,hv⟩ := fdrep_surjective k a x
|
| 43 |
-
refine ⟨(v,y), ?_⟩
|
| 44 |
-
erw [hF, hv, hx, sub_add_cancel]
|
| 45 |
-
let K := fdrepKernel k F
|
| 46 |
-
let Ka := fdrepKernel k a
|
| 47 |
-
let Kq := fdrepKernel k q
|
| 48 |
-
have hker (x : K) : fdrepLinear k q x.val.2 = 0 := by
|
| 49 |
-
have h := congrArg (fdrepLinear k g) (show fdrepLinear k F x.val = 0 from x.property)
|
| 50 |
-
rw [hF, map_add, hfg, hsg, zero_add, map_zero] at h
|
| 51 |
-
exact h
|
| 52 |
-
let i : Ka ⟶ K := fdrepHom k
|
| 53 |
-
{ toFun := fun x => ⟨(x.val,0), by
|
| 54 |
-
change fdrepLinear k F (x.val,0) = 0
|
| 55 |
-
erw [hF, show fdrepLinear k a x.val = 0 from x.property, map_zero, map_zero, add_zero]⟩
|
| 56 |
-
map_add' := by intros; apply Subtype.ext; exact Prod.ext rfl (zero_add _).symm
|
| 57 |
-
map_smul' := by intros; apply Subtype.ext; exact Prod.ext rfl (smul_zero _).symm }
|
| 58 |
-
(by intro t x; apply Subtype.ext; exact Prod.ext rfl (map_zero (Q.ρ t)).symm)
|
| 59 |
-
let j : K ⟶ Kq := fdrepHom k
|
| 60 |
-
{ toFun := fun x => ⟨x.val.2, hker x⟩
|
| 61 |
-
map_add' := by intros; rfl
|
| 62 |
-
map_smul' := by intros; rfl }
|
| 63 |
-
(by intros; rfl)
|
| 64 |
-
have wij : i ≫ j = 0 := by apply fdrep_hom_ext k; intro x; rfl
|
| 65 |
-
have hi : Function.Injective (fdrepLinear k i) := by
|
| 66 |
-
intro x y h
|
| 67 |
-
apply Subtype.ext
|
| 68 |
-
exact congrArg (fun z : K => z.val.1) h
|
| 69 |
-
have hj : Function.Surjective (fdrepLinear k j) := by
|
| 70 |
-
intro y
|
| 71 |
-
have hmem : fdrepLinear k s y.val ∈ LinearMap.range (fdrepLinear k f) := by
|
| 72 |
-
rw [hex]
|
| 73 |
-
change fdrepLinear k g (fdrepLinear k s y.val) = 0
|
| 74 |
-
rw [hsg]
|
| 75 |
-
exact y.property
|
| 76 |
-
obtain ⟨x,hx⟩ := hmem
|
| 77 |
-
obtain ⟨v,hv⟩ := fdrep_surjective k a (-x)
|
| 78 |
-
have hvy : fdrepLinear k F (v,y.val) = 0 := by
|
| 79 |
-
erw [hF, hv, map_neg, hx, neg_add_cancel]
|
| 80 |
-
exact ⟨⟨(v,y.val),hvy⟩,rfl⟩
|
| 81 |
-
have he : LinearMap.range (fdrepLinear k i) = LinearMap.ker (fdrepLinear k j) := by
|
| 82 |
-
ext x
|
| 83 |
-
constructor
|
| 84 |
-
· rintro ⟨y,rfl⟩; rfl
|
| 85 |
-
· intro hx
|
| 86 |
-
have hx2 : x.val.2 = 0 := congrArg Subtype.val (show fdrepLinear k j x = 0 from hx)
|
| 87 |
-
have hx1 : fdrepLinear k a x.val.1 = 0 := by
|
| 88 |
-
apply hf
|
| 89 |
-
have h := show fdrepLinear k F x.val = 0 from x.property
|
| 90 |
-
rw [hF, hx2, map_zero, add_zero] at h
|
| 91 |
-
exact h.trans (map_zero _).symm
|
| 92 |
-
refine ⟨⟨x.val.1,hx1⟩, ?_⟩
|
| 93 |
-
apply Subtype.ext
|
| 94 |
-
exact Prod.ext rfl hx2.symm
|
| 95 |
-
have hK : HasGoodFiltration k K :=
|
| 96 |
-
(ha.kernel_good k).extension k (hq.kernel_good k) i j wij (fdrep_shortExact k _ hi hj he)
|
| 97 |
-
exact ⟨K, fdrepKernelι k F, (by apply fdrep_hom_ext k; intro x; exact x.property),
|
| 98 |
-
fdrepKernel_shortExact k F hFsurj, hK⟩
|
| 99 |
-
end FiberFunctorProof
|
| 100 |
-
|
| 101 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.GoodKernel
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.RepProducts
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 8 |
+
universe u
|
| 9 |
+
variable (k : Type u) [Field k]
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
noncomputable def extensionCoverMap {A B P Q : FDRep k (SL2 k)}
|
| 13 |
+
(f : A ⟶ B) (a : P ⟶ A) (s : Q ⟶ B) : repProduct k P Q ⟶ B :=
|
| 14 |
+
repFst k P Q ≫ a ≫ f + repSnd k P Q ≫ s
|
| 15 |
+
|
| 16 |
+
lemma extensionCoverMap_goodKernel {A B C P Q : FDRep k (SL2 k)}
|
| 17 |
+
(f : A ⟶ B) (g : B ⟶ C) (w : f ≫ g = 0)
|
| 18 |
+
(hS : (ShortComplex.mk f g w).ShortExact)
|
| 19 |
+
(a : P ⟶ A) (q : Q ⟶ C) (ha : HasGoodKernel k a) (hq : HasGoodKernel k q)
|
| 20 |
+
(s : Q ⟶ B) (hs : s ≫ g = q) :
|
| 21 |
+
HasGoodKernel k (extensionCoverMap k f a s) := by
|
| 22 |
+
have := hS.mono_f
|
| 23 |
+
have := ha.epi k
|
| 24 |
+
have := hq.epi k
|
| 25 |
+
have hf := fdrep_injective k f
|
| 26 |
+
have hex := fdrep_exact k hS.exact
|
| 27 |
+
have hfg (x : A) : fdrepLinear k g (fdrepLinear k f x) = 0 :=
|
| 28 |
+
congrArg (fun z => fdrepLinear k z x) w
|
| 29 |
+
have hsg (y : Q) : fdrepLinear k g (fdrepLinear k s y) = fdrepLinear k q y :=
|
| 30 |
+
congrArg (fun z => fdrepLinear k z y) hs
|
| 31 |
+
let F := extensionCoverMap k f a s
|
| 32 |
+
have hF (x : repProduct k P Q) : fdrepLinear k F x =
|
| 33 |
+
fdrepLinear k f (fdrepLinear k a x.1) + fdrepLinear k s x.2 := rfl
|
| 34 |
+
have hFsurj : Function.Surjective (fdrepLinear k F) := by
|
| 35 |
+
intro b
|
| 36 |
+
obtain ⟨y,hy⟩ := fdrep_surjective k q (fdrepLinear k g b)
|
| 37 |
+
have hmem : b - fdrepLinear k s y ∈ LinearMap.range (fdrepLinear k f) := by
|
| 38 |
+
rw [hex]
|
| 39 |
+
change fdrepLinear k g (b - fdrepLinear k s y) = 0
|
| 40 |
+
rw [map_sub, hsg, hy, sub_self]
|
| 41 |
+
obtain ⟨x,hx⟩ := hmem
|
| 42 |
+
obtain ⟨v,hv⟩ := fdrep_surjective k a x
|
| 43 |
+
refine ⟨(v,y), ?_⟩
|
| 44 |
+
erw [hF, hv, hx, sub_add_cancel]
|
| 45 |
+
let K := fdrepKernel k F
|
| 46 |
+
let Ka := fdrepKernel k a
|
| 47 |
+
let Kq := fdrepKernel k q
|
| 48 |
+
have hker (x : K) : fdrepLinear k q x.val.2 = 0 := by
|
| 49 |
+
have h := congrArg (fdrepLinear k g) (show fdrepLinear k F x.val = 0 from x.property)
|
| 50 |
+
rw [hF, map_add, hfg, hsg, zero_add, map_zero] at h
|
| 51 |
+
exact h
|
| 52 |
+
let i : Ka ⟶ K := fdrepHom k
|
| 53 |
+
{ toFun := fun x => ⟨(x.val,0), by
|
| 54 |
+
change fdrepLinear k F (x.val,0) = 0
|
| 55 |
+
erw [hF, show fdrepLinear k a x.val = 0 from x.property, map_zero, map_zero, add_zero]⟩
|
| 56 |
+
map_add' := by intros; apply Subtype.ext; exact Prod.ext rfl (zero_add _).symm
|
| 57 |
+
map_smul' := by intros; apply Subtype.ext; exact Prod.ext rfl (smul_zero _).symm }
|
| 58 |
+
(by intro t x; apply Subtype.ext; exact Prod.ext rfl (map_zero (Q.ρ t)).symm)
|
| 59 |
+
let j : K ⟶ Kq := fdrepHom k
|
| 60 |
+
{ toFun := fun x => ⟨x.val.2, hker x⟩
|
| 61 |
+
map_add' := by intros; rfl
|
| 62 |
+
map_smul' := by intros; rfl }
|
| 63 |
+
(by intros; rfl)
|
| 64 |
+
have wij : i ≫ j = 0 := by apply fdrep_hom_ext k; intro x; rfl
|
| 65 |
+
have hi : Function.Injective (fdrepLinear k i) := by
|
| 66 |
+
intro x y h
|
| 67 |
+
apply Subtype.ext
|
| 68 |
+
exact congrArg (fun z : K => z.val.1) h
|
| 69 |
+
have hj : Function.Surjective (fdrepLinear k j) := by
|
| 70 |
+
intro y
|
| 71 |
+
have hmem : fdrepLinear k s y.val ∈ LinearMap.range (fdrepLinear k f) := by
|
| 72 |
+
rw [hex]
|
| 73 |
+
change fdrepLinear k g (fdrepLinear k s y.val) = 0
|
| 74 |
+
rw [hsg]
|
| 75 |
+
exact y.property
|
| 76 |
+
obtain ⟨x,hx⟩ := hmem
|
| 77 |
+
obtain ⟨v,hv⟩ := fdrep_surjective k a (-x)
|
| 78 |
+
have hvy : fdrepLinear k F (v,y.val) = 0 := by
|
| 79 |
+
erw [hF, hv, map_neg, hx, neg_add_cancel]
|
| 80 |
+
exact ⟨⟨(v,y.val),hvy⟩,rfl⟩
|
| 81 |
+
have he : LinearMap.range (fdrepLinear k i) = LinearMap.ker (fdrepLinear k j) := by
|
| 82 |
+
ext x
|
| 83 |
+
constructor
|
| 84 |
+
· rintro ⟨y,rfl⟩; rfl
|
| 85 |
+
· intro hx
|
| 86 |
+
have hx2 : x.val.2 = 0 := congrArg Subtype.val (show fdrepLinear k j x = 0 from hx)
|
| 87 |
+
have hx1 : fdrepLinear k a x.val.1 = 0 := by
|
| 88 |
+
apply hf
|
| 89 |
+
have h := show fdrepLinear k F x.val = 0 from x.property
|
| 90 |
+
rw [hF, hx2, map_zero, add_zero] at h
|
| 91 |
+
exact h.trans (map_zero _).symm
|
| 92 |
+
refine ⟨⟨x.val.1,hx1⟩, ?_⟩
|
| 93 |
+
apply Subtype.ext
|
| 94 |
+
exact Prod.ext rfl hx2.symm
|
| 95 |
+
have hK : HasGoodFiltration k K :=
|
| 96 |
+
(ha.kernel_good k).extension k (hq.kernel_good k) i j wij (fdrep_shortExact k _ hi hj he)
|
| 97 |
+
exact ⟨K, fdrepKernelι k F, (by apply fdrep_hom_ext k; intro x; exact x.property),
|
| 98 |
+
fdrepKernel_shortExact k F hFsurj, hK⟩
|
| 99 |
+
end FiberFunctorProof
|
| 100 |
+
|
| 101 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/IntertwinerDescent.lean
CHANGED
|
@@ -1,94 +1,94 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
noncomputable section
|
| 8 |
-
open scoped BigOperators
|
| 9 |
-
|
| 10 |
-
namespace FiberFunctorProof
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
lemma invertible_linear_combination
|
| 15 |
-
{k K : Type*} [Field k] [Infinite k] [Field K] [Algebra k K]
|
| 16 |
-
{n ι : Type*} [Fintype n] [DecidableEq n] [Fintype ι]
|
| 17 |
-
(M : ι → Matrix n n k) (v : ι → K)
|
| 18 |
-
(hv : (∑ a : ι, v a • (M a).map (algebraMap k K)).det ≠ 0) :
|
| 19 |
-
∃ c : ι → k, (∑ a : ι, c a • M a).det ≠ 0 := by
|
| 20 |
-
classical
|
| 21 |
-
let P : Matrix n n (MvPolynomial ι k) :=
|
| 22 |
-
fun i j => ∑ a : ι, MvPolynomial.C (M a i j) * MvPolynomial.X a
|
| 23 |
-
have hP : P.det ≠ 0 := by
|
| 24 |
-
intro hzero
|
| 25 |
-
apply hv
|
| 26 |
-
have heval : P.map (MvPolynomial.eval₂Hom (algebraMap k K) v) =
|
| 27 |
-
∑ a : ι, v a • (M a).map (algebraMap k K) := by
|
| 28 |
-
ext i j
|
| 29 |
-
simp only [Matrix.map_apply, Matrix.sum_apply, Matrix.smul_apply]
|
| 30 |
-
dsimp [P]
|
| 31 |
-
simp [mul_comm]
|
| 32 |
-
rw [← heval, ← RingHom.mapMatrix_apply, ← RingHom.map_det, hzero, map_zero]
|
| 33 |
-
have hex : ∃ c : ι → k, MvPolynomial.eval c P.det ≠ 0 := by
|
| 34 |
-
by_contra! h
|
| 35 |
-
apply hP
|
| 36 |
-
apply MvPolynomial.funext
|
| 37 |
-
intro c
|
| 38 |
-
simpa only [map_zero] using h c
|
| 39 |
-
obtain ⟨c, hc⟩ := hex
|
| 40 |
-
refine ⟨c, ?_⟩
|
| 41 |
-
have heval : P.map (MvPolynomial.eval c) = ∑ a : ι, c a • M a := by
|
| 42 |
-
ext i j
|
| 43 |
-
simp only [Matrix.map_apply, Matrix.sum_apply, Matrix.smul_apply]
|
| 44 |
-
dsimp [P]
|
| 45 |
-
simp [mul_comm]
|
| 46 |
-
rwa [← heval, ← RingHom.mapMatrix_apply, ← RingHom.map_det]
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
theorem intertwiner_descent
|
| 51 |
-
{k K : Type*} [Field k] [Infinite k] [Field K] [Algebra k K]
|
| 52 |
-
{n : Type*} [Fintype n] [DecidableEq n] {G : Type*}
|
| 53 |
-
(A B : G → Matrix n n k)
|
| 54 |
-
(C : Matrix n n K) (hC : C.det ≠ 0)
|
| 55 |
-
(h : ∀ g, (A g).map (algebraMap k K) * C = C * (B g).map (algebraMap k K)) :
|
| 56 |
-
∃ D : Matrix n n k, D.det ≠ 0 ∧ ∀ g, A g * D = D * B g := by
|
| 57 |
-
classical
|
| 58 |
-
let W : Submodule k K := Submodule.span k (Set.range (fun ij : n × n => C ij.1 ij.2))
|
| 59 |
-
have : FiniteDimensional k W := FiniteDimensional.span_of_finite k (Set.finite_range _)
|
| 60 |
-
let b := Module.finBasis k W
|
| 61 |
-
let V : Matrix n n W := fun i j => ⟨C i j, Submodule.subset_span ⟨(i, j), rfl⟩⟩
|
| 62 |
-
let M : Fin (Module.finrank k W) → Matrix n n k := fun a i j => b.repr (V i j) a
|
| 63 |
-
have hrepr : C = ∑ a, (b a : K) • (M a).map (algebraMap k K) := by
|
| 64 |
-
ext i j
|
| 65 |
-
have heq := congrArg (fun x : W => (x : K)) (b.sum_repr (V i j))
|
| 66 |
-
simp only [Matrix.sum_apply, Matrix.smul_apply, Matrix.map_apply]
|
| 67 |
-
change (V i j : K) = ∑ a, (b a : K) * algebraMap k K (b.repr (V i j) a)
|
| 68 |
-
simp only [Submodule.coe_sum, Submodule.coe_smul, Algebra.smul_def] at heq
|
| 69 |
-
exact heq.symm.trans (Finset.sum_congr rfl fun a _ => mul_comm _ _)
|
| 70 |
-
have hM : ∀ a g, A g * M a = M a * B g := by
|
| 71 |
-
intro a g
|
| 72 |
-
ext i j
|
| 73 |
-
have hW : ∑ l : n, A g i l • V l j = ∑ l : n, B g l j • V i l := by
|
| 74 |
-
apply Subtype.val_injective
|
| 75 |
-
have heq := congrArg (fun X : Matrix n n K => X i j) (h g)
|
| 76 |
-
simp only [Matrix.mul_apply, Matrix.map_apply] at heq
|
| 77 |
-
simp only [Submodule.coe_sum, Submodule.coe_smul, Algebra.smul_def]
|
| 78 |
-
exact heq.trans (Finset.sum_congr rfl fun l _ => mul_comm _ _)
|
| 79 |
-
have heq := congrArg (b.coord a) hW
|
| 80 |
-
simp only [Matrix.mul_apply]
|
| 81 |
-
simp only [map_sum, map_smul, smul_eq_mul, Module.Basis.coord_apply] at heq
|
| 82 |
-
exact heq.trans (Finset.sum_congr rfl fun l _ => mul_comm _ _)
|
| 83 |
-
have hcomb : (∑ a, (b a : K) • (M a).map (algebraMap k K)).det ≠ 0 := by
|
| 84 |
-
rwa [← hrepr]
|
| 85 |
-
obtain ⟨c, hc⟩ := invertible_linear_combination M (fun a => (b a : K)) hcomb
|
| 86 |
-
refine ⟨∑ a, c a • M a, hc, ?_⟩
|
| 87 |
-
intro g
|
| 88 |
-
simp only [Matrix.mul_sum, Matrix.sum_mul, Matrix.mul_smul, Matrix.smul_mul, hM]
|
| 89 |
-
|
| 90 |
-
end FiberFunctorProof
|
| 91 |
-
|
| 92 |
-
end
|
| 93 |
-
|
| 94 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
noncomputable section
|
| 8 |
+
open scoped BigOperators
|
| 9 |
+
|
| 10 |
+
namespace FiberFunctorProof
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
lemma invertible_linear_combination
|
| 15 |
+
{k K : Type*} [Field k] [Infinite k] [Field K] [Algebra k K]
|
| 16 |
+
{n ι : Type*} [Fintype n] [DecidableEq n] [Fintype ι]
|
| 17 |
+
(M : ι → Matrix n n k) (v : ι → K)
|
| 18 |
+
(hv : (∑ a : ι, v a • (M a).map (algebraMap k K)).det ≠ 0) :
|
| 19 |
+
∃ c : ι → k, (∑ a : ι, c a • M a).det ≠ 0 := by
|
| 20 |
+
classical
|
| 21 |
+
let P : Matrix n n (MvPolynomial ι k) :=
|
| 22 |
+
fun i j => ∑ a : ι, MvPolynomial.C (M a i j) * MvPolynomial.X a
|
| 23 |
+
have hP : P.det ≠ 0 := by
|
| 24 |
+
intro hzero
|
| 25 |
+
apply hv
|
| 26 |
+
have heval : P.map (MvPolynomial.eval₂Hom (algebraMap k K) v) =
|
| 27 |
+
∑ a : ι, v a • (M a).map (algebraMap k K) := by
|
| 28 |
+
ext i j
|
| 29 |
+
simp only [Matrix.map_apply, Matrix.sum_apply, Matrix.smul_apply]
|
| 30 |
+
dsimp [P]
|
| 31 |
+
simp [mul_comm]
|
| 32 |
+
rw [← heval, ← RingHom.mapMatrix_apply, ← RingHom.map_det, hzero, map_zero]
|
| 33 |
+
have hex : ∃ c : ι → k, MvPolynomial.eval c P.det ≠ 0 := by
|
| 34 |
+
by_contra! h
|
| 35 |
+
apply hP
|
| 36 |
+
apply MvPolynomial.funext
|
| 37 |
+
intro c
|
| 38 |
+
simpa only [map_zero] using h c
|
| 39 |
+
obtain ⟨c, hc⟩ := hex
|
| 40 |
+
refine ⟨c, ?_⟩
|
| 41 |
+
have heval : P.map (MvPolynomial.eval c) = ∑ a : ι, c a • M a := by
|
| 42 |
+
ext i j
|
| 43 |
+
simp only [Matrix.map_apply, Matrix.sum_apply, Matrix.smul_apply]
|
| 44 |
+
dsimp [P]
|
| 45 |
+
simp [mul_comm]
|
| 46 |
+
rwa [← heval, ← RingHom.mapMatrix_apply, ← RingHom.map_det]
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
theorem intertwiner_descent
|
| 51 |
+
{k K : Type*} [Field k] [Infinite k] [Field K] [Algebra k K]
|
| 52 |
+
{n : Type*} [Fintype n] [DecidableEq n] {G : Type*}
|
| 53 |
+
(A B : G → Matrix n n k)
|
| 54 |
+
(C : Matrix n n K) (hC : C.det ≠ 0)
|
| 55 |
+
(h : ∀ g, (A g).map (algebraMap k K) * C = C * (B g).map (algebraMap k K)) :
|
| 56 |
+
∃ D : Matrix n n k, D.det ≠ 0 ∧ ∀ g, A g * D = D * B g := by
|
| 57 |
+
classical
|
| 58 |
+
let W : Submodule k K := Submodule.span k (Set.range (fun ij : n × n => C ij.1 ij.2))
|
| 59 |
+
have : FiniteDimensional k W := FiniteDimensional.span_of_finite k (Set.finite_range _)
|
| 60 |
+
let b := Module.finBasis k W
|
| 61 |
+
let V : Matrix n n W := fun i j => ⟨C i j, Submodule.subset_span ⟨(i, j), rfl⟩⟩
|
| 62 |
+
let M : Fin (Module.finrank k W) → Matrix n n k := fun a i j => b.repr (V i j) a
|
| 63 |
+
have hrepr : C = ∑ a, (b a : K) • (M a).map (algebraMap k K) := by
|
| 64 |
+
ext i j
|
| 65 |
+
have heq := congrArg (fun x : W => (x : K)) (b.sum_repr (V i j))
|
| 66 |
+
simp only [Matrix.sum_apply, Matrix.smul_apply, Matrix.map_apply]
|
| 67 |
+
change (V i j : K) = ∑ a, (b a : K) * algebraMap k K (b.repr (V i j) a)
|
| 68 |
+
simp only [Submodule.coe_sum, Submodule.coe_smul, Algebra.smul_def] at heq
|
| 69 |
+
exact heq.symm.trans (Finset.sum_congr rfl fun a _ => mul_comm _ _)
|
| 70 |
+
have hM : ∀ a g, A g * M a = M a * B g := by
|
| 71 |
+
intro a g
|
| 72 |
+
ext i j
|
| 73 |
+
have hW : ∑ l : n, A g i l • V l j = ∑ l : n, B g l j • V i l := by
|
| 74 |
+
apply Subtype.val_injective
|
| 75 |
+
have heq := congrArg (fun X : Matrix n n K => X i j) (h g)
|
| 76 |
+
simp only [Matrix.mul_apply, Matrix.map_apply] at heq
|
| 77 |
+
simp only [Submodule.coe_sum, Submodule.coe_smul, Algebra.smul_def]
|
| 78 |
+
exact heq.trans (Finset.sum_congr rfl fun l _ => mul_comm _ _)
|
| 79 |
+
have heq := congrArg (b.coord a) hW
|
| 80 |
+
simp only [Matrix.mul_apply]
|
| 81 |
+
simp only [map_sum, map_smul, smul_eq_mul, Module.Basis.coord_apply] at heq
|
| 82 |
+
exact heq.trans (Finset.sum_congr rfl fun l _ => mul_comm _ _)
|
| 83 |
+
have hcomb : (∑ a, (b a : K) • (M a).map (algebraMap k K)).det ≠ 0 := by
|
| 84 |
+
rwa [← hrepr]
|
| 85 |
+
obtain ⟨c, hc⟩ := invertible_linear_combination M (fun a => (b a : K)) hcomb
|
| 86 |
+
refine ⟨∑ a, c a • M a, hc, ?_⟩
|
| 87 |
+
intro g
|
| 88 |
+
simp only [Matrix.mul_sum, Matrix.sum_mul, Matrix.mul_smul, Matrix.smul_mul, hM]
|
| 89 |
+
|
| 90 |
+
end FiberFunctorProof
|
| 91 |
+
|
| 92 |
+
end
|
| 93 |
+
|
| 94 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/JetRelations.lean
CHANGED
|
@@ -1,277 +1,277 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
/-! Binary sums, jet relations and their layer quotients. -/
|
| 6 |
-
|
| 7 |
-
noncomputable section
|
| 8 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 9 |
-
open scoped BigOperators
|
| 10 |
-
|
| 11 |
-
namespace FiberFunctorProof
|
| 12 |
-
open scoped BigOperators Pointwise
|
| 13 |
-
|
| 14 |
-
variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
def binarySum (x y : R) (n : ℕ) : (Fin (n+1) → M) →ₗ[R] M :=
|
| 18 |
-
∑ i : Fin (n+1), (x^i.val * y^(n-i.val)) • LinearMap.proj i
|
| 19 |
-
|
| 20 |
-
lemma binarySum_apply (x y : R) (n : ℕ) (v : Fin (n+1) → M) :
|
| 21 |
-
binarySum x y n v = ∑ i : Fin (n+1), (x^i.val * y^(n-i.val)) • v i := by
|
| 22 |
-
simp [binarySum]
|
| 23 |
-
|
| 24 |
-
lemma binarySum_zero (x y : R) (v : Fin 1 → M) : binarySum x y 0 v = v 0 := by
|
| 25 |
-
simp [binarySum_apply]
|
| 26 |
-
|
| 27 |
-
lemma binarySum_succ (x y : R) (n : ℕ) (v : Fin (n+2) → M) :
|
| 28 |
-
binarySum x y (n+1) v = y^(n+1) • v 0 + x • binarySum x y n (fun i => v i.succ) := by
|
| 29 |
-
rw [binarySum_apply, Fin.sum_univ_succ, binarySum_apply, Finset.smul_sum]
|
| 30 |
-
simp only [Fin.val_zero, pow_zero, Nat.sub_zero, one_mul, Fin.val_succ, Nat.add_sub_add_right]
|
| 31 |
-
congr 1
|
| 32 |
-
apply Finset.sum_congr rfl
|
| 33 |
-
intro i _
|
| 34 |
-
rw [pow_succ, mul_comm (x^i.val) x, mul_assoc, mul_smul]
|
| 35 |
-
|
| 36 |
-
lemma binarySum_single_zero (x y : R) (n : ℕ) (v : M) :
|
| 37 |
-
binarySum x y n (Pi.single 0 v) = y^n • v := by
|
| 38 |
-
classical
|
| 39 |
-
rw [binarySum_apply, Finset.sum_eq_single 0]
|
| 40 |
-
· simp
|
| 41 |
-
· intro i _ hi
|
| 42 |
-
simp [Pi.single_eq_of_ne hi]
|
| 43 |
-
· simp
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
def pairRelation (x y : R) : Submodule R M :=
|
| 47 |
-
x • (⊤ : Submodule R M) ⊔ y • (⊤ : Submodule R M)
|
| 48 |
-
|
| 49 |
-
lemma x_smul_mem_pairRelation (x y : R) (v : M) : x • v ∈ pairRelation x y :=
|
| 50 |
-
(show x • (⊤ : Submodule R M) ≤ pairRelation x y from le_sup_left)
|
| 51 |
-
(Submodule.smul_mem_pointwise_smul v x ⊤ (by trivial))
|
| 52 |
-
|
| 53 |
-
lemma y_smul_mem_pairRelation (x y : R) (v : M) : y • v ∈ pairRelation x y :=
|
| 54 |
-
(show y • (⊤ : Submodule R M) ≤ pairRelation x y from le_sup_right)
|
| 55 |
-
(Submodule.smul_mem_pointwise_smul v y ⊤ (by trivial))
|
| 56 |
-
|
| 57 |
-
lemma regular_pair_y_pow (x y : R)
|
| 58 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 59 |
-
(j : ℕ) (v n : M) (h : y^j • v = x • n) : ∃ w : M, v = x • w := by
|
| 60 |
-
induction j generalizing n with
|
| 61 |
-
| zero => exact ⟨n, by simpa using h⟩
|
| 62 |
-
| succ j ih =>
|
| 63 |
-
obtain ⟨w,hw⟩ := hy (y^j • v) n (by simpa only [pow_succ', mul_smul] using h)
|
| 64 |
-
exact ih w hw
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
theorem binarySum_kernel_coefficients (x y : R)
|
| 69 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 70 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 71 |
-
(j : ℕ) (v : Fin (j+1) → M) (hv : binarySum x y j v = 0) :
|
| 72 |
-
∀ i, v i ∈ pairRelation x y := by
|
| 73 |
-
classical
|
| 74 |
-
induction j with
|
| 75 |
-
| zero =>
|
| 76 |
-
intro i
|
| 77 |
-
have hi : i = 0 := Fin.ext (by omega)
|
| 78 |
-
rw [binarySum_zero] at hv
|
| 79 |
-
rw [hi, hv]
|
| 80 |
-
exact Submodule.zero_mem _
|
| 81 |
-
| succ j ih =>
|
| 82 |
-
have h0 : y^(j+1) • v 0 = x • (-binarySum x y j (fun i => v i.succ)) := by
|
| 83 |
-
rw [smul_neg]
|
| 84 |
-
exact eq_neg_of_add_eq_zero_left ((binarySum_succ x y j v) ▸ hv)
|
| 85 |
-
obtain ⟨w,hw⟩ := regular_pair_y_pow x y hy (j+1) (v 0) _ h0
|
| 86 |
-
let v' : Fin (j+1) → M := (fun i => v i.succ) + Pi.single 0 (y • w)
|
| 87 |
-
have hv' : binarySum x y j v' = 0 := by
|
| 88 |
-
apply hx
|
| 89 |
-
change x • binarySum x y j v' = x • (0 : M)
|
| 90 |
-
rw [smul_zero]
|
| 91 |
-
have he : x • binarySum x y j v' = binarySum x y (j+1) v := by
|
| 92 |
-
change x • binarySum x y j ((fun i => v i.succ) + Pi.single 0 (y • w)) = _
|
| 93 |
-
rw [map_add, binarySum_single_zero, smul_add, binarySum_succ, hw]
|
| 94 |
-
rw [smul_comm (y^(j+1)) x, ← mul_smul (y^j) y w, ← pow_succ]
|
| 95 |
-
exact add_comm _ _
|
| 96 |
-
exact he.trans hv
|
| 97 |
-
have hc := ih v' hv'
|
| 98 |
-
intro i
|
| 99 |
-
refine Fin.cases ?_ (fun i => ?_) i
|
| 100 |
-
· rw [hw]
|
| 101 |
-
exact x_smul_mem_pairRelation x y w
|
| 102 |
-
· have hu : (Pi.single (0 : Fin (j+1)) (y • w) : Fin (j+1) → M) i ∈ pairRelation x y := by
|
| 103 |
-
by_cases hi : i = 0
|
| 104 |
-
· subst i
|
| 105 |
-
simpa using y_smul_mem_pairRelation x y w
|
| 106 |
-
· simp [Pi.single_eq_of_ne hi]
|
| 107 |
-
have hh := (pairRelation (M := M) x y).sub_mem (hc i) hu
|
| 108 |
-
simpa only [v', Pi.add_apply, add_sub_cancel_right] using hh
|
| 109 |
-
|
| 110 |
-
lemma binarySum_succ_last (x y : R) (n : ℕ) (v : Fin (n+2) → M) :
|
| 111 |
-
binarySum x y (n+1) v = y • binarySum x y n (fun i => v i.castSucc) + x^(n+1) • v (Fin.last _) := by
|
| 112 |
-
rw [binarySum_apply, Fin.sum_univ_castSucc, binarySum_apply, Finset.smul_sum]
|
| 113 |
-
simp only [Fin.val_last, Nat.sub_self, pow_zero, mul_one, Fin.val_castSucc]
|
| 114 |
-
congr 1
|
| 115 |
-
apply Finset.sum_congr rfl
|
| 116 |
-
intro i _
|
| 117 |
-
have hi : n+1-i.val = (n-i.val)+1 := by omega
|
| 118 |
-
rw [hi, pow_succ, ← mul_assoc, mul_comm (x^i.val * y^(n-i.val)) y, mul_smul]
|
| 119 |
-
|
| 120 |
-
lemma binarySum_prepend_zero (x y : R) (n : ℕ) (v : Fin (n+1) → M) :
|
| 121 |
-
binarySum x y (n+1) (Fin.cons 0 v) = x • binarySum x y n v := by
|
| 122 |
-
rw [binarySum_succ]
|
| 123 |
-
simp
|
| 124 |
-
|
| 125 |
-
lemma binarySum_append_zero (x y : R) (n : ℕ) (v : Fin (n+1) → M) :
|
| 126 |
-
binarySum x y (n+1) (Fin.snoc v 0) = y • binarySum x y n v := by
|
| 127 |
-
rw [binarySum_succ_last]
|
| 128 |
-
simp
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
def jetRelation (x y : R) (j : ℕ) : Submodule R M := (binarySum x y j).range
|
| 132 |
-
|
| 133 |
-
lemma jetRelation_zero (x y : R) : jetRelation (M := M) x y 0 = ⊤ := by
|
| 134 |
-
apply LinearMap.range_eq_top.mpr
|
| 135 |
-
intro m
|
| 136 |
-
exact ⟨fun _ => m, binarySum_zero x y _⟩
|
| 137 |
-
|
| 138 |
-
lemma mem_pairRelation (x y : R) (m : M) : m ∈ pairRelation x y ↔ ∃ a b : M, m = x • a + y • b := by
|
| 139 |
-
constructor
|
| 140 |
-
· intro h
|
| 141 |
-
obtain ⟨a,ha,b,hb,rfl⟩ := Submodule.mem_sup.mp h
|
| 142 |
-
obtain ⟨a',_,rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists a x ⊤).mp ha
|
| 143 |
-
obtain ⟨b',_,rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists b y ⊤).mp hb
|
| 144 |
-
exact ⟨a',b',rfl⟩
|
| 145 |
-
· rintro ⟨a,b,rfl⟩
|
| 146 |
-
exact (pairRelation x y).add_mem (x_smul_mem_pairRelation x y a) (y_smul_mem_pairRelation x y b)
|
| 147 |
-
|
| 148 |
-
lemma jetRelation_one (x y : R) : jetRelation (M := M) x y 1 = pairRelation x y := by
|
| 149 |
-
ext m
|
| 150 |
-
constructor
|
| 151 |
-
· rintro ⟨v,rfl⟩
|
| 152 |
-
rw [binarySum_succ, binarySum_zero]
|
| 153 |
-
simpa only [Nat.zero_add, pow_one] using
|
| 154 |
-
(pairRelation x y).add_mem (y_smul_mem_pairRelation x y (v 0))
|
| 155 |
-
(x_smul_mem_pairRelation x y (v (Fin.succ 0)))
|
| 156 |
-
· intro hm
|
| 157 |
-
obtain ⟨a,b,rfl⟩ := (mem_pairRelation x y m).mp hm
|
| 158 |
-
refine ⟨Fin.cons b (fun _ => a), ?_⟩
|
| 159 |
-
rw [binarySum_succ, binarySum_zero]
|
| 160 |
-
simp [add_comm]
|
| 161 |
-
|
| 162 |
-
lemma jetRelation_succ_le (x y : R) (j : ℕ) :
|
| 163 |
-
jetRelation (M := M) x y (j+1) ≤ jetRelation x y j := by
|
| 164 |
-
rintro m ⟨v,rfl⟩
|
| 165 |
-
refine ⟨x • (fun i => v i.succ) + Pi.single 0 (y • v 0), ?_⟩
|
| 166 |
-
rw [map_add, map_smul, binarySum_single_zero, binarySum_succ, ← mul_smul, ← pow_succ]
|
| 167 |
-
exact add_comm _ _
|
| 168 |
-
|
| 169 |
-
lemma binarySum_pairRelation (x y : R) (j : ℕ) (v : Fin (j+1) → M)
|
| 170 |
-
(hv : ∀ i, v i ∈ pairRelation x y) :
|
| 171 |
-
binarySum x y j v ∈ jetRelation x y (j+1) := by
|
| 172 |
-
classical
|
| 173 |
-
choose a b hab using fun i => (mem_pairRelation x y (v i)).mp (hv i)
|
| 174 |
-
have he : v = x • a + y • b := funext hab
|
| 175 |
-
rw [he, map_add, map_smul, map_smul]
|
| 176 |
-
apply (jetRelation x y (j+1)).add_mem
|
| 177 |
-
· exact ⟨Fin.cons 0 a, binarySum_prepend_zero x y j a⟩
|
| 178 |
-
· exact ⟨Fin.snoc b 0, binarySum_append_zero x y j b⟩
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
theorem binarySum_mem_next_iff (x y : R)
|
| 183 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 184 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 185 |
-
(j : ℕ) (v : Fin (j+1) → M) :
|
| 186 |
-
binarySum x y j v ∈ jetRelation x y (j+1) ↔ ∀ i, v i ∈ pairRelation x y := by
|
| 187 |
-
constructor
|
| 188 |
-
· rintro ⟨w,hw⟩
|
| 189 |
-
let c : Fin (j+1) → M := x • (fun i => w i.succ) + Pi.single 0 (y • w 0)
|
| 190 |
-
have hc : ∀ i, c i ∈ pairRelation x y := by
|
| 191 |
-
intro i
|
| 192 |
-
apply (pairRelation x y).add_mem (x_smul_mem_pairRelation x y _)
|
| 193 |
-
classical
|
| 194 |
-
by_cases hi : i = 0
|
| 195 |
-
· subst i
|
| 196 |
-
simp only [Pi.single_eq_same]
|
| 197 |
-
exact y_smul_mem_pairRelation x y _
|
| 198 |
-
· simp [Pi.single_eq_of_ne hi]
|
| 199 |
-
have hbc : binarySum x y j c = binarySum x y (j+1) w := by
|
| 200 |
-
change binarySum x y j (x • (fun i => w i.succ) + Pi.single 0 (y • w 0)) = _
|
| 201 |
-
rw [map_add, map_smul, binarySum_single_zero, binarySum_succ, ← mul_smul, ← pow_succ]
|
| 202 |
-
exact add_comm _ _
|
| 203 |
-
have hz : binarySum x y j (v-c) = 0 := by rw [map_sub, hbc, hw, sub_self]
|
| 204 |
-
have hh := binarySum_kernel_coefficients x y hx hy j (v-c) hz
|
| 205 |
-
intro i
|
| 206 |
-
have hi := (pairRelation x y).add_mem (hh i) (hc i)
|
| 207 |
-
simpa only [Pi.sub_apply, sub_add_cancel] using hi
|
| 208 |
-
· exact binarySum_pairRelation x y j v
|
| 209 |
-
|
| 210 |
-
abbrev jetLayer (x y : R) (j : ℕ) :=
|
| 211 |
-
(jetRelation (M := M) x y j) ⧸
|
| 212 |
-
((jetRelation x y (j+1)).comap (jetRelation x y j).subtype)
|
| 213 |
-
|
| 214 |
-
def jetLayerMap (x y : R) (j : ℕ) : (Fin (j+1) → M) →ₗ[R] jetLayer (M := M) x y j :=
|
| 215 |
-
((jetRelation x y (j+1)).comap (jetRelation x y j).subtype).mkQ.comp
|
| 216 |
-
(binarySum x y j).rangeRestrict
|
| 217 |
-
|
| 218 |
-
lemma jetLayerMap_surjective (x y : R) (j : ℕ) :
|
| 219 |
-
Function.Surjective (jetLayerMap (M := M) x y j) :=
|
| 220 |
-
((jetRelation x y (j+1)).comap (jetRelation x y j).subtype).mkQ_surjective.comp
|
| 221 |
-
(by rintro ⟨m,v,rfl⟩; exact ⟨v,rfl⟩)
|
| 222 |
-
|
| 223 |
-
lemma jetLayerMap_eq_zero_iff (x y : R) (j : ℕ) (v : Fin (j+1) → M) :
|
| 224 |
-
jetLayerMap x y j v = 0 ↔ binarySum x y j v ∈ jetRelation x y (j+1) := by
|
| 225 |
-
exact Submodule.Quotient.mk_eq_zero _
|
| 226 |
-
|
| 227 |
-
def originCoefficientMap (x y : R) (j : ℕ) :
|
| 228 |
-
(Fin (j+1) → M) →ₗ[R] (Fin (j+1) → (M ⧸ pairRelation (M := M) x y)) :=
|
| 229 |
-
LinearMap.pi (fun i => (pairRelation x y).mkQ.comp (LinearMap.proj i))
|
| 230 |
-
|
| 231 |
-
lemma originCoefficientMap_surjective (x y : R) (j : ℕ) :
|
| 232 |
-
Function.Surjective (originCoefficientMap (M := M) x y j) := by
|
| 233 |
-
intro v
|
| 234 |
-
choose w hw using fun i => (pairRelation (M := M) x y).mkQ_surjective (v i)
|
| 235 |
-
exact ⟨w, funext hw⟩
|
| 236 |
-
|
| 237 |
-
lemma originCoefficientMap_eq_zero_iff (x y : R) (j : ℕ) (v : Fin (j+1) → M) :
|
| 238 |
-
originCoefficientMap x y j v = 0 ↔ ∀ i, v i ∈ pairRelation x y := by
|
| 239 |
-
constructor
|
| 240 |
-
· intro h i
|
| 241 |
-
exact (Submodule.Quotient.mk_eq_zero _).mp (congrFun h i)
|
| 242 |
-
· intro h
|
| 243 |
-
ext i
|
| 244 |
-
exact (Submodule.Quotient.mk_eq_zero _).mpr (h i)
|
| 245 |
-
|
| 246 |
-
lemma jetLayerMap_ker (x y : R)
|
| 247 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 248 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) (j : ℕ) :
|
| 249 |
-
(jetLayerMap (M := M) x y j).ker = (originCoefficientMap x y j).ker := by
|
| 250 |
-
ext v
|
| 251 |
-
exact (jetLayerMap_eq_zero_iff x y j v).trans
|
| 252 |
-
((binarySum_mem_next_iff x y hx hy j v).trans
|
| 253 |
-
(originCoefficientMap_eq_zero_iff x y j v).symm)
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
noncomputable def jetLayerEquiv (x y : R)
|
| 258 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 259 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) (j : ℕ) :
|
| 260 |
-
(Fin (j+1) → (M ⧸ pairRelation (M := M) x y)) ≃ₗ[R] jetLayer (M := M) x y j :=
|
| 261 |
-
((originCoefficientMap x y j).quotKerEquivOfSurjective
|
| 262 |
-
(originCoefficientMap_surjective x y j)).symm ≪≫ₗ
|
| 263 |
-
(Submodule.quotEquivOfEq _ _ (jetLayerMap_ker x y hx hy j).symm) ≪≫ₗ
|
| 264 |
-
(jetLayerMap x y j).quotKerEquivOfSurjective (jetLayerMap_surjective x y j)
|
| 265 |
-
|
| 266 |
-
lemma jetLayerEquiv_apply (x y : R)
|
| 267 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 268 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 269 |
-
(j : ℕ) (v : Fin (j+1) → M) :
|
| 270 |
-
jetLayerEquiv x y hx hy j (originCoefficientMap x y j v) = jetLayerMap x y j v := by
|
| 271 |
-
simp only [jetLayerEquiv, LinearEquiv.trans_apply,
|
| 272 |
-
LinearMap.quotKerEquivOfSurjective_symm_apply, Submodule.quotEquivOfEq_mk,
|
| 273 |
-
LinearMap.quotKerEquivOfSurjective_apply_mk]
|
| 274 |
-
end FiberFunctorProof
|
| 275 |
-
end
|
| 276 |
-
|
| 277 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
/-! Binary sums, jet relations and their layer quotients. -/
|
| 6 |
+
|
| 7 |
+
noncomputable section
|
| 8 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 9 |
+
open scoped BigOperators
|
| 10 |
+
|
| 11 |
+
namespace FiberFunctorProof
|
| 12 |
+
open scoped BigOperators Pointwise
|
| 13 |
+
|
| 14 |
+
variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def binarySum (x y : R) (n : ℕ) : (Fin (n+1) → M) →ₗ[R] M :=
|
| 18 |
+
∑ i : Fin (n+1), (x^i.val * y^(n-i.val)) • LinearMap.proj i
|
| 19 |
+
|
| 20 |
+
lemma binarySum_apply (x y : R) (n : ℕ) (v : Fin (n+1) → M) :
|
| 21 |
+
binarySum x y n v = ∑ i : Fin (n+1), (x^i.val * y^(n-i.val)) • v i := by
|
| 22 |
+
simp [binarySum]
|
| 23 |
+
|
| 24 |
+
lemma binarySum_zero (x y : R) (v : Fin 1 → M) : binarySum x y 0 v = v 0 := by
|
| 25 |
+
simp [binarySum_apply]
|
| 26 |
+
|
| 27 |
+
lemma binarySum_succ (x y : R) (n : ℕ) (v : Fin (n+2) → M) :
|
| 28 |
+
binarySum x y (n+1) v = y^(n+1) • v 0 + x • binarySum x y n (fun i => v i.succ) := by
|
| 29 |
+
rw [binarySum_apply, Fin.sum_univ_succ, binarySum_apply, Finset.smul_sum]
|
| 30 |
+
simp only [Fin.val_zero, pow_zero, Nat.sub_zero, one_mul, Fin.val_succ, Nat.add_sub_add_right]
|
| 31 |
+
congr 1
|
| 32 |
+
apply Finset.sum_congr rfl
|
| 33 |
+
intro i _
|
| 34 |
+
rw [pow_succ, mul_comm (x^i.val) x, mul_assoc, mul_smul]
|
| 35 |
+
|
| 36 |
+
lemma binarySum_single_zero (x y : R) (n : ℕ) (v : M) :
|
| 37 |
+
binarySum x y n (Pi.single 0 v) = y^n • v := by
|
| 38 |
+
classical
|
| 39 |
+
rw [binarySum_apply, Finset.sum_eq_single 0]
|
| 40 |
+
· simp
|
| 41 |
+
· intro i _ hi
|
| 42 |
+
simp [Pi.single_eq_of_ne hi]
|
| 43 |
+
· simp
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def pairRelation (x y : R) : Submodule R M :=
|
| 47 |
+
x • (⊤ : Submodule R M) ⊔ y • (⊤ : Submodule R M)
|
| 48 |
+
|
| 49 |
+
lemma x_smul_mem_pairRelation (x y : R) (v : M) : x • v ∈ pairRelation x y :=
|
| 50 |
+
(show x • (⊤ : Submodule R M) ≤ pairRelation x y from le_sup_left)
|
| 51 |
+
(Submodule.smul_mem_pointwise_smul v x ⊤ (by trivial))
|
| 52 |
+
|
| 53 |
+
lemma y_smul_mem_pairRelation (x y : R) (v : M) : y • v ∈ pairRelation x y :=
|
| 54 |
+
(show y • (⊤ : Submodule R M) ≤ pairRelation x y from le_sup_right)
|
| 55 |
+
(Submodule.smul_mem_pointwise_smul v y ⊤ (by trivial))
|
| 56 |
+
|
| 57 |
+
lemma regular_pair_y_pow (x y : R)
|
| 58 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 59 |
+
(j : ℕ) (v n : M) (h : y^j • v = x • n) : ∃ w : M, v = x • w := by
|
| 60 |
+
induction j generalizing n with
|
| 61 |
+
| zero => exact ⟨n, by simpa using h⟩
|
| 62 |
+
| succ j ih =>
|
| 63 |
+
obtain ⟨w,hw⟩ := hy (y^j • v) n (by simpa only [pow_succ', mul_smul] using h)
|
| 64 |
+
exact ih w hw
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
theorem binarySum_kernel_coefficients (x y : R)
|
| 69 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 70 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 71 |
+
(j : ℕ) (v : Fin (j+1) → M) (hv : binarySum x y j v = 0) :
|
| 72 |
+
∀ i, v i ∈ pairRelation x y := by
|
| 73 |
+
classical
|
| 74 |
+
induction j with
|
| 75 |
+
| zero =>
|
| 76 |
+
intro i
|
| 77 |
+
have hi : i = 0 := Fin.ext (by omega)
|
| 78 |
+
rw [binarySum_zero] at hv
|
| 79 |
+
rw [hi, hv]
|
| 80 |
+
exact Submodule.zero_mem _
|
| 81 |
+
| succ j ih =>
|
| 82 |
+
have h0 : y^(j+1) • v 0 = x • (-binarySum x y j (fun i => v i.succ)) := by
|
| 83 |
+
rw [smul_neg]
|
| 84 |
+
exact eq_neg_of_add_eq_zero_left ((binarySum_succ x y j v) ▸ hv)
|
| 85 |
+
obtain ⟨w,hw⟩ := regular_pair_y_pow x y hy (j+1) (v 0) _ h0
|
| 86 |
+
let v' : Fin (j+1) → M := (fun i => v i.succ) + Pi.single 0 (y • w)
|
| 87 |
+
have hv' : binarySum x y j v' = 0 := by
|
| 88 |
+
apply hx
|
| 89 |
+
change x • binarySum x y j v' = x • (0 : M)
|
| 90 |
+
rw [smul_zero]
|
| 91 |
+
have he : x • binarySum x y j v' = binarySum x y (j+1) v := by
|
| 92 |
+
change x • binarySum x y j ((fun i => v i.succ) + Pi.single 0 (y • w)) = _
|
| 93 |
+
rw [map_add, binarySum_single_zero, smul_add, binarySum_succ, hw]
|
| 94 |
+
rw [smul_comm (y^(j+1)) x, ← mul_smul (y^j) y w, ← pow_succ]
|
| 95 |
+
exact add_comm _ _
|
| 96 |
+
exact he.trans hv
|
| 97 |
+
have hc := ih v' hv'
|
| 98 |
+
intro i
|
| 99 |
+
refine Fin.cases ?_ (fun i => ?_) i
|
| 100 |
+
· rw [hw]
|
| 101 |
+
exact x_smul_mem_pairRelation x y w
|
| 102 |
+
· have hu : (Pi.single (0 : Fin (j+1)) (y • w) : Fin (j+1) → M) i ∈ pairRelation x y := by
|
| 103 |
+
by_cases hi : i = 0
|
| 104 |
+
· subst i
|
| 105 |
+
simpa using y_smul_mem_pairRelation x y w
|
| 106 |
+
· simp [Pi.single_eq_of_ne hi]
|
| 107 |
+
have hh := (pairRelation (M := M) x y).sub_mem (hc i) hu
|
| 108 |
+
simpa only [v', Pi.add_apply, add_sub_cancel_right] using hh
|
| 109 |
+
|
| 110 |
+
lemma binarySum_succ_last (x y : R) (n : ℕ) (v : Fin (n+2) → M) :
|
| 111 |
+
binarySum x y (n+1) v = y • binarySum x y n (fun i => v i.castSucc) + x^(n+1) • v (Fin.last _) := by
|
| 112 |
+
rw [binarySum_apply, Fin.sum_univ_castSucc, binarySum_apply, Finset.smul_sum]
|
| 113 |
+
simp only [Fin.val_last, Nat.sub_self, pow_zero, mul_one, Fin.val_castSucc]
|
| 114 |
+
congr 1
|
| 115 |
+
apply Finset.sum_congr rfl
|
| 116 |
+
intro i _
|
| 117 |
+
have hi : n+1-i.val = (n-i.val)+1 := by omega
|
| 118 |
+
rw [hi, pow_succ, ← mul_assoc, mul_comm (x^i.val * y^(n-i.val)) y, mul_smul]
|
| 119 |
+
|
| 120 |
+
lemma binarySum_prepend_zero (x y : R) (n : ℕ) (v : Fin (n+1) → M) :
|
| 121 |
+
binarySum x y (n+1) (Fin.cons 0 v) = x • binarySum x y n v := by
|
| 122 |
+
rw [binarySum_succ]
|
| 123 |
+
simp
|
| 124 |
+
|
| 125 |
+
lemma binarySum_append_zero (x y : R) (n : ℕ) (v : Fin (n+1) → M) :
|
| 126 |
+
binarySum x y (n+1) (Fin.snoc v 0) = y • binarySum x y n v := by
|
| 127 |
+
rw [binarySum_succ_last]
|
| 128 |
+
simp
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
def jetRelation (x y : R) (j : ℕ) : Submodule R M := (binarySum x y j).range
|
| 132 |
+
|
| 133 |
+
lemma jetRelation_zero (x y : R) : jetRelation (M := M) x y 0 = ⊤ := by
|
| 134 |
+
apply LinearMap.range_eq_top.mpr
|
| 135 |
+
intro m
|
| 136 |
+
exact ⟨fun _ => m, binarySum_zero x y _⟩
|
| 137 |
+
|
| 138 |
+
lemma mem_pairRelation (x y : R) (m : M) : m ∈ pairRelation x y ↔ ∃ a b : M, m = x • a + y • b := by
|
| 139 |
+
constructor
|
| 140 |
+
· intro h
|
| 141 |
+
obtain ⟨a,ha,b,hb,rfl⟩ := Submodule.mem_sup.mp h
|
| 142 |
+
obtain ⟨a',_,rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists a x ⊤).mp ha
|
| 143 |
+
obtain ⟨b',_,rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists b y ⊤).mp hb
|
| 144 |
+
exact ⟨a',b',rfl⟩
|
| 145 |
+
· rintro ⟨a,b,rfl⟩
|
| 146 |
+
exact (pairRelation x y).add_mem (x_smul_mem_pairRelation x y a) (y_smul_mem_pairRelation x y b)
|
| 147 |
+
|
| 148 |
+
lemma jetRelation_one (x y : R) : jetRelation (M := M) x y 1 = pairRelation x y := by
|
| 149 |
+
ext m
|
| 150 |
+
constructor
|
| 151 |
+
· rintro ⟨v,rfl⟩
|
| 152 |
+
rw [binarySum_succ, binarySum_zero]
|
| 153 |
+
simpa only [Nat.zero_add, pow_one] using
|
| 154 |
+
(pairRelation x y).add_mem (y_smul_mem_pairRelation x y (v 0))
|
| 155 |
+
(x_smul_mem_pairRelation x y (v (Fin.succ 0)))
|
| 156 |
+
· intro hm
|
| 157 |
+
obtain ⟨a,b,rfl⟩ := (mem_pairRelation x y m).mp hm
|
| 158 |
+
refine ⟨Fin.cons b (fun _ => a), ?_⟩
|
| 159 |
+
rw [binarySum_succ, binarySum_zero]
|
| 160 |
+
simp [add_comm]
|
| 161 |
+
|
| 162 |
+
lemma jetRelation_succ_le (x y : R) (j : ℕ) :
|
| 163 |
+
jetRelation (M := M) x y (j+1) ≤ jetRelation x y j := by
|
| 164 |
+
rintro m ⟨v,rfl⟩
|
| 165 |
+
refine ⟨x • (fun i => v i.succ) + Pi.single 0 (y • v 0), ?_⟩
|
| 166 |
+
rw [map_add, map_smul, binarySum_single_zero, binarySum_succ, ← mul_smul, ← pow_succ]
|
| 167 |
+
exact add_comm _ _
|
| 168 |
+
|
| 169 |
+
lemma binarySum_pairRelation (x y : R) (j : ℕ) (v : Fin (j+1) → M)
|
| 170 |
+
(hv : ∀ i, v i ∈ pairRelation x y) :
|
| 171 |
+
binarySum x y j v ∈ jetRelation x y (j+1) := by
|
| 172 |
+
classical
|
| 173 |
+
choose a b hab using fun i => (mem_pairRelation x y (v i)).mp (hv i)
|
| 174 |
+
have he : v = x • a + y • b := funext hab
|
| 175 |
+
rw [he, map_add, map_smul, map_smul]
|
| 176 |
+
apply (jetRelation x y (j+1)).add_mem
|
| 177 |
+
· exact ⟨Fin.cons 0 a, binarySum_prepend_zero x y j a⟩
|
| 178 |
+
· exact ⟨Fin.snoc b 0, binarySum_append_zero x y j b⟩
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
theorem binarySum_mem_next_iff (x y : R)
|
| 183 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 184 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 185 |
+
(j : ℕ) (v : Fin (j+1) → M) :
|
| 186 |
+
binarySum x y j v ∈ jetRelation x y (j+1) ↔ ∀ i, v i ∈ pairRelation x y := by
|
| 187 |
+
constructor
|
| 188 |
+
· rintro ⟨w,hw⟩
|
| 189 |
+
let c : Fin (j+1) → M := x • (fun i => w i.succ) + Pi.single 0 (y • w 0)
|
| 190 |
+
have hc : ∀ i, c i ∈ pairRelation x y := by
|
| 191 |
+
intro i
|
| 192 |
+
apply (pairRelation x y).add_mem (x_smul_mem_pairRelation x y _)
|
| 193 |
+
classical
|
| 194 |
+
by_cases hi : i = 0
|
| 195 |
+
· subst i
|
| 196 |
+
simp only [Pi.single_eq_same]
|
| 197 |
+
exact y_smul_mem_pairRelation x y _
|
| 198 |
+
· simp [Pi.single_eq_of_ne hi]
|
| 199 |
+
have hbc : binarySum x y j c = binarySum x y (j+1) w := by
|
| 200 |
+
change binarySum x y j (x • (fun i => w i.succ) + Pi.single 0 (y • w 0)) = _
|
| 201 |
+
rw [map_add, map_smul, binarySum_single_zero, binarySum_succ, ← mul_smul, ← pow_succ]
|
| 202 |
+
exact add_comm _ _
|
| 203 |
+
have hz : binarySum x y j (v-c) = 0 := by rw [map_sub, hbc, hw, sub_self]
|
| 204 |
+
have hh := binarySum_kernel_coefficients x y hx hy j (v-c) hz
|
| 205 |
+
intro i
|
| 206 |
+
have hi := (pairRelation x y).add_mem (hh i) (hc i)
|
| 207 |
+
simpa only [Pi.sub_apply, sub_add_cancel] using hi
|
| 208 |
+
· exact binarySum_pairRelation x y j v
|
| 209 |
+
|
| 210 |
+
abbrev jetLayer (x y : R) (j : ℕ) :=
|
| 211 |
+
(jetRelation (M := M) x y j) ⧸
|
| 212 |
+
((jetRelation x y (j+1)).comap (jetRelation x y j).subtype)
|
| 213 |
+
|
| 214 |
+
def jetLayerMap (x y : R) (j : ℕ) : (Fin (j+1) → M) →ₗ[R] jetLayer (M := M) x y j :=
|
| 215 |
+
((jetRelation x y (j+1)).comap (jetRelation x y j).subtype).mkQ.comp
|
| 216 |
+
(binarySum x y j).rangeRestrict
|
| 217 |
+
|
| 218 |
+
lemma jetLayerMap_surjective (x y : R) (j : ℕ) :
|
| 219 |
+
Function.Surjective (jetLayerMap (M := M) x y j) :=
|
| 220 |
+
((jetRelation x y (j+1)).comap (jetRelation x y j).subtype).mkQ_surjective.comp
|
| 221 |
+
(by rintro ⟨m,v,rfl⟩; exact ⟨v,rfl⟩)
|
| 222 |
+
|
| 223 |
+
lemma jetLayerMap_eq_zero_iff (x y : R) (j : ℕ) (v : Fin (j+1) → M) :
|
| 224 |
+
jetLayerMap x y j v = 0 ↔ binarySum x y j v ∈ jetRelation x y (j+1) := by
|
| 225 |
+
exact Submodule.Quotient.mk_eq_zero _
|
| 226 |
+
|
| 227 |
+
def originCoefficientMap (x y : R) (j : ℕ) :
|
| 228 |
+
(Fin (j+1) → M) →ₗ[R] (Fin (j+1) → (M ⧸ pairRelation (M := M) x y)) :=
|
| 229 |
+
LinearMap.pi (fun i => (pairRelation x y).mkQ.comp (LinearMap.proj i))
|
| 230 |
+
|
| 231 |
+
lemma originCoefficientMap_surjective (x y : R) (j : ℕ) :
|
| 232 |
+
Function.Surjective (originCoefficientMap (M := M) x y j) := by
|
| 233 |
+
intro v
|
| 234 |
+
choose w hw using fun i => (pairRelation (M := M) x y).mkQ_surjective (v i)
|
| 235 |
+
exact ⟨w, funext hw⟩
|
| 236 |
+
|
| 237 |
+
lemma originCoefficientMap_eq_zero_iff (x y : R) (j : ℕ) (v : Fin (j+1) → M) :
|
| 238 |
+
originCoefficientMap x y j v = 0 ↔ ∀ i, v i ∈ pairRelation x y := by
|
| 239 |
+
constructor
|
| 240 |
+
· intro h i
|
| 241 |
+
exact (Submodule.Quotient.mk_eq_zero _).mp (congrFun h i)
|
| 242 |
+
· intro h
|
| 243 |
+
ext i
|
| 244 |
+
exact (Submodule.Quotient.mk_eq_zero _).mpr (h i)
|
| 245 |
+
|
| 246 |
+
lemma jetLayerMap_ker (x y : R)
|
| 247 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 248 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) (j : ℕ) :
|
| 249 |
+
(jetLayerMap (M := M) x y j).ker = (originCoefficientMap x y j).ker := by
|
| 250 |
+
ext v
|
| 251 |
+
exact (jetLayerMap_eq_zero_iff x y j v).trans
|
| 252 |
+
((binarySum_mem_next_iff x y hx hy j v).trans
|
| 253 |
+
(originCoefficientMap_eq_zero_iff x y j v).symm)
|
| 254 |
+
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
noncomputable def jetLayerEquiv (x y : R)
|
| 258 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 259 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) (j : ℕ) :
|
| 260 |
+
(Fin (j+1) → (M ⧸ pairRelation (M := M) x y)) ≃ₗ[R] jetLayer (M := M) x y j :=
|
| 261 |
+
((originCoefficientMap x y j).quotKerEquivOfSurjective
|
| 262 |
+
(originCoefficientMap_surjective x y j)).symm ≪≫ₗ
|
| 263 |
+
(Submodule.quotEquivOfEq _ _ (jetLayerMap_ker x y hx hy j).symm) ≪≫ₗ
|
| 264 |
+
(jetLayerMap x y j).quotKerEquivOfSurjective (jetLayerMap_surjective x y j)
|
| 265 |
+
|
| 266 |
+
lemma jetLayerEquiv_apply (x y : R)
|
| 267 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 268 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w)
|
| 269 |
+
(j : ℕ) (v : Fin (j+1) → M) :
|
| 270 |
+
jetLayerEquiv x y hx hy j (originCoefficientMap x y j v) = jetLayerMap x y j v := by
|
| 271 |
+
simp only [jetLayerEquiv, LinearEquiv.trans_apply,
|
| 272 |
+
LinearMap.quotKerEquivOfSurjective_symm_apply, Submodule.quotEquivOfEq_mk,
|
| 273 |
+
LinearMap.quotKerEquivOfSurjective_apply_mk]
|
| 274 |
+
end FiberFunctorProof
|
| 275 |
+
end
|
| 276 |
+
|
| 277 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/JetRepresentations.lean
CHANGED
|
@@ -1,357 +1,357 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.JetRelations
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.WeightBounds
|
| 4 |
-
|
| 5 |
-
namespace OAI
|
| 6 |
-
|
| 7 |
-
/-! Plane jet modules, homogeneous layers and equivariant inclusions. -/
|
| 8 |
-
|
| 9 |
-
noncomputable section
|
| 10 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 11 |
-
open scoped BigOperators
|
| 12 |
-
|
| 13 |
-
namespace FiberFunctorProof
|
| 14 |
-
open scoped TensorProduct BigOperators Pointwise
|
| 15 |
-
universe u
|
| 16 |
-
variable (k : Type u) [Field k]
|
| 17 |
-
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 18 |
-
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 19 |
-
|
| 20 |
-
noncomputable abbrev planeJetRelation (j : ℕ) : Submodule k M :=
|
| 21 |
-
(jetRelation (M := M) (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j).restrictScalars k
|
| 22 |
-
|
| 23 |
-
noncomputable def jetMonomialBasis (j : ℕ) :
|
| 24 |
-
Module.Basis (Fin (j+1)) k (MvPolynomial.homogeneousSubmodule (Fin 2) k j) :=
|
| 25 |
-
(binaryBasis k j).reindex Fin.revPerm
|
| 26 |
-
|
| 27 |
-
lemma jetMonomialBasis_apply (j : ℕ) (i : Fin (j+1)) :
|
| 28 |
-
(jetMonomialBasis k j i).val =
|
| 29 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k)^i.val * MvPolynomial.X 1^(j-i.val) := by
|
| 30 |
-
simp only [jetMonomialBasis, Module.Basis.reindex_apply, Fin.revPerm_symm,
|
| 31 |
-
Fin.revPerm_apply, binaryBasis_apply, Fin.val_rev]
|
| 32 |
-
congr 2 <;> omega
|
| 33 |
-
|
| 34 |
-
lemma homogeneous_smul_mem_jet (j : ℕ)
|
| 35 |
-
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) (v : M) :
|
| 36 |
-
P.val • v ∈ planeJetRelation (M := M) k j := by
|
| 37 |
-
have hp := (jetMonomialBasis k j).sum_repr P
|
| 38 |
-
have hv := congrArg (fun Q : MvPolynomial.homogeneousSubmodule (Fin 2) k j => Q.val • v) hp
|
| 39 |
-
have he : P.val • v = binarySum (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j
|
| 40 |
-
(fun i => (jetMonomialBasis k j).repr P i • v) := by
|
| 41 |
-
rw [← hv, binarySum_apply]
|
| 42 |
-
simp only [Submodule.coe_sum, Submodule.coe_smul_of_tower, Finset.sum_smul,
|
| 43 |
-
jetMonomialBasis_apply, smul_assoc]
|
| 44 |
-
apply Finset.sum_congr rfl
|
| 45 |
-
intro i _
|
| 46 |
-
exact smul_comm _ _ _
|
| 47 |
-
exact ⟨_,he.symm⟩
|
| 48 |
-
|
| 49 |
-
lemma homogeneous_smul_pair_mem_next (j : ℕ)
|
| 50 |
-
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) (v : M)
|
| 51 |
-
(hv : v ∈ planeJetRelation (M := M) k 1) : P.val • v ∈ planeJetRelation (M := M) k (j+1) := by
|
| 52 |
-
have hp := (jetMonomialBasis k j).sum_repr P
|
| 53 |
-
have he : P.val • v = binarySum (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j
|
| 54 |
-
(fun i => (jetMonomialBasis k j).repr P i • v) := by
|
| 55 |
-
rw [← congrArg (fun Q : MvPolynomial.homogeneousSubmodule (Fin 2) k j => Q.val • v) hp,
|
| 56 |
-
binarySum_apply]
|
| 57 |
-
simp only [Submodule.coe_sum, Submodule.coe_smul_of_tower, Finset.sum_smul,
|
| 58 |
-
jetMonomialBasis_apply, smul_assoc]
|
| 59 |
-
apply Finset.sum_congr rfl
|
| 60 |
-
intro i _
|
| 61 |
-
exact smul_comm _ _ _
|
| 62 |
-
rw [he]
|
| 63 |
-
apply binarySum_pairRelation
|
| 64 |
-
intro i
|
| 65 |
-
change _ ∈ (jetRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) 1).restrictScalars k at hv
|
| 66 |
-
have : (jetMonomialBasis k j).repr P i • v ∈ planeJetRelation (M := M) k 1 :=
|
| 67 |
-
(planeJetRelation (M := M) k 1).smul_mem _ hv
|
| 68 |
-
simpa only [planeJetRelation, Submodule.restrictScalars_mem, jetRelation_one] using this
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
def PlaneCompatible (σ : Representation k (SL2 k) M) : Prop :=
|
| 72 |
-
∀ (g : SL2 k) (P : MvPolynomial (Fin 2) k) (v : M),
|
| 73 |
-
σ g (P • v) = linearChange (dualMatrix k g) P • σ g v
|
| 74 |
-
|
| 75 |
-
lemma planeJetRelation_stable (σ : Representation k (SL2 k) M)
|
| 76 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k) :
|
| 77 |
-
planeJetRelation (M := M) k j ≤ (planeJetRelation (M := M) k j).comap (σ g) := by
|
| 78 |
-
rintro m ⟨v,rfl⟩
|
| 79 |
-
change σ g (binarySum (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j v) ∈ planeJetRelation (M := M) k j
|
| 80 |
-
rw [binarySum_apply, map_sum]
|
| 81 |
-
apply (planeJetRelation (M := M) k j).sum_mem
|
| 82 |
-
intro i _
|
| 83 |
-
rw [hσ]
|
| 84 |
-
have hh : ((MvPolynomial.X 0 : MvPolynomial (Fin 2) k)^i.val *
|
| 85 |
-
MvPolynomial.X 1^(j-i.val)).IsHomogeneous j := by
|
| 86 |
-
rw [← jetMonomialBasis_apply k j i]
|
| 87 |
-
exact (jetMonomialBasis k j i).property
|
| 88 |
-
exact homogeneous_smul_mem_jet k j
|
| 89 |
-
⟨_, linearChange_homogeneous (dualMatrix k g) hh⟩ _
|
| 90 |
-
|
| 91 |
-
noncomputable def planeJetRep (σ : Representation k (SL2 k) M)
|
| 92 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) :
|
| 93 |
-
Representation k (SL2 k) (M ⧸ planeJetRelation (M := M) k j) :=
|
| 94 |
-
Representation.quotient σ (planeJetRelation (M := M) k j) (planeJetRelation_stable k σ hσ j)
|
| 95 |
-
|
| 96 |
-
lemma planeJetRep_mk (σ : Representation k (SL2 k) M)
|
| 97 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k) (v : M) :
|
| 98 |
-
planeJetRep k σ hσ j g ((planeJetRelation (M := M) k j).mkQ v) =
|
| 99 |
-
(planeJetRelation (M := M) k j).mkQ (σ g v) := rfl
|
| 100 |
-
|
| 101 |
-
lemma planeJetRep_rational (σ : Representation k (SL2 k) M)
|
| 102 |
-
(hσ : PlaneCompatible k σ) (hr : IsRational k σ) (j : ℕ) :
|
| 103 |
-
IsRational k (planeJetRep k σ hσ j) := by
|
| 104 |
-
intro v l
|
| 105 |
-
obtain ⟨w, rfl⟩ := (planeJetRelation (M := M) k j).mkQ_surjective v
|
| 106 |
-
obtain ⟨P,hP⟩ := hr w (l.comp (planeJetRelation (M := M) k j).mkQ)
|
| 107 |
-
exact ⟨P,hP⟩
|
| 108 |
-
|
| 109 |
-
noncomputable abbrev planeJetLayerRelation (j : ℕ) : Submodule k (planeJetRelation (M := M) k j) :=
|
| 110 |
-
(planeJetRelation (M := M) k (j+1)).comap (planeJetRelation (M := M) k j).subtype
|
| 111 |
-
noncomputable abbrev planeJetLayer (j : ℕ) := (planeJetRelation (M := M) k j) ⧸ planeJetLayerRelation (M := M) k j
|
| 112 |
-
|
| 113 |
-
noncomputable def planeHomogeneousMultiply (j : ℕ)
|
| 114 |
-
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) : M →ₗ[k] planeJetRelation (M := M) k j where
|
| 115 |
-
toFun v := ⟨P.val • v, homogeneous_smul_mem_jet k j P v⟩
|
| 116 |
-
map_add' _ _ := Subtype.ext (smul_add _ _ _)
|
| 117 |
-
map_smul' _ _ := Subtype.ext (smul_comm _ _ _)
|
| 118 |
-
|
| 119 |
-
noncomputable def planeLayerMul (j : ℕ) (P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) :
|
| 120 |
-
M →ₗ[k] planeJetLayer (M := M) k j :=
|
| 121 |
-
(planeJetLayerRelation (M := M) k j).mkQ.comp (planeHomogeneousMultiply k j P)
|
| 122 |
-
|
| 123 |
-
lemma planeLayerMul_ker (j : ℕ) (P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) :
|
| 124 |
-
planeJetRelation (M := M) k 1 ≤ (planeLayerMul k j P).ker := by
|
| 125 |
-
intro v hv
|
| 126 |
-
exact (Submodule.Quotient.mk_eq_zero _).mpr (homogeneous_smul_pair_mem_next k j P v hv)
|
| 127 |
-
|
| 128 |
-
noncomputable def planeLayerBilinear (j : ℕ) :
|
| 129 |
-
(MvPolynomial.homogeneousSubmodule (Fin 2) k j) →ₗ[k]
|
| 130 |
-
((M ⧸ planeJetRelation (M := M) k 1) →ₗ[k] planeJetLayer (M := M) k j) where
|
| 131 |
-
toFun P := (planeJetRelation (M := M) k 1).liftQ (planeLayerMul k j P) (planeLayerMul_ker k j P)
|
| 132 |
-
map_add' P Q := by
|
| 133 |
-
apply LinearMap.ext
|
| 134 |
-
intro t
|
| 135 |
-
obtain ⟨v,rfl⟩ := (planeJetRelation (M := M) k 1).mkQ_surjective t
|
| 136 |
-
change (planeJetLayerRelation (M := M) k j).mkQ _ =
|
| 137 |
-
(planeJetLayerRelation (M := M) k j).mkQ _ + (planeJetLayerRelation (M := M) k j).mkQ _
|
| 138 |
-
rw [← map_add]
|
| 139 |
-
congr 1
|
| 140 |
-
exact Subtype.ext (add_smul P.val Q.val v)
|
| 141 |
-
map_smul' a P := by
|
| 142 |
-
apply LinearMap.ext
|
| 143 |
-
intro t
|
| 144 |
-
obtain ⟨v,rfl⟩ := (planeJetRelation (M := M) k 1).mkQ_surjective t
|
| 145 |
-
change (planeJetLayerRelation (M := M) k j).mkQ _ = a • (planeJetLayerRelation (M := M) k j).mkQ _
|
| 146 |
-
rw [← map_smul]
|
| 147 |
-
congr 1
|
| 148 |
-
exact Subtype.ext (smul_assoc a P.val v)
|
| 149 |
-
|
| 150 |
-
noncomputable def planeLayerMultiply (j : ℕ) :
|
| 151 |
-
(MvPolynomial.homogeneousSubmodule (Fin 2) k j) ⊗[k]
|
| 152 |
-
(M ⧸ planeJetRelation (M := M) k 1) →ₗ[k] planeJetLayer (M := M) k j :=
|
| 153 |
-
TensorProduct.lift (planeLayerBilinear k j)
|
| 154 |
-
|
| 155 |
-
lemma planeLayerMultiply_tmul_mk (j : ℕ)
|
| 156 |
-
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) (v : M) :
|
| 157 |
-
planeLayerMultiply k j (P ⊗ₜ[k] (planeJetRelation (M := M) k 1).mkQ v) =
|
| 158 |
-
(planeJetLayerRelation (M := M) k j).mkQ ⟨P.val • v, homogeneous_smul_mem_jet k j P v⟩ := rfl
|
| 159 |
-
|
| 160 |
-
lemma planeLayerMultiply_sum (j : ℕ) (v : Fin (j+1) → M) :
|
| 161 |
-
planeLayerMultiply k j (∑ i, jetMonomialBasis k j i ⊗ₜ[k] (planeJetRelation (M := M) k 1).mkQ (v i)) =
|
| 162 |
-
(planeJetLayerRelation (M := M) k j).mkQ
|
| 163 |
-
⟨binarySum (MvPolynomial.X 0) (MvPolynomial.X 1) j v, ⟨v,rfl⟩⟩ := by
|
| 164 |
-
rw [map_sum]
|
| 165 |
-
simp only [planeLayerMultiply_tmul_mk, ← map_sum]
|
| 166 |
-
congr 1
|
| 167 |
-
apply Subtype.ext
|
| 168 |
-
simp only [Submodule.coe_sum, jetMonomialBasis_apply, binarySum_apply]
|
| 169 |
-
|
| 170 |
-
lemma tensor_basis_decomposition {H T : Type u} [AddCommGroup H] [Module k H]
|
| 171 |
-
[AddCommGroup T] [Module k T] {ι : Type*} [Fintype ι]
|
| 172 |
-
(b : Module.Basis ι k H) (z : H ⊗[k] T) :
|
| 173 |
-
∃ v : ι → T, z = ∑ i, b i ⊗ₜ[k] v i := by
|
| 174 |
-
classical
|
| 175 |
-
induction z using TensorProduct.inductionOn with
|
| 176 |
-
| tmul h t =>
|
| 177 |
-
refine ⟨fun i => b.repr h i • t, ?_⟩
|
| 178 |
-
conv_lhs => rw [← b.sum_repr h, TensorProduct.sum_tmul]
|
| 179 |
-
apply Finset.sum_congr rfl
|
| 180 |
-
intro i _
|
| 181 |
-
rw [TensorProduct.smul_tmul, TensorProduct.tmul_smul]
|
| 182 |
-
| add z w hz hw =>
|
| 183 |
-
obtain ⟨v,rfl⟩ := hz
|
| 184 |
-
obtain ⟨w,rfl⟩ := hw
|
| 185 |
-
exact ⟨v+w, by simp only [Pi.add_apply, TensorProduct.tmul_add, Finset.sum_add_distrib]⟩
|
| 186 |
-
|
| 187 |
-
lemma planeLayerMultiply_surjective (j : ℕ) :
|
| 188 |
-
Function.Surjective (planeLayerMultiply (M := M) k j) := by
|
| 189 |
-
intro z
|
| 190 |
-
obtain ⟨⟨m,v,rfl⟩,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective z
|
| 191 |
-
exact ⟨_, planeLayerMultiply_sum k j v⟩
|
| 192 |
-
|
| 193 |
-
lemma planeLayerMultiply_injective
|
| 194 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m))
|
| 195 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 196 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 197 |
-
∃ w : M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) (j : ℕ) :
|
| 198 |
-
Function.Injective (planeLayerMultiply (M := M) k j) := by
|
| 199 |
-
have hzero : ∀ z, planeLayerMultiply (M := M) k j z = 0 → z = 0 := by
|
| 200 |
-
intro z hz
|
| 201 |
-
obtain ⟨v,rfl⟩ := tensor_basis_decomposition k (jetMonomialBasis k j) z
|
| 202 |
-
choose w hw using fun i => (planeJetRelation (M := M) k 1).mkQ_surjective (v i)
|
| 203 |
-
have he : v = fun i => (planeJetRelation (M := M) k 1).mkQ (w i) := funext fun i => (hw i).symm
|
| 204 |
-
rw [he, planeLayerMultiply_sum] at hz
|
| 205 |
-
have hm := (Submodule.Quotient.mk_eq_zero _).mp hz
|
| 206 |
-
have hc := (binarySum_mem_next_iff (MvPolynomial.X 0 : MvPolynomial (Fin 2) k)
|
| 207 |
-
(MvPolynomial.X 1) hx hy j w).mp hm
|
| 208 |
-
have hv : ∀ i, v i = 0 := by
|
| 209 |
-
intro i
|
| 210 |
-
rw [← hw i]
|
| 211 |
-
apply (Submodule.Quotient.mk_eq_zero _).mpr
|
| 212 |
-
simpa only [planeJetRelation, Submodule.restrictScalars_mem, jetRelation_one] using hc i
|
| 213 |
-
simp only [hv, TensorProduct.tmul_zero, Finset.sum_const_zero]
|
| 214 |
-
intro a b hab
|
| 215 |
-
apply sub_eq_zero.mp
|
| 216 |
-
apply hzero
|
| 217 |
-
rw [map_sub,hab,sub_self]
|
| 218 |
-
|
| 219 |
-
noncomputable def planeLayerEquiv
|
| 220 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m))
|
| 221 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 222 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 223 |
-
∃ w : M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) (j : ℕ) :
|
| 224 |
-
(MvPolynomial.homogeneousSubmodule (Fin 2) k j) ⊗[k]
|
| 225 |
-
(M ⧸ planeJetRelation (M := M) k 1) ≃ₗ[k] planeJetLayer (M := M) k j :=
|
| 226 |
-
LinearEquiv.ofBijective (planeLayerMultiply k j)
|
| 227 |
-
⟨planeLayerMultiply_injective k hx hy j, planeLayerMultiply_surjective k j⟩
|
| 228 |
-
|
| 229 |
-
noncomputable def planeJetSubrep (σ : Representation k (SL2 k) M)
|
| 230 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) :
|
| 231 |
-
Representation k (SL2 k) (planeJetRelation (M := M) k j) :=
|
| 232 |
-
Representation.subrepresentation σ _ (planeJetRelation_stable k σ hσ j)
|
| 233 |
-
|
| 234 |
-
lemma planeJetLayerRelation_stable (σ : Representation k (SL2 k) M)
|
| 235 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k) :
|
| 236 |
-
planeJetLayerRelation (M := M) k j ≤
|
| 237 |
-
(planeJetLayerRelation k j).comap (planeJetSubrep k σ hσ j g) := by
|
| 238 |
-
intro v hv
|
| 239 |
-
exact planeJetRelation_stable k σ hσ (j+1) g hv
|
| 240 |
-
|
| 241 |
-
noncomputable def planeJetLayerRep (σ : Representation k (SL2 k) M)
|
| 242 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) :
|
| 243 |
-
Representation k (SL2 k) (planeJetLayer (M := M) k j) :=
|
| 244 |
-
Representation.quotient (planeJetSubrep k σ hσ j) _
|
| 245 |
-
(planeJetLayerRelation_stable k σ hσ j)
|
| 246 |
-
|
| 247 |
-
lemma planeLayerMultiply_intertwines (σ : Representation k (SL2 k) M)
|
| 248 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k)
|
| 249 |
-
(z : (MvPolynomial.homogeneousSubmodule (Fin 2) k j) ⊗[k]
|
| 250 |
-
(M ⧸ planeJetRelation (M := M) k 1)) :
|
| 251 |
-
planeLayerMultiply (M := M) k j
|
| 252 |
-
(Representation.tprod ((homogeneousRepresentation j).comp (dualMatrix k))
|
| 253 |
-
(planeJetRep k σ hσ 1) g z) =
|
| 254 |
-
planeJetLayerRep k σ hσ j g (planeLayerMultiply k j z) := by
|
| 255 |
-
induction z using TensorProduct.inductionOn with
|
| 256 |
-
| tmul P v =>
|
| 257 |
-
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k 1).mkQ_surjective v
|
| 258 |
-
simp only [Representation.tprod_apply, TensorProduct.map_tmul,
|
| 259 |
-
planeJetRep_mk, planeLayerMultiply_tmul_mk]
|
| 260 |
-
change (planeJetLayerRelation k j).mkQ ⟨_,_⟩ =
|
| 261 |
-
(planeJetLayerRelation k j).mkQ ⟨σ g (P.val • w),_⟩
|
| 262 |
-
congr 1
|
| 263 |
-
apply Subtype.ext
|
| 264 |
-
exact (hσ g P.val w).symm
|
| 265 |
-
| add x y hx hy => simp only [map_add, hx, hy]
|
| 266 |
-
|
| 267 |
-
lemma planeLayer_finite [Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)] (j : ℕ) :
|
| 268 |
-
Module.Finite k (planeJetLayer (M := M) k j) :=
|
| 269 |
-
Module.Finite.of_surjective (planeLayerMultiply k j) (planeLayerMultiply_surjective k j)
|
| 270 |
-
|
| 271 |
-
lemma planeJetRelation_succ_le (j : ℕ) :
|
| 272 |
-
planeJetRelation (M := M) k (j+1) ≤ planeJetRelation (M := M) k j :=
|
| 273 |
-
jetRelation_succ_le (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j
|
| 274 |
-
|
| 275 |
-
lemma planeJetRelation_zero : planeJetRelation (M := M) k 0 = ⊤ := by
|
| 276 |
-
simp only [planeJetRelation, jetRelation_zero, Submodule.restrictScalars_top]
|
| 277 |
-
|
| 278 |
-
noncomputable def planeJetTransition (j : ℕ) :
|
| 279 |
-
(M ⧸ planeJetRelation (M := M) k (j+1)) →ₗ[k] (M ⧸ planeJetRelation (M := M) k j) :=
|
| 280 |
-
(planeJetRelation k (j+1)).mapQ (planeJetRelation k j) LinearMap.id
|
| 281 |
-
(planeJetRelation_succ_le k j)
|
| 282 |
-
|
| 283 |
-
lemma planeJetTransition_mk (j : ℕ) (v : M) :
|
| 284 |
-
planeJetTransition k j ((planeJetRelation (M := M) k (j+1)).mkQ v) =
|
| 285 |
-
(planeJetRelation (M := M) k j).mkQ v := rfl
|
| 286 |
-
|
| 287 |
-
lemma planeJetTransition_surjective (j : ℕ) :
|
| 288 |
-
Function.Surjective (planeJetTransition (M := M) k j) := by
|
| 289 |
-
intro v
|
| 290 |
-
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k j).mkQ_surjective v
|
| 291 |
-
exact ⟨(planeJetRelation k (j+1)).mkQ w,rfl⟩
|
| 292 |
-
|
| 293 |
-
noncomputable def planeJetLayerInclusion (j : ℕ) :
|
| 294 |
-
planeJetLayer (M := M) k j →ₗ[k] (M ⧸ planeJetRelation (M := M) k (j+1)) :=
|
| 295 |
-
(planeJetLayerRelation k j).liftQ
|
| 296 |
-
((planeJetRelation k (j+1)).mkQ.comp (planeJetRelation k j).subtype) (by
|
| 297 |
-
intro v hv
|
| 298 |
-
exact (Submodule.Quotient.mk_eq_zero _).mpr hv)
|
| 299 |
-
|
| 300 |
-
lemma planeJetLayerInclusion_mk (j : ℕ) (v : planeJetRelation (M := M) k j) :
|
| 301 |
-
planeJetLayerInclusion k j ((planeJetLayerRelation k j).mkQ v) =
|
| 302 |
-
(planeJetRelation (M := M) k (j+1)).mkQ v.val := rfl
|
| 303 |
-
|
| 304 |
-
lemma planeJetLayerInclusion_injective (j : ℕ) :
|
| 305 |
-
Function.Injective (planeJetLayerInclusion (M := M) k j) := by
|
| 306 |
-
apply (LinearMap.ker_eq_bot (f := planeJetLayerInclusion (M := M) k j)).mp
|
| 307 |
-
apply (LinearMap.ker_eq_bot' (f := planeJetLayerInclusion (M := M) k j)).mpr
|
| 308 |
-
intro v hv
|
| 309 |
-
obtain ⟨w,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective v
|
| 310 |
-
rw [planeJetLayerInclusion_mk] at hv
|
| 311 |
-
have hw : w.val ∈ planeJetRelation (M := M) k (j+1) :=
|
| 312 |
-
(Submodule.Quotient.mk_eq_zero (planeJetRelation k (j+1))).mp hv
|
| 313 |
-
exact (Submodule.Quotient.mk_eq_zero _).mpr hw
|
| 314 |
-
|
| 315 |
-
lemma planeJet_shortExact (j : ℕ) :
|
| 316 |
-
Function.Exact (planeJetLayerInclusion (M := M) k j) (planeJetTransition k j) := by
|
| 317 |
-
intro v
|
| 318 |
-
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k (j+1)).mkQ_surjective v
|
| 319 |
-
constructor
|
| 320 |
-
· intro hw
|
| 321 |
-
have hj : w ∈ planeJetRelation (M := M) k j := (Submodule.Quotient.mk_eq_zero _).mp hw
|
| 322 |
-
exact ⟨(planeJetLayerRelation k j).mkQ ⟨w,hj⟩,rfl⟩
|
| 323 |
-
· rintro ⟨z,hz⟩
|
| 324 |
-
obtain ⟨t,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective z
|
| 325 |
-
rw [← hz, planeJetLayerInclusion_mk, planeJetTransition_mk]
|
| 326 |
-
exact (Submodule.Quotient.mk_eq_zero _).mpr t.property
|
| 327 |
-
|
| 328 |
-
lemma planeJet_finite [Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)] (j : ℕ) :
|
| 329 |
-
Module.Finite k (M ⧸ planeJetRelation (M := M) k j) := by
|
| 330 |
-
induction j with
|
| 331 |
-
| zero =>
|
| 332 |
-
rw [planeJetRelation_zero]
|
| 333 |
-
infer_instance
|
| 334 |
-
| succ j ih =>
|
| 335 |
-
let := ih
|
| 336 |
-
let := planeLayer_finite (M := M) k j
|
| 337 |
-
exact Module.Finite.of_exact (planeJet_shortExact k j) (planeJetTransition_surjective k j)
|
| 338 |
-
|
| 339 |
-
lemma planeJetTransition_intertwines (σ : Representation k (SL2 k) M)
|
| 340 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k)
|
| 341 |
-
(v : M ⧸ planeJetRelation (M := M) k (j+1)) :
|
| 342 |
-
planeJetTransition k j (planeJetRep k σ hσ (j+1) g v) =
|
| 343 |
-
planeJetRep k σ hσ j g (planeJetTransition k j v) := by
|
| 344 |
-
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k (j+1)).mkQ_surjective v
|
| 345 |
-
rfl
|
| 346 |
-
|
| 347 |
-
lemma planeJetLayerInclusion_intertwines (σ : Representation k (SL2 k) M)
|
| 348 |
-
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k)
|
| 349 |
-
(v : planeJetLayer (M := M) k j) :
|
| 350 |
-
planeJetLayerInclusion k j (planeJetLayerRep k σ hσ j g v) =
|
| 351 |
-
planeJetRep k σ hσ (j+1) g (planeJetLayerInclusion k j v) := by
|
| 352 |
-
obtain ⟨w,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective v
|
| 353 |
-
rfl
|
| 354 |
-
end FiberFunctorProof
|
| 355 |
-
end
|
| 356 |
-
|
| 357 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.JetRelations
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.WeightBounds
|
| 4 |
+
|
| 5 |
+
namespace OAI
|
| 6 |
+
|
| 7 |
+
/-! Plane jet modules, homogeneous layers and equivariant inclusions. -/
|
| 8 |
+
|
| 9 |
+
noncomputable section
|
| 10 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 11 |
+
open scoped BigOperators
|
| 12 |
+
|
| 13 |
+
namespace FiberFunctorProof
|
| 14 |
+
open scoped TensorProduct BigOperators Pointwise
|
| 15 |
+
universe u
|
| 16 |
+
variable (k : Type u) [Field k]
|
| 17 |
+
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 18 |
+
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 19 |
+
|
| 20 |
+
noncomputable abbrev planeJetRelation (j : ℕ) : Submodule k M :=
|
| 21 |
+
(jetRelation (M := M) (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j).restrictScalars k
|
| 22 |
+
|
| 23 |
+
noncomputable def jetMonomialBasis (j : ℕ) :
|
| 24 |
+
Module.Basis (Fin (j+1)) k (MvPolynomial.homogeneousSubmodule (Fin 2) k j) :=
|
| 25 |
+
(binaryBasis k j).reindex Fin.revPerm
|
| 26 |
+
|
| 27 |
+
lemma jetMonomialBasis_apply (j : ℕ) (i : Fin (j+1)) :
|
| 28 |
+
(jetMonomialBasis k j i).val =
|
| 29 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k)^i.val * MvPolynomial.X 1^(j-i.val) := by
|
| 30 |
+
simp only [jetMonomialBasis, Module.Basis.reindex_apply, Fin.revPerm_symm,
|
| 31 |
+
Fin.revPerm_apply, binaryBasis_apply, Fin.val_rev]
|
| 32 |
+
congr 2 <;> omega
|
| 33 |
+
|
| 34 |
+
lemma homogeneous_smul_mem_jet (j : ℕ)
|
| 35 |
+
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) (v : M) :
|
| 36 |
+
P.val • v ∈ planeJetRelation (M := M) k j := by
|
| 37 |
+
have hp := (jetMonomialBasis k j).sum_repr P
|
| 38 |
+
have hv := congrArg (fun Q : MvPolynomial.homogeneousSubmodule (Fin 2) k j => Q.val • v) hp
|
| 39 |
+
have he : P.val • v = binarySum (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j
|
| 40 |
+
(fun i => (jetMonomialBasis k j).repr P i • v) := by
|
| 41 |
+
rw [← hv, binarySum_apply]
|
| 42 |
+
simp only [Submodule.coe_sum, Submodule.coe_smul_of_tower, Finset.sum_smul,
|
| 43 |
+
jetMonomialBasis_apply, smul_assoc]
|
| 44 |
+
apply Finset.sum_congr rfl
|
| 45 |
+
intro i _
|
| 46 |
+
exact smul_comm _ _ _
|
| 47 |
+
exact ⟨_,he.symm⟩
|
| 48 |
+
|
| 49 |
+
lemma homogeneous_smul_pair_mem_next (j : ℕ)
|
| 50 |
+
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) (v : M)
|
| 51 |
+
(hv : v ∈ planeJetRelation (M := M) k 1) : P.val • v ∈ planeJetRelation (M := M) k (j+1) := by
|
| 52 |
+
have hp := (jetMonomialBasis k j).sum_repr P
|
| 53 |
+
have he : P.val • v = binarySum (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j
|
| 54 |
+
(fun i => (jetMonomialBasis k j).repr P i • v) := by
|
| 55 |
+
rw [← congrArg (fun Q : MvPolynomial.homogeneousSubmodule (Fin 2) k j => Q.val • v) hp,
|
| 56 |
+
binarySum_apply]
|
| 57 |
+
simp only [Submodule.coe_sum, Submodule.coe_smul_of_tower, Finset.sum_smul,
|
| 58 |
+
jetMonomialBasis_apply, smul_assoc]
|
| 59 |
+
apply Finset.sum_congr rfl
|
| 60 |
+
intro i _
|
| 61 |
+
exact smul_comm _ _ _
|
| 62 |
+
rw [he]
|
| 63 |
+
apply binarySum_pairRelation
|
| 64 |
+
intro i
|
| 65 |
+
change _ ∈ (jetRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) 1).restrictScalars k at hv
|
| 66 |
+
have : (jetMonomialBasis k j).repr P i • v ∈ planeJetRelation (M := M) k 1 :=
|
| 67 |
+
(planeJetRelation (M := M) k 1).smul_mem _ hv
|
| 68 |
+
simpa only [planeJetRelation, Submodule.restrictScalars_mem, jetRelation_one] using this
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
def PlaneCompatible (σ : Representation k (SL2 k) M) : Prop :=
|
| 72 |
+
∀ (g : SL2 k) (P : MvPolynomial (Fin 2) k) (v : M),
|
| 73 |
+
σ g (P • v) = linearChange (dualMatrix k g) P • σ g v
|
| 74 |
+
|
| 75 |
+
lemma planeJetRelation_stable (σ : Representation k (SL2 k) M)
|
| 76 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k) :
|
| 77 |
+
planeJetRelation (M := M) k j ≤ (planeJetRelation (M := M) k j).comap (σ g) := by
|
| 78 |
+
rintro m ⟨v,rfl⟩
|
| 79 |
+
change σ g (binarySum (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j v) ∈ planeJetRelation (M := M) k j
|
| 80 |
+
rw [binarySum_apply, map_sum]
|
| 81 |
+
apply (planeJetRelation (M := M) k j).sum_mem
|
| 82 |
+
intro i _
|
| 83 |
+
rw [hσ]
|
| 84 |
+
have hh : ((MvPolynomial.X 0 : MvPolynomial (Fin 2) k)^i.val *
|
| 85 |
+
MvPolynomial.X 1^(j-i.val)).IsHomogeneous j := by
|
| 86 |
+
rw [← jetMonomialBasis_apply k j i]
|
| 87 |
+
exact (jetMonomialBasis k j i).property
|
| 88 |
+
exact homogeneous_smul_mem_jet k j
|
| 89 |
+
⟨_, linearChange_homogeneous (dualMatrix k g) hh⟩ _
|
| 90 |
+
|
| 91 |
+
noncomputable def planeJetRep (σ : Representation k (SL2 k) M)
|
| 92 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) :
|
| 93 |
+
Representation k (SL2 k) (M ⧸ planeJetRelation (M := M) k j) :=
|
| 94 |
+
Representation.quotient σ (planeJetRelation (M := M) k j) (planeJetRelation_stable k σ hσ j)
|
| 95 |
+
|
| 96 |
+
lemma planeJetRep_mk (σ : Representation k (SL2 k) M)
|
| 97 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k) (v : M) :
|
| 98 |
+
planeJetRep k σ hσ j g ((planeJetRelation (M := M) k j).mkQ v) =
|
| 99 |
+
(planeJetRelation (M := M) k j).mkQ (σ g v) := rfl
|
| 100 |
+
|
| 101 |
+
lemma planeJetRep_rational (σ : Representation k (SL2 k) M)
|
| 102 |
+
(hσ : PlaneCompatible k σ) (hr : IsRational k σ) (j : ℕ) :
|
| 103 |
+
IsRational k (planeJetRep k σ hσ j) := by
|
| 104 |
+
intro v l
|
| 105 |
+
obtain ⟨w, rfl⟩ := (planeJetRelation (M := M) k j).mkQ_surjective v
|
| 106 |
+
obtain ⟨P,hP⟩ := hr w (l.comp (planeJetRelation (M := M) k j).mkQ)
|
| 107 |
+
exact ⟨P,hP⟩
|
| 108 |
+
|
| 109 |
+
noncomputable abbrev planeJetLayerRelation (j : ℕ) : Submodule k (planeJetRelation (M := M) k j) :=
|
| 110 |
+
(planeJetRelation (M := M) k (j+1)).comap (planeJetRelation (M := M) k j).subtype
|
| 111 |
+
noncomputable abbrev planeJetLayer (j : ℕ) := (planeJetRelation (M := M) k j) ⧸ planeJetLayerRelation (M := M) k j
|
| 112 |
+
|
| 113 |
+
noncomputable def planeHomogeneousMultiply (j : ℕ)
|
| 114 |
+
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) : M →ₗ[k] planeJetRelation (M := M) k j where
|
| 115 |
+
toFun v := ⟨P.val • v, homogeneous_smul_mem_jet k j P v⟩
|
| 116 |
+
map_add' _ _ := Subtype.ext (smul_add _ _ _)
|
| 117 |
+
map_smul' _ _ := Subtype.ext (smul_comm _ _ _)
|
| 118 |
+
|
| 119 |
+
noncomputable def planeLayerMul (j : ℕ) (P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) :
|
| 120 |
+
M →ₗ[k] planeJetLayer (M := M) k j :=
|
| 121 |
+
(planeJetLayerRelation (M := M) k j).mkQ.comp (planeHomogeneousMultiply k j P)
|
| 122 |
+
|
| 123 |
+
lemma planeLayerMul_ker (j : ℕ) (P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) :
|
| 124 |
+
planeJetRelation (M := M) k 1 ≤ (planeLayerMul k j P).ker := by
|
| 125 |
+
intro v hv
|
| 126 |
+
exact (Submodule.Quotient.mk_eq_zero _).mpr (homogeneous_smul_pair_mem_next k j P v hv)
|
| 127 |
+
|
| 128 |
+
noncomputable def planeLayerBilinear (j : ℕ) :
|
| 129 |
+
(MvPolynomial.homogeneousSubmodule (Fin 2) k j) →ₗ[k]
|
| 130 |
+
((M ⧸ planeJetRelation (M := M) k 1) →ₗ[k] planeJetLayer (M := M) k j) where
|
| 131 |
+
toFun P := (planeJetRelation (M := M) k 1).liftQ (planeLayerMul k j P) (planeLayerMul_ker k j P)
|
| 132 |
+
map_add' P Q := by
|
| 133 |
+
apply LinearMap.ext
|
| 134 |
+
intro t
|
| 135 |
+
obtain ⟨v,rfl⟩ := (planeJetRelation (M := M) k 1).mkQ_surjective t
|
| 136 |
+
change (planeJetLayerRelation (M := M) k j).mkQ _ =
|
| 137 |
+
(planeJetLayerRelation (M := M) k j).mkQ _ + (planeJetLayerRelation (M := M) k j).mkQ _
|
| 138 |
+
rw [← map_add]
|
| 139 |
+
congr 1
|
| 140 |
+
exact Subtype.ext (add_smul P.val Q.val v)
|
| 141 |
+
map_smul' a P := by
|
| 142 |
+
apply LinearMap.ext
|
| 143 |
+
intro t
|
| 144 |
+
obtain ⟨v,rfl⟩ := (planeJetRelation (M := M) k 1).mkQ_surjective t
|
| 145 |
+
change (planeJetLayerRelation (M := M) k j).mkQ _ = a • (planeJetLayerRelation (M := M) k j).mkQ _
|
| 146 |
+
rw [← map_smul]
|
| 147 |
+
congr 1
|
| 148 |
+
exact Subtype.ext (smul_assoc a P.val v)
|
| 149 |
+
|
| 150 |
+
noncomputable def planeLayerMultiply (j : ℕ) :
|
| 151 |
+
(MvPolynomial.homogeneousSubmodule (Fin 2) k j) ⊗[k]
|
| 152 |
+
(M ⧸ planeJetRelation (M := M) k 1) →ₗ[k] planeJetLayer (M := M) k j :=
|
| 153 |
+
TensorProduct.lift (planeLayerBilinear k j)
|
| 154 |
+
|
| 155 |
+
lemma planeLayerMultiply_tmul_mk (j : ℕ)
|
| 156 |
+
(P : MvPolynomial.homogeneousSubmodule (Fin 2) k j) (v : M) :
|
| 157 |
+
planeLayerMultiply k j (P ⊗ₜ[k] (planeJetRelation (M := M) k 1).mkQ v) =
|
| 158 |
+
(planeJetLayerRelation (M := M) k j).mkQ ⟨P.val • v, homogeneous_smul_mem_jet k j P v⟩ := rfl
|
| 159 |
+
|
| 160 |
+
lemma planeLayerMultiply_sum (j : ℕ) (v : Fin (j+1) → M) :
|
| 161 |
+
planeLayerMultiply k j (∑ i, jetMonomialBasis k j i ⊗ₜ[k] (planeJetRelation (M := M) k 1).mkQ (v i)) =
|
| 162 |
+
(planeJetLayerRelation (M := M) k j).mkQ
|
| 163 |
+
⟨binarySum (MvPolynomial.X 0) (MvPolynomial.X 1) j v, ⟨v,rfl⟩⟩ := by
|
| 164 |
+
rw [map_sum]
|
| 165 |
+
simp only [planeLayerMultiply_tmul_mk, ← map_sum]
|
| 166 |
+
congr 1
|
| 167 |
+
apply Subtype.ext
|
| 168 |
+
simp only [Submodule.coe_sum, jetMonomialBasis_apply, binarySum_apply]
|
| 169 |
+
|
| 170 |
+
lemma tensor_basis_decomposition {H T : Type u} [AddCommGroup H] [Module k H]
|
| 171 |
+
[AddCommGroup T] [Module k T] {ι : Type*} [Fintype ι]
|
| 172 |
+
(b : Module.Basis ι k H) (z : H ⊗[k] T) :
|
| 173 |
+
∃ v : ι → T, z = ∑ i, b i ⊗ₜ[k] v i := by
|
| 174 |
+
classical
|
| 175 |
+
induction z using TensorProduct.inductionOn with
|
| 176 |
+
| tmul h t =>
|
| 177 |
+
refine ⟨fun i => b.repr h i • t, ?_⟩
|
| 178 |
+
conv_lhs => rw [← b.sum_repr h, TensorProduct.sum_tmul]
|
| 179 |
+
apply Finset.sum_congr rfl
|
| 180 |
+
intro i _
|
| 181 |
+
rw [TensorProduct.smul_tmul, TensorProduct.tmul_smul]
|
| 182 |
+
| add z w hz hw =>
|
| 183 |
+
obtain ⟨v,rfl⟩ := hz
|
| 184 |
+
obtain ⟨w,rfl⟩ := hw
|
| 185 |
+
exact ⟨v+w, by simp only [Pi.add_apply, TensorProduct.tmul_add, Finset.sum_add_distrib]⟩
|
| 186 |
+
|
| 187 |
+
lemma planeLayerMultiply_surjective (j : ℕ) :
|
| 188 |
+
Function.Surjective (planeLayerMultiply (M := M) k j) := by
|
| 189 |
+
intro z
|
| 190 |
+
obtain ⟨⟨m,v,rfl⟩,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective z
|
| 191 |
+
exact ⟨_, planeLayerMultiply_sum k j v⟩
|
| 192 |
+
|
| 193 |
+
lemma planeLayerMultiply_injective
|
| 194 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m))
|
| 195 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 196 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 197 |
+
∃ w : M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) (j : ℕ) :
|
| 198 |
+
Function.Injective (planeLayerMultiply (M := M) k j) := by
|
| 199 |
+
have hzero : ∀ z, planeLayerMultiply (M := M) k j z = 0 → z = 0 := by
|
| 200 |
+
intro z hz
|
| 201 |
+
obtain ⟨v,rfl⟩ := tensor_basis_decomposition k (jetMonomialBasis k j) z
|
| 202 |
+
choose w hw using fun i => (planeJetRelation (M := M) k 1).mkQ_surjective (v i)
|
| 203 |
+
have he : v = fun i => (planeJetRelation (M := M) k 1).mkQ (w i) := funext fun i => (hw i).symm
|
| 204 |
+
rw [he, planeLayerMultiply_sum] at hz
|
| 205 |
+
have hm := (Submodule.Quotient.mk_eq_zero _).mp hz
|
| 206 |
+
have hc := (binarySum_mem_next_iff (MvPolynomial.X 0 : MvPolynomial (Fin 2) k)
|
| 207 |
+
(MvPolynomial.X 1) hx hy j w).mp hm
|
| 208 |
+
have hv : ∀ i, v i = 0 := by
|
| 209 |
+
intro i
|
| 210 |
+
rw [← hw i]
|
| 211 |
+
apply (Submodule.Quotient.mk_eq_zero _).mpr
|
| 212 |
+
simpa only [planeJetRelation, Submodule.restrictScalars_mem, jetRelation_one] using hc i
|
| 213 |
+
simp only [hv, TensorProduct.tmul_zero, Finset.sum_const_zero]
|
| 214 |
+
intro a b hab
|
| 215 |
+
apply sub_eq_zero.mp
|
| 216 |
+
apply hzero
|
| 217 |
+
rw [map_sub,hab,sub_self]
|
| 218 |
+
|
| 219 |
+
noncomputable def planeLayerEquiv
|
| 220 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m))
|
| 221 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 222 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 223 |
+
∃ w : M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) (j : ℕ) :
|
| 224 |
+
(MvPolynomial.homogeneousSubmodule (Fin 2) k j) ⊗[k]
|
| 225 |
+
(M ⧸ planeJetRelation (M := M) k 1) ≃ₗ[k] planeJetLayer (M := M) k j :=
|
| 226 |
+
LinearEquiv.ofBijective (planeLayerMultiply k j)
|
| 227 |
+
⟨planeLayerMultiply_injective k hx hy j, planeLayerMultiply_surjective k j⟩
|
| 228 |
+
|
| 229 |
+
noncomputable def planeJetSubrep (σ : Representation k (SL2 k) M)
|
| 230 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) :
|
| 231 |
+
Representation k (SL2 k) (planeJetRelation (M := M) k j) :=
|
| 232 |
+
Representation.subrepresentation σ _ (planeJetRelation_stable k σ hσ j)
|
| 233 |
+
|
| 234 |
+
lemma planeJetLayerRelation_stable (σ : Representation k (SL2 k) M)
|
| 235 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k) :
|
| 236 |
+
planeJetLayerRelation (M := M) k j ≤
|
| 237 |
+
(planeJetLayerRelation k j).comap (planeJetSubrep k σ hσ j g) := by
|
| 238 |
+
intro v hv
|
| 239 |
+
exact planeJetRelation_stable k σ hσ (j+1) g hv
|
| 240 |
+
|
| 241 |
+
noncomputable def planeJetLayerRep (σ : Representation k (SL2 k) M)
|
| 242 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) :
|
| 243 |
+
Representation k (SL2 k) (planeJetLayer (M := M) k j) :=
|
| 244 |
+
Representation.quotient (planeJetSubrep k σ hσ j) _
|
| 245 |
+
(planeJetLayerRelation_stable k σ hσ j)
|
| 246 |
+
|
| 247 |
+
lemma planeLayerMultiply_intertwines (σ : Representation k (SL2 k) M)
|
| 248 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k)
|
| 249 |
+
(z : (MvPolynomial.homogeneousSubmodule (Fin 2) k j) ⊗[k]
|
| 250 |
+
(M ⧸ planeJetRelation (M := M) k 1)) :
|
| 251 |
+
planeLayerMultiply (M := M) k j
|
| 252 |
+
(Representation.tprod ((homogeneousRepresentation j).comp (dualMatrix k))
|
| 253 |
+
(planeJetRep k σ hσ 1) g z) =
|
| 254 |
+
planeJetLayerRep k σ hσ j g (planeLayerMultiply k j z) := by
|
| 255 |
+
induction z using TensorProduct.inductionOn with
|
| 256 |
+
| tmul P v =>
|
| 257 |
+
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k 1).mkQ_surjective v
|
| 258 |
+
simp only [Representation.tprod_apply, TensorProduct.map_tmul,
|
| 259 |
+
planeJetRep_mk, planeLayerMultiply_tmul_mk]
|
| 260 |
+
change (planeJetLayerRelation k j).mkQ ⟨_,_⟩ =
|
| 261 |
+
(planeJetLayerRelation k j).mkQ ⟨σ g (P.val • w),_⟩
|
| 262 |
+
congr 1
|
| 263 |
+
apply Subtype.ext
|
| 264 |
+
exact (hσ g P.val w).symm
|
| 265 |
+
| add x y hx hy => simp only [map_add, hx, hy]
|
| 266 |
+
|
| 267 |
+
lemma planeLayer_finite [Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)] (j : ℕ) :
|
| 268 |
+
Module.Finite k (planeJetLayer (M := M) k j) :=
|
| 269 |
+
Module.Finite.of_surjective (planeLayerMultiply k j) (planeLayerMultiply_surjective k j)
|
| 270 |
+
|
| 271 |
+
lemma planeJetRelation_succ_le (j : ℕ) :
|
| 272 |
+
planeJetRelation (M := M) k (j+1) ≤ planeJetRelation (M := M) k j :=
|
| 273 |
+
jetRelation_succ_le (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j
|
| 274 |
+
|
| 275 |
+
lemma planeJetRelation_zero : planeJetRelation (M := M) k 0 = ⊤ := by
|
| 276 |
+
simp only [planeJetRelation, jetRelation_zero, Submodule.restrictScalars_top]
|
| 277 |
+
|
| 278 |
+
noncomputable def planeJetTransition (j : ℕ) :
|
| 279 |
+
(M ⧸ planeJetRelation (M := M) k (j+1)) →ₗ[k] (M ⧸ planeJetRelation (M := M) k j) :=
|
| 280 |
+
(planeJetRelation k (j+1)).mapQ (planeJetRelation k j) LinearMap.id
|
| 281 |
+
(planeJetRelation_succ_le k j)
|
| 282 |
+
|
| 283 |
+
lemma planeJetTransition_mk (j : ℕ) (v : M) :
|
| 284 |
+
planeJetTransition k j ((planeJetRelation (M := M) k (j+1)).mkQ v) =
|
| 285 |
+
(planeJetRelation (M := M) k j).mkQ v := rfl
|
| 286 |
+
|
| 287 |
+
lemma planeJetTransition_surjective (j : ℕ) :
|
| 288 |
+
Function.Surjective (planeJetTransition (M := M) k j) := by
|
| 289 |
+
intro v
|
| 290 |
+
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k j).mkQ_surjective v
|
| 291 |
+
exact ⟨(planeJetRelation k (j+1)).mkQ w,rfl⟩
|
| 292 |
+
|
| 293 |
+
noncomputable def planeJetLayerInclusion (j : ℕ) :
|
| 294 |
+
planeJetLayer (M := M) k j →ₗ[k] (M ⧸ planeJetRelation (M := M) k (j+1)) :=
|
| 295 |
+
(planeJetLayerRelation k j).liftQ
|
| 296 |
+
((planeJetRelation k (j+1)).mkQ.comp (planeJetRelation k j).subtype) (by
|
| 297 |
+
intro v hv
|
| 298 |
+
exact (Submodule.Quotient.mk_eq_zero _).mpr hv)
|
| 299 |
+
|
| 300 |
+
lemma planeJetLayerInclusion_mk (j : ℕ) (v : planeJetRelation (M := M) k j) :
|
| 301 |
+
planeJetLayerInclusion k j ((planeJetLayerRelation k j).mkQ v) =
|
| 302 |
+
(planeJetRelation (M := M) k (j+1)).mkQ v.val := rfl
|
| 303 |
+
|
| 304 |
+
lemma planeJetLayerInclusion_injective (j : ℕ) :
|
| 305 |
+
Function.Injective (planeJetLayerInclusion (M := M) k j) := by
|
| 306 |
+
apply (LinearMap.ker_eq_bot (f := planeJetLayerInclusion (M := M) k j)).mp
|
| 307 |
+
apply (LinearMap.ker_eq_bot' (f := planeJetLayerInclusion (M := M) k j)).mpr
|
| 308 |
+
intro v hv
|
| 309 |
+
obtain ⟨w,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective v
|
| 310 |
+
rw [planeJetLayerInclusion_mk] at hv
|
| 311 |
+
have hw : w.val ∈ planeJetRelation (M := M) k (j+1) :=
|
| 312 |
+
(Submodule.Quotient.mk_eq_zero (planeJetRelation k (j+1))).mp hv
|
| 313 |
+
exact (Submodule.Quotient.mk_eq_zero _).mpr hw
|
| 314 |
+
|
| 315 |
+
lemma planeJet_shortExact (j : ℕ) :
|
| 316 |
+
Function.Exact (planeJetLayerInclusion (M := M) k j) (planeJetTransition k j) := by
|
| 317 |
+
intro v
|
| 318 |
+
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k (j+1)).mkQ_surjective v
|
| 319 |
+
constructor
|
| 320 |
+
· intro hw
|
| 321 |
+
have hj : w ∈ planeJetRelation (M := M) k j := (Submodule.Quotient.mk_eq_zero _).mp hw
|
| 322 |
+
exact ⟨(planeJetLayerRelation k j).mkQ ⟨w,hj⟩,rfl⟩
|
| 323 |
+
· rintro ⟨z,hz⟩
|
| 324 |
+
obtain ⟨t,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective z
|
| 325 |
+
rw [← hz, planeJetLayerInclusion_mk, planeJetTransition_mk]
|
| 326 |
+
exact (Submodule.Quotient.mk_eq_zero _).mpr t.property
|
| 327 |
+
|
| 328 |
+
lemma planeJet_finite [Module.Finite k (M ⧸ planeJetRelation (M := M) k 1)] (j : ℕ) :
|
| 329 |
+
Module.Finite k (M ⧸ planeJetRelation (M := M) k j) := by
|
| 330 |
+
induction j with
|
| 331 |
+
| zero =>
|
| 332 |
+
rw [planeJetRelation_zero]
|
| 333 |
+
infer_instance
|
| 334 |
+
| succ j ih =>
|
| 335 |
+
let := ih
|
| 336 |
+
let := planeLayer_finite (M := M) k j
|
| 337 |
+
exact Module.Finite.of_exact (planeJet_shortExact k j) (planeJetTransition_surjective k j)
|
| 338 |
+
|
| 339 |
+
lemma planeJetTransition_intertwines (σ : Representation k (SL2 k) M)
|
| 340 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k)
|
| 341 |
+
(v : M ⧸ planeJetRelation (M := M) k (j+1)) :
|
| 342 |
+
planeJetTransition k j (planeJetRep k σ hσ (j+1) g v) =
|
| 343 |
+
planeJetRep k σ hσ j g (planeJetTransition k j v) := by
|
| 344 |
+
obtain ⟨w,rfl⟩ := (planeJetRelation (M := M) k (j+1)).mkQ_surjective v
|
| 345 |
+
rfl
|
| 346 |
+
|
| 347 |
+
lemma planeJetLayerInclusion_intertwines (σ : Representation k (SL2 k) M)
|
| 348 |
+
(hσ : PlaneCompatible k σ) (j : ℕ) (g : SL2 k)
|
| 349 |
+
(v : planeJetLayer (M := M) k j) :
|
| 350 |
+
planeJetLayerInclusion k j (planeJetLayerRep k σ hσ j g v) =
|
| 351 |
+
planeJetRep k σ hσ (j+1) g (planeJetLayerInclusion k j v) := by
|
| 352 |
+
obtain ⟨w,rfl⟩ := (planeJetLayerRelation (M := M) k j).mkQ_surjective v
|
| 353 |
+
rfl
|
| 354 |
+
end FiberFunctorProof
|
| 355 |
+
end
|
| 356 |
+
|
| 357 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/JetTriviality.lean
CHANGED
|
@@ -1,108 +1,108 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped BigOperators Pointwise
|
| 7 |
-
section
|
| 8 |
-
variable {R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 9 |
-
[AddCommGroup N] [Module R N]
|
| 10 |
-
|
| 11 |
-
lemma map_binarySum (f : M →ₗ[R] N) (x y : R) (j : ℕ) (v : Fin (j+1) → M) :
|
| 12 |
-
f (binarySum x y j v) = binarySum x y j (f ∘ v) := by
|
| 13 |
-
simp only [binarySum_apply, map_sum, map_smul, Function.comp_apply]
|
| 14 |
-
|
| 15 |
-
lemma jetRelation_map_le (f : M →ₗ[R] N) (x y : R) (j : ℕ) :
|
| 16 |
-
jetRelation x y j ≤ (jetRelation x y j).comap f := by
|
| 17 |
-
rintro m ⟨v,rfl⟩
|
| 18 |
-
exact ⟨f ∘ v, (map_binarySum f x y j v).symm⟩
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
def jetMap (f : M →ₗ[R] N) (x y : R) (j : ℕ) :
|
| 22 |
-
(M ⧸ jetRelation (M := M) x y j) →ₗ[R] (N ⧸ jetRelation (M := N) x y j) :=
|
| 23 |
-
(jetRelation (M := M) x y j).mapQ (jetRelation (M := N) x y j) f (jetRelation_map_le f x y j)
|
| 24 |
-
|
| 25 |
-
lemma jetMap_mk (f : M →ₗ[R] N) (x y : R) (j : ℕ) (m : M) :
|
| 26 |
-
jetMap f x y j ((jetRelation x y j).mkQ m) = (jetRelation x y j).mkQ (f m) := rfl
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
lemma jetMap_surjective (f : M →ₗ[R] N) (x y : R)
|
| 31 |
-
(h0 : ∀ n : N, ∃ m : M, n - f m ∈ pairRelation x y) (j : ℕ) :
|
| 32 |
-
Function.Surjective (jetMap f x y j) := by
|
| 33 |
-
suffices H : ∀ n : N, ∃ m : M, n - f m ∈ jetRelation x y j by
|
| 34 |
-
intro z
|
| 35 |
-
obtain ⟨n,rfl⟩ := (jetRelation (M := N) x y j).mkQ_surjective z
|
| 36 |
-
obtain ⟨m,hm⟩ := H n
|
| 37 |
-
refine ⟨(jetRelation x y j).mkQ m, ?_⟩
|
| 38 |
-
rw [jetMap_mk, ← sub_eq_zero, ← map_sub]
|
| 39 |
-
apply (Submodule.Quotient.mk_eq_zero _).mpr
|
| 40 |
-
simpa only [neg_sub] using (jetRelation x y j).neg_mem hm
|
| 41 |
-
induction j with
|
| 42 |
-
| zero => intro n; exact ⟨0, by rw [jetRelation_zero]; trivial⟩
|
| 43 |
-
| succ j ih =>
|
| 44 |
-
intro n
|
| 45 |
-
obtain ⟨m, v, hv⟩ := ih n
|
| 46 |
-
choose w hw using fun i => h0 (v i)
|
| 47 |
-
refine ⟨m + binarySum x y j w, ?_⟩
|
| 48 |
-
have he : n - f (m + binarySum x y j w) =
|
| 49 |
-
binarySum x y j (v - f ∘ w) := by
|
| 50 |
-
rw [map_add, map_binarySum, map_sub, hv]
|
| 51 |
-
abel
|
| 52 |
-
rw [he]
|
| 53 |
-
exact binarySum_pairRelation x y j _ hw
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
lemma jetMap_injective (f : M →ₗ[R] N) (x y : R)
|
| 58 |
-
(hx : Function.Injective (fun n : N => x • n))
|
| 59 |
-
(hy : ∀ v n : N, y • v = x • n → ∃ w : N, v = x • w)
|
| 60 |
-
(h0 : ∀ m : M, f m ∈ pairRelation x y → m ∈ pairRelation x y) (j : ℕ) :
|
| 61 |
-
Function.Injective (jetMap f x y j) := by
|
| 62 |
-
have H : ∀ j (m : M), f m ∈ jetRelation x y j → m ∈ jetRelation x y j := by
|
| 63 |
-
intro j
|
| 64 |
-
induction j with
|
| 65 |
-
| zero => intros; rw [jetRelation_zero]; trivial
|
| 66 |
-
| succ j ih =>
|
| 67 |
-
intro m hm
|
| 68 |
-
obtain ⟨v,rfl⟩ := ih m (jetRelation_succ_le x y j hm)
|
| 69 |
-
rw [map_binarySum] at hm
|
| 70 |
-
apply binarySum_pairRelation
|
| 71 |
-
intro i
|
| 72 |
-
exact h0 (v i) ((binarySum_mem_next_iff x y hx hy j (f ∘ v)).mp hm i)
|
| 73 |
-
apply (LinearMap.ker_eq_bot (f := jetMap f x y j)).mp
|
| 74 |
-
apply (LinearMap.ker_eq_bot' (f := jetMap f x y j)).mpr
|
| 75 |
-
intro z hz
|
| 76 |
-
obtain ⟨m,rfl⟩ := (jetRelation (M := M) x y j).mkQ_surjective z
|
| 77 |
-
rw [jetMap_mk] at hz
|
| 78 |
-
exact (Submodule.Quotient.mk_eq_zero _).mpr
|
| 79 |
-
(H j m ((Submodule.Quotient.mk_eq_zero _).mp hz))
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
theorem jetMap_bijective (f : M →ₗ[R] N) (x y : R)
|
| 84 |
-
(hx : Function.Injective (fun n : N => x • n))
|
| 85 |
-
(hy : ∀ v n : N, y • v = x • n → ∃ w : N, v = x • w)
|
| 86 |
-
(h0 : Function.Bijective (jetMap f x y 1)) (j : ℕ) :
|
| 87 |
-
Function.Bijective (jetMap f x y j) := by
|
| 88 |
-
constructor
|
| 89 |
-
· apply jetMap_injective f x y hx hy
|
| 90 |
-
intro m hm
|
| 91 |
-
have hz : jetMap f x y 1 ((jetRelation x y 1).mkQ m) = 0 := by
|
| 92 |
-
rw [jetMap_mk]
|
| 93 |
-
apply (Submodule.Quotient.mk_eq_zero _).mpr
|
| 94 |
-
simpa only [jetRelation_one] using hm
|
| 95 |
-
have hm0 := h0.1 (hz.trans (map_zero _).symm)
|
| 96 |
-
simpa only [jetRelation_one] using (Submodule.Quotient.mk_eq_zero _).mp hm0
|
| 97 |
-
· apply jetMap_surjective f x y
|
| 98 |
-
intro n
|
| 99 |
-
obtain ⟨z,hz⟩ := h0.2 ((jetRelation x y 1).mkQ n)
|
| 100 |
-
obtain ⟨m,rfl⟩ := (jetRelation x y 1).mkQ_surjective z
|
| 101 |
-
refine ⟨m, ?_⟩
|
| 102 |
-
rw [jetMap_mk] at hz
|
| 103 |
-
have hh : (jetRelation x y 1).mkQ (n - f m) = 0 := by rw [map_sub, hz, sub_self]
|
| 104 |
-
simpa only [jetRelation_one] using (Submodule.Quotient.mk_eq_zero _).mp hh
|
| 105 |
-
end
|
| 106 |
-
end FiberFunctorProof
|
| 107 |
-
|
| 108 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped BigOperators Pointwise
|
| 7 |
+
section
|
| 8 |
+
variable {R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 9 |
+
[AddCommGroup N] [Module R N]
|
| 10 |
+
|
| 11 |
+
lemma map_binarySum (f : M →ₗ[R] N) (x y : R) (j : ℕ) (v : Fin (j+1) → M) :
|
| 12 |
+
f (binarySum x y j v) = binarySum x y j (f ∘ v) := by
|
| 13 |
+
simp only [binarySum_apply, map_sum, map_smul, Function.comp_apply]
|
| 14 |
+
|
| 15 |
+
lemma jetRelation_map_le (f : M →ₗ[R] N) (x y : R) (j : ℕ) :
|
| 16 |
+
jetRelation x y j ≤ (jetRelation x y j).comap f := by
|
| 17 |
+
rintro m ⟨v,rfl⟩
|
| 18 |
+
exact ⟨f ∘ v, (map_binarySum f x y j v).symm⟩
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def jetMap (f : M →ₗ[R] N) (x y : R) (j : ℕ) :
|
| 22 |
+
(M ⧸ jetRelation (M := M) x y j) →ₗ[R] (N ⧸ jetRelation (M := N) x y j) :=
|
| 23 |
+
(jetRelation (M := M) x y j).mapQ (jetRelation (M := N) x y j) f (jetRelation_map_le f x y j)
|
| 24 |
+
|
| 25 |
+
lemma jetMap_mk (f : M →ₗ[R] N) (x y : R) (j : ℕ) (m : M) :
|
| 26 |
+
jetMap f x y j ((jetRelation x y j).mkQ m) = (jetRelation x y j).mkQ (f m) := rfl
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
lemma jetMap_surjective (f : M →ₗ[R] N) (x y : R)
|
| 31 |
+
(h0 : ∀ n : N, ∃ m : M, n - f m ∈ pairRelation x y) (j : ℕ) :
|
| 32 |
+
Function.Surjective (jetMap f x y j) := by
|
| 33 |
+
suffices H : ∀ n : N, ∃ m : M, n - f m ∈ jetRelation x y j by
|
| 34 |
+
intro z
|
| 35 |
+
obtain ⟨n,rfl⟩ := (jetRelation (M := N) x y j).mkQ_surjective z
|
| 36 |
+
obtain ⟨m,hm⟩ := H n
|
| 37 |
+
refine ⟨(jetRelation x y j).mkQ m, ?_⟩
|
| 38 |
+
rw [jetMap_mk, ← sub_eq_zero, ← map_sub]
|
| 39 |
+
apply (Submodule.Quotient.mk_eq_zero _).mpr
|
| 40 |
+
simpa only [neg_sub] using (jetRelation x y j).neg_mem hm
|
| 41 |
+
induction j with
|
| 42 |
+
| zero => intro n; exact ⟨0, by rw [jetRelation_zero]; trivial⟩
|
| 43 |
+
| succ j ih =>
|
| 44 |
+
intro n
|
| 45 |
+
obtain ⟨m, v, hv⟩ := ih n
|
| 46 |
+
choose w hw using fun i => h0 (v i)
|
| 47 |
+
refine ⟨m + binarySum x y j w, ?_⟩
|
| 48 |
+
have he : n - f (m + binarySum x y j w) =
|
| 49 |
+
binarySum x y j (v - f ∘ w) := by
|
| 50 |
+
rw [map_add, map_binarySum, map_sub, hv]
|
| 51 |
+
abel
|
| 52 |
+
rw [he]
|
| 53 |
+
exact binarySum_pairRelation x y j _ hw
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
lemma jetMap_injective (f : M →ₗ[R] N) (x y : R)
|
| 58 |
+
(hx : Function.Injective (fun n : N => x • n))
|
| 59 |
+
(hy : ∀ v n : N, y • v = x • n → ∃ w : N, v = x • w)
|
| 60 |
+
(h0 : ∀ m : M, f m ∈ pairRelation x y → m ∈ pairRelation x y) (j : ℕ) :
|
| 61 |
+
Function.Injective (jetMap f x y j) := by
|
| 62 |
+
have H : ∀ j (m : M), f m ∈ jetRelation x y j → m ∈ jetRelation x y j := by
|
| 63 |
+
intro j
|
| 64 |
+
induction j with
|
| 65 |
+
| zero => intros; rw [jetRelation_zero]; trivial
|
| 66 |
+
| succ j ih =>
|
| 67 |
+
intro m hm
|
| 68 |
+
obtain ⟨v,rfl⟩ := ih m (jetRelation_succ_le x y j hm)
|
| 69 |
+
rw [map_binarySum] at hm
|
| 70 |
+
apply binarySum_pairRelation
|
| 71 |
+
intro i
|
| 72 |
+
exact h0 (v i) ((binarySum_mem_next_iff x y hx hy j (f ∘ v)).mp hm i)
|
| 73 |
+
apply (LinearMap.ker_eq_bot (f := jetMap f x y j)).mp
|
| 74 |
+
apply (LinearMap.ker_eq_bot' (f := jetMap f x y j)).mpr
|
| 75 |
+
intro z hz
|
| 76 |
+
obtain ⟨m,rfl⟩ := (jetRelation (M := M) x y j).mkQ_surjective z
|
| 77 |
+
rw [jetMap_mk] at hz
|
| 78 |
+
exact (Submodule.Quotient.mk_eq_zero _).mpr
|
| 79 |
+
(H j m ((Submodule.Quotient.mk_eq_zero _).mp hz))
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
theorem jetMap_bijective (f : M →ₗ[R] N) (x y : R)
|
| 84 |
+
(hx : Function.Injective (fun n : N => x • n))
|
| 85 |
+
(hy : ∀ v n : N, y • v = x • n → ∃ w : N, v = x • w)
|
| 86 |
+
(h0 : Function.Bijective (jetMap f x y 1)) (j : ℕ) :
|
| 87 |
+
Function.Bijective (jetMap f x y j) := by
|
| 88 |
+
constructor
|
| 89 |
+
· apply jetMap_injective f x y hx hy
|
| 90 |
+
intro m hm
|
| 91 |
+
have hz : jetMap f x y 1 ((jetRelation x y 1).mkQ m) = 0 := by
|
| 92 |
+
rw [jetMap_mk]
|
| 93 |
+
apply (Submodule.Quotient.mk_eq_zero _).mpr
|
| 94 |
+
simpa only [jetRelation_one] using hm
|
| 95 |
+
have hm0 := h0.1 (hz.trans (map_zero _).symm)
|
| 96 |
+
simpa only [jetRelation_one] using (Submodule.Quotient.mk_eq_zero _).mp hm0
|
| 97 |
+
· apply jetMap_surjective f x y
|
| 98 |
+
intro n
|
| 99 |
+
obtain ⟨z,hz⟩ := h0.2 ((jetRelation x y 1).mkQ n)
|
| 100 |
+
obtain ⟨m,rfl⟩ := (jetRelation x y 1).mkQ_surjective z
|
| 101 |
+
refine ⟨m, ?_⟩
|
| 102 |
+
rw [jetMap_mk] at hz
|
| 103 |
+
have hh : (jetRelation x y 1).mkQ (n - f m) = 0 := by rw [map_sub, hz, sub_self]
|
| 104 |
+
simpa only [jetRelation_one] using (Submodule.Quotient.mk_eq_zero _).mp hh
|
| 105 |
+
end
|
| 106 |
+
end FiberFunctorProof
|
| 107 |
+
|
| 108 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LatticeGluing.lean
CHANGED
|
@@ -1,313 +1,313 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
/-! Free intersections, power localizations and finite glued lattices. -/
|
| 6 |
-
|
| 7 |
-
noncomputable section
|
| 8 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 9 |
-
open scoped BigOperators TensorProduct
|
| 10 |
-
|
| 11 |
-
namespace FiberFunctorProof
|
| 12 |
-
section
|
| 13 |
-
|
| 14 |
-
variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 15 |
-
|
| 16 |
-
lemma tensor_span_pair (x y : R) (I : Ideal R) (hI : I = Ideal.span {x,y})
|
| 17 |
-
(z : I ⊗[R] M) :
|
| 18 |
-
∃ u v : M, z = (⟨x, by rw [hI]; exact Ideal.subset_span (by simp)⟩ : I) ⊗ₜ[R] u +
|
| 19 |
-
(⟨y, by rw [hI]; exact Ideal.subset_span (by simp)⟩ : I) ⊗ₜ[R] v := by
|
| 20 |
-
let ix : I := ⟨x, by rw [hI]; exact Ideal.subset_span (by simp)⟩
|
| 21 |
-
let iy : I := ⟨y, by rw [hI]; exact Ideal.subset_span (by simp)⟩
|
| 22 |
-
change ∃ u v, z = ix ⊗ₜ[R] u + iy ⊗ₜ[R] v
|
| 23 |
-
induction z using TensorProduct.inductionOn with
|
| 24 |
-
| tmul a m =>
|
| 25 |
-
have ha : a.val ∈ Ideal.span {x,y} := hI ▸ a.property
|
| 26 |
-
obtain ⟨b,c,hbc⟩ := Ideal.mem_span_pair.mp ha
|
| 27 |
-
have heq : a = b • ix + c • iy := by
|
| 28 |
-
apply Subtype.ext
|
| 29 |
-
exact hbc.symm
|
| 30 |
-
refine ⟨b • m, c • m, ?_⟩
|
| 31 |
-
rw [heq, TensorProduct.add_tmul, TensorProduct.smul_tmul, TensorProduct.smul_tmul]
|
| 32 |
-
| add a b ha hb =>
|
| 33 |
-
obtain ⟨u,v,rfl⟩ := ha
|
| 34 |
-
obtain ⟨u',v',rfl⟩ := hb
|
| 35 |
-
exact ⟨u+u', v+v', by simp only [TensorProduct.tmul_add]; abel⟩
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
theorem free_of_two_generators [IsLocalRing R] [Module.FinitePresentation R M]
|
| 40 |
-
(x y : R) (hm : IsLocalRing.maximalIdeal R = Ideal.span {x,y})
|
| 41 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 42 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) :
|
| 43 |
-
Module.Free R M := by
|
| 44 |
-
apply Module.free_of_maximalIdeal_rTensor_injective
|
| 45 |
-
apply LinearMap.ker_eq_bot.mp
|
| 46 |
-
apply LinearMap.ker_eq_bot'.mpr
|
| 47 |
-
intro z hz
|
| 48 |
-
let I := IsLocalRing.maximalIdeal R
|
| 49 |
-
let ix : I := ⟨x, by dsimp [I]; rw [hm]; exact Ideal.subset_span (by simp)⟩
|
| 50 |
-
let iy : I := ⟨y, by dsimp [I]; rw [hm]; exact Ideal.subset_span (by simp)⟩
|
| 51 |
-
obtain ⟨u,v,hz'⟩ := tensor_span_pair x y I hm z
|
| 52 |
-
change z = ix ⊗ₜ[R] u + iy ⊗ₜ[R] v at hz'
|
| 53 |
-
have huv : x • u + y • v = 0 := by
|
| 54 |
-
have h := congrArg (TensorProduct.lid R M) hz
|
| 55 |
-
rw [hz'] at h
|
| 56 |
-
simpa [LinearMap.rTensor_tmul, ix, iy] using h
|
| 57 |
-
have hv : y • v = x • (-u) := by
|
| 58 |
-
rw [smul_neg]
|
| 59 |
-
exact eq_neg_of_add_eq_zero_right huv
|
| 60 |
-
obtain ⟨w,hw⟩ := hy v (-u) hv
|
| 61 |
-
have hu : u = -(y • w) := by
|
| 62 |
-
apply hx
|
| 63 |
-
change x • u = x • (-(y • w))
|
| 64 |
-
rw [smul_neg]
|
| 65 |
-
have := huv
|
| 66 |
-
rw [hw, smul_comm y x] at this
|
| 67 |
-
exact eq_neg_of_add_eq_zero_left this
|
| 68 |
-
rw [hz', hu, hw]
|
| 69 |
-
simp only [TensorProduct.tmul_neg, TensorProduct.tmul_smul, TensorProduct.smul_tmul']
|
| 70 |
-
have heq : y • ix = x • iy := by
|
| 71 |
-
apply Subtype.ext
|
| 72 |
-
exact mul_comm y x
|
| 73 |
-
rw [heq]
|
| 74 |
-
exact neg_add_cancel _
|
| 75 |
-
|
| 76 |
-
end
|
| 77 |
-
|
| 78 |
-
section
|
| 79 |
-
|
| 80 |
-
variable {R K W : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 81 |
-
[AddCommGroup W] [Module K W] [Module R W] [IsScalarTower R K W]
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
theorem intersection_regular (A B : Submodule R W) (x y : R)
|
| 86 |
-
(hx : algebraMap R K x ≠ 0) (hy : algebraMap R K y ≠ 0)
|
| 87 |
-
(hA : ∀ v ∈ A, (algebraMap R K x)⁻¹ • v ∈ A)
|
| 88 |
-
(hB : ∀ v ∈ B, (algebraMap R K y)⁻¹ • v ∈ B) :
|
| 89 |
-
Function.Injective (fun m : ↥(A ⊓ B) => x • m) ∧
|
| 90 |
-
∀ v n : ↥(A ⊓ B), y • v = x • n → ∃ w : ↥(A ⊓ B), v = x • w := by
|
| 91 |
-
constructor
|
| 92 |
-
· intro a b hab
|
| 93 |
-
apply Subtype.ext
|
| 94 |
-
have h : (algebraMap R K x) • (a : W) = (algebraMap R K x) • (b : W) := by
|
| 95 |
-
simpa only [algebraMap_smul, Submodule.coe_smul] using congrArg Subtype.val hab
|
| 96 |
-
exact (smul_right_injective W hx) h
|
| 97 |
-
· intro v n hvn
|
| 98 |
-
have h : (algebraMap R K y) • (v : W) = (algebraMap R K x) • (n : W) := by
|
| 99 |
-
simpa only [algebraMap_smul, Submodule.coe_smul] using congrArg Subtype.val hvn
|
| 100 |
-
have hw : (algebraMap R K x)⁻¹ • (v : W) =
|
| 101 |
-
(algebraMap R K y)⁻¹ • (n : W) := by
|
| 102 |
-
apply (smul_right_injective W hx)
|
| 103 |
-
simp only [smul_inv_smul₀ hx]
|
| 104 |
-
rw [smul_comm, ← h, inv_smul_smul₀ hy]
|
| 105 |
-
refine ⟨⟨(algebraMap R K x)⁻¹ • (v : W),
|
| 106 |
-
hA v v.property.1, hw ▸ hB n n.property.2⟩, ?_⟩
|
| 107 |
-
apply Subtype.ext
|
| 108 |
-
change (v : W) = x • ((algebraMap R K x)⁻¹ • (v : W))
|
| 109 |
-
rw [← algebraMap_smul K x, smul_inv_smul₀ hx]
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
theorem intersection_free [IsLocalRing R]
|
| 114 |
-
(A B : Submodule R W) [Module.FinitePresentation R ↥(A ⊓ B)] (x y : R)
|
| 115 |
-
(hm : IsLocalRing.maximalIdeal R = Ideal.span {x,y})
|
| 116 |
-
(hx : algebraMap R K x ≠ 0) (hy : algebraMap R K y ≠ 0)
|
| 117 |
-
(hA : ∀ v ∈ A, (algebraMap R K x)⁻¹ • v ∈ A)
|
| 118 |
-
(hB : ∀ v ∈ B, (algebraMap R K y)⁻¹ • v ∈ B) :
|
| 119 |
-
Module.Free R ↥(A ⊓ B) := by
|
| 120 |
-
obtain ⟨h1,h2⟩ := intersection_regular A B x y hx hy hA hB
|
| 121 |
-
exact free_of_two_generators x y hm h1 h2
|
| 122 |
-
|
| 123 |
-
end
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
section PowerLocalization
|
| 128 |
-
variable {R W : Type*} [CommRing R] [AddCommGroup W] [Module R W]
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
def powerLocalization (x : R) (L : Submodule R W) : Submodule R W where
|
| 132 |
-
carrier := {v | ∃ n : ℕ, x ^ n • v ∈ L}
|
| 133 |
-
zero_mem' := ⟨0, by simp⟩
|
| 134 |
-
add_mem' := by
|
| 135 |
-
rintro a b ⟨n,hn⟩ ⟨m,hm⟩
|
| 136 |
-
refine ⟨n+m, ?_⟩
|
| 137 |
-
rw [smul_add, pow_add]
|
| 138 |
-
exact L.add_mem
|
| 139 |
-
(by rw [mul_comm, mul_smul]; exact L.smul_mem _ hn)
|
| 140 |
-
(by rw [mul_smul]; exact L.smul_mem _ hm)
|
| 141 |
-
smul_mem' := by
|
| 142 |
-
rintro c a ⟨n,hn⟩
|
| 143 |
-
exact ⟨n, by rw [smul_comm]; exact L.smul_mem c hn⟩
|
| 144 |
-
|
| 145 |
-
lemma le_powerLocalization (x : R) (L : Submodule R W) : L ≤ powerLocalization x L := by
|
| 146 |
-
intro v hv
|
| 147 |
-
exact ⟨0, by simpa using hv⟩
|
| 148 |
-
|
| 149 |
-
lemma powerLocalization_mono (x : R) {L L' : Submodule R W} (h : L ≤ L') :
|
| 150 |
-
powerLocalization x L ≤ powerLocalization x L' := by
|
| 151 |
-
rintro v ⟨n,hn⟩
|
| 152 |
-
exact ⟨n,h hn⟩
|
| 153 |
-
|
| 154 |
-
end PowerLocalization
|
| 155 |
-
|
| 156 |
-
section Field
|
| 157 |
-
variable {R K W : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 158 |
-
[AddCommGroup W] [Module K W] [Module R W] [IsScalarTower R K W]
|
| 159 |
-
|
| 160 |
-
lemma powerLocalization_div (x : R) (L : Submodule R W)
|
| 161 |
-
(hx : algebraMap R K x ≠ 0) {v : W} (hv : v ∈ powerLocalization x L) :
|
| 162 |
-
(algebraMap R K x)⁻¹ • v ∈ powerLocalization x L := by
|
| 163 |
-
obtain ⟨n,hn⟩ := hv
|
| 164 |
-
refine ⟨n+1, ?_⟩
|
| 165 |
-
rw [pow_succ, mul_smul, ← algebraMap_smul K x, smul_inv_smul₀ hx]
|
| 166 |
-
exact hn
|
| 167 |
-
|
| 168 |
-
end Field
|
| 169 |
-
|
| 170 |
-
section
|
| 171 |
-
variable {R K ι : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
def coordinateMap : (ι → R) →ₗ[R] (ι → K) where
|
| 175 |
-
toFun v i := algebraMap R K (v i)
|
| 176 |
-
map_add' v w := by ext i; exact map_add _ _ _
|
| 177 |
-
map_smul' c v := by ext i; simp [Algebra.smul_def]
|
| 178 |
-
|
| 179 |
-
def coordinateLattice : Submodule R (ι → K) :=
|
| 180 |
-
LinearMap.range (coordinateMap (R := R) (K := K) (ι := ι))
|
| 181 |
-
|
| 182 |
-
lemma mem_coordinateLattice (v : ι → K) : v ∈ coordinateLattice (R := R) ↔
|
| 183 |
-
∀ i, ∃ r : R, algebraMap R K r = v i := by
|
| 184 |
-
constructor
|
| 185 |
-
· rintro ⟨w,rfl⟩ i
|
| 186 |
-
exact ⟨w i,rfl⟩
|
| 187 |
-
· intro hv
|
| 188 |
-
choose w hw using hv
|
| 189 |
-
exact ⟨w,funext hw⟩
|
| 190 |
-
|
| 191 |
-
instance coordinateLattice_finite [Finite ι] :
|
| 192 |
-
Module.Finite R (coordinateLattice (R := R) (K := K) (ι := ι)) := by
|
| 193 |
-
exact Module.Finite.range _
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
theorem coordinateLattice_intersection [IsDomain R] [GCDMonoid R] [IsFractionRing R K]
|
| 198 |
-
(x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y) :
|
| 199 |
-
powerLocalization x (coordinateLattice (R := R) (K := K) (ι := ι)) ⊓
|
| 200 |
-
powerLocalization y (coordinateLattice (R := R) (K := K) (ι := ι)) =
|
| 201 |
-
coordinateLattice (R := R) (K := K) (ι := ι) := by
|
| 202 |
-
apply le_antisymm
|
| 203 |
-
· rintro v ⟨⟨n,hn⟩,⟨m,hm⟩⟩
|
| 204 |
-
apply (mem_coordinateLattice v).mpr
|
| 205 |
-
intro i
|
| 206 |
-
obtain ⟨a,ha⟩ := (mem_coordinateLattice _).mp hn i
|
| 207 |
-
obtain ⟨b,hb⟩ := (mem_coordinateLattice _).mp hm i
|
| 208 |
-
have hinj : Function.Injective (algebraMap R K) := FaithfulSMul.algebraMap_injective R K
|
| 209 |
-
have hab : y ^ m * a = x ^ n * b := by
|
| 210 |
-
apply hinj
|
| 211 |
-
simp only [map_mul, ha, hb]
|
| 212 |
-
change algebraMap R K (y ^ m) * (x^n • v i) =
|
| 213 |
-
algebraMap R K (x ^ n) * (y^m • v i)
|
| 214 |
-
simp only [Algebra.smul_def]
|
| 215 |
-
ring
|
| 216 |
-
have hdiv : x ^ n ∣ a :=
|
| 217 |
-
(hxy.pow (m := n) (n := m)).dvd_of_dvd_mul_left ⟨b, hab⟩
|
| 218 |
-
obtain ⟨c,hc⟩ := hdiv
|
| 219 |
-
refine ⟨c, ?_⟩
|
| 220 |
-
have hxn : algebraMap R K (x^n) ≠ 0 := by
|
| 221 |
-
exact fun h => pow_ne_zero n hx (hinj (h.trans (map_zero _).symm))
|
| 222 |
-
apply mul_left_cancel₀ hxn
|
| 223 |
-
rw [← map_mul, ← hc, ha]
|
| 224 |
-
exact Algebra.smul_def _ _
|
| 225 |
-
· exact le_inf (le_powerLocalization ..) (le_powerLocalization ..)
|
| 226 |
-
|
| 227 |
-
end
|
| 228 |
-
|
| 229 |
-
section
|
| 230 |
-
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 231 |
-
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
def gluedLattice (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K)) : Submodule R (ι → K) :=
|
| 235 |
-
powerLocalization x coordinateLattice ⊓
|
| 236 |
-
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
lemma gluedLattice_bound (x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y)
|
| 241 |
-
(P : (ι → K) ≃ₗ[K] (ι → K)) (d : ℕ)
|
| 242 |
-
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R))
|
| 243 |
-
{z : ι → K} (hz : z ∈ gluedLattice x y P) :
|
| 244 |
-
x^d • z ∈ coordinateLattice (R := R) := by
|
| 245 |
-
change z ∈ powerLocalization x coordinateLattice ∧
|
| 246 |
-
z ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) at hz
|
| 247 |
-
rw [← coordinateLattice_intersection x y hx hxy]
|
| 248 |
-
constructor
|
| 249 |
-
· exact (powerLocalization x (coordinateLattice (R := R) (K := K) (ι := ι))).smul_mem (x^d) hz.1
|
| 250 |
-
change ∃ m : ℕ, y^m • (x^d • z) ∈ coordinateLattice (R := R)
|
| 251 |
-
obtain ⟨v,hv,hvP⟩ := hz.2
|
| 252 |
-
obtain ⟨m,hm⟩ := hv
|
| 253 |
-
refine ⟨d+m, ?_⟩
|
| 254 |
-
have h := hP (y^m • v) hm
|
| 255 |
-
have hlin : P (y^m • v) = y^m • P v := (P.restrictScalars R).map_smul _ _
|
| 256 |
-
rw [hlin, mul_pow, mul_smul] at h
|
| 257 |
-
change P v = z at hvP
|
| 258 |
-
rw [hvP, ← mul_smul (y^d) (y^m), ← pow_add, smul_comm (x^d)] at h
|
| 259 |
-
exact h
|
| 260 |
-
|
| 261 |
-
theorem gluedLattice_finite [Finite ι] [IsNoetherianRing R]
|
| 262 |
-
(x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y)
|
| 263 |
-
(P : (ι → K) ≃ₗ[K] (ι → K)) (d : ℕ)
|
| 264 |
-
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R)) :
|
| 265 |
-
Module.Finite R (gluedLattice x y P) := by
|
| 266 |
-
let f : (ι → K) →ₗ[R] (ι → K) :=
|
| 267 |
-
(algebraMap R K (x ^ d))⁻¹ • LinearMap.id
|
| 268 |
-
let L := (coordinateLattice (R := R) (K := K) (ι := ι)).map f
|
| 269 |
-
have hle : gluedLattice x y P ≤ L := by
|
| 270 |
-
intro z hz
|
| 271 |
-
refine ⟨x^d • z, gluedLattice_bound x y hx hxy P d hP hz, ?_⟩
|
| 272 |
-
change (algebraMap R K (x^d))⁻¹ • (x^d • z) = z
|
| 273 |
-
rw [← algebraMap_smul K (x^d), inv_smul_smul₀]
|
| 274 |
-
exact fun h => pow_ne_zero d hx
|
| 275 |
-
((FaithfulSMul.algebraMap_injective R K) (h.trans (map_zero _).symm))
|
| 276 |
-
exact Module.Finite.of_injective (Submodule.inclusion hle) (Submodule.inclusion_injective hle)
|
| 277 |
-
|
| 278 |
-
end
|
| 279 |
-
|
| 280 |
-
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 281 |
-
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
theorem gluedLattice_free [Finite ι] [IsNoetherianRing R] [IsLocalRing R]
|
| 286 |
-
(x y : R) (hx : x ≠ 0) (hy : y ≠ 0) (hxy : IsRelPrime x y)
|
| 287 |
-
(hm : IsLocalRing.maximalIdeal R = Ideal.span {x,y})
|
| 288 |
-
(P : (ι → K) ≃ₗ[K] (ι → K)) (d : ℕ)
|
| 289 |
-
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R)) :
|
| 290 |
-
Module.Free R (gluedLattice x y P) := by
|
| 291 |
-
have hinj := FaithfulSMul.algebraMap_injective R K
|
| 292 |
-
have hxK : algebraMap R K x ≠ 0 := fun h => hx (hinj (h.trans (map_zero _).symm))
|
| 293 |
-
have hyK : algebraMap R K y ≠ 0 := fun h => hy (hinj (h.trans (map_zero _).symm))
|
| 294 |
-
have : Module.Finite R (gluedLattice x y P) := gluedLattice_finite x y hx hxy P d hP
|
| 295 |
-
have : Module.FinitePresentation R (gluedLattice x y P) :=
|
| 296 |
-
Module.finitePresentation_of_finite R (gluedLattice x y P)
|
| 297 |
-
have hB : ∀ z ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R),
|
| 298 |
-
(algebraMap R K y)⁻¹ • z ∈
|
| 299 |
-
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) := by
|
| 300 |
-
rintro z ⟨v,hv,rfl⟩
|
| 301 |
-
refine ⟨(algebraMap R K y)⁻¹ • v, powerLocalization_div y _ hyK hv, ?_⟩
|
| 302 |
-
exact P.map_smul _ _
|
| 303 |
-
have : Module.FinitePresentation R
|
| 304 |
-
↥(powerLocalization x (coordinateLattice (R := R) (K := K) (ι := ι)) ⊓
|
| 305 |
-
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)) := by
|
| 306 |
-
change Module.FinitePresentation R (gluedLattice x y P)
|
| 307 |
-
infer_instance
|
| 308 |
-
exact intersection_free _ _ x y hm hxK hyK (fun _ hv => powerLocalization_div x _ hxK hv) hB
|
| 309 |
-
|
| 310 |
-
end FiberFunctorProof
|
| 311 |
-
end
|
| 312 |
-
|
| 313 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
/-! Free intersections, power localizations and finite glued lattices. -/
|
| 6 |
+
|
| 7 |
+
noncomputable section
|
| 8 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 9 |
+
open scoped BigOperators TensorProduct
|
| 10 |
+
|
| 11 |
+
namespace FiberFunctorProof
|
| 12 |
+
section
|
| 13 |
+
|
| 14 |
+
variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 15 |
+
|
| 16 |
+
lemma tensor_span_pair (x y : R) (I : Ideal R) (hI : I = Ideal.span {x,y})
|
| 17 |
+
(z : I ⊗[R] M) :
|
| 18 |
+
∃ u v : M, z = (⟨x, by rw [hI]; exact Ideal.subset_span (by simp)⟩ : I) ⊗ₜ[R] u +
|
| 19 |
+
(⟨y, by rw [hI]; exact Ideal.subset_span (by simp)⟩ : I) ⊗ₜ[R] v := by
|
| 20 |
+
let ix : I := ⟨x, by rw [hI]; exact Ideal.subset_span (by simp)⟩
|
| 21 |
+
let iy : I := ⟨y, by rw [hI]; exact Ideal.subset_span (by simp)⟩
|
| 22 |
+
change ∃ u v, z = ix ⊗ₜ[R] u + iy ⊗ₜ[R] v
|
| 23 |
+
induction z using TensorProduct.inductionOn with
|
| 24 |
+
| tmul a m =>
|
| 25 |
+
have ha : a.val ∈ Ideal.span {x,y} := hI ▸ a.property
|
| 26 |
+
obtain ⟨b,c,hbc⟩ := Ideal.mem_span_pair.mp ha
|
| 27 |
+
have heq : a = b • ix + c • iy := by
|
| 28 |
+
apply Subtype.ext
|
| 29 |
+
exact hbc.symm
|
| 30 |
+
refine ⟨b • m, c • m, ?_⟩
|
| 31 |
+
rw [heq, TensorProduct.add_tmul, TensorProduct.smul_tmul, TensorProduct.smul_tmul]
|
| 32 |
+
| add a b ha hb =>
|
| 33 |
+
obtain ⟨u,v,rfl⟩ := ha
|
| 34 |
+
obtain ⟨u',v',rfl⟩ := hb
|
| 35 |
+
exact ⟨u+u', v+v', by simp only [TensorProduct.tmul_add]; abel⟩
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
theorem free_of_two_generators [IsLocalRing R] [Module.FinitePresentation R M]
|
| 40 |
+
(x y : R) (hm : IsLocalRing.maximalIdeal R = Ideal.span {x,y})
|
| 41 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 42 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) :
|
| 43 |
+
Module.Free R M := by
|
| 44 |
+
apply Module.free_of_maximalIdeal_rTensor_injective
|
| 45 |
+
apply LinearMap.ker_eq_bot.mp
|
| 46 |
+
apply LinearMap.ker_eq_bot'.mpr
|
| 47 |
+
intro z hz
|
| 48 |
+
let I := IsLocalRing.maximalIdeal R
|
| 49 |
+
let ix : I := ⟨x, by dsimp [I]; rw [hm]; exact Ideal.subset_span (by simp)⟩
|
| 50 |
+
let iy : I := ⟨y, by dsimp [I]; rw [hm]; exact Ideal.subset_span (by simp)⟩
|
| 51 |
+
obtain ⟨u,v,hz'⟩ := tensor_span_pair x y I hm z
|
| 52 |
+
change z = ix ⊗ₜ[R] u + iy ⊗ₜ[R] v at hz'
|
| 53 |
+
have huv : x • u + y • v = 0 := by
|
| 54 |
+
have h := congrArg (TensorProduct.lid R M) hz
|
| 55 |
+
rw [hz'] at h
|
| 56 |
+
simpa [LinearMap.rTensor_tmul, ix, iy] using h
|
| 57 |
+
have hv : y • v = x • (-u) := by
|
| 58 |
+
rw [smul_neg]
|
| 59 |
+
exact eq_neg_of_add_eq_zero_right huv
|
| 60 |
+
obtain ⟨w,hw⟩ := hy v (-u) hv
|
| 61 |
+
have hu : u = -(y • w) := by
|
| 62 |
+
apply hx
|
| 63 |
+
change x • u = x • (-(y • w))
|
| 64 |
+
rw [smul_neg]
|
| 65 |
+
have := huv
|
| 66 |
+
rw [hw, smul_comm y x] at this
|
| 67 |
+
exact eq_neg_of_add_eq_zero_left this
|
| 68 |
+
rw [hz', hu, hw]
|
| 69 |
+
simp only [TensorProduct.tmul_neg, TensorProduct.tmul_smul, TensorProduct.smul_tmul']
|
| 70 |
+
have heq : y • ix = x • iy := by
|
| 71 |
+
apply Subtype.ext
|
| 72 |
+
exact mul_comm y x
|
| 73 |
+
rw [heq]
|
| 74 |
+
exact neg_add_cancel _
|
| 75 |
+
|
| 76 |
+
end
|
| 77 |
+
|
| 78 |
+
section
|
| 79 |
+
|
| 80 |
+
variable {R K W : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 81 |
+
[AddCommGroup W] [Module K W] [Module R W] [IsScalarTower R K W]
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
theorem intersection_regular (A B : Submodule R W) (x y : R)
|
| 86 |
+
(hx : algebraMap R K x ≠ 0) (hy : algebraMap R K y ≠ 0)
|
| 87 |
+
(hA : ∀ v ∈ A, (algebraMap R K x)⁻¹ • v ∈ A)
|
| 88 |
+
(hB : ∀ v ∈ B, (algebraMap R K y)⁻¹ • v ∈ B) :
|
| 89 |
+
Function.Injective (fun m : ↥(A ⊓ B) => x • m) ∧
|
| 90 |
+
∀ v n : ↥(A ⊓ B), y • v = x • n → ∃ w : ↥(A ⊓ B), v = x • w := by
|
| 91 |
+
constructor
|
| 92 |
+
· intro a b hab
|
| 93 |
+
apply Subtype.ext
|
| 94 |
+
have h : (algebraMap R K x) • (a : W) = (algebraMap R K x) • (b : W) := by
|
| 95 |
+
simpa only [algebraMap_smul, Submodule.coe_smul] using congrArg Subtype.val hab
|
| 96 |
+
exact (smul_right_injective W hx) h
|
| 97 |
+
· intro v n hvn
|
| 98 |
+
have h : (algebraMap R K y) • (v : W) = (algebraMap R K x) • (n : W) := by
|
| 99 |
+
simpa only [algebraMap_smul, Submodule.coe_smul] using congrArg Subtype.val hvn
|
| 100 |
+
have hw : (algebraMap R K x)⁻¹ • (v : W) =
|
| 101 |
+
(algebraMap R K y)⁻¹ • (n : W) := by
|
| 102 |
+
apply (smul_right_injective W hx)
|
| 103 |
+
simp only [smul_inv_smul₀ hx]
|
| 104 |
+
rw [smul_comm, ← h, inv_smul_smul₀ hy]
|
| 105 |
+
refine ⟨⟨(algebraMap R K x)⁻¹ • (v : W),
|
| 106 |
+
hA v v.property.1, hw ▸ hB n n.property.2⟩, ?_⟩
|
| 107 |
+
apply Subtype.ext
|
| 108 |
+
change (v : W) = x • ((algebraMap R K x)⁻¹ • (v : W))
|
| 109 |
+
rw [← algebraMap_smul K x, smul_inv_smul₀ hx]
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
theorem intersection_free [IsLocalRing R]
|
| 114 |
+
(A B : Submodule R W) [Module.FinitePresentation R ↥(A ⊓ B)] (x y : R)
|
| 115 |
+
(hm : IsLocalRing.maximalIdeal R = Ideal.span {x,y})
|
| 116 |
+
(hx : algebraMap R K x ≠ 0) (hy : algebraMap R K y ≠ 0)
|
| 117 |
+
(hA : ∀ v ∈ A, (algebraMap R K x)⁻¹ • v ∈ A)
|
| 118 |
+
(hB : ∀ v ∈ B, (algebraMap R K y)⁻¹ • v ∈ B) :
|
| 119 |
+
Module.Free R ↥(A ⊓ B) := by
|
| 120 |
+
obtain ⟨h1,h2⟩ := intersection_regular A B x y hx hy hA hB
|
| 121 |
+
exact free_of_two_generators x y hm h1 h2
|
| 122 |
+
|
| 123 |
+
end
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
section PowerLocalization
|
| 128 |
+
variable {R W : Type*} [CommRing R] [AddCommGroup W] [Module R W]
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
def powerLocalization (x : R) (L : Submodule R W) : Submodule R W where
|
| 132 |
+
carrier := {v | ∃ n : ℕ, x ^ n • v ∈ L}
|
| 133 |
+
zero_mem' := ⟨0, by simp⟩
|
| 134 |
+
add_mem' := by
|
| 135 |
+
rintro a b ⟨n,hn⟩ ⟨m,hm⟩
|
| 136 |
+
refine ⟨n+m, ?_⟩
|
| 137 |
+
rw [smul_add, pow_add]
|
| 138 |
+
exact L.add_mem
|
| 139 |
+
(by rw [mul_comm, mul_smul]; exact L.smul_mem _ hn)
|
| 140 |
+
(by rw [mul_smul]; exact L.smul_mem _ hm)
|
| 141 |
+
smul_mem' := by
|
| 142 |
+
rintro c a ⟨n,hn⟩
|
| 143 |
+
exact ⟨n, by rw [smul_comm]; exact L.smul_mem c hn⟩
|
| 144 |
+
|
| 145 |
+
lemma le_powerLocalization (x : R) (L : Submodule R W) : L ≤ powerLocalization x L := by
|
| 146 |
+
intro v hv
|
| 147 |
+
exact ⟨0, by simpa using hv⟩
|
| 148 |
+
|
| 149 |
+
lemma powerLocalization_mono (x : R) {L L' : Submodule R W} (h : L ≤ L') :
|
| 150 |
+
powerLocalization x L ≤ powerLocalization x L' := by
|
| 151 |
+
rintro v ⟨n,hn⟩
|
| 152 |
+
exact ⟨n,h hn⟩
|
| 153 |
+
|
| 154 |
+
end PowerLocalization
|
| 155 |
+
|
| 156 |
+
section Field
|
| 157 |
+
variable {R K W : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 158 |
+
[AddCommGroup W] [Module K W] [Module R W] [IsScalarTower R K W]
|
| 159 |
+
|
| 160 |
+
lemma powerLocalization_div (x : R) (L : Submodule R W)
|
| 161 |
+
(hx : algebraMap R K x ≠ 0) {v : W} (hv : v ∈ powerLocalization x L) :
|
| 162 |
+
(algebraMap R K x)⁻¹ • v ∈ powerLocalization x L := by
|
| 163 |
+
obtain ⟨n,hn⟩ := hv
|
| 164 |
+
refine ⟨n+1, ?_⟩
|
| 165 |
+
rw [pow_succ, mul_smul, ← algebraMap_smul K x, smul_inv_smul₀ hx]
|
| 166 |
+
exact hn
|
| 167 |
+
|
| 168 |
+
end Field
|
| 169 |
+
|
| 170 |
+
section
|
| 171 |
+
variable {R K ι : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 172 |
+
|
| 173 |
+
|
| 174 |
+
def coordinateMap : (ι → R) →ₗ[R] (ι → K) where
|
| 175 |
+
toFun v i := algebraMap R K (v i)
|
| 176 |
+
map_add' v w := by ext i; exact map_add _ _ _
|
| 177 |
+
map_smul' c v := by ext i; simp [Algebra.smul_def]
|
| 178 |
+
|
| 179 |
+
def coordinateLattice : Submodule R (ι → K) :=
|
| 180 |
+
LinearMap.range (coordinateMap (R := R) (K := K) (ι := ι))
|
| 181 |
+
|
| 182 |
+
lemma mem_coordinateLattice (v : ι → K) : v ∈ coordinateLattice (R := R) ↔
|
| 183 |
+
∀ i, ∃ r : R, algebraMap R K r = v i := by
|
| 184 |
+
constructor
|
| 185 |
+
· rintro ⟨w,rfl⟩ i
|
| 186 |
+
exact ⟨w i,rfl⟩
|
| 187 |
+
· intro hv
|
| 188 |
+
choose w hw using hv
|
| 189 |
+
exact ⟨w,funext hw⟩
|
| 190 |
+
|
| 191 |
+
instance coordinateLattice_finite [Finite ι] :
|
| 192 |
+
Module.Finite R (coordinateLattice (R := R) (K := K) (ι := ι)) := by
|
| 193 |
+
exact Module.Finite.range _
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
theorem coordinateLattice_intersection [IsDomain R] [GCDMonoid R] [IsFractionRing R K]
|
| 198 |
+
(x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y) :
|
| 199 |
+
powerLocalization x (coordinateLattice (R := R) (K := K) (ι := ι)) ⊓
|
| 200 |
+
powerLocalization y (coordinateLattice (R := R) (K := K) (ι := ι)) =
|
| 201 |
+
coordinateLattice (R := R) (K := K) (ι := ι) := by
|
| 202 |
+
apply le_antisymm
|
| 203 |
+
· rintro v ⟨⟨n,hn⟩,⟨m,hm⟩⟩
|
| 204 |
+
apply (mem_coordinateLattice v).mpr
|
| 205 |
+
intro i
|
| 206 |
+
obtain ⟨a,ha⟩ := (mem_coordinateLattice _).mp hn i
|
| 207 |
+
obtain ⟨b,hb⟩ := (mem_coordinateLattice _).mp hm i
|
| 208 |
+
have hinj : Function.Injective (algebraMap R K) := FaithfulSMul.algebraMap_injective R K
|
| 209 |
+
have hab : y ^ m * a = x ^ n * b := by
|
| 210 |
+
apply hinj
|
| 211 |
+
simp only [map_mul, ha, hb]
|
| 212 |
+
change algebraMap R K (y ^ m) * (x^n • v i) =
|
| 213 |
+
algebraMap R K (x ^ n) * (y^m • v i)
|
| 214 |
+
simp only [Algebra.smul_def]
|
| 215 |
+
ring
|
| 216 |
+
have hdiv : x ^ n ∣ a :=
|
| 217 |
+
(hxy.pow (m := n) (n := m)).dvd_of_dvd_mul_left ⟨b, hab⟩
|
| 218 |
+
obtain ⟨c,hc⟩ := hdiv
|
| 219 |
+
refine ⟨c, ?_⟩
|
| 220 |
+
have hxn : algebraMap R K (x^n) ≠ 0 := by
|
| 221 |
+
exact fun h => pow_ne_zero n hx (hinj (h.trans (map_zero _).symm))
|
| 222 |
+
apply mul_left_cancel₀ hxn
|
| 223 |
+
rw [← map_mul, ← hc, ha]
|
| 224 |
+
exact Algebra.smul_def _ _
|
| 225 |
+
· exact le_inf (le_powerLocalization ..) (le_powerLocalization ..)
|
| 226 |
+
|
| 227 |
+
end
|
| 228 |
+
|
| 229 |
+
section
|
| 230 |
+
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 231 |
+
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
def gluedLattice (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K)) : Submodule R (ι → K) :=
|
| 235 |
+
powerLocalization x coordinateLattice ⊓
|
| 236 |
+
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
lemma gluedLattice_bound (x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y)
|
| 241 |
+
(P : (ι → K) ≃ₗ[K] (ι → K)) (d : ℕ)
|
| 242 |
+
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R))
|
| 243 |
+
{z : ι → K} (hz : z ∈ gluedLattice x y P) :
|
| 244 |
+
x^d • z ∈ coordinateLattice (R := R) := by
|
| 245 |
+
change z ∈ powerLocalization x coordinateLattice ∧
|
| 246 |
+
z ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) at hz
|
| 247 |
+
rw [← coordinateLattice_intersection x y hx hxy]
|
| 248 |
+
constructor
|
| 249 |
+
· exact (powerLocalization x (coordinateLattice (R := R) (K := K) (ι := ι))).smul_mem (x^d) hz.1
|
| 250 |
+
change ∃ m : ℕ, y^m • (x^d • z) ∈ coordinateLattice (R := R)
|
| 251 |
+
obtain ⟨v,hv,hvP⟩ := hz.2
|
| 252 |
+
obtain ⟨m,hm⟩ := hv
|
| 253 |
+
refine ⟨d+m, ?_⟩
|
| 254 |
+
have h := hP (y^m • v) hm
|
| 255 |
+
have hlin : P (y^m • v) = y^m • P v := (P.restrictScalars R).map_smul _ _
|
| 256 |
+
rw [hlin, mul_pow, mul_smul] at h
|
| 257 |
+
change P v = z at hvP
|
| 258 |
+
rw [hvP, ← mul_smul (y^d) (y^m), ← pow_add, smul_comm (x^d)] at h
|
| 259 |
+
exact h
|
| 260 |
+
|
| 261 |
+
theorem gluedLattice_finite [Finite ι] [IsNoetherianRing R]
|
| 262 |
+
(x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y)
|
| 263 |
+
(P : (ι → K) ≃ₗ[K] (ι → K)) (d : ℕ)
|
| 264 |
+
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R)) :
|
| 265 |
+
Module.Finite R (gluedLattice x y P) := by
|
| 266 |
+
let f : (ι → K) →ₗ[R] (ι → K) :=
|
| 267 |
+
(algebraMap R K (x ^ d))⁻¹ • LinearMap.id
|
| 268 |
+
let L := (coordinateLattice (R := R) (K := K) (ι := ι)).map f
|
| 269 |
+
have hle : gluedLattice x y P ≤ L := by
|
| 270 |
+
intro z hz
|
| 271 |
+
refine ⟨x^d • z, gluedLattice_bound x y hx hxy P d hP hz, ?_⟩
|
| 272 |
+
change (algebraMap R K (x^d))⁻¹ • (x^d • z) = z
|
| 273 |
+
rw [← algebraMap_smul K (x^d), inv_smul_smul₀]
|
| 274 |
+
exact fun h => pow_ne_zero d hx
|
| 275 |
+
((FaithfulSMul.algebraMap_injective R K) (h.trans (map_zero _).symm))
|
| 276 |
+
exact Module.Finite.of_injective (Submodule.inclusion hle) (Submodule.inclusion_injective hle)
|
| 277 |
+
|
| 278 |
+
end
|
| 279 |
+
|
| 280 |
+
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 281 |
+
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
|
| 285 |
+
theorem gluedLattice_free [Finite ι] [IsNoetherianRing R] [IsLocalRing R]
|
| 286 |
+
(x y : R) (hx : x ≠ 0) (hy : y ≠ 0) (hxy : IsRelPrime x y)
|
| 287 |
+
(hm : IsLocalRing.maximalIdeal R = Ideal.span {x,y})
|
| 288 |
+
(P : (ι → K) ≃ₗ[K] (ι → K)) (d : ℕ)
|
| 289 |
+
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R)) :
|
| 290 |
+
Module.Free R (gluedLattice x y P) := by
|
| 291 |
+
have hinj := FaithfulSMul.algebraMap_injective R K
|
| 292 |
+
have hxK : algebraMap R K x ≠ 0 := fun h => hx (hinj (h.trans (map_zero _).symm))
|
| 293 |
+
have hyK : algebraMap R K y ≠ 0 := fun h => hy (hinj (h.trans (map_zero _).symm))
|
| 294 |
+
have : Module.Finite R (gluedLattice x y P) := gluedLattice_finite x y hx hxy P d hP
|
| 295 |
+
have : Module.FinitePresentation R (gluedLattice x y P) :=
|
| 296 |
+
Module.finitePresentation_of_finite R (gluedLattice x y P)
|
| 297 |
+
have hB : ∀ z ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R),
|
| 298 |
+
(algebraMap R K y)⁻¹ • z ∈
|
| 299 |
+
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) := by
|
| 300 |
+
rintro z ⟨v,hv,rfl⟩
|
| 301 |
+
refine ⟨(algebraMap R K y)⁻¹ • v, powerLocalization_div y _ hyK hv, ?_⟩
|
| 302 |
+
exact P.map_smul _ _
|
| 303 |
+
have : Module.FinitePresentation R
|
| 304 |
+
↥(powerLocalization x (coordinateLattice (R := R) (K := K) (ι := ι)) ⊓
|
| 305 |
+
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)) := by
|
| 306 |
+
change Module.FinitePresentation R (gluedLattice x y P)
|
| 307 |
+
infer_instance
|
| 308 |
+
exact intersection_free _ _ x y hm hxK hyK (fun _ hv => powerLocalization_div x _ hxK hv) hB
|
| 309 |
+
|
| 310 |
+
end FiberFunctorProof
|
| 311 |
+
end
|
| 312 |
+
|
| 313 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LatticeLocalProjectivity.lean
CHANGED
|
@@ -1,28 +1,28 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.BaseChangeProjective
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.LatticeSwap
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open scoped TensorProduct
|
| 8 |
-
variable {R K S ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 9 |
-
[Field K] [Algebra R K] [IsFractionRing R K] [Fintype ι]
|
| 10 |
-
[CommRing S] [Algebra R S]
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
theorem gluedLattice_projective_baseChange (x y : R) (hx : x ≠ 0)
|
| 15 |
-
(hxy : IsRelPrime x y) (P : (ι → K) ≃ₗ[K] (ι → K)) (d e : ℕ)
|
| 16 |
-
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R))
|
| 17 |
-
(hQ : ∀ v ∈ coordinateLattice (R := R), (x*y)^e • P.symm v ∈ coordinateLattice (R := R))
|
| 18 |
-
(hu : IsUnit (algebraMap R S x)) :
|
| 19 |
-
Module.Projective S (S ⊗[R] gluedLattice x y P) := by
|
| 20 |
-
apply projective_baseChange_of_split_smul
|
| 21 |
-
(latticeNumerator x y hx hxy P d hP) (latticeDenominator x y P e hQ) (x^(d+e))
|
| 22 |
-
· ext v : 1
|
| 23 |
-
exact latticeDenominator_numerator x y hx hxy P d e hP hQ v
|
| 24 |
-
· simpa only [map_pow] using hu.pow (d+e)
|
| 25 |
-
|
| 26 |
-
end FiberFunctorProof
|
| 27 |
-
|
| 28 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.BaseChangeProjective
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.LatticeSwap
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open scoped TensorProduct
|
| 8 |
+
variable {R K S ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 9 |
+
[Field K] [Algebra R K] [IsFractionRing R K] [Fintype ι]
|
| 10 |
+
[CommRing S] [Algebra R S]
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
theorem gluedLattice_projective_baseChange (x y : R) (hx : x ≠ 0)
|
| 15 |
+
(hxy : IsRelPrime x y) (P : (ι → K) ≃ₗ[K] (ι → K)) (d e : ℕ)
|
| 16 |
+
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R))
|
| 17 |
+
(hQ : ∀ v ∈ coordinateLattice (R := R), (x*y)^e • P.symm v ∈ coordinateLattice (R := R))
|
| 18 |
+
(hu : IsUnit (algebraMap R S x)) :
|
| 19 |
+
Module.Projective S (S ⊗[R] gluedLattice x y P) := by
|
| 20 |
+
apply projective_baseChange_of_split_smul
|
| 21 |
+
(latticeNumerator x y hx hxy P d hP) (latticeDenominator x y P e hQ) (x^(d+e))
|
| 22 |
+
· ext v : 1
|
| 23 |
+
exact latticeDenominator_numerator x y hx hxy P d e hP hQ v
|
| 24 |
+
· simpa only [map_pow] using hu.pow (d+e)
|
| 25 |
+
|
| 26 |
+
end FiberFunctorProof
|
| 27 |
+
|
| 28 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LatticeNumerator.lean
CHANGED
|
@@ -1,76 +1,76 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
section Numerator
|
| 7 |
-
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 8 |
-
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 9 |
-
|
| 10 |
-
omit [IsDomain R] [GCDMonoid R] in
|
| 11 |
-
lemma coordinateMap_injective : Function.Injective (coordinateMap (R := R) (K := K) (ι := ι)) := by
|
| 12 |
-
intro v w h
|
| 13 |
-
funext i
|
| 14 |
-
exact (FaithfulSMul.algebraMap_injective R K) (congrFun h i)
|
| 15 |
-
|
| 16 |
-
noncomputable def coordinateEquiv : (ι → R) ≃ₗ[R] coordinateLattice (R := R) (K := K) (ι := ι) :=
|
| 17 |
-
LinearEquiv.ofInjective (coordinateMap (R := R) (K := K) (ι := ι)) coordinateMap_injective
|
| 18 |
-
|
| 19 |
-
omit [IsDomain R] [GCDMonoid R] in
|
| 20 |
-
lemma coordinateEquiv_apply (v : ι → R) :
|
| 21 |
-
(coordinateEquiv (K := K) v).val = coordinateMap v := rfl
|
| 22 |
-
|
| 23 |
-
variable (x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y)
|
| 24 |
-
(P : (ι → K) ≃ₗ[K] (ι → K)) (d e : ℕ)
|
| 25 |
-
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R))
|
| 26 |
-
(hQ : ∀ v ∈ coordinateLattice (R := R), (x*y)^e • P.symm v ∈ coordinateLattice (R := R))
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
noncomputable def latticeNumerator : gluedLattice x y P →ₗ[R] (ι → R) :=
|
| 31 |
-
(coordinateEquiv (K := K)).symm.toLinearMap ∘ₗ
|
| 32 |
-
(((x^d) • (gluedLattice x y P).subtype).codRestrict _
|
| 33 |
-
(fun z => gluedLattice_bound x y hx hxy P d hP z.property))
|
| 34 |
-
|
| 35 |
-
lemma latticeNumerator_coordinates (z : gluedLattice x y P) :
|
| 36 |
-
coordinateMap (latticeNumerator x y hx hxy P d hP z) = x^d • z.val := by
|
| 37 |
-
change (coordinateEquiv (K := K)
|
| 38 |
-
((coordinateEquiv (K := K)).symm _)).val = _
|
| 39 |
-
rw [LinearEquiv.apply_symm_apply]
|
| 40 |
-
rfl
|
| 41 |
-
|
| 42 |
-
include hQ in
|
| 43 |
-
omit [IsDomain R] [GCDMonoid R] [IsFractionRing R K] in
|
| 44 |
-
lemma latticeDenominator_mem (v : ι
|
| 45 |
-
x^e • coordinateMap (K := K) v ∈ gluedLattice x y P := by
|
| 46 |
-
have hv : coordinateMap (K := K) v ∈ coordinateLattice (R := R) := ⟨v,rfl⟩
|
| 47 |
-
constructor
|
| 48 |
-
· exact ⟨0, by simpa using (coordinateLattice (R := R)).smul_mem (x^e) hv⟩
|
| 49 |
-
· refine ⟨x^e • P.symm (coordinateMap v), ⟨e, ?_⟩, ?_⟩
|
| 50 |
-
· simpa only [mul_pow, mul_smul, smul_comm (y^e)] using hQ _ hv
|
| 51 |
-
· change P (x^e • P.symm (coordinateMap v)) = _
|
| 52 |
-
rw [linearEquiv_map_base_smul, LinearEquiv.apply_symm_apply]
|
| 53 |
-
|
| 54 |
-
noncomputable def latticeDenominator : (ι → R) →ₗ[R] gluedLattice x y P :=
|
| 55 |
-
((x^e) • coordinateMap (R := R) (K := K)).codRestrict _
|
| 56 |
-
(latticeDenominator_mem x y P e hQ)
|
| 57 |
-
|
| 58 |
-
lemma latticeNumerator_denominator (v : ι → R) :
|
| 59 |
-
latticeNumerator x y hx hxy P d hP (latticeDenominator x y P e hQ v) =
|
| 60 |
-
x^(d+e) • v := by
|
| 61 |
-
apply coordinateMap_injective (K := K)
|
| 62 |
-
rw [latticeNumerator_coordinates, map_smul]
|
| 63 |
-
change x^d • (x^e • coordinateMap v) = _
|
| 64 |
-
rw [← mul_smul, ← pow_add]
|
| 65 |
-
|
| 66 |
-
lemma latticeDenominator_numerator (z : gluedLattice x y P) :
|
| 67 |
-
latticeDenominator x y P e hQ (latticeNumerator x y hx hxy P d hP z) =
|
| 68 |
-
x^(d+e) • z := by
|
| 69 |
-
apply Subtype.ext
|
| 70 |
-
change x^e • coordinateMap (latticeNumerator x y hx hxy P d hP z) = x^(d+e) • z.val
|
| 71 |
-
rw [latticeNumerator_coordinates, ← mul_smul, ← pow_add, Nat.add_comm]
|
| 72 |
-
|
| 73 |
-
end Numerator
|
| 74 |
-
end FiberFunctorProof
|
| 75 |
-
|
| 76 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
section Numerator
|
| 7 |
+
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 8 |
+
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 9 |
+
|
| 10 |
+
omit [IsDomain R] [GCDMonoid R] in
|
| 11 |
+
lemma coordinateMap_injective : Function.Injective (coordinateMap (R := R) (K := K) (ι := ι)) := by
|
| 12 |
+
intro v w h
|
| 13 |
+
funext i
|
| 14 |
+
exact (FaithfulSMul.algebraMap_injective R K) (congrFun h i)
|
| 15 |
+
|
| 16 |
+
noncomputable def coordinateEquiv : (ι → R) ≃ₗ[R] coordinateLattice (R := R) (K := K) (ι := ι) :=
|
| 17 |
+
LinearEquiv.ofInjective (coordinateMap (R := R) (K := K) (ι := ι)) coordinateMap_injective
|
| 18 |
+
|
| 19 |
+
omit [IsDomain R] [GCDMonoid R] in
|
| 20 |
+
lemma coordinateEquiv_apply (v : ι → R) :
|
| 21 |
+
(coordinateEquiv (K := K) v).val = coordinateMap v := rfl
|
| 22 |
+
|
| 23 |
+
variable (x y : R) (hx : x ≠ 0) (hxy : IsRelPrime x y)
|
| 24 |
+
(P : (ι → K) ≃ₗ[K] (ι → K)) (d e : ℕ)
|
| 25 |
+
(hP : ∀ v ∈ coordinateLattice (R := R), (x*y)^d • P v ∈ coordinateLattice (R := R))
|
| 26 |
+
(hQ : ∀ v ∈ coordinateLattice (R := R), (x*y)^e • P.symm v ∈ coordinateLattice (R := R))
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
noncomputable def latticeNumerator : gluedLattice x y P →ₗ[R] (ι → R) :=
|
| 31 |
+
(coordinateEquiv (K := K)).symm.toLinearMap ∘ₗ
|
| 32 |
+
(((x^d) • (gluedLattice x y P).subtype).codRestrict _
|
| 33 |
+
(fun z => gluedLattice_bound x y hx hxy P d hP z.property))
|
| 34 |
+
|
| 35 |
+
lemma latticeNumerator_coordinates (z : gluedLattice x y P) :
|
| 36 |
+
coordinateMap (latticeNumerator x y hx hxy P d hP z) = x^d • z.val := by
|
| 37 |
+
change (coordinateEquiv (K := K)
|
| 38 |
+
((coordinateEquiv (K := K)).symm _)).val = _
|
| 39 |
+
rw [LinearEquiv.apply_symm_apply]
|
| 40 |
+
rfl
|
| 41 |
+
|
| 42 |
+
include hQ in
|
| 43 |
+
omit [IsDomain R] [GCDMonoid R] [IsFractionRing R K] in
|
| 44 |
+
lemma latticeDenominator_mem (v : ι �� R) :
|
| 45 |
+
x^e • coordinateMap (K := K) v ∈ gluedLattice x y P := by
|
| 46 |
+
have hv : coordinateMap (K := K) v ∈ coordinateLattice (R := R) := ⟨v,rfl⟩
|
| 47 |
+
constructor
|
| 48 |
+
· exact ⟨0, by simpa using (coordinateLattice (R := R)).smul_mem (x^e) hv⟩
|
| 49 |
+
· refine ⟨x^e • P.symm (coordinateMap v), ⟨e, ?_⟩, ?_⟩
|
| 50 |
+
· simpa only [mul_pow, mul_smul, smul_comm (y^e)] using hQ _ hv
|
| 51 |
+
· change P (x^e • P.symm (coordinateMap v)) = _
|
| 52 |
+
rw [linearEquiv_map_base_smul, LinearEquiv.apply_symm_apply]
|
| 53 |
+
|
| 54 |
+
noncomputable def latticeDenominator : (ι → R) →ₗ[R] gluedLattice x y P :=
|
| 55 |
+
((x^e) • coordinateMap (R := R) (K := K)).codRestrict _
|
| 56 |
+
(latticeDenominator_mem x y P e hQ)
|
| 57 |
+
|
| 58 |
+
lemma latticeNumerator_denominator (v : ι → R) :
|
| 59 |
+
latticeNumerator x y hx hxy P d hP (latticeDenominator x y P e hQ v) =
|
| 60 |
+
x^(d+e) • v := by
|
| 61 |
+
apply coordinateMap_injective (K := K)
|
| 62 |
+
rw [latticeNumerator_coordinates, map_smul]
|
| 63 |
+
change x^d • (x^e • coordinateMap v) = _
|
| 64 |
+
rw [← mul_smul, ← pow_add]
|
| 65 |
+
|
| 66 |
+
lemma latticeDenominator_numerator (z : gluedLattice x y P) :
|
| 67 |
+
latticeDenominator x y P e hQ (latticeNumerator x y hx hxy P d hP z) =
|
| 68 |
+
x^(d+e) • z := by
|
| 69 |
+
apply Subtype.ext
|
| 70 |
+
change x^e • coordinateMap (latticeNumerator x y hx hxy P d hP z) = x^(d+e) • z.val
|
| 71 |
+
rw [latticeNumerator_coordinates, ← mul_smul, ← pow_add, Nat.add_comm]
|
| 72 |
+
|
| 73 |
+
end Numerator
|
| 74 |
+
end FiberFunctorProof
|
| 75 |
+
|
| 76 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LatticeSwap.lean
CHANGED
|
@@ -1,33 +1,33 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.LatticeNumerator
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 7 |
-
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 8 |
-
|
| 9 |
-
omit [IsDomain R] [GCDMonoid R] [IsFractionRing R K] in
|
| 10 |
-
lemma lattice_swap_mem (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K))
|
| 11 |
-
{v : ι → K} (hv : v ∈ gluedLattice x y P) :
|
| 12 |
-
P.symm v ∈ gluedLattice y x P.symm := by
|
| 13 |
-
obtain ⟨h₁,w,h₂,hw⟩ := hv
|
| 14 |
-
change P w = v at hw
|
| 15 |
-
constructor
|
| 16 |
-
· simpa only [← hw, LinearEquiv.symm_apply_apply] using h₂
|
| 17 |
-
· exact ⟨v,h₁,rfl⟩
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
noncomputable def latticeSwap (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K)) :
|
| 22 |
-
gluedLattice x y P ≃ₗ[R] gluedLattice y x P.symm where
|
| 23 |
-
toFun v := ⟨P.symm v.val, lattice_swap_mem x y P v.property⟩
|
| 24 |
-
invFun v := ⟨P v.val, by
|
| 25 |
-
simpa only [LinearEquiv.symm_symm] using lattice_swap_mem y x P.symm v.property⟩
|
| 26 |
-
left_inv v := by apply Subtype.ext; exact P.apply_symm_apply v.val
|
| 27 |
-
right_inv v := by apply Subtype.ext; exact P.symm_apply_apply v.val
|
| 28 |
-
map_add' v w := by apply Subtype.ext; exact P.symm.map_add _ _
|
| 29 |
-
map_smul' a v := by apply Subtype.ext; exact linearEquiv_map_base_smul P.symm a v.val
|
| 30 |
-
|
| 31 |
-
end FiberFunctorProof
|
| 32 |
-
|
| 33 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.LatticeNumerator
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
variable {R K ι : Type*} [CommRing R] [IsDomain R] [GCDMonoid R]
|
| 7 |
+
[Field K] [Algebra R K] [IsFractionRing R K]
|
| 8 |
+
|
| 9 |
+
omit [IsDomain R] [GCDMonoid R] [IsFractionRing R K] in
|
| 10 |
+
lemma lattice_swap_mem (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K))
|
| 11 |
+
{v : ι → K} (hv : v ∈ gluedLattice x y P) :
|
| 12 |
+
P.symm v ∈ gluedLattice y x P.symm := by
|
| 13 |
+
obtain ⟨h₁,w,h₂,hw⟩ := hv
|
| 14 |
+
change P w = v at hw
|
| 15 |
+
constructor
|
| 16 |
+
· simpa only [← hw, LinearEquiv.symm_apply_apply] using h₂
|
| 17 |
+
· exact ⟨v,h₁,rfl⟩
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
noncomputable def latticeSwap (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K)) :
|
| 22 |
+
gluedLattice x y P ≃ₗ[R] gluedLattice y x P.symm where
|
| 23 |
+
toFun v := ⟨P.symm v.val, lattice_swap_mem x y P v.property⟩
|
| 24 |
+
invFun v := ⟨P v.val, by
|
| 25 |
+
simpa only [LinearEquiv.symm_symm] using lattice_swap_mem y x P.symm v.property⟩
|
| 26 |
+
left_inv v := by apply Subtype.ext; exact P.apply_symm_apply v.val
|
| 27 |
+
right_inv v := by apply Subtype.ext; exact P.symm_apply_apply v.val
|
| 28 |
+
map_add' v w := by apply Subtype.ext; exact P.symm.map_add _ _
|
| 29 |
+
map_smul' a v := by apply Subtype.ext; exact linearEquiv_map_base_smul P.symm a v.val
|
| 30 |
+
|
| 31 |
+
end FiberFunctorProof
|
| 32 |
+
|
| 33 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LaurentPolynomialSeparation.lean
CHANGED
|
@@ -1,71 +1,71 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped LaurentPolynomial
|
| 7 |
-
section
|
| 8 |
-
variable {k L : Type*} [Field k] [Infinite k] [Field L] [Algebra k L]
|
| 9 |
-
|
| 10 |
-
lemma polynomial_eq_of_base_evals (P Q : Polynomial L)
|
| 11 |
-
(h : ∀ t : k, P.eval (algebraMap k L t) = Q.eval (algebraMap k L t)) : P = Q := by
|
| 12 |
-
apply Polynomial.eq_of_infinite_eval_eq
|
| 13 |
-
apply (Set.infinite_range_of_injective (FaithfulSMul.algebraMap_injective k L)).mono
|
| 14 |
-
rintro _ ⟨t,rfl⟩
|
| 15 |
-
exact h t
|
| 16 |
-
|
| 17 |
-
lemma laurent_eq_zero_of_base_evals (P : LaurentPolynomial L)
|
| 18 |
-
(h : ∀ a : kˣ,
|
| 19 |
-
LaurentPolynomial.eval₂ (RingHom.id L) (Units.map (algebraMap k L) a) P = 0) : P = 0 := by
|
| 20 |
-
obtain ⟨n,p,hp⟩ := P.exists_T_pow
|
| 21 |
-
have hp0 : p = 0 := by
|
| 22 |
-
apply Polynomial.eq_of_infinite_eval_eq
|
| 23 |
-
apply (((Set.finite_singleton (0:k)).infinite_compl).image
|
| 24 |
-
(FaithfulSMul.algebraMap_injective k L).injOn).mono
|
| 25 |
-
rintro b ⟨a,ha,rfl⟩
|
| 26 |
-
let x : kˣ := Units.mk0 a ha
|
| 27 |
-
have he := congrArg (LaurentPolynomial.eval₂ (RingHom.id L)
|
| 28 |
-
(Units.map (algebraMap k L) x)) hp
|
| 29 |
-
simp only [LaurentPolynomial.eval₂_toLaurent, map_mul, h x, zero_mul,
|
| 30 |
-
Polynomial.eval₂_id] at he
|
| 31 |
-
change p.eval (algebraMap k L a) = Polynomial.eval (algebraMap k L a) 0
|
| 32 |
-
have hx : ((Units.map (algebraMap k L) x : Lˣ) : L) = algebraMap k L a := rfl
|
| 33 |
-
rw [hx] at he
|
| 34 |
-
simpa only [Polynomial.eval_zero] using he
|
| 35 |
-
rw [hp0, map_zero] at hp
|
| 36 |
-
exact (mul_eq_zero.mp hp.symm).resolve_right (IsUnit.ne_zero (LaurentPolynomial.isUnit_T n))
|
| 37 |
-
|
| 38 |
-
lemma laurent_eq_of_base_evals (P Q : LaurentPolynomial L)
|
| 39 |
-
(h : ∀ a : kˣ,
|
| 40 |
-
LaurentPolynomial.eval₂ (RingHom.id L) (Units.map (algebraMap k L) a) P =
|
| 41 |
-
LaurentPolynomial.eval₂ (RingHom.id L) (Units.map (algebraMap k L) a) Q) : P = Q := by
|
| 42 |
-
apply sub_eq_zero.mp
|
| 43 |
-
apply laurent_eq_zero_of_base_evals (k := k)
|
| 44 |
-
intro a
|
| 45 |
-
rw [map_sub, h a, sub_self]
|
| 46 |
-
lemma laurent_eq_of_evals (P Q : LaurentPolynomial k)
|
| 47 |
-
(h : ∀ a : kˣ, LaurentPolynomial.eval₂ (RingHom.id k) a P =
|
| 48 |
-
LaurentPolynomial.eval₂ (RingHom.id k) a Q) : P = Q := by
|
| 49 |
-
have hz (a : kˣ) : LaurentPolynomial.eval₂ (RingHom.id k) a (P-Q) = 0 := by
|
| 50 |
-
rw [map_sub, h a, sub_self]
|
| 51 |
-
obtain ⟨n,p,hp⟩ := (P-Q).exists_T_pow
|
| 52 |
-
have hp0 : p = 0 := by
|
| 53 |
-
apply Polynomial.eq_of_infinite_eval_eq
|
| 54 |
-
apply ((Set.finite_singleton (0:k)).infinite_compl).mono
|
| 55 |
-
intro a ha
|
| 56 |
-
let x : kˣ := Units.mk0 a ha
|
| 57 |
-
have he := congrArg (LaurentPolynomial.eval₂ (RingHom.id k) x) hp
|
| 58 |
-
simp only [LaurentPolynomial.eval₂_toLaurent, map_mul, hz x, zero_mul,
|
| 59 |
-
Polynomial.eval₂_id] at he
|
| 60 |
-
have hx : (x : k) = a := rfl
|
| 61 |
-
rw [hx] at he
|
| 62 |
-
change p.eval a = Polynomial.eval a 0
|
| 63 |
-
simpa only [Polynomial.eval_zero] using he
|
| 64 |
-
rw [hp0, map_zero] at hp
|
| 65 |
-
exact sub_eq_zero.mp ((mul_eq_zero.mp hp.symm).resolve_right
|
| 66 |
-
(IsUnit.ne_zero (LaurentPolynomial.isUnit_T n)))
|
| 67 |
-
|
| 68 |
-
end
|
| 69 |
-
end FiberFunctorProof
|
| 70 |
-
|
| 71 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped LaurentPolynomial
|
| 7 |
+
section
|
| 8 |
+
variable {k L : Type*} [Field k] [Infinite k] [Field L] [Algebra k L]
|
| 9 |
+
|
| 10 |
+
lemma polynomial_eq_of_base_evals (P Q : Polynomial L)
|
| 11 |
+
(h : ∀ t : k, P.eval (algebraMap k L t) = Q.eval (algebraMap k L t)) : P = Q := by
|
| 12 |
+
apply Polynomial.eq_of_infinite_eval_eq
|
| 13 |
+
apply (Set.infinite_range_of_injective (FaithfulSMul.algebraMap_injective k L)).mono
|
| 14 |
+
rintro _ ⟨t,rfl⟩
|
| 15 |
+
exact h t
|
| 16 |
+
|
| 17 |
+
lemma laurent_eq_zero_of_base_evals (P : LaurentPolynomial L)
|
| 18 |
+
(h : ∀ a : kˣ,
|
| 19 |
+
LaurentPolynomial.eval₂ (RingHom.id L) (Units.map (algebraMap k L) a) P = 0) : P = 0 := by
|
| 20 |
+
obtain ⟨n,p,hp⟩ := P.exists_T_pow
|
| 21 |
+
have hp0 : p = 0 := by
|
| 22 |
+
apply Polynomial.eq_of_infinite_eval_eq
|
| 23 |
+
apply (((Set.finite_singleton (0:k)).infinite_compl).image
|
| 24 |
+
(FaithfulSMul.algebraMap_injective k L).injOn).mono
|
| 25 |
+
rintro b ⟨a,ha,rfl⟩
|
| 26 |
+
let x : kˣ := Units.mk0 a ha
|
| 27 |
+
have he := congrArg (LaurentPolynomial.eval₂ (RingHom.id L)
|
| 28 |
+
(Units.map (algebraMap k L) x)) hp
|
| 29 |
+
simp only [LaurentPolynomial.eval₂_toLaurent, map_mul, h x, zero_mul,
|
| 30 |
+
Polynomial.eval₂_id] at he
|
| 31 |
+
change p.eval (algebraMap k L a) = Polynomial.eval (algebraMap k L a) 0
|
| 32 |
+
have hx : ((Units.map (algebraMap k L) x : Lˣ) : L) = algebraMap k L a := rfl
|
| 33 |
+
rw [hx] at he
|
| 34 |
+
simpa only [Polynomial.eval_zero] using he
|
| 35 |
+
rw [hp0, map_zero] at hp
|
| 36 |
+
exact (mul_eq_zero.mp hp.symm).resolve_right (IsUnit.ne_zero (LaurentPolynomial.isUnit_T n))
|
| 37 |
+
|
| 38 |
+
lemma laurent_eq_of_base_evals (P Q : LaurentPolynomial L)
|
| 39 |
+
(h : ∀ a : kˣ,
|
| 40 |
+
LaurentPolynomial.eval₂ (RingHom.id L) (Units.map (algebraMap k L) a) P =
|
| 41 |
+
LaurentPolynomial.eval₂ (RingHom.id L) (Units.map (algebraMap k L) a) Q) : P = Q := by
|
| 42 |
+
apply sub_eq_zero.mp
|
| 43 |
+
apply laurent_eq_zero_of_base_evals (k := k)
|
| 44 |
+
intro a
|
| 45 |
+
rw [map_sub, h a, sub_self]
|
| 46 |
+
lemma laurent_eq_of_evals (P Q : LaurentPolynomial k)
|
| 47 |
+
(h : ∀ a : kˣ, LaurentPolynomial.eval₂ (RingHom.id k) a P =
|
| 48 |
+
LaurentPolynomial.eval₂ (RingHom.id k) a Q) : P = Q := by
|
| 49 |
+
have hz (a : kˣ) : LaurentPolynomial.eval₂ (RingHom.id k) a (P-Q) = 0 := by
|
| 50 |
+
rw [map_sub, h a, sub_self]
|
| 51 |
+
obtain ⟨n,p,hp⟩ := (P-Q).exists_T_pow
|
| 52 |
+
have hp0 : p = 0 := by
|
| 53 |
+
apply Polynomial.eq_of_infinite_eval_eq
|
| 54 |
+
apply ((Set.finite_singleton (0:k)).infinite_compl).mono
|
| 55 |
+
intro a ha
|
| 56 |
+
let x : kˣ := Units.mk0 a ha
|
| 57 |
+
have he := congrArg (LaurentPolynomial.eval₂ (RingHom.id k) x) hp
|
| 58 |
+
simp only [LaurentPolynomial.eval₂_toLaurent, map_mul, hz x, zero_mul,
|
| 59 |
+
Polynomial.eval₂_id] at he
|
| 60 |
+
have hx : (x : k) = a := rfl
|
| 61 |
+
rw [hx] at he
|
| 62 |
+
change p.eval a = Polynomial.eval a 0
|
| 63 |
+
simpa only [Polynomial.eval_zero] using he
|
| 64 |
+
rw [hp0, map_zero] at hp
|
| 65 |
+
exact sub_eq_zero.mp ((mul_eq_zero.mp hp.symm).resolve_right
|
| 66 |
+
(IsUnit.ne_zero (LaurentPolynomial.isUnit_T n)))
|
| 67 |
+
|
| 68 |
+
end
|
| 69 |
+
end FiberFunctorProof
|
| 70 |
+
|
| 71 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LinearFormalComparison.lean
CHANGED
|
@@ -1,85 +1,85 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.MatrixFormalComparison
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.CoordinateTensor
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open Matrix
|
| 8 |
-
open scoped TensorProduct BigOperators
|
| 9 |
-
universe u v
|
| 10 |
-
variable {k : Type u} [Field k] [Infinite k]
|
| 11 |
-
variable {K : Type v} [Field K] [Algebra k K]
|
| 12 |
-
variable {ι : Type u} [Fintype ι] [DecidableEq ι]
|
| 13 |
-
variable {T : Type u} [AddCommGroup T] [Module k T] [Module.Finite k T]
|
| 14 |
-
|
| 15 |
-
omit [Infinite k] in
|
| 16 |
-
lemma scalarCoordinates_one (v : ι → k) :
|
| 17 |
-
(TensorProduct.piScalarRight k K K ι) (1 ⊗ₜ[k] v) = fun i => algebraMap k K (v i) := by
|
| 18 |
-
simp only [TensorProduct.piScalarRight_apply, TensorProduct.piScalarRightHom_tmul,
|
| 19 |
-
Algebra.smul_def, mul_one]
|
| 20 |
-
|
| 21 |
-
omit [Infinite k] in
|
| 22 |
-
lemma scalarCoordinates_symm_base (v : ι → k) :
|
| 23 |
-
(TensorProduct.piScalarRight k K K ι).symm (fun i => algebraMap k K (v i)) = 1 ⊗ₜ[k] v := by
|
| 24 |
-
rw [← scalarCoordinates_one, LinearEquiv.symm_apply_apply]
|
| 25 |
-
|
| 26 |
-
omit [Infinite k] [DecidableEq ι] in
|
| 27 |
-
lemma eq_finrank_of_field_equiv (F : (K ⊗[k] T) ≃ₗ[K] (ι → K)) :
|
| 28 |
-
Module.finrank k T = Module.finrank k (ι → k) := by
|
| 29 |
-
rw [Module.finrank_fintype_fun_eq_card, ← Module.finrank_baseChange (R := K)]
|
| 30 |
-
exact F.finrank_eq.trans (Module.finrank_fintype_fun_eq_card K)
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
theorem linear_formal_comparison
|
| 35 |
-
(ρ : Representation k (SL2 k) T) (hρ : IsRational k ρ)
|
| 36 |
-
(P : Matrix ι ι (Polynomial k)) (x : K) (hx : x ≠ 0)
|
| 37 |
-
(F : (K ⊗[k] T) ≃ₗ[K] (ι → K))
|
| 38 |
-
(hF : ∀ t : k, ∀ v : T,
|
| 39 |
-
F (1 ⊗ₜ[k] ρ (unipotent k t) v) =
|
| 40 |
-
polynomialMatrixEval P (algebraMap k K t / x^2) *ᵥ F (1 ⊗ₜ[k] v)) :
|
| 41 |
-
∃ E : T ≃ₗ[k] (ι → k), ∀ t : k, ∀ v : T,
|
| 42 |
-
E (ρ (unipotent k t) v) = polynomialMatrixEval P t *ᵥ E v := by
|
| 43 |
-
let e : T ≃ₗ[k] (ι → k) := LinearEquiv.ofFinrankEq T (ι → k) (eq_finrank_of_field_equiv F)
|
| 44 |
-
let τ := coordinateRepresentation k ρ e
|
| 45 |
-
have hτ : IsRational k τ := coordinateRepresentation_rational k ρ e hρ
|
| 46 |
-
let Q := TensorProduct.piScalarRight k K K ι
|
| 47 |
-
let C₀ : (ι → K) ≃ₗ[K] (ι → K) := Q.symm ≪≫ₗ e.symm.baseChange k K _ _ ≪≫ₗ F
|
| 48 |
-
let C := LinearMap.toMatrix' C₀.toLinearMap
|
| 49 |
-
have hC : C.det ≠ 0 := (C₀.isUnit_det (Pi.basisFun K ι) (Pi.basisFun K ι)).ne_zero
|
| 50 |
-
have hCv (v : ι → k) : C *ᵥ (fun i => algebraMap k K (v i)) = F (1 ⊗ₜ[k] e.symm v) := by
|
| 51 |
-
rw [LinearMap.toMatrix'_mulVec]
|
| 52 |
-
change F (e.symm.baseChange k K _ _ (Q.symm (fun i => algebraMap k K (v i)))) = _
|
| 53 |
-
rw [scalarCoordinates_symm_base, LinearEquiv.baseChange_tmul]
|
| 54 |
-
have hCeq (t : k) : C * (LinearMap.toMatrix' (τ (unipotent k t))).map (algebraMap k K) =
|
| 55 |
-
polynomialMatrixEval P (algebraMap k K t / x^2) * C := by
|
| 56 |
-
apply Matrix.ext_of_mulVec_single
|
| 57 |
-
intro j
|
| 58 |
-
rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec]
|
| 59 |
-
have hsingle : (Pi.single j 1 : ι → K) = fun i => algebraMap k K ((Pi.single j 1 : ι → k) i) := by
|
| 60 |
-
funext i
|
| 61 |
-
simp [Pi.single_apply]
|
| 62 |
-
have hmap (B : Matrix ι ι k) (v : ι → k) :
|
| 63 |
-
B.map (algebraMap k K) *ᵥ (fun i => algebraMap k K (v i)) =
|
| 64 |
-
fun i => algebraMap k K ((B *ᵥ v) i) := by
|
| 65 |
-
funext i
|
| 66 |
-
exact (RingHom.map_mulVec (algebraMap k K) B v i).symm
|
| 67 |
-
rw [hsingle, hmap, hCv, hCv, LinearMap.toMatrix'_mulVec]
|
| 68 |
-
have heq : e.symm (τ (unipotent k t) (Pi.single j 1)) =
|
| 69 |
-
ρ (unipotent k t) (e.symm (Pi.single j 1)) := by
|
| 70 |
-
apply e.injective
|
| 71 |
-
rw [e.apply_symm_apply, coordinateRepresentation_equiv, e.apply_symm_apply]
|
| 72 |
-
rw [heq]
|
| 73 |
-
exact hF t _
|
| 74 |
-
obtain ⟨D,hD,heD⟩ := matrix_formal_comparison τ hτ P x hx C hC hCeq
|
| 75 |
-
let E₀ := Matrix.toLinearEquiv (Pi.basisFun k ι) D (isUnit_iff_ne_zero.mpr hD)
|
| 76 |
-
have hE₀ (v : ι → k) : E₀ v = D *ᵥ v := by
|
| 77 |
-
rw [Matrix.toLinearEquiv_apply]
|
| 78 |
-
rfl
|
| 79 |
-
refine ⟨e.trans E₀, fun t v => ?_⟩
|
| 80 |
-
simp only [LinearEquiv.trans_apply, hE₀, coordinateRepresentation_equiv]
|
| 81 |
-
rw [← LinearMap.toMatrix'_mulVec (τ (unipotent k t)), Matrix.mulVec_mulVec,
|
| 82 |
-
← heD, ← Matrix.mulVec_mulVec]
|
| 83 |
-
end FiberFunctorProof
|
| 84 |
-
|
| 85 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.MatrixFormalComparison
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.CoordinateTensor
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open Matrix
|
| 8 |
+
open scoped TensorProduct BigOperators
|
| 9 |
+
universe u v
|
| 10 |
+
variable {k : Type u} [Field k] [Infinite k]
|
| 11 |
+
variable {K : Type v} [Field K] [Algebra k K]
|
| 12 |
+
variable {ι : Type u} [Fintype ι] [DecidableEq ι]
|
| 13 |
+
variable {T : Type u} [AddCommGroup T] [Module k T] [Module.Finite k T]
|
| 14 |
+
|
| 15 |
+
omit [Infinite k] in
|
| 16 |
+
lemma scalarCoordinates_one (v : ι → k) :
|
| 17 |
+
(TensorProduct.piScalarRight k K K ι) (1 ⊗ₜ[k] v) = fun i => algebraMap k K (v i) := by
|
| 18 |
+
simp only [TensorProduct.piScalarRight_apply, TensorProduct.piScalarRightHom_tmul,
|
| 19 |
+
Algebra.smul_def, mul_one]
|
| 20 |
+
|
| 21 |
+
omit [Infinite k] in
|
| 22 |
+
lemma scalarCoordinates_symm_base (v : ι → k) :
|
| 23 |
+
(TensorProduct.piScalarRight k K K ι).symm (fun i => algebraMap k K (v i)) = 1 ⊗ₜ[k] v := by
|
| 24 |
+
rw [← scalarCoordinates_one, LinearEquiv.symm_apply_apply]
|
| 25 |
+
|
| 26 |
+
omit [Infinite k] [DecidableEq ι] in
|
| 27 |
+
lemma eq_finrank_of_field_equiv (F : (K ⊗[k] T) ≃ₗ[K] (ι → K)) :
|
| 28 |
+
Module.finrank k T = Module.finrank k (ι → k) := by
|
| 29 |
+
rw [Module.finrank_fintype_fun_eq_card, ← Module.finrank_baseChange (R := K)]
|
| 30 |
+
exact F.finrank_eq.trans (Module.finrank_fintype_fun_eq_card K)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
theorem linear_formal_comparison
|
| 35 |
+
(ρ : Representation k (SL2 k) T) (hρ : IsRational k ρ)
|
| 36 |
+
(P : Matrix ι ι (Polynomial k)) (x : K) (hx : x ≠ 0)
|
| 37 |
+
(F : (K ⊗[k] T) ≃ₗ[K] (ι → K))
|
| 38 |
+
(hF : ∀ t : k, ∀ v : T,
|
| 39 |
+
F (1 ⊗ₜ[k] ρ (unipotent k t) v) =
|
| 40 |
+
polynomialMatrixEval P (algebraMap k K t / x^2) *ᵥ F (1 ⊗ₜ[k] v)) :
|
| 41 |
+
∃ E : T ≃ₗ[k] (ι → k), ∀ t : k, ∀ v : T,
|
| 42 |
+
E (ρ (unipotent k t) v) = polynomialMatrixEval P t *ᵥ E v := by
|
| 43 |
+
let e : T ≃ₗ[k] (ι → k) := LinearEquiv.ofFinrankEq T (ι → k) (eq_finrank_of_field_equiv F)
|
| 44 |
+
let τ := coordinateRepresentation k ρ e
|
| 45 |
+
have hτ : IsRational k τ := coordinateRepresentation_rational k ρ e hρ
|
| 46 |
+
let Q := TensorProduct.piScalarRight k K K ι
|
| 47 |
+
let C₀ : (ι → K) ≃ₗ[K] (ι → K) := Q.symm ≪≫ₗ e.symm.baseChange k K _ _ ≪≫ₗ F
|
| 48 |
+
let C := LinearMap.toMatrix' C₀.toLinearMap
|
| 49 |
+
have hC : C.det ≠ 0 := (C₀.isUnit_det (Pi.basisFun K ι) (Pi.basisFun K ι)).ne_zero
|
| 50 |
+
have hCv (v : ι → k) : C *ᵥ (fun i => algebraMap k K (v i)) = F (1 ⊗ₜ[k] e.symm v) := by
|
| 51 |
+
rw [LinearMap.toMatrix'_mulVec]
|
| 52 |
+
change F (e.symm.baseChange k K _ _ (Q.symm (fun i => algebraMap k K (v i)))) = _
|
| 53 |
+
rw [scalarCoordinates_symm_base, LinearEquiv.baseChange_tmul]
|
| 54 |
+
have hCeq (t : k) : C * (LinearMap.toMatrix' (τ (unipotent k t))).map (algebraMap k K) =
|
| 55 |
+
polynomialMatrixEval P (algebraMap k K t / x^2) * C := by
|
| 56 |
+
apply Matrix.ext_of_mulVec_single
|
| 57 |
+
intro j
|
| 58 |
+
rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec]
|
| 59 |
+
have hsingle : (Pi.single j 1 : ι → K) = fun i => algebraMap k K ((Pi.single j 1 : ι → k) i) := by
|
| 60 |
+
funext i
|
| 61 |
+
simp [Pi.single_apply]
|
| 62 |
+
have hmap (B : Matrix ι ι k) (v : ι → k) :
|
| 63 |
+
B.map (algebraMap k K) *ᵥ (fun i => algebraMap k K (v i)) =
|
| 64 |
+
fun i => algebraMap k K ((B *ᵥ v) i) := by
|
| 65 |
+
funext i
|
| 66 |
+
exact (RingHom.map_mulVec (algebraMap k K) B v i).symm
|
| 67 |
+
rw [hsingle, hmap, hCv, hCv, LinearMap.toMatrix'_mulVec]
|
| 68 |
+
have heq : e.symm (τ (unipotent k t) (Pi.single j 1)) =
|
| 69 |
+
ρ (unipotent k t) (e.symm (Pi.single j 1)) := by
|
| 70 |
+
apply e.injective
|
| 71 |
+
rw [e.apply_symm_apply, coordinateRepresentation_equiv, e.apply_symm_apply]
|
| 72 |
+
rw [heq]
|
| 73 |
+
exact hF t _
|
| 74 |
+
obtain ⟨D,hD,heD⟩ := matrix_formal_comparison τ hτ P x hx C hC hCeq
|
| 75 |
+
let E₀ := Matrix.toLinearEquiv (Pi.basisFun k ι) D (isUnit_iff_ne_zero.mpr hD)
|
| 76 |
+
have hE₀ (v : ι → k) : E₀ v = D *ᵥ v := by
|
| 77 |
+
rw [Matrix.toLinearEquiv_apply]
|
| 78 |
+
rfl
|
| 79 |
+
refine ⟨e.trans E₀, fun t v => ?_⟩
|
| 80 |
+
simp only [LinearEquiv.trans_apply, hE₀, coordinateRepresentation_equiv]
|
| 81 |
+
rw [← LinearMap.toMatrix'_mulVec (τ (unipotent k t)), Matrix.mulVec_mulVec,
|
| 82 |
+
← heD, ← Matrix.mulVec_mulVec]
|
| 83 |
+
end FiberFunctorProof
|
| 84 |
+
|
| 85 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LocalFreeness.lean
CHANGED
|
@@ -1,139 +1,139 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedLattices
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Weak regularity and local freeness of associated sections. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
open scoped Pointwise TensorProduct
|
| 15 |
-
open RingTheory.Sequence
|
| 16 |
-
|
| 17 |
-
section
|
| 18 |
-
variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 19 |
-
|
| 20 |
-
lemma weaklyRegular_pair_iff (x y : R) :
|
| 21 |
-
IsWeaklyRegular M [x,y] ↔
|
| 22 |
-
Function.Injective (fun m : M => x • m) ∧
|
| 23 |
-
∀ v n : M, y • v = x • n → ∃ w : M, v = x • w := by
|
| 24 |
-
rw [isWeaklyRegular_cons_iff, isWeaklyRegular_singleton_iff]
|
| 25 |
-
change IsSMulRegular M x ∧ IsSMulRegular (M ⧸ (x • (⊤ : Submodule R M))) y ↔ _
|
| 26 |
-
rw [isSMulRegular_on_quot_iff_lsmul_comap_le]
|
| 27 |
-
constructor
|
| 28 |
-
· rintro ⟨hx,hy⟩
|
| 29 |
-
refine ⟨hx, fun v n hn => ?_⟩
|
| 30 |
-
have hv : v ∈ x • (⊤ : Submodule R M) := hy (by
|
| 31 |
-
change y • v ∈ x • (⊤ : Submodule R M)
|
| 32 |
-
rw [hn]
|
| 33 |
-
exact Submodule.smul_mem_pointwise_smul n x ⊤ (by trivial))
|
| 34 |
-
obtain ⟨w,_,hw⟩ := (Submodule.mem_smul_pointwise_iff_exists _ _ _).mp hv
|
| 35 |
-
exact ⟨w,hw.symm⟩
|
| 36 |
-
· rintro ⟨hx,hy⟩
|
| 37 |
-
refine ⟨hx, ?_⟩
|
| 38 |
-
intro v hv
|
| 39 |
-
obtain ⟨n,_,hn⟩ := (Submodule.mem_smul_pointwise_iff_exists _ _ _).mp hv
|
| 40 |
-
obtain ⟨w,hw⟩ := hy v n hn.symm
|
| 41 |
-
rw [hw]
|
| 42 |
-
exact Submodule.smul_mem_pointwise_smul w x ⊤ (by trivial)
|
| 43 |
-
|
| 44 |
-
end
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
theorem flat_baseChange_free {R S M : Type*}
|
| 49 |
-
[CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S]
|
| 50 |
-
[IsLocalRing S] [IsNoetherianRing S]
|
| 51 |
-
[AddCommGroup M] [Module R M] [Module.Finite R M]
|
| 52 |
-
(x y : R) (hm : IsLocalRing.maximalIdeal S =
|
| 53 |
-
Ideal.span {algebraMap R S x, algebraMap R S y})
|
| 54 |
-
(hx : Function.Injective (fun m : M => x • m))
|
| 55 |
-
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) :
|
| 56 |
-
Module.Free S (S ⊗[R] M) := by
|
| 57 |
-
have hr := (weaklyRegular_pair_iff x y).mpr ⟨hx,hy⟩
|
| 58 |
-
have hS := hr.isWeaklyRegular_lTensor (M₂ := S)
|
| 59 |
-
obtain ⟨hxS,hyS⟩ := (weaklyRegular_pair_iff (M := S ⊗[R] M) x y).mp hS
|
| 60 |
-
let : Module.FinitePresentation S (S ⊗[R] M) := Module.finitePresentation_of_finite S _
|
| 61 |
-
apply free_of_two_generators (algebraMap R S x) (algebraMap R S y) hm
|
| 62 |
-
· simpa only [algebraMap_smul] using hxS
|
| 63 |
-
· simpa only [algebraMap_smul] using hyS
|
| 64 |
-
end
|
| 65 |
-
|
| 66 |
-
open scoped TensorProduct
|
| 67 |
-
|
| 68 |
-
lemma gluedLattice_regular {R K ι : Type*} [CommRing R] [Field K]
|
| 69 |
-
[Algebra R K] [FaithfulSMul R K] (x y : R) (hx : x ≠ 0) (hy : y ≠ 0)
|
| 70 |
-
(P : (ι → K) ≃ₗ[K] (ι → K)) :
|
| 71 |
-
Function.Injective (fun m : gluedLattice x y P => x • m) ∧
|
| 72 |
-
∀ v n : gluedLattice x y P, y • v = x • n →
|
| 73 |
-
∃ w : gluedLattice x y P, v = x • w := by
|
| 74 |
-
have hinj := FaithfulSMul.algebraMap_injective R K
|
| 75 |
-
have hxK : algebraMap R K x ≠ 0 := fun h => hx (hinj (h.trans (map_zero _).symm))
|
| 76 |
-
have hyK : algebraMap R K y ≠ 0 := fun h => hy (hinj (h.trans (map_zero _).symm))
|
| 77 |
-
have hB : ∀ z ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R),
|
| 78 |
-
(algebraMap R K y)⁻¹ • z ∈
|
| 79 |
-
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) := by
|
| 80 |
-
rintro z ⟨v,hv,rfl⟩
|
| 81 |
-
refine ⟨(algebraMap R K y)⁻¹ • v, powerLocalization_div y _ hyK hv, ?_⟩
|
| 82 |
-
exact P.map_smul _ _
|
| 83 |
-
exact intersection_regular _ _ x y hxK hyK
|
| 84 |
-
(fun _ hv => powerLocalization_div x _ hxK hv) hB
|
| 85 |
-
|
| 86 |
-
lemma regular_pair_equiv {R M N : Type*} [CommRing R]
|
| 87 |
-
[AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N]
|
| 88 |
-
(e : M ≃ₗ[R] N) (x y : R)
|
| 89 |
-
(hx : Function.Injective (fun n : N => x • n))
|
| 90 |
-
(hy : ∀ v n : N, y • v = x • n → ∃ w : N, v = x • w) :
|
| 91 |
-
Function.Injective (fun m : M => x • m) ∧
|
| 92 |
-
∀ v n : M, y • v = x • n → ∃ w : M, v = x • w := by
|
| 93 |
-
constructor
|
| 94 |
-
· intro a b hab
|
| 95 |
-
apply e.injective
|
| 96 |
-
apply hx
|
| 97 |
-
simpa using congrArg e hab
|
| 98 |
-
· intro v n hn
|
| 99 |
-
obtain ⟨w,hw⟩ := hy (e v) (e n) (by simpa using congrArg e hn)
|
| 100 |
-
refine ⟨e.symm w, e.injective ?_⟩
|
| 101 |
-
simpa using hw
|
| 102 |
-
|
| 103 |
-
universe u
|
| 104 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 105 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 106 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 107 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 108 |
-
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 109 |
-
|
| 110 |
-
include hP in
|
| 111 |
-
|
| 112 |
-
theorem associatedSections_regular :
|
| 113 |
-
Function.Injective (fun m : associatedSectionsSubmodule k ι ρ =>
|
| 114 |
-
(MvPolynomial.X (0 : Fin 2) : MvPolynomial (Fin 2) k) • m) ∧
|
| 115 |
-
∀ v n : associatedSectionsSubmodule k ι ρ,
|
| 116 |
-
(MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 117 |
-
∃ w : associatedSectionsSubmodule k ι ρ, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w := by
|
| 118 |
-
obtain ⟨hx,hy⟩ := gluedLattice_regular
|
| 119 |
-
(MvPolynomial.X (0 : Fin 2) : MvPolynomial (Fin 2) k) (MvPolynomial.X 1)
|
| 120 |
-
(MvPolynomial.X_ne_zero 0) (MvPolynomial.X_ne_zero 1)
|
| 121 |
-
(planeGlobalTransition k P (associatedPolynomial_zero k ι ρ P hP)
|
| 122 |
-
(associatedPolynomial_add k ι ρ P hP))
|
| 123 |
-
exact regular_pair_equiv (associatedLatticeEquiv k ι ρ P hP) _ _ hx hy
|
| 124 |
-
|
| 125 |
-
include hP in
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
theorem associatedStalk_free (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 129 |
-
Module.Free (planeOriginRing k)
|
| 130 |
-
((planeOriginRing k) ⊗[MvPolynomial (Fin 2) k] (associatedSectionsSubmodule k ι ρ)) := by
|
| 131 |
-
let : Module.Finite (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) :=
|
| 132 |
-
associatedSections_finite k ι ρ P hP d hd
|
| 133 |
-
obtain ⟨hx,hy⟩ := associatedSections_regular k ι ρ P hP
|
| 134 |
-
exact flat_baseChange_free (MvPolynomial.X 0) (MvPolynomial.X 1)
|
| 135 |
-
(planeOrigin_maximalIdeal k) hx hy
|
| 136 |
-
end FiberFunctorProof
|
| 137 |
-
end
|
| 138 |
-
|
| 139 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedLattices
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Weak regularity and local freeness of associated sections. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
open scoped Pointwise TensorProduct
|
| 15 |
+
open RingTheory.Sequence
|
| 16 |
+
|
| 17 |
+
section
|
| 18 |
+
variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M]
|
| 19 |
+
|
| 20 |
+
lemma weaklyRegular_pair_iff (x y : R) :
|
| 21 |
+
IsWeaklyRegular M [x,y] ↔
|
| 22 |
+
Function.Injective (fun m : M => x • m) ∧
|
| 23 |
+
∀ v n : M, y • v = x • n → ∃ w : M, v = x • w := by
|
| 24 |
+
rw [isWeaklyRegular_cons_iff, isWeaklyRegular_singleton_iff]
|
| 25 |
+
change IsSMulRegular M x ∧ IsSMulRegular (M ⧸ (x • (⊤ : Submodule R M))) y ↔ _
|
| 26 |
+
rw [isSMulRegular_on_quot_iff_lsmul_comap_le]
|
| 27 |
+
constructor
|
| 28 |
+
· rintro ⟨hx,hy⟩
|
| 29 |
+
refine ⟨hx, fun v n hn => ?_⟩
|
| 30 |
+
have hv : v ∈ x • (⊤ : Submodule R M) := hy (by
|
| 31 |
+
change y • v ∈ x • (⊤ : Submodule R M)
|
| 32 |
+
rw [hn]
|
| 33 |
+
exact Submodule.smul_mem_pointwise_smul n x ⊤ (by trivial))
|
| 34 |
+
obtain ⟨w,_,hw⟩ := (Submodule.mem_smul_pointwise_iff_exists _ _ _).mp hv
|
| 35 |
+
exact ⟨w,hw.symm⟩
|
| 36 |
+
· rintro ⟨hx,hy⟩
|
| 37 |
+
refine ⟨hx, ?_⟩
|
| 38 |
+
intro v hv
|
| 39 |
+
obtain ⟨n,_,hn⟩ := (Submodule.mem_smul_pointwise_iff_exists _ _ _).mp hv
|
| 40 |
+
obtain ⟨w,hw⟩ := hy v n hn.symm
|
| 41 |
+
rw [hw]
|
| 42 |
+
exact Submodule.smul_mem_pointwise_smul w x ⊤ (by trivial)
|
| 43 |
+
|
| 44 |
+
end
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
theorem flat_baseChange_free {R S M : Type*}
|
| 49 |
+
[CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S]
|
| 50 |
+
[IsLocalRing S] [IsNoetherianRing S]
|
| 51 |
+
[AddCommGroup M] [Module R M] [Module.Finite R M]
|
| 52 |
+
(x y : R) (hm : IsLocalRing.maximalIdeal S =
|
| 53 |
+
Ideal.span {algebraMap R S x, algebraMap R S y})
|
| 54 |
+
(hx : Function.Injective (fun m : M => x • m))
|
| 55 |
+
(hy : ∀ v n : M, y • v = x • n → ∃ w : M, v = x • w) :
|
| 56 |
+
Module.Free S (S ⊗[R] M) := by
|
| 57 |
+
have hr := (weaklyRegular_pair_iff x y).mpr ⟨hx,hy⟩
|
| 58 |
+
have hS := hr.isWeaklyRegular_lTensor (M₂ := S)
|
| 59 |
+
obtain ⟨hxS,hyS⟩ := (weaklyRegular_pair_iff (M := S ⊗[R] M) x y).mp hS
|
| 60 |
+
let : Module.FinitePresentation S (S ⊗[R] M) := Module.finitePresentation_of_finite S _
|
| 61 |
+
apply free_of_two_generators (algebraMap R S x) (algebraMap R S y) hm
|
| 62 |
+
· simpa only [algebraMap_smul] using hxS
|
| 63 |
+
· simpa only [algebraMap_smul] using hyS
|
| 64 |
+
end
|
| 65 |
+
|
| 66 |
+
open scoped TensorProduct
|
| 67 |
+
|
| 68 |
+
lemma gluedLattice_regular {R K ι : Type*} [CommRing R] [Field K]
|
| 69 |
+
[Algebra R K] [FaithfulSMul R K] (x y : R) (hx : x ≠ 0) (hy : y ≠ 0)
|
| 70 |
+
(P : (ι → K) ≃ₗ[K] (ι → K)) :
|
| 71 |
+
Function.Injective (fun m : gluedLattice x y P => x • m) ∧
|
| 72 |
+
∀ v n : gluedLattice x y P, y • v = x • n →
|
| 73 |
+
∃ w : gluedLattice x y P, v = x • w := by
|
| 74 |
+
have hinj := FaithfulSMul.algebraMap_injective R K
|
| 75 |
+
have hxK : algebraMap R K x ≠ 0 := fun h => hx (hinj (h.trans (map_zero _).symm))
|
| 76 |
+
have hyK : algebraMap R K y ≠ 0 := fun h => hy (hinj (h.trans (map_zero _).symm))
|
| 77 |
+
have hB : ∀ z ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R),
|
| 78 |
+
(algebraMap R K y)⁻¹ • z ∈
|
| 79 |
+
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) := by
|
| 80 |
+
rintro z ⟨v,hv,rfl⟩
|
| 81 |
+
refine ⟨(algebraMap R K y)⁻¹ • v, powerLocalization_div y _ hyK hv, ?_⟩
|
| 82 |
+
exact P.map_smul _ _
|
| 83 |
+
exact intersection_regular _ _ x y hxK hyK
|
| 84 |
+
(fun _ hv => powerLocalization_div x _ hxK hv) hB
|
| 85 |
+
|
| 86 |
+
lemma regular_pair_equiv {R M N : Type*} [CommRing R]
|
| 87 |
+
[AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N]
|
| 88 |
+
(e : M ≃ₗ[R] N) (x y : R)
|
| 89 |
+
(hx : Function.Injective (fun n : N => x • n))
|
| 90 |
+
(hy : ∀ v n : N, y • v = x • n → ∃ w : N, v = x • w) :
|
| 91 |
+
Function.Injective (fun m : M => x • m) ∧
|
| 92 |
+
∀ v n : M, y • v = x • n → ∃ w : M, v = x • w := by
|
| 93 |
+
constructor
|
| 94 |
+
· intro a b hab
|
| 95 |
+
apply e.injective
|
| 96 |
+
apply hx
|
| 97 |
+
simpa using congrArg e hab
|
| 98 |
+
· intro v n hn
|
| 99 |
+
obtain ⟨w,hw⟩ := hy (e v) (e n) (by simpa using congrArg e hn)
|
| 100 |
+
refine ⟨e.symm w, e.injective ?_⟩
|
| 101 |
+
simpa using hw
|
| 102 |
+
|
| 103 |
+
universe u
|
| 104 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 105 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 106 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 107 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 108 |
+
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 109 |
+
|
| 110 |
+
include hP in
|
| 111 |
+
|
| 112 |
+
theorem associatedSections_regular :
|
| 113 |
+
Function.Injective (fun m : associatedSectionsSubmodule k ι ρ =>
|
| 114 |
+
(MvPolynomial.X (0 : Fin 2) : MvPolynomial (Fin 2) k) • m) ∧
|
| 115 |
+
∀ v n : associatedSectionsSubmodule k ι ρ,
|
| 116 |
+
(MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 117 |
+
∃ w : associatedSectionsSubmodule k ι ρ, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w := by
|
| 118 |
+
obtain ⟨hx,hy⟩ := gluedLattice_regular
|
| 119 |
+
(MvPolynomial.X (0 : Fin 2) : MvPolynomial (Fin 2) k) (MvPolynomial.X 1)
|
| 120 |
+
(MvPolynomial.X_ne_zero 0) (MvPolynomial.X_ne_zero 1)
|
| 121 |
+
(planeGlobalTransition k P (associatedPolynomial_zero k ι ρ P hP)
|
| 122 |
+
(associatedPolynomial_add k ι ρ P hP))
|
| 123 |
+
exact regular_pair_equiv (associatedLatticeEquiv k ι ρ P hP) _ _ hx hy
|
| 124 |
+
|
| 125 |
+
include hP in
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
theorem associatedStalk_free (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 129 |
+
Module.Free (planeOriginRing k)
|
| 130 |
+
((planeOriginRing k) ⊗[MvPolynomial (Fin 2) k] (associatedSectionsSubmodule k ι ρ)) := by
|
| 131 |
+
let : Module.Finite (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) :=
|
| 132 |
+
associatedSections_finite k ι ρ P hP d hd
|
| 133 |
+
obtain ⟨hx,hy⟩ := associatedSections_regular k ι ρ P hP
|
| 134 |
+
exact flat_baseChange_free (MvPolynomial.X 0) (MvPolynomial.X 1)
|
| 135 |
+
(planeOrigin_maximalIdeal k) hx hy
|
| 136 |
+
end FiberFunctorProof
|
| 137 |
+
end
|
| 138 |
+
|
| 139 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/LowDegreeTrace.lean
CHANGED
|
@@ -1,49 +1,49 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped BigOperators
|
| 7 |
-
universe u v
|
| 8 |
-
variable {k : Type u} [Field k] {E : Type v} [AddGroup E] [Fintype E] [DecidableEq E]
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
lemma additive_lagrange_denominator (l : E →+ k) (a : E) :
|
| 13 |
-
(∏ b ∈ Finset.univ.erase a, (l a - l b)) =
|
| 14 |
-
∏ b ∈ Finset.univ.erase 0, l b := by
|
| 15 |
-
classical
|
| 16 |
-
apply Finset.prod_equiv (Equiv.subLeft a)
|
| 17 |
-
· intro b
|
| 18 |
-
simp [Equiv.subLeft_apply, sub_eq_zero, eq_comm]
|
| 19 |
-
· intro b _
|
| 20 |
-
simp
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
theorem finite_additive_polynomial_sum_zero (l : E →+ k) (hl : Function.Injective l)
|
| 25 |
-
(P : Polynomial k) (hP : P.natDegree < Fintype.card E - 1) :
|
| 26 |
-
∑ a : E, P.eval (l a) = 0 := by
|
| 27 |
-
classical
|
| 28 |
-
let c : k := ∏ b ∈ Finset.univ.erase (0 : E), l b
|
| 29 |
-
have hc : c ≠ 0 := by
|
| 30 |
-
apply Finset.prod_ne_zero_iff.mpr
|
| 31 |
-
intro a ha hz
|
| 32 |
-
have h := hl (show l a = l 0 by simpa using hz)
|
| 33 |
-
exact (Finset.mem_erase.mp ha).1 h
|
| 34 |
-
have hd : P.degree < (Finset.univ : Finset E).card := by
|
| 35 |
-
apply lt_of_le_of_lt Polynomial.degree_le_natDegree
|
| 36 |
-
exact_mod_cast (show P.natDegree < Fintype.card E by omega)
|
| 37 |
-
have he := Lagrange.coeff_eq_sum (s := Finset.univ) (v := l) hl.injOn hd
|
| 38 |
-
have hcoe : P.coeff ((Finset.univ : Finset E).card - 1) = 0 :=
|
| 39 |
-
Polynomial.coeff_eq_zero_of_natDegree_lt (by simpa using hP)
|
| 40 |
-
rw [hcoe] at he
|
| 41 |
-
simp only [additive_lagrange_denominator, ← Finset.sum_div] at he
|
| 42 |
-
exact (div_eq_zero_iff.mp he.symm).resolve_right hc
|
| 43 |
-
|
| 44 |
-
lemma finite_additive_power_sum_zero (l : E →+ k) (hl : Function.Injective l)
|
| 45 |
-
(n : ℕ) (hn : n < Fintype.card E - 1) : ∑ a : E, l a ^ n = 0 := by
|
| 46 |
-
simpa using finite_additive_polynomial_sum_zero l hl (Polynomial.X ^ n) (by simpa using hn)
|
| 47 |
-
end FiberFunctorProof
|
| 48 |
-
|
| 49 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped BigOperators
|
| 7 |
+
universe u v
|
| 8 |
+
variable {k : Type u} [Field k] {E : Type v} [AddGroup E] [Fintype E] [DecidableEq E]
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
lemma additive_lagrange_denominator (l : E →+ k) (a : E) :
|
| 13 |
+
(∏ b ∈ Finset.univ.erase a, (l a - l b)) =
|
| 14 |
+
∏ b ∈ Finset.univ.erase 0, l b := by
|
| 15 |
+
classical
|
| 16 |
+
apply Finset.prod_equiv (Equiv.subLeft a)
|
| 17 |
+
· intro b
|
| 18 |
+
simp [Equiv.subLeft_apply, sub_eq_zero, eq_comm]
|
| 19 |
+
· intro b _
|
| 20 |
+
simp
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
theorem finite_additive_polynomial_sum_zero (l : E →+ k) (hl : Function.Injective l)
|
| 25 |
+
(P : Polynomial k) (hP : P.natDegree < Fintype.card E - 1) :
|
| 26 |
+
∑ a : E, P.eval (l a) = 0 := by
|
| 27 |
+
classical
|
| 28 |
+
let c : k := ∏ b ∈ Finset.univ.erase (0 : E), l b
|
| 29 |
+
have hc : c ≠ 0 := by
|
| 30 |
+
apply Finset.prod_ne_zero_iff.mpr
|
| 31 |
+
intro a ha hz
|
| 32 |
+
have h := hl (show l a = l 0 by simpa using hz)
|
| 33 |
+
exact (Finset.mem_erase.mp ha).1 h
|
| 34 |
+
have hd : P.degree < (Finset.univ : Finset E).card := by
|
| 35 |
+
apply lt_of_le_of_lt Polynomial.degree_le_natDegree
|
| 36 |
+
exact_mod_cast (show P.natDegree < Fintype.card E by omega)
|
| 37 |
+
have he := Lagrange.coeff_eq_sum (s := Finset.univ) (v := l) hl.injOn hd
|
| 38 |
+
have hcoe : P.coeff ((Finset.univ : Finset E).card - 1) = 0 :=
|
| 39 |
+
Polynomial.coeff_eq_zero_of_natDegree_lt (by simpa using hP)
|
| 40 |
+
rw [hcoe] at he
|
| 41 |
+
simp only [additive_lagrange_denominator, ← Finset.sum_div] at he
|
| 42 |
+
exact (div_eq_zero_iff.mp he.symm).resolve_right hc
|
| 43 |
+
|
| 44 |
+
lemma finite_additive_power_sum_zero (l : E →+ k) (hl : Function.Injective l)
|
| 45 |
+
(n : ℕ) (hn : n < Fintype.card E - 1) : ∑ a : E, l a ^ n = 0 := by
|
| 46 |
+
simpa using finite_additive_polynomial_sum_zero l hl (Polynomial.X ^ n) (by simpa using hn)
|
| 47 |
+
end FiberFunctorProof
|
| 48 |
+
|
| 49 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/Main.lean
CHANGED
|
@@ -1,89 +1,89 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.AdicJets
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedBundle
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedFibre
|
| 4 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedNumerator
|
| 5 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedPlaneJet
|
| 6 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedProjective
|
| 7 |
-
import OAI.RepresentationTheory.RestrictedTilting.BaseChangeProjective
|
| 8 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedOrigin
|
| 9 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedOriginTarget
|
| 10 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedStableFaithfulness
|
| 11 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedUnipotentTilting
|
| 12 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedWeightsFactors
|
| 13 |
-
import OAI.RepresentationTheory.RestrictedTilting.ClearedPolynomial
|
| 14 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 15 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompletedCoordinates
|
| 16 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompletionCoefficients
|
| 17 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompletionTriviality
|
| 18 |
-
import OAI.RepresentationTheory.RestrictedTilting.CoordinateTensor
|
| 19 |
-
import OAI.RepresentationTheory.RestrictedTilting.FaithfulTarget
|
| 20 |
-
import OAI.RepresentationTheory.RestrictedTilting.FiniteFreeTrace
|
| 21 |
-
import OAI.RepresentationTheory.RestrictedTilting.FiniteGenerator
|
| 22 |
-
import OAI.RepresentationTheory.RestrictedTilting.FiniteJetMaps
|
| 23 |
-
import OAI.RepresentationTheory.RestrictedTilting.FiniteSubgroupLift
|
| 24 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalAssociatedAction
|
| 25 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalAssociatedIso
|
| 26 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalLine
|
| 27 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalLineContinuity
|
| 28 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalSectionAction
|
| 29 |
-
import OAI.RepresentationTheory.RestrictedTilting.FormalSections
|
| 30 |
-
import OAI.RepresentationTheory.RestrictedTilting.GeneratedStableKernel
|
| 31 |
-
import OAI.RepresentationTheory.RestrictedTilting.GoodKernel
|
| 32 |
-
import OAI.RepresentationTheory.RestrictedTilting.GoodKernelExtension
|
| 33 |
-
import OAI.RepresentationTheory.RestrictedTilting.IntertwinerDescent
|
| 34 |
-
import OAI.RepresentationTheory.RestrictedTilting.JetTriviality
|
| 35 |
-
import OAI.RepresentationTheory.RestrictedTilting.LatticeLocalProjectivity
|
| 36 |
-
import OAI.RepresentationTheory.RestrictedTilting.LatticeNumerator
|
| 37 |
-
import OAI.RepresentationTheory.RestrictedTilting.LatticeSwap
|
| 38 |
-
import OAI.RepresentationTheory.RestrictedTilting.LaurentPolynomialSeparation
|
| 39 |
-
import OAI.RepresentationTheory.RestrictedTilting.LinearFormalComparison
|
| 40 |
-
import OAI.RepresentationTheory.RestrictedTilting.LowDegreeTrace
|
| 41 |
-
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 42 |
-
import OAI.RepresentationTheory.RestrictedTilting.MatrixFormalComparison
|
| 43 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormConverse
|
| 44 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormDefinitions
|
| 45 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormFree
|
| 46 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormMaps
|
| 47 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormProjectivity
|
| 48 |
-
import OAI.RepresentationTheory.RestrictedTilting.NumeratorAction
|
| 49 |
-
import OAI.RepresentationTheory.RestrictedTilting.PGroupInvariants
|
| 50 |
-
import OAI.RepresentationTheory.RestrictedTilting.PiPlaneOrigin
|
| 51 |
-
import OAI.RepresentationTheory.RestrictedTilting.PlaneFibre
|
| 52 |
-
import OAI.RepresentationTheory.RestrictedTilting.PlaneMatrixTensor
|
| 53 |
-
import OAI.RepresentationTheory.RestrictedTilting.PolynomialCovers
|
| 54 |
-
import OAI.RepresentationTheory.RestrictedTilting.PolynomialIntertwiner
|
| 55 |
-
import OAI.RepresentationTheory.RestrictedTilting.PolynomialJets
|
| 56 |
-
import OAI.RepresentationTheory.RestrictedTilting.ProjectiveFactor
|
| 57 |
-
import OAI.RepresentationTheory.RestrictedTilting.ProjectiveRegular
|
| 58 |
-
import OAI.RepresentationTheory.RestrictedTilting.RationalHomWeights
|
| 59 |
-
import OAI.RepresentationTheory.RestrictedTilting.RationalMatrices
|
| 60 |
-
import OAI.RepresentationTheory.RestrictedTilting.RegularSplitting
|
| 61 |
-
import OAI.RepresentationTheory.RestrictedTilting.RelativeTrace
|
| 62 |
-
import OAI.RepresentationTheory.RestrictedTilting.RepProducts
|
| 63 |
-
import OAI.RepresentationTheory.RestrictedTilting.RestrictedLift
|
| 64 |
-
import OAI.RepresentationTheory.RestrictedTilting.RestrictedTarget
|
| 65 |
-
import OAI.RepresentationTheory.RestrictedTilting.RestrictedTilting
|
| 66 |
-
import OAI.RepresentationTheory.RestrictedTilting.SmallGroupTrace
|
| 67 |
-
import OAI.RepresentationTheory.RestrictedTilting.SpecializeCompletion
|
| 68 |
-
import OAI.RepresentationTheory.RestrictedTilting.SplitRepresentation
|
| 69 |
-
import OAI.RepresentationTheory.RestrictedTilting.StableKernel
|
| 70 |
-
import OAI.RepresentationTheory.RestrictedTilting.StableRestriction
|
| 71 |
-
import OAI.RepresentationTheory.RestrictedTilting.SteinbergRegular
|
| 72 |
-
import OAI.RepresentationTheory.RestrictedTilting.SteinbergSpan
|
| 73 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorAssociatedAction
|
| 74 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorAssociatedIso
|
| 75 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorCoordinates
|
| 76 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorExactness
|
| 77 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorFormalComparison
|
| 78 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorNumerator
|
| 79 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorPlaneTilting
|
| 80 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorWeights
|
| 81 |
-
import OAI.RepresentationTheory.RestrictedTilting.ThetaTarget
|
| 82 |
-
import OAI.RepresentationTheory.RestrictedTilting.TiltingCovers
|
| 83 |
-
import OAI.RepresentationTheory.RestrictedTilting.TorusExtension
|
| 84 |
-
import OAI.RepresentationTheory.RestrictedTilting.TorusRelations
|
| 85 |
-
import OAI.RepresentationTheory.RestrictedTilting.TorusWeightProjection
|
| 86 |
-
import OAI.RepresentationTheory.RestrictedTilting.TraceFactor
|
| 87 |
-
import OAI.RepresentationTheory.RestrictedTilting.UnitAnnihilator
|
| 88 |
-
import OAI.RepresentationTheory.RestrictedTilting.UnitSimple
|
| 89 |
-
import OAI.RepresentationTheory.RestrictedTilting.XChartLineEval
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.AdicJets
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedBundle
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedFibre
|
| 4 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedNumerator
|
| 5 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedPlaneJet
|
| 6 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedProjective
|
| 7 |
+
import OAI.RepresentationTheory.RestrictedTilting.BaseChangeProjective
|
| 8 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedOrigin
|
| 9 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedOriginTarget
|
| 10 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedStableFaithfulness
|
| 11 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedUnipotentTilting
|
| 12 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedWeightsFactors
|
| 13 |
+
import OAI.RepresentationTheory.RestrictedTilting.ClearedPolynomial
|
| 14 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 15 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompletedCoordinates
|
| 16 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompletionCoefficients
|
| 17 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompletionTriviality
|
| 18 |
+
import OAI.RepresentationTheory.RestrictedTilting.CoordinateTensor
|
| 19 |
+
import OAI.RepresentationTheory.RestrictedTilting.FaithfulTarget
|
| 20 |
+
import OAI.RepresentationTheory.RestrictedTilting.FiniteFreeTrace
|
| 21 |
+
import OAI.RepresentationTheory.RestrictedTilting.FiniteGenerator
|
| 22 |
+
import OAI.RepresentationTheory.RestrictedTilting.FiniteJetMaps
|
| 23 |
+
import OAI.RepresentationTheory.RestrictedTilting.FiniteSubgroupLift
|
| 24 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalAssociatedAction
|
| 25 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalAssociatedIso
|
| 26 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalLine
|
| 27 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalLineContinuity
|
| 28 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalSectionAction
|
| 29 |
+
import OAI.RepresentationTheory.RestrictedTilting.FormalSections
|
| 30 |
+
import OAI.RepresentationTheory.RestrictedTilting.GeneratedStableKernel
|
| 31 |
+
import OAI.RepresentationTheory.RestrictedTilting.GoodKernel
|
| 32 |
+
import OAI.RepresentationTheory.RestrictedTilting.GoodKernelExtension
|
| 33 |
+
import OAI.RepresentationTheory.RestrictedTilting.IntertwinerDescent
|
| 34 |
+
import OAI.RepresentationTheory.RestrictedTilting.JetTriviality
|
| 35 |
+
import OAI.RepresentationTheory.RestrictedTilting.LatticeLocalProjectivity
|
| 36 |
+
import OAI.RepresentationTheory.RestrictedTilting.LatticeNumerator
|
| 37 |
+
import OAI.RepresentationTheory.RestrictedTilting.LatticeSwap
|
| 38 |
+
import OAI.RepresentationTheory.RestrictedTilting.LaurentPolynomialSeparation
|
| 39 |
+
import OAI.RepresentationTheory.RestrictedTilting.LinearFormalComparison
|
| 40 |
+
import OAI.RepresentationTheory.RestrictedTilting.LowDegreeTrace
|
| 41 |
+
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 42 |
+
import OAI.RepresentationTheory.RestrictedTilting.MatrixFormalComparison
|
| 43 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormConverse
|
| 44 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormDefinitions
|
| 45 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormFree
|
| 46 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormMaps
|
| 47 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormProjectivity
|
| 48 |
+
import OAI.RepresentationTheory.RestrictedTilting.NumeratorAction
|
| 49 |
+
import OAI.RepresentationTheory.RestrictedTilting.PGroupInvariants
|
| 50 |
+
import OAI.RepresentationTheory.RestrictedTilting.PiPlaneOrigin
|
| 51 |
+
import OAI.RepresentationTheory.RestrictedTilting.PlaneFibre
|
| 52 |
+
import OAI.RepresentationTheory.RestrictedTilting.PlaneMatrixTensor
|
| 53 |
+
import OAI.RepresentationTheory.RestrictedTilting.PolynomialCovers
|
| 54 |
+
import OAI.RepresentationTheory.RestrictedTilting.PolynomialIntertwiner
|
| 55 |
+
import OAI.RepresentationTheory.RestrictedTilting.PolynomialJets
|
| 56 |
+
import OAI.RepresentationTheory.RestrictedTilting.ProjectiveFactor
|
| 57 |
+
import OAI.RepresentationTheory.RestrictedTilting.ProjectiveRegular
|
| 58 |
+
import OAI.RepresentationTheory.RestrictedTilting.RationalHomWeights
|
| 59 |
+
import OAI.RepresentationTheory.RestrictedTilting.RationalMatrices
|
| 60 |
+
import OAI.RepresentationTheory.RestrictedTilting.RegularSplitting
|
| 61 |
+
import OAI.RepresentationTheory.RestrictedTilting.RelativeTrace
|
| 62 |
+
import OAI.RepresentationTheory.RestrictedTilting.RepProducts
|
| 63 |
+
import OAI.RepresentationTheory.RestrictedTilting.RestrictedLift
|
| 64 |
+
import OAI.RepresentationTheory.RestrictedTilting.RestrictedTarget
|
| 65 |
+
import OAI.RepresentationTheory.RestrictedTilting.RestrictedTilting
|
| 66 |
+
import OAI.RepresentationTheory.RestrictedTilting.SmallGroupTrace
|
| 67 |
+
import OAI.RepresentationTheory.RestrictedTilting.SpecializeCompletion
|
| 68 |
+
import OAI.RepresentationTheory.RestrictedTilting.SplitRepresentation
|
| 69 |
+
import OAI.RepresentationTheory.RestrictedTilting.StableKernel
|
| 70 |
+
import OAI.RepresentationTheory.RestrictedTilting.StableRestriction
|
| 71 |
+
import OAI.RepresentationTheory.RestrictedTilting.SteinbergRegular
|
| 72 |
+
import OAI.RepresentationTheory.RestrictedTilting.SteinbergSpan
|
| 73 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorAssociatedAction
|
| 74 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorAssociatedIso
|
| 75 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorCoordinates
|
| 76 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorExactness
|
| 77 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorFormalComparison
|
| 78 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorNumerator
|
| 79 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorPlaneTilting
|
| 80 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorWeights
|
| 81 |
+
import OAI.RepresentationTheory.RestrictedTilting.ThetaTarget
|
| 82 |
+
import OAI.RepresentationTheory.RestrictedTilting.TiltingCovers
|
| 83 |
+
import OAI.RepresentationTheory.RestrictedTilting.TorusExtension
|
| 84 |
+
import OAI.RepresentationTheory.RestrictedTilting.TorusRelations
|
| 85 |
+
import OAI.RepresentationTheory.RestrictedTilting.TorusWeightProjection
|
| 86 |
+
import OAI.RepresentationTheory.RestrictedTilting.TraceFactor
|
| 87 |
+
import OAI.RepresentationTheory.RestrictedTilting.UnitAnnihilator
|
| 88 |
+
import OAI.RepresentationTheory.RestrictedTilting.UnitSimple
|
| 89 |
+
import OAI.RepresentationTheory.RestrictedTilting.XChartLineEval
|
lean/OAI/RepresentationTheory/RestrictedTilting/MatrixFormalComparison.lean
CHANGED
|
@@ -1,50 +1,50 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.TorusExtension
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.PolynomialIntertwiner
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.IntertwinerDescent
|
| 4 |
-
|
| 5 |
-
namespace OAI
|
| 6 |
-
|
| 7 |
-
namespace FiberFunctorProof
|
| 8 |
-
universe u v
|
| 9 |
-
variable {k : Type u} [Field k] [Infinite k]
|
| 10 |
-
variable {K : Type v} [Field K] [Algebra k K]
|
| 11 |
-
variable {ι : Type u} [Fintype ι] [DecidableEq ι]
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
theorem matrix_formal_comparison
|
| 16 |
-
(ρ : Representation k (SL2 k) (ι → k)) (hρ : IsRational k ρ)
|
| 17 |
-
(P : Matrix ι ι (Polynomial k)) (x : K) (hx : x ≠ 0)
|
| 18 |
-
(C : Matrix ι ι K) (hC : C.det ≠ 0)
|
| 19 |
-
(h : ∀ t : k, C * (LinearMap.toMatrix' (ρ (unipotent k t))).map (algebraMap k K) =
|
| 20 |
-
polynomialMatrixEval P (algebraMap k K t / x^2) * C) :
|
| 21 |
-
∃ D : Matrix ι ι k, D.det ≠ 0 ∧ ∀ t : k,
|
| 22 |
-
polynomialMatrixEval P t * D = D * LinearMap.toMatrix' (ρ (unipotent k t)) := by
|
| 23 |
-
let B := rationalUnipotentMatrix k ρ hρ
|
| 24 |
-
have hext : ∀ t : K, C * polynomialMatrixEval B t = polynomialMatrixEval P (t*(x^2)⁻¹)*C := by
|
| 25 |
-
apply polynomial_intertwiner_extension P B C ((x^2)⁻¹)
|
| 26 |
-
intro t
|
| 27 |
-
rw [polynomialMatrixEval_base]
|
| 28 |
-
have hB : polynomialMatrixEval B t = LinearMap.toMatrix' (ρ (unipotent k t)) :=
|
| 29 |
-
eval_rationalUnipotentMatrix k ρ hρ t
|
| 30 |
-
rw [hB]
|
| 31 |
-
simpa only [div_eq_mul_inv] using h t
|
| 32 |
-
let xU : Kˣ := Units.mk0 x hx
|
| 33 |
-
let Q := torusMatrixAt ρ hρ xU
|
| 34 |
-
have hQ : Q.det ≠ 0 := torusMatrixAt_det_ne_zero ρ hρ xU
|
| 35 |
-
apply intertwiner_descent (fun t : k => polynomialMatrixEval P t)
|
| 36 |
-
(fun t : k => LinearMap.toMatrix' (ρ (unipotent k t))) (C*Q)
|
| 37 |
-
(by rw [Matrix.det_mul]; exact mul_ne_zero hC hQ)
|
| 38 |
-
intro t
|
| 39 |
-
have hh := hext (x^2 * algebraMap k K t)
|
| 40 |
-
have hp : (x^2 * algebraMap k K t) * (x^2)⁻¹ = algebraMap k K t := by
|
| 41 |
-
field_simp
|
| 42 |
-
rw [hp] at hh
|
| 43 |
-
rw [← polynomialMatrixEval_base, ← Matrix.mul_assoc, ← hh, Matrix.mul_assoc]
|
| 44 |
-
have hQt := torusMatrixAt_unipotent ρ hρ xU t
|
| 45 |
-
change Q * _ = polynomialMatrixEval B (x^2 * algebraMap k K t) * Q at hQt
|
| 46 |
-
rw [← hQt, Matrix.mul_assoc]
|
| 47 |
-
|
| 48 |
-
end FiberFunctorProof
|
| 49 |
-
|
| 50 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.TorusExtension
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.PolynomialIntertwiner
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.IntertwinerDescent
|
| 4 |
+
|
| 5 |
+
namespace OAI
|
| 6 |
+
|
| 7 |
+
namespace FiberFunctorProof
|
| 8 |
+
universe u v
|
| 9 |
+
variable {k : Type u} [Field k] [Infinite k]
|
| 10 |
+
variable {K : Type v} [Field K] [Algebra k K]
|
| 11 |
+
variable {ι : Type u} [Fintype ι] [DecidableEq ι]
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
theorem matrix_formal_comparison
|
| 16 |
+
(ρ : Representation k (SL2 k) (ι → k)) (hρ : IsRational k ρ)
|
| 17 |
+
(P : Matrix ι ι (Polynomial k)) (x : K) (hx : x ≠ 0)
|
| 18 |
+
(C : Matrix ι ι K) (hC : C.det ≠ 0)
|
| 19 |
+
(h : ∀ t : k, C * (LinearMap.toMatrix' (ρ (unipotent k t))).map (algebraMap k K) =
|
| 20 |
+
polynomialMatrixEval P (algebraMap k K t / x^2) * C) :
|
| 21 |
+
∃ D : Matrix ι ι k, D.det ≠ 0 ∧ ∀ t : k,
|
| 22 |
+
polynomialMatrixEval P t * D = D * LinearMap.toMatrix' (ρ (unipotent k t)) := by
|
| 23 |
+
let B := rationalUnipotentMatrix k ρ hρ
|
| 24 |
+
have hext : ∀ t : K, C * polynomialMatrixEval B t = polynomialMatrixEval P (t*(x^2)⁻¹)*C := by
|
| 25 |
+
apply polynomial_intertwiner_extension P B C ((x^2)⁻¹)
|
| 26 |
+
intro t
|
| 27 |
+
rw [polynomialMatrixEval_base]
|
| 28 |
+
have hB : polynomialMatrixEval B t = LinearMap.toMatrix' (ρ (unipotent k t)) :=
|
| 29 |
+
eval_rationalUnipotentMatrix k ρ hρ t
|
| 30 |
+
rw [hB]
|
| 31 |
+
simpa only [div_eq_mul_inv] using h t
|
| 32 |
+
let xU : Kˣ := Units.mk0 x hx
|
| 33 |
+
let Q := torusMatrixAt ρ hρ xU
|
| 34 |
+
have hQ : Q.det ≠ 0 := torusMatrixAt_det_ne_zero ρ hρ xU
|
| 35 |
+
apply intertwiner_descent (fun t : k => polynomialMatrixEval P t)
|
| 36 |
+
(fun t : k => LinearMap.toMatrix' (ρ (unipotent k t))) (C*Q)
|
| 37 |
+
(by rw [Matrix.det_mul]; exact mul_ne_zero hC hQ)
|
| 38 |
+
intro t
|
| 39 |
+
have hh := hext (x^2 * algebraMap k K t)
|
| 40 |
+
have hp : (x^2 * algebraMap k K t) * (x^2)⁻¹ = algebraMap k K t := by
|
| 41 |
+
field_simp
|
| 42 |
+
rw [hp] at hh
|
| 43 |
+
rw [← polynomialMatrixEval_base, ← Matrix.mul_assoc, ← hh, Matrix.mul_assoc]
|
| 44 |
+
have hQt := torusMatrixAt_unipotent ρ hρ xU t
|
| 45 |
+
change Q * _ = polynomialMatrixEval B (x^2 * algebraMap k K t) * Q at hQt
|
| 46 |
+
rw [← hQt, Matrix.mul_assoc]
|
| 47 |
+
|
| 48 |
+
end FiberFunctorProof
|
| 49 |
+
|
| 50 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/NormConverse.lean
CHANGED
|
@@ -1,96 +1,96 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormMaps
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.PGroupInvariants
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.ProjectiveRegular
|
| 4 |
-
import OAI.RepresentationTheory.RestrictedTilting.SplitRepresentation
|
| 5 |
-
|
| 6 |
-
namespace OAI
|
| 7 |
-
|
| 8 |
-
namespace FiberFunctorProof
|
| 9 |
-
open CategoryTheory Representation
|
| 10 |
-
universe u
|
| 11 |
-
variable {k : Type u} [Field k] {p : ℕ} [Fact p.Prime] [CharP k p]
|
| 12 |
-
variable {G : Type u} [Group G] [Fintype G]
|
| 13 |
-
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
lemma regular_map_injective (hG : IsPGroup p G) (ρ : Representation k G V)
|
| 18 |
-
(f : (Representation.leftRegular k G).IntertwiningMap ρ)
|
| 19 |
-
(hN : f ((Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1)) ≠ 0) :
|
| 20 |
-
Function.Injective f := by
|
| 21 |
-
apply LinearMap.ker_eq_bot.mp
|
| 22 |
-
apply le_antisymm _ bot_le
|
| 23 |
-
intro x hx
|
| 24 |
-
change x = 0
|
| 25 |
-
by_contra hx0
|
| 26 |
-
have hxk : (⟨x,hx⟩ : f.ker.toSubmodule) ≠ 0 := fun h => hx0 (congrArg Subtype.val h)
|
| 27 |
-
obtain ⟨z,hz,hfix⟩ := pgroup_exists_invariant hG f.ker.toRepresentation ⟨x,hx⟩ hxk
|
| 28 |
-
have hval : (z : MonoidAlgebra k G) ≠ 0 := fun h => hz (Subtype.ext h)
|
| 29 |
-
have hzN := regular_invariant_eq (z : MonoidAlgebra k G)
|
| 30 |
-
(fun g => congrArg Subtype.val (hfix g))
|
| 31 |
-
have hz0 : f (z : MonoidAlgebra k G) = 0 := z.property
|
| 32 |
-
have hc : (z : MonoidAlgebra k G).coeff 1 = 0 := by
|
| 33 |
-
rw [hzN, map_smul] at hz0
|
| 34 |
-
exact (smul_eq_zero.mp hz0).resolve_right hN
|
| 35 |
-
apply hval
|
| 36 |
-
rw [hzN, hc, zero_smul]
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
theorem projective_of_normSurjective (hG : IsPGroup p G)
|
| 41 |
-
[FiniteDimensional k V] (ρ : Representation k G V) (hρ : NormSurjective ρ) :
|
| 42 |
-
Projective (Rep.of ρ) := by
|
| 43 |
-
suffices H : ∀ n : ℕ, ∀ (M : Type u) [AddCommGroup M] [Module k M]
|
| 44 |
-
[FiniteDimensional k M], Module.finrank k M = n →
|
| 45 |
-
∀ τ : Representation k G M, NormSurjective τ → Projective (Rep.of τ) by
|
| 46 |
-
exact H _ V rfl ρ hρ
|
| 47 |
-
intro n
|
| 48 |
-
induction n using Nat.strong_induction_on with
|
| 49 |
-
| h n ih =>
|
| 50 |
-
intro M _ _ _ hdim τ hτ
|
| 51 |
-
cases subsingleton_or_nontrivial M with
|
| 52 |
-
| inl hs =>
|
| 53 |
-
let := hs
|
| 54 |
-
constructor
|
| 55 |
-
intro E X f e he
|
| 56 |
-
refine ⟨0, ?_⟩
|
| 57 |
-
rw [Limits.zero_comp]
|
| 58 |
-
apply Rep.hom_ext
|
| 59 |
-
apply IntertwiningMap.ext
|
| 60 |
-
ext m
|
| 61 |
-
rw [Subsingleton.elim m 0]
|
| 62 |
-
simp
|
| 63 |
-
| inr hnt =>
|
| 64 |
-
let := hnt
|
| 65 |
-
obtain ⟨v,hv⟩ := exists_ne (0 : M)
|
| 66 |
-
obtain ⟨w,hw,hfix⟩ := pgroup_exists_invariant hG τ v hv
|
| 67 |
-
obtain ⟨m,hm⟩ := hτ w hfix
|
| 68 |
-
let f : (Representation.leftRegular k G).IntertwiningMap τ :=
|
| 69 |
-
(Rep.leftRegularHom (Rep.of τ) m).hom
|
| 70 |
-
have hfm : f (MonoidAlgebra.single 1 1) = m := by simp [f]
|
| 71 |
-
have hfn : f ((Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1)) ≠ 0 := by
|
| 72 |
-
rw [intertwining_norm f, hfm, hm]
|
| 73 |
-
exact hw
|
| 74 |
-
have hf := regular_map_injective hG τ f hfn
|
| 75 |
-
obtain ⟨s,hs⟩ := regular_split_of_injective τ f hf
|
| 76 |
-
let κ := s.ker.toRepresentation
|
| 77 |
-
have hκ : NormSurjective κ :=
|
| 78 |
-
normSurjective_of_retract (kernelInclusion s)
|
| 79 |
-
(splitKernelProjection f s hs) (splitKernelProjection_inclusion f s hs) hτ
|
| 80 |
-
have hker : s.toLinearMap.ker ≠ ⊤ := by
|
| 81 |
-
intro htop
|
| 82 |
-
have hzero : s (f (MonoidAlgebra.single 1 1)) = 0 := by
|
| 83 |
-
exact (show f (MonoidAlgebra.single 1 1) ∈ s.toLinearMap.ker by rw [htop]; trivial)
|
| 84 |
-
have hsf : s (f (MonoidAlgebra.single 1 1)) = MonoidAlgebra.single 1 1 :=
|
| 85 |
-
congr($(hs) (MonoidAlgebra.single 1 1))
|
| 86 |
-
rw [hsf] at hzero
|
| 87 |
-
have hh := congrArg (fun v : MonoidAlgebra k G => v.coeff 1) hzero
|
| 88 |
-
simp at hh
|
| 89 |
-
have hlt : Module.finrank k s.ker.toSubmodule < n := by
|
| 90 |
-
rw [← hdim]
|
| 91 |
-
exact Submodule.finrank_lt hker
|
| 92 |
-
have hK : Projective (Rep.of κ) := ih _ hlt _ rfl κ hκ
|
| 93 |
-
exact projective_of_split_kernel f s hs (rep_leftRegular_projective k G) hK
|
| 94 |
-
end FiberFunctorProof
|
| 95 |
-
|
| 96 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormMaps
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.PGroupInvariants
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.ProjectiveRegular
|
| 4 |
+
import OAI.RepresentationTheory.RestrictedTilting.SplitRepresentation
|
| 5 |
+
|
| 6 |
+
namespace OAI
|
| 7 |
+
|
| 8 |
+
namespace FiberFunctorProof
|
| 9 |
+
open CategoryTheory Representation
|
| 10 |
+
universe u
|
| 11 |
+
variable {k : Type u} [Field k] {p : ℕ} [Fact p.Prime] [CharP k p]
|
| 12 |
+
variable {G : Type u} [Group G] [Fintype G]
|
| 13 |
+
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
lemma regular_map_injective (hG : IsPGroup p G) (ρ : Representation k G V)
|
| 18 |
+
(f : (Representation.leftRegular k G).IntertwiningMap ρ)
|
| 19 |
+
(hN : f ((Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1)) ≠ 0) :
|
| 20 |
+
Function.Injective f := by
|
| 21 |
+
apply LinearMap.ker_eq_bot.mp
|
| 22 |
+
apply le_antisymm _ bot_le
|
| 23 |
+
intro x hx
|
| 24 |
+
change x = 0
|
| 25 |
+
by_contra hx0
|
| 26 |
+
have hxk : (⟨x,hx⟩ : f.ker.toSubmodule) ≠ 0 := fun h => hx0 (congrArg Subtype.val h)
|
| 27 |
+
obtain ⟨z,hz,hfix⟩ := pgroup_exists_invariant hG f.ker.toRepresentation ⟨x,hx⟩ hxk
|
| 28 |
+
have hval : (z : MonoidAlgebra k G) ≠ 0 := fun h => hz (Subtype.ext h)
|
| 29 |
+
have hzN := regular_invariant_eq (z : MonoidAlgebra k G)
|
| 30 |
+
(fun g => congrArg Subtype.val (hfix g))
|
| 31 |
+
have hz0 : f (z : MonoidAlgebra k G) = 0 := z.property
|
| 32 |
+
have hc : (z : MonoidAlgebra k G).coeff 1 = 0 := by
|
| 33 |
+
rw [hzN, map_smul] at hz0
|
| 34 |
+
exact (smul_eq_zero.mp hz0).resolve_right hN
|
| 35 |
+
apply hval
|
| 36 |
+
rw [hzN, hc, zero_smul]
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
theorem projective_of_normSurjective (hG : IsPGroup p G)
|
| 41 |
+
[FiniteDimensional k V] (ρ : Representation k G V) (hρ : NormSurjective ρ) :
|
| 42 |
+
Projective (Rep.of ρ) := by
|
| 43 |
+
suffices H : ∀ n : ℕ, ∀ (M : Type u) [AddCommGroup M] [Module k M]
|
| 44 |
+
[FiniteDimensional k M], Module.finrank k M = n →
|
| 45 |
+
∀ τ : Representation k G M, NormSurjective τ → Projective (Rep.of τ) by
|
| 46 |
+
exact H _ V rfl ρ hρ
|
| 47 |
+
intro n
|
| 48 |
+
induction n using Nat.strong_induction_on with
|
| 49 |
+
| h n ih =>
|
| 50 |
+
intro M _ _ _ hdim τ hτ
|
| 51 |
+
cases subsingleton_or_nontrivial M with
|
| 52 |
+
| inl hs =>
|
| 53 |
+
let := hs
|
| 54 |
+
constructor
|
| 55 |
+
intro E X f e he
|
| 56 |
+
refine ⟨0, ?_⟩
|
| 57 |
+
rw [Limits.zero_comp]
|
| 58 |
+
apply Rep.hom_ext
|
| 59 |
+
apply IntertwiningMap.ext
|
| 60 |
+
ext m
|
| 61 |
+
rw [Subsingleton.elim m 0]
|
| 62 |
+
simp
|
| 63 |
+
| inr hnt =>
|
| 64 |
+
let := hnt
|
| 65 |
+
obtain ⟨v,hv⟩ := exists_ne (0 : M)
|
| 66 |
+
obtain ⟨w,hw,hfix⟩ := pgroup_exists_invariant hG τ v hv
|
| 67 |
+
obtain ⟨m,hm⟩ := hτ w hfix
|
| 68 |
+
let f : (Representation.leftRegular k G).IntertwiningMap τ :=
|
| 69 |
+
(Rep.leftRegularHom (Rep.of τ) m).hom
|
| 70 |
+
have hfm : f (MonoidAlgebra.single 1 1) = m := by simp [f]
|
| 71 |
+
have hfn : f ((Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1)) ≠ 0 := by
|
| 72 |
+
rw [intertwining_norm f, hfm, hm]
|
| 73 |
+
exact hw
|
| 74 |
+
have hf := regular_map_injective hG τ f hfn
|
| 75 |
+
obtain ⟨s,hs⟩ := regular_split_of_injective τ f hf
|
| 76 |
+
let κ := s.ker.toRepresentation
|
| 77 |
+
have hκ : NormSurjective κ :=
|
| 78 |
+
normSurjective_of_retract (kernelInclusion s)
|
| 79 |
+
(splitKernelProjection f s hs) (splitKernelProjection_inclusion f s hs) hτ
|
| 80 |
+
have hker : s.toLinearMap.ker ≠ ⊤ := by
|
| 81 |
+
intro htop
|
| 82 |
+
have hzero : s (f (MonoidAlgebra.single 1 1)) = 0 := by
|
| 83 |
+
exact (show f (MonoidAlgebra.single 1 1) ∈ s.toLinearMap.ker by rw [htop]; trivial)
|
| 84 |
+
have hsf : s (f (MonoidAlgebra.single 1 1)) = MonoidAlgebra.single 1 1 :=
|
| 85 |
+
congr($(hs) (MonoidAlgebra.single 1 1))
|
| 86 |
+
rw [hsf] at hzero
|
| 87 |
+
have hh := congrArg (fun v : MonoidAlgebra k G => v.coeff 1) hzero
|
| 88 |
+
simp at hh
|
| 89 |
+
have hlt : Module.finrank k s.ker.toSubmodule < n := by
|
| 90 |
+
rw [← hdim]
|
| 91 |
+
exact Submodule.finrank_lt hker
|
| 92 |
+
have hK : Projective (Rep.of κ) := ih _ hlt _ rfl κ hκ
|
| 93 |
+
exact projective_of_split_kernel f s hs (rep_leftRegular_projective k G) hK
|
| 94 |
+
end FiberFunctorProof
|
| 95 |
+
|
| 96 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/NormDefinitions.lean
CHANGED
|
@@ -1,39 +1,39 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory Representation
|
| 7 |
-
universe u v
|
| 8 |
-
variable {k : Type u} [Field k] {G : Type v} [Group G] [Fintype G]
|
| 9 |
-
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
noncomputable def normToInvariants (ρ : Representation k G V) : V →ₗ[k] ρ.invariants :=
|
| 13 |
-
ρ.norm.codRestrict _ (fun v g => ρ.self_norm_apply g v)
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
noncomputable def coinvariantNorm (ρ : Representation k G V) :
|
| 17 |
-
Coinvariants ρ →ₗ[k] ρ.invariants :=
|
| 18 |
-
Coinvariants.lift ρ (normToInvariants ρ) (fun g => by
|
| 19 |
-
ext v
|
| 20 |
-
exact ρ.norm_self_apply g v)
|
| 21 |
-
|
| 22 |
-
@[simp] theorem coinvariantNorm_mk (ρ : Representation k G V) (v : V) :
|
| 23 |
-
(coinvariantNorm ρ (Coinvariants.mk ρ v) : V) = ρ.norm v := rfl
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
def NormProjectivityTheorem : Prop :=
|
| 28 |
-
∀ (k : Type u) [Field k] [IsAlgClosed k] (p : ℕ) [Fact p.Prime] [CharP k p],
|
| 29 |
-
(∀ (H : Type u) [Group H] [Fintype H], IsPGroup p H →
|
| 30 |
-
∀ (M : Type u) [AddCommGroup M] [Module k M] [FiniteDimensional k M]
|
| 31 |
-
(ρ : Representation k H M),
|
| 32 |
-
Projective (Rep.of ρ) ↔ Function.Bijective (coinvariantNorm ρ)) ∧
|
| 33 |
-
(∀ (G : Type u) [Group G] [Fintype G]
|
| 34 |
-
(M : Type u) [AddCommGroup M] [Module k M] [FiniteDimensional k M]
|
| 35 |
-
(ρ : Representation k G M),
|
| 36 |
-
Projective (Rep.of ρ) → Function.Bijective (coinvariantNorm ρ))
|
| 37 |
-
end FiberFunctorProof
|
| 38 |
-
|
| 39 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory Representation
|
| 7 |
+
universe u v
|
| 8 |
+
variable {k : Type u} [Field k] {G : Type v} [Group G] [Fintype G]
|
| 9 |
+
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
noncomputable def normToInvariants (ρ : Representation k G V) : V →ₗ[k] ρ.invariants :=
|
| 13 |
+
ρ.norm.codRestrict _ (fun v g => ρ.self_norm_apply g v)
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
noncomputable def coinvariantNorm (ρ : Representation k G V) :
|
| 17 |
+
Coinvariants ρ →ₗ[k] ρ.invariants :=
|
| 18 |
+
Coinvariants.lift ρ (normToInvariants ρ) (fun g => by
|
| 19 |
+
ext v
|
| 20 |
+
exact ρ.norm_self_apply g v)
|
| 21 |
+
|
| 22 |
+
@[simp] theorem coinvariantNorm_mk (ρ : Representation k G V) (v : V) :
|
| 23 |
+
(coinvariantNorm ρ (Coinvariants.mk ρ v) : V) = ρ.norm v := rfl
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def NormProjectivityTheorem : Prop :=
|
| 28 |
+
∀ (k : Type u) [Field k] [IsAlgClosed k] (p : ℕ) [Fact p.Prime] [CharP k p],
|
| 29 |
+
(∀ (H : Type u) [Group H] [Fintype H], IsPGroup p H →
|
| 30 |
+
∀ (M : Type u) [AddCommGroup M] [Module k M] [FiniteDimensional k M]
|
| 31 |
+
(ρ : Representation k H M),
|
| 32 |
+
Projective (Rep.of ρ) ↔ Function.Bijective (coinvariantNorm ρ)) ∧
|
| 33 |
+
(∀ (G : Type u) [Group G] [Fintype G]
|
| 34 |
+
(M : Type u) [AddCommGroup M] [Module k M] [FiniteDimensional k M]
|
| 35 |
+
(ρ : Representation k G M),
|
| 36 |
+
Projective (Rep.of ρ) → Function.Bijective (coinvariantNorm ρ))
|
| 37 |
+
end FiberFunctorProof
|
| 38 |
+
|
| 39 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/NormFree.lean
CHANGED
|
@@ -1,100 +1,100 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormMaps
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open Representation
|
| 7 |
-
universe u
|
| 8 |
-
variable {k : Type u} [Field k] {G : Type u} [Group G] [Fintype G]
|
| 9 |
-
variable (I : Type u)
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
noncomputable def freeNormRepresentative :
|
| 14 |
-
(I →₀ MonoidAlgebra k G) →ₗ[k] (I →₀ MonoidAlgebra k G) :=
|
| 15 |
-
Finsupp.mapRange.linearMap
|
| 16 |
-
((MonoidAlgebra.lsingle 1).comp
|
| 17 |
-
((Finsupp.lapply 1).comp (MonoidAlgebra.coeffLinearEquiv k).toLinearMap))
|
| 18 |
-
|
| 19 |
-
omit [Fintype G] in
|
| 20 |
-
@[simp] lemma freeNormRepresentative_apply (x : I →₀ MonoidAlgebra k G) (i : I) :
|
| 21 |
-
freeNormRepresentative I x i = MonoidAlgebra.single 1 ((x i).coeff 1) := rfl
|
| 22 |
-
|
| 23 |
-
omit [Fintype G] in
|
| 24 |
-
lemma free_action_apply (g : G) (x : I →₀ MonoidAlgebra k G) (i : I) :
|
| 25 |
-
Representation.free k G I g x i = Representation.leftRegular k G g (x i) := by
|
| 26 |
-
classical
|
| 27 |
-
have H : (Finsupp.lapply i).comp (Representation.free k G I g) =
|
| 28 |
-
(Representation.leftRegular k G g).comp (Finsupp.lapply i) := by
|
| 29 |
-
apply Finsupp.lhom_ext
|
| 30 |
-
intro j v
|
| 31 |
-
simp only [LinearMap.comp_apply, Representation.finsupp_single, Finsupp.lapply_apply]
|
| 32 |
-
by_cases h : j = i
|
| 33 |
-
· subst j; simp
|
| 34 |
-
· simp [Ne.symm h]
|
| 35 |
-
exact congr($(H) x)
|
| 36 |
-
|
| 37 |
-
lemma free_norm_apply (x : I →₀ MonoidAlgebra k G) (i : I) :
|
| 38 |
-
(Representation.free k G I).norm x i = (Representation.leftRegular k G).norm (x i) := by
|
| 39 |
-
classical
|
| 40 |
-
simp only [Representation.norm, LinearMap.sum_apply, Finsupp.finsetSum_apply, free_action_apply]
|
| 41 |
-
|
| 42 |
-
lemma free_normRepresentative_invariant (x : I →₀ MonoidAlgebra k G)
|
| 43 |
-
(hx : ∀ g, Representation.free k G I g x = x) :
|
| 44 |
-
(Representation.free k G I).norm (freeNormRepresentative I x) = x := by
|
| 45 |
-
apply Finsupp.ext
|
| 46 |
-
intro i
|
| 47 |
-
rw [free_norm_apply, freeNormRepresentative_apply]
|
| 48 |
-
have hxi (g : G) : Representation.leftRegular k G g (x i) = x i := by
|
| 49 |
-
have hi := congrArg (fun v : I →₀ MonoidAlgebra k G => v i) (hx g)
|
| 50 |
-
simpa only [free_action_apply] using hi
|
| 51 |
-
have heq : MonoidAlgebra.single (1:G) ((x i).coeff 1) =
|
| 52 |
-
(x i).coeff 1 • MonoidAlgebra.single 1 (1 : k) := by simp
|
| 53 |
-
rw [heq, map_smul]
|
| 54 |
-
exact (regular_invariant_eq (x i) hxi).symm
|
| 55 |
-
|
| 56 |
-
lemma free_normRepresentative_coinvariant :
|
| 57 |
-
(Coinvariants.mk (Representation.free k G I)).comp
|
| 58 |
-
((freeNormRepresentative I).comp (Representation.free k G I).norm) =
|
| 59 |
-
Coinvariants.mk (Representation.free k G I) := by
|
| 60 |
-
classical
|
| 61 |
-
ext i g
|
| 62 |
-
have hn : (Representation.free k G I).norm (Finsupp.single i (MonoidAlgebra.single g (1:k))) =
|
| 63 |
-
Finsupp.single i ((Representation.leftRegular k G).norm (MonoidAlgebra.single g 1)) := by
|
| 64 |
-
simp only [Representation.norm, LinearMap.sum_apply, Representation.finsupp_single]
|
| 65 |
-
exact (map_sum (Finsupp.lsingle i : MonoidAlgebra k G →ₗ[k] (I →₀ MonoidAlgebra k G))
|
| 66 |
-
(fun h => Representation.leftRegular k G h (MonoidAlgebra.single g 1)) Finset.univ).symm
|
| 67 |
-
have hone : ((Representation.leftRegular k G).norm (MonoidAlgebra.single g (1:k))).coeff 1 = 1 := by
|
| 68 |
-
rw [Representation.leftRegular_norm_apply]
|
| 69 |
-
simp [regular_norm_single_coeff]
|
| 70 |
-
have hrep : freeNormRepresentative I
|
| 71 |
-
(Finsupp.single i ((Representation.leftRegular k G).norm (MonoidAlgebra.single g (1:k)))) =
|
| 72 |
-
Finsupp.single i (MonoidAlgebra.single 1 1) := by
|
| 73 |
-
simp [freeNormRepresentative, hone]
|
| 74 |
-
change Coinvariants.mk _ (freeNormRepresentative I ((Representation.free k G I).norm
|
| 75 |
-
(Finsupp.single i (MonoidAlgebra.single g 1)))) = _
|
| 76 |
-
rw [hn, hrep]
|
| 77 |
-
simpa [Representation.free_single_single] using
|
| 78 |
-
(Coinvariants.mk_self_apply (Representation.free k G I) g
|
| 79 |
-
(Finsupp.single i (MonoidAlgebra.single 1 (1:k)))).symm
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
theorem free_norm_bijective : Function.Bijective
|
| 84 |
-
(coinvariantNorm (Representation.free k G I)) := by
|
| 85 |
-
constructor
|
| 86 |
-
· intro a b hab
|
| 87 |
-
obtain ⟨x,rfl⟩ := Coinvariants.mk_surjective _ a
|
| 88 |
-
obtain ⟨y,rfl⟩ := Coinvariants.mk_surjective _ b
|
| 89 |
-
have hn := congrArg Subtype.val hab
|
| 90 |
-
have hx := congr($(free_normRepresentative_coinvariant (k:=k) (G:=G) I) x)
|
| 91 |
-
have hy := congr($(free_normRepresentative_coinvariant (k:=k) (G:=G) I) y)
|
| 92 |
-
dsimp only [LinearMap.comp_apply] at hx hy
|
| 93 |
-
rw [← hx, ← hy]
|
| 94 |
-
exact congrArg (fun z => Coinvariants.mk _ (freeNormRepresentative I z)) hn
|
| 95 |
-
· apply (coinvariantNorm_surjective_iff _).2
|
| 96 |
-
intro x hx
|
| 97 |
-
exact ⟨freeNormRepresentative I x, free_normRepresentative_invariant I x hx⟩
|
| 98 |
-
end FiberFunctorProof
|
| 99 |
-
|
| 100 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormMaps
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open Representation
|
| 7 |
+
universe u
|
| 8 |
+
variable {k : Type u} [Field k] {G : Type u} [Group G] [Fintype G]
|
| 9 |
+
variable (I : Type u)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
noncomputable def freeNormRepresentative :
|
| 14 |
+
(I →₀ MonoidAlgebra k G) →ₗ[k] (I →₀ MonoidAlgebra k G) :=
|
| 15 |
+
Finsupp.mapRange.linearMap
|
| 16 |
+
((MonoidAlgebra.lsingle 1).comp
|
| 17 |
+
((Finsupp.lapply 1).comp (MonoidAlgebra.coeffLinearEquiv k).toLinearMap))
|
| 18 |
+
|
| 19 |
+
omit [Fintype G] in
|
| 20 |
+
@[simp] lemma freeNormRepresentative_apply (x : I →₀ MonoidAlgebra k G) (i : I) :
|
| 21 |
+
freeNormRepresentative I x i = MonoidAlgebra.single 1 ((x i).coeff 1) := rfl
|
| 22 |
+
|
| 23 |
+
omit [Fintype G] in
|
| 24 |
+
lemma free_action_apply (g : G) (x : I →₀ MonoidAlgebra k G) (i : I) :
|
| 25 |
+
Representation.free k G I g x i = Representation.leftRegular k G g (x i) := by
|
| 26 |
+
classical
|
| 27 |
+
have H : (Finsupp.lapply i).comp (Representation.free k G I g) =
|
| 28 |
+
(Representation.leftRegular k G g).comp (Finsupp.lapply i) := by
|
| 29 |
+
apply Finsupp.lhom_ext
|
| 30 |
+
intro j v
|
| 31 |
+
simp only [LinearMap.comp_apply, Representation.finsupp_single, Finsupp.lapply_apply]
|
| 32 |
+
by_cases h : j = i
|
| 33 |
+
· subst j; simp
|
| 34 |
+
· simp [Ne.symm h]
|
| 35 |
+
exact congr($(H) x)
|
| 36 |
+
|
| 37 |
+
lemma free_norm_apply (x : I →₀ MonoidAlgebra k G) (i : I) :
|
| 38 |
+
(Representation.free k G I).norm x i = (Representation.leftRegular k G).norm (x i) := by
|
| 39 |
+
classical
|
| 40 |
+
simp only [Representation.norm, LinearMap.sum_apply, Finsupp.finsetSum_apply, free_action_apply]
|
| 41 |
+
|
| 42 |
+
lemma free_normRepresentative_invariant (x : I →₀ MonoidAlgebra k G)
|
| 43 |
+
(hx : ∀ g, Representation.free k G I g x = x) :
|
| 44 |
+
(Representation.free k G I).norm (freeNormRepresentative I x) = x := by
|
| 45 |
+
apply Finsupp.ext
|
| 46 |
+
intro i
|
| 47 |
+
rw [free_norm_apply, freeNormRepresentative_apply]
|
| 48 |
+
have hxi (g : G) : Representation.leftRegular k G g (x i) = x i := by
|
| 49 |
+
have hi := congrArg (fun v : I →₀ MonoidAlgebra k G => v i) (hx g)
|
| 50 |
+
simpa only [free_action_apply] using hi
|
| 51 |
+
have heq : MonoidAlgebra.single (1:G) ((x i).coeff 1) =
|
| 52 |
+
(x i).coeff 1 • MonoidAlgebra.single 1 (1 : k) := by simp
|
| 53 |
+
rw [heq, map_smul]
|
| 54 |
+
exact (regular_invariant_eq (x i) hxi).symm
|
| 55 |
+
|
| 56 |
+
lemma free_normRepresentative_coinvariant :
|
| 57 |
+
(Coinvariants.mk (Representation.free k G I)).comp
|
| 58 |
+
((freeNormRepresentative I).comp (Representation.free k G I).norm) =
|
| 59 |
+
Coinvariants.mk (Representation.free k G I) := by
|
| 60 |
+
classical
|
| 61 |
+
ext i g
|
| 62 |
+
have hn : (Representation.free k G I).norm (Finsupp.single i (MonoidAlgebra.single g (1:k))) =
|
| 63 |
+
Finsupp.single i ((Representation.leftRegular k G).norm (MonoidAlgebra.single g 1)) := by
|
| 64 |
+
simp only [Representation.norm, LinearMap.sum_apply, Representation.finsupp_single]
|
| 65 |
+
exact (map_sum (Finsupp.lsingle i : MonoidAlgebra k G →ₗ[k] (I →₀ MonoidAlgebra k G))
|
| 66 |
+
(fun h => Representation.leftRegular k G h (MonoidAlgebra.single g 1)) Finset.univ).symm
|
| 67 |
+
have hone : ((Representation.leftRegular k G).norm (MonoidAlgebra.single g (1:k))).coeff 1 = 1 := by
|
| 68 |
+
rw [Representation.leftRegular_norm_apply]
|
| 69 |
+
simp [regular_norm_single_coeff]
|
| 70 |
+
have hrep : freeNormRepresentative I
|
| 71 |
+
(Finsupp.single i ((Representation.leftRegular k G).norm (MonoidAlgebra.single g (1:k)))) =
|
| 72 |
+
Finsupp.single i (MonoidAlgebra.single 1 1) := by
|
| 73 |
+
simp [freeNormRepresentative, hone]
|
| 74 |
+
change Coinvariants.mk _ (freeNormRepresentative I ((Representation.free k G I).norm
|
| 75 |
+
(Finsupp.single i (MonoidAlgebra.single g 1)))) = _
|
| 76 |
+
rw [hn, hrep]
|
| 77 |
+
simpa [Representation.free_single_single] using
|
| 78 |
+
(Coinvariants.mk_self_apply (Representation.free k G I) g
|
| 79 |
+
(Finsupp.single i (MonoidAlgebra.single 1 (1:k)))).symm
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
theorem free_norm_bijective : Function.Bijective
|
| 84 |
+
(coinvariantNorm (Representation.free k G I)) := by
|
| 85 |
+
constructor
|
| 86 |
+
· intro a b hab
|
| 87 |
+
obtain ⟨x,rfl⟩ := Coinvariants.mk_surjective _ a
|
| 88 |
+
obtain ⟨y,rfl⟩ := Coinvariants.mk_surjective _ b
|
| 89 |
+
have hn := congrArg Subtype.val hab
|
| 90 |
+
have hx := congr($(free_normRepresentative_coinvariant (k:=k) (G:=G) I) x)
|
| 91 |
+
have hy := congr($(free_normRepresentative_coinvariant (k:=k) (G:=G) I) y)
|
| 92 |
+
dsimp only [LinearMap.comp_apply] at hx hy
|
| 93 |
+
rw [← hx, ← hy]
|
| 94 |
+
exact congrArg (fun z => Coinvariants.mk _ (freeNormRepresentative I z)) hn
|
| 95 |
+
· apply (coinvariantNorm_surjective_iff _).2
|
| 96 |
+
intro x hx
|
| 97 |
+
exact ⟨freeNormRepresentative I x, free_normRepresentative_invariant I x hx⟩
|
| 98 |
+
end FiberFunctorProof
|
| 99 |
+
|
| 100 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/NormMaps.lean
CHANGED
|
@@ -1,58 +1,58 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormDefinitions
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.RegularSplitting
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open Representation
|
| 8 |
-
universe u
|
| 9 |
-
variable {k : Type u} [Field k] {G : Type u} [Group G] [Fintype G]
|
| 10 |
-
variable {V W : Type u} [AddCommGroup V] [Module k V] [AddCommGroup W] [Module k W]
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
def NormSurjective (ρ : Representation k G V) : Prop :=
|
| 14 |
-
∀ w : V, (∀ g, ρ g w = w) → ∃ v, ρ.norm v = w
|
| 15 |
-
|
| 16 |
-
lemma coinvariantNorm_surjective_iff (ρ : Representation k G V) :
|
| 17 |
-
Function.Surjective (coinvariantNorm ρ) ↔ NormSurjective ρ := by
|
| 18 |
-
constructor
|
| 19 |
-
· intro h w hw
|
| 20 |
-
obtain ⟨c,hc⟩ := h ⟨w,hw⟩
|
| 21 |
-
obtain ⟨v,rfl⟩ := Coinvariants.mk_surjective ρ c
|
| 22 |
-
exact ⟨v,congrArg Subtype.val hc⟩
|
| 23 |
-
· intro h w
|
| 24 |
-
obtain ⟨v,hv⟩ := h w w.property
|
| 25 |
-
exact ⟨Coinvariants.mk ρ v, Subtype.ext hv⟩
|
| 26 |
-
|
| 27 |
-
lemma normSurjective_of_retract {ρ : Representation k G V} {σ : Representation k G W}
|
| 28 |
-
(f : ρ.IntertwiningMap σ) (s : σ.IntertwiningMap ρ)
|
| 29 |
-
(h : s.comp f = IntertwiningMap.id ρ) (hσ : NormSurjective σ) : NormSurjective ρ := by
|
| 30 |
-
have hsf (v : V) : s (f v) = v := congr($(h) v)
|
| 31 |
-
intro w hw
|
| 32 |
-
obtain ⟨v,hv⟩ := hσ (f w) (fun g => by rw [← f.isIntertwining, hw g])
|
| 33 |
-
exact ⟨s v, by rw [← intertwining_norm s, hv, hsf]⟩
|
| 34 |
-
|
| 35 |
-
lemma norm_bijective_of_retract {ρ : Representation k G V} {σ : Representation k G W}
|
| 36 |
-
(f : ρ.IntertwiningMap σ) (s : σ.IntertwiningMap ρ)
|
| 37 |
-
(h : s.comp f = IntertwiningMap.id ρ)
|
| 38 |
-
(hσ : Function.Bijective (coinvariantNorm σ)) :
|
| 39 |
-
Function.Bijective (coinvariantNorm ρ) := by
|
| 40 |
-
classical
|
| 41 |
-
have hsf (v : V) : s (f v) = v := congr($(h) v)
|
| 42 |
-
constructor
|
| 43 |
-
· intro a b hab
|
| 44 |
-
obtain ⟨v,rfl⟩ := Coinvariants.mk_surjective ρ a
|
| 45 |
-
obtain ⟨w,rfl⟩ := Coinvariants.mk_surjective ρ b
|
| 46 |
-
have hvw : ρ.norm v = ρ.norm w := congrArg Subtype.val hab
|
| 47 |
-
have hn : coinvariantNorm σ (Coinvariants.mk σ (f v)) =
|
| 48 |
-
coinvariantNorm σ (Coinvariants.mk σ (f w)) := by
|
| 49 |
-
apply Subtype.ext
|
| 50 |
-
change σ.norm (f v) = σ.norm (f w)
|
| 51 |
-
rw [← intertwining_norm f, ← intertwining_norm f, hvw]
|
| 52 |
-
have hc := congrArg (Coinvariants.map σ ρ s) (hσ.1 hn)
|
| 53 |
-
simpa only [Coinvariants.map_mk, hsf] using hc
|
| 54 |
-
· exact (coinvariantNorm_surjective_iff ρ).2 (normSurjective_of_retract f s h
|
| 55 |
-
((coinvariantNorm_surjective_iff σ).1 hσ.2))
|
| 56 |
-
end FiberFunctorProof
|
| 57 |
-
|
| 58 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormDefinitions
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.RegularSplitting
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open Representation
|
| 8 |
+
universe u
|
| 9 |
+
variable {k : Type u} [Field k] {G : Type u} [Group G] [Fintype G]
|
| 10 |
+
variable {V W : Type u} [AddCommGroup V] [Module k V] [AddCommGroup W] [Module k W]
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
def NormSurjective (ρ : Representation k G V) : Prop :=
|
| 14 |
+
∀ w : V, (∀ g, ρ g w = w) → ∃ v, ρ.norm v = w
|
| 15 |
+
|
| 16 |
+
lemma coinvariantNorm_surjective_iff (ρ : Representation k G V) :
|
| 17 |
+
Function.Surjective (coinvariantNorm ρ) ↔ NormSurjective ρ := by
|
| 18 |
+
constructor
|
| 19 |
+
· intro h w hw
|
| 20 |
+
obtain ⟨c,hc⟩ := h ⟨w,hw⟩
|
| 21 |
+
obtain ⟨v,rfl⟩ := Coinvariants.mk_surjective ρ c
|
| 22 |
+
exact ⟨v,congrArg Subtype.val hc⟩
|
| 23 |
+
· intro h w
|
| 24 |
+
obtain ⟨v,hv⟩ := h w w.property
|
| 25 |
+
exact ⟨Coinvariants.mk ρ v, Subtype.ext hv⟩
|
| 26 |
+
|
| 27 |
+
lemma normSurjective_of_retract {ρ : Representation k G V} {σ : Representation k G W}
|
| 28 |
+
(f : ρ.IntertwiningMap σ) (s : σ.IntertwiningMap ρ)
|
| 29 |
+
(h : s.comp f = IntertwiningMap.id ρ) (hσ : NormSurjective σ) : NormSurjective ρ := by
|
| 30 |
+
have hsf (v : V) : s (f v) = v := congr($(h) v)
|
| 31 |
+
intro w hw
|
| 32 |
+
obtain ⟨v,hv⟩ := hσ (f w) (fun g => by rw [← f.isIntertwining, hw g])
|
| 33 |
+
exact ⟨s v, by rw [← intertwining_norm s, hv, hsf]⟩
|
| 34 |
+
|
| 35 |
+
lemma norm_bijective_of_retract {ρ : Representation k G V} {σ : Representation k G W}
|
| 36 |
+
(f : ρ.IntertwiningMap σ) (s : σ.IntertwiningMap ρ)
|
| 37 |
+
(h : s.comp f = IntertwiningMap.id ρ)
|
| 38 |
+
(hσ : Function.Bijective (coinvariantNorm σ)) :
|
| 39 |
+
Function.Bijective (coinvariantNorm ρ) := by
|
| 40 |
+
classical
|
| 41 |
+
have hsf (v : V) : s (f v) = v := congr($(h) v)
|
| 42 |
+
constructor
|
| 43 |
+
· intro a b hab
|
| 44 |
+
obtain ⟨v,rfl⟩ := Coinvariants.mk_surjective ρ a
|
| 45 |
+
obtain ⟨w,rfl⟩ := Coinvariants.mk_surjective ρ b
|
| 46 |
+
have hvw : ρ.norm v = ρ.norm w := congrArg Subtype.val hab
|
| 47 |
+
have hn : coinvariantNorm σ (Coinvariants.mk σ (f v)) =
|
| 48 |
+
coinvariantNorm σ (Coinvariants.mk σ (f w)) := by
|
| 49 |
+
apply Subtype.ext
|
| 50 |
+
change σ.norm (f v) = σ.norm (f w)
|
| 51 |
+
rw [← intertwining_norm f, ← intertwining_norm f, hvw]
|
| 52 |
+
have hc := congrArg (Coinvariants.map σ ρ s) (hσ.1 hn)
|
| 53 |
+
simpa only [Coinvariants.map_mk, hsf] using hc
|
| 54 |
+
· exact (coinvariantNorm_surjective_iff ρ).2 (normSurjective_of_retract f s h
|
| 55 |
+
((coinvariantNorm_surjective_iff σ).1 hσ.2))
|
| 56 |
+
end FiberFunctorProof
|
| 57 |
+
|
| 58 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/NormProjectivity.lean
CHANGED
|
@@ -1,41 +1,41 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormConverse
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.NormFree
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open CategoryTheory Representation
|
| 8 |
-
universe u
|
| 9 |
-
variable {k : Type u} [Field k] {G : Type u} [Group G] [Fintype G]
|
| 10 |
-
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
theorem norm_bijective_of_projective (ρ : Representation k G V)
|
| 15 |
-
(hρ : Projective (Rep.of ρ)) : Function.Bijective (coinvariantNorm ρ) := by
|
| 16 |
-
let e : Rep.free k G V ⟶ Rep.of ρ := Rep.ofHom (Representation.freeLift ρ id)
|
| 17 |
-
have he : Function.Surjective e.hom := by
|
| 18 |
-
intro v
|
| 19 |
-
refine ⟨Finsupp.single v (MonoidAlgebra.single 1 1), ?_⟩
|
| 20 |
-
simp [e]
|
| 21 |
-
let : Epi e := (Rep.epi_iff_surjective e).2 he
|
| 22 |
-
obtain ⟨s,hs⟩ := hρ.factors (𝟙 (Rep.of ρ)) e
|
| 23 |
-
apply norm_bijective_of_retract s.hom e.hom
|
| 24 |
-
· exact congrArg Rep.Hom.hom hs
|
| 25 |
-
· exact free_norm_bijective V
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
theorem norm_projectivity : NormProjectivityTheorem.{u} := by
|
| 30 |
-
intro k _ _ p _ _
|
| 31 |
-
constructor
|
| 32 |
-
· intro G _ _ hG V _ _ _ ρ
|
| 33 |
-
constructor
|
| 34 |
-
· exact norm_bijective_of_projective ρ
|
| 35 |
-
· intro h
|
| 36 |
-
exact projective_of_normSurjective hG ρ ((coinvariantNorm_surjective_iff ρ).1 h.2)
|
| 37 |
-
· intro G _ _ V _ _ _ ρ
|
| 38 |
-
exact norm_bijective_of_projective ρ
|
| 39 |
-
end FiberFunctorProof
|
| 40 |
-
|
| 41 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormConverse
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.NormFree
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open CategoryTheory Representation
|
| 8 |
+
universe u
|
| 9 |
+
variable {k : Type u} [Field k] {G : Type u} [Group G] [Fintype G]
|
| 10 |
+
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
theorem norm_bijective_of_projective (ρ : Representation k G V)
|
| 15 |
+
(hρ : Projective (Rep.of ρ)) : Function.Bijective (coinvariantNorm ρ) := by
|
| 16 |
+
let e : Rep.free k G V ⟶ Rep.of ρ := Rep.ofHom (Representation.freeLift ρ id)
|
| 17 |
+
have he : Function.Surjective e.hom := by
|
| 18 |
+
intro v
|
| 19 |
+
refine ⟨Finsupp.single v (MonoidAlgebra.single 1 1), ?_⟩
|
| 20 |
+
simp [e]
|
| 21 |
+
let : Epi e := (Rep.epi_iff_surjective e).2 he
|
| 22 |
+
obtain ⟨s,hs⟩ := hρ.factors (𝟙 (Rep.of ρ)) e
|
| 23 |
+
apply norm_bijective_of_retract s.hom e.hom
|
| 24 |
+
· exact congrArg Rep.Hom.hom hs
|
| 25 |
+
· exact free_norm_bijective V
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
theorem norm_projectivity : NormProjectivityTheorem.{u} := by
|
| 30 |
+
intro k _ _ p _ _
|
| 31 |
+
constructor
|
| 32 |
+
· intro G _ _ hG V _ _ _ ρ
|
| 33 |
+
constructor
|
| 34 |
+
· exact norm_bijective_of_projective ρ
|
| 35 |
+
· intro h
|
| 36 |
+
exact projective_of_normSurjective hG ρ ((coinvariantNorm_surjective_iff ρ).1 h.2)
|
| 37 |
+
· intro G _ _ V _ _ _ ρ
|
| 38 |
+
exact norm_bijective_of_projective ρ
|
| 39 |
+
end FiberFunctorProof
|
| 40 |
+
|
| 41 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/NumeratorAction.lean
CHANGED
|
@@ -1,54 +1,54 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.AssociatedNumerator
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.XChartLineEval
|
| 3 |
-
import OAI.RepresentationTheory.RestrictedTilting.ClearedPolynomial
|
| 4 |
-
|
| 5 |
-
namespace OAI
|
| 6 |
-
|
| 7 |
-
namespace FiberFunctorProof
|
| 8 |
-
open scoped BigOperators
|
| 9 |
-
universe u
|
| 10 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 11 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 12 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 13 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 14 |
-
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 15 |
-
variable (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d)
|
| 16 |
-
local notation "N" => associatedSectionsSubmodule k ι ρ
|
| 17 |
-
local notation "W" => associatedNumeratorLinear k ι ρ P hP d hd
|
| 18 |
-
|
| 19 |
-
lemma associatedNumerator_line_eval (a : kˣ) (f : N) (i : ι) :
|
| 20 |
-
(linePolynomial k (W f i)).eval (a : k) = (a : k)^d *
|
| 21 |
-
regularVectorEvaluation k ι (diagonalTorus k a) f.val i := by
|
| 22 |
-
rw [linePolynomial_eval]
|
| 23 |
-
change planeLineEval k a (W f i) = _
|
| 24 |
-
have h := congrArg (chartLineEval k a) (associatedNumeratorLinear_spec k ι ρ P hP d hd f i)
|
| 25 |
-
rw [chartLineEval_algebraMap, map_mul, map_pow, chartLineEval_coordinate] at h
|
| 26 |
-
simpa only [ite_true, congrFun (associatedXChart_line k ι ρ a f) i] using h
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
lemma associatedNumerator_line_unipotent (t : k) (f : N) (i : ι) :
|
| 31 |
-
Polynomial.X^(2*d) * linePolynomial k
|
| 32 |
-
(W (associatedSectionsRepresentation k ι ρ (unipotent k t) f) i) =
|
| 33 |
-
∑ j, clearedLineAction k (P i j) t d * linePolynomial k (W f j) := by
|
| 34 |
-
apply Polynomial.eq_of_infinite_eval_eq
|
| 35 |
-
apply (Set.finite_singleton (0 : k)).infinite_compl.mono
|
| 36 |
-
intro a ha
|
| 37 |
-
have ha0 : a ≠ 0 := ha
|
| 38 |
-
let u : kˣ := Units.mk0 a ha0
|
| 39 |
-
change Polynomial.eval (u : k) _ = Polynomial.eval (u : k) _
|
| 40 |
-
simp only [Polynomial.eval_mul, Polynomial.eval_pow, Polynomial.eval_X,
|
| 41 |
-
Polynomial.eval_finsetSum]
|
| 42 |
-
rw [associatedNumerator_line_eval k ι ρ P hP d hd,
|
| 43 |
-
associatedSections_line_unipotent k ι ρ u t f]
|
| 44 |
-
simp_rw [clearedLineAction_eval k _ t (u : k) d (hd i _) u.ne_zero,
|
| 45 |
-
associatedNumerator_line_eval k ι ρ P hP d hd u f]
|
| 46 |
-
rw [← LinearMap.toMatrix'_mulVec, ← hP]
|
| 47 |
-
simp only [polynomialMatrixEval, Matrix.mulVec, dotProduct,
|
| 48 |
-
Polynomial.aeval_def, Algebra.algebraMap_self, Polynomial.eval₂_id, Finset.mul_sum]
|
| 49 |
-
apply Finset.sum_congr rfl
|
| 50 |
-
intro j _
|
| 51 |
-
ring
|
| 52 |
-
end FiberFunctorProof
|
| 53 |
-
|
| 54 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.AssociatedNumerator
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.XChartLineEval
|
| 3 |
+
import OAI.RepresentationTheory.RestrictedTilting.ClearedPolynomial
|
| 4 |
+
|
| 5 |
+
namespace OAI
|
| 6 |
+
|
| 7 |
+
namespace FiberFunctorProof
|
| 8 |
+
open scoped BigOperators
|
| 9 |
+
universe u
|
| 10 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 11 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 12 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 13 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 14 |
+
variable (hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 15 |
+
variable (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d)
|
| 16 |
+
local notation "N" => associatedSectionsSubmodule k ι ρ
|
| 17 |
+
local notation "W" => associatedNumeratorLinear k ι ρ P hP d hd
|
| 18 |
+
|
| 19 |
+
lemma associatedNumerator_line_eval (a : kˣ) (f : N) (i : ι) :
|
| 20 |
+
(linePolynomial k (W f i)).eval (a : k) = (a : k)^d *
|
| 21 |
+
regularVectorEvaluation k ι (diagonalTorus k a) f.val i := by
|
| 22 |
+
rw [linePolynomial_eval]
|
| 23 |
+
change planeLineEval k a (W f i) = _
|
| 24 |
+
have h := congrArg (chartLineEval k a) (associatedNumeratorLinear_spec k ι ρ P hP d hd f i)
|
| 25 |
+
rw [chartLineEval_algebraMap, map_mul, map_pow, chartLineEval_coordinate] at h
|
| 26 |
+
simpa only [ite_true, congrFun (associatedXChart_line k ι ρ a f) i] using h
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
lemma associatedNumerator_line_unipotent (t : k) (f : N) (i : ι) :
|
| 31 |
+
Polynomial.X^(2*d) * linePolynomial k
|
| 32 |
+
(W (associatedSectionsRepresentation k ι ρ (unipotent k t) f) i) =
|
| 33 |
+
∑ j, clearedLineAction k (P i j) t d * linePolynomial k (W f j) := by
|
| 34 |
+
apply Polynomial.eq_of_infinite_eval_eq
|
| 35 |
+
apply (Set.finite_singleton (0 : k)).infinite_compl.mono
|
| 36 |
+
intro a ha
|
| 37 |
+
have ha0 : a ≠ 0 := ha
|
| 38 |
+
let u : kˣ := Units.mk0 a ha0
|
| 39 |
+
change Polynomial.eval (u : k) _ = Polynomial.eval (u : k) _
|
| 40 |
+
simp only [Polynomial.eval_mul, Polynomial.eval_pow, Polynomial.eval_X,
|
| 41 |
+
Polynomial.eval_finsetSum]
|
| 42 |
+
rw [associatedNumerator_line_eval k ι ρ P hP d hd,
|
| 43 |
+
associatedSections_line_unipotent k ι ρ u t f]
|
| 44 |
+
simp_rw [clearedLineAction_eval k _ t (u : k) d (hd i _) u.ne_zero,
|
| 45 |
+
associatedNumerator_line_eval k ι ρ P hP d hd u f]
|
| 46 |
+
rw [← LinearMap.toMatrix'_mulVec, ← hP]
|
| 47 |
+
simp only [polynomialMatrixEval, Matrix.mulVec, dotProduct,
|
| 48 |
+
Polynomial.aeval_def, Algebra.algebraMap_self, Polynomial.eval₂_id, Finset.mul_sum]
|
| 49 |
+
apply Finset.sum_congr rfl
|
| 50 |
+
intro j _
|
| 51 |
+
ring
|
| 52 |
+
end FiberFunctorProof
|
| 53 |
+
|
| 54 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/OriginCoordinates.lean
CHANGED
|
@@ -1,346 +1,346 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.ActionDenominators
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Plane-origin coordinate rings, stalk lattices and overlap evaluation. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
|
| 15 |
-
variable (k : Type*) [Field k]
|
| 16 |
-
|
| 17 |
-
abbrev planeCoordinateRing := MvPolynomial (Fin 2) k
|
| 18 |
-
|
| 19 |
-
def planeOriginIdeal : Ideal (planeCoordinateRing k) :=
|
| 20 |
-
RingHom.ker MvPolynomial.constantCoeff
|
| 21 |
-
|
| 22 |
-
instance planeOriginIdeal_isMaximal : (planeOriginIdeal k).IsMaximal :=
|
| 23 |
-
RingHom.ker_isMaximal_of_surjective MvPolynomial.constantCoeff
|
| 24 |
-
(fun a => ⟨MvPolynomial.C a, MvPolynomial.constantCoeff_C (Fin 2) a⟩)
|
| 25 |
-
|
| 26 |
-
lemma planeOriginIdeal_eq_span : planeOriginIdeal k =
|
| 27 |
-
Ideal.span {MvPolynomial.X (0 : Fin 2), MvPolynomial.X (1 : Fin 2)} := by
|
| 28 |
-
have hvars : planeOriginIdeal k = MvPolynomial.idealOfVars (Fin 2) k := by
|
| 29 |
-
ext f
|
| 30 |
-
change f.coeff 0 = 0 ↔ f ∈ MvPolynomial.idealOfVars (Fin 2) k
|
| 31 |
-
have he := MvPolynomial.mem_pow_idealOfVars_iff' (R := k) (σ := Fin 2) 1 f
|
| 32 |
-
simpa only [pow_one, Nat.lt_one_iff, Finsupp.degree_eq_zero_iff,
|
| 33 |
-
forall_eq] using he.symm
|
| 34 |
-
rw [hvars, MvPolynomial.idealOfVars]
|
| 35 |
-
congr 1
|
| 36 |
-
ext p
|
| 37 |
-
constructor
|
| 38 |
-
· rintro ⟨i,rfl⟩
|
| 39 |
-
fin_cases i <;> simp
|
| 40 |
-
· rintro (rfl | rfl)
|
| 41 |
-
· exact ⟨0,rfl⟩
|
| 42 |
-
· exact ⟨1,rfl⟩
|
| 43 |
-
|
| 44 |
-
abbrev planeOriginRing := Localization.AtPrime (planeOriginIdeal k)
|
| 45 |
-
|
| 46 |
-
abbrev planeOriginCoordinate (i : Fin 2) : planeOriginRing k :=
|
| 47 |
-
algebraMap (planeCoordinateRing k) (planeOriginRing k) (MvPolynomial.X i)
|
| 48 |
-
|
| 49 |
-
lemma planeOriginCoordinate_ne_zero (i : Fin 2) : planeOriginCoordinate k i ≠ 0 := by
|
| 50 |
-
exact fun h => MvPolynomial.X_ne_zero i
|
| 51 |
-
((IsLocalization.injective (planeOriginRing k)
|
| 52 |
-
(planeOriginIdeal k).primeCompl_le_nonZeroDivisors) (h.trans (map_zero _).symm))
|
| 53 |
-
|
| 54 |
-
lemma planeOrigin_maximalIdeal : IsLocalRing.maximalIdeal (planeOriginRing k) =
|
| 55 |
-
Ideal.span {planeOriginCoordinate k 0, planeOriginCoordinate k 1} := by
|
| 56 |
-
rw [← IsLocalization.AtPrime.map_eq_maximalIdeal (planeOriginIdeal k) (planeOriginRing k)]
|
| 57 |
-
calc
|
| 58 |
-
_ = Ideal.map (algebraMap (planeCoordinateRing k) (planeOriginRing k))
|
| 59 |
-
(Ideal.span {MvPolynomial.X (0 : Fin 2), MvPolynomial.X (1 : Fin 2)}) :=
|
| 60 |
-
congrArg (Ideal.map (algebraMap (planeCoordinateRing k) (planeOriginRing k)))
|
| 61 |
-
(planeOriginIdeal_eq_span k)
|
| 62 |
-
_ = _ := by
|
| 63 |
-
rw [Ideal.map_span]
|
| 64 |
-
simp only [Set.image_insert_eq, Set.image_singleton, planeOriginCoordinate]
|
| 65 |
-
|
| 66 |
-
lemma planeOriginCoordinate_prime (i : Fin 2) : Prime (planeOriginCoordinate k i) := by
|
| 67 |
-
apply (IsLocalization.toLocalizationMap (planeOriginIdeal k).primeCompl
|
| 68 |
-
(planeOriginRing k)).map_prime (MvPolynomial.X_prime (i := i)) (planeOriginCoordinate_ne_zero k i)
|
| 69 |
-
change ¬ IsUnit (planeOriginCoordinate k i)
|
| 70 |
-
rw [IsLocalization.AtPrime.isUnit_to_map_iff (planeOriginRing k) (planeOriginIdeal k)]
|
| 71 |
-
change ¬ (MvPolynomial.X i : planeCoordinateRing k) ∉ planeOriginIdeal k
|
| 72 |
-
simp [planeOriginIdeal, RingHom.mem_ker]
|
| 73 |
-
|
| 74 |
-
lemma planeOriginCoordinates_relPrime :
|
| 75 |
-
IsRelPrime (planeOriginCoordinate k 0) (planeOriginCoordinate k 1) := by
|
| 76 |
-
apply (planeOriginCoordinate_prime k 0).irreducible.isRelPrime_iff_not_dvd.mpr
|
| 77 |
-
intro h
|
| 78 |
-
obtain ⟨s,hs,hd⟩ :=
|
| 79 |
-
(IsLocalization.toLocalizationMap (planeOriginIdeal k).primeCompl
|
| 80 |
-
(planeOriginRing k)).map_dvd_map.mp h
|
| 81 |
-
rcases (MvPolynomial.X_prime (R := k) (i := (0 : Fin 2))).dvd_or_dvd hd with ha | hb
|
| 82 |
-
· have hx : (MvPolynomial.X (0 : Fin 2) : planeCoordinateRing k) ∈ planeOriginIdeal k := by
|
| 83 |
-
simp [planeOriginIdeal, RingHom.mem_ker]
|
| 84 |
-
obtain ⟨a,rfl⟩ := ha
|
| 85 |
-
exact hs ((planeOriginIdeal k).mul_mem_right a hx)
|
| 86 |
-
· exact (by decide : (0 : Fin 2) ≠ 1) (MvPolynomial.X_dvd_X.mp hb)
|
| 87 |
-
|
| 88 |
-
noncomputable instance planeOriginRing_gcd : GCDMonoid (planeOriginRing k) :=
|
| 89 |
-
UniqueFactorizationMonoid.toGCDMonoid _
|
| 90 |
-
|
| 91 |
-
example : IsNoetherianRing (planeOriginRing k) := inferInstance
|
| 92 |
-
example : IsLocalRing (planeOriginRing k) := inferInstance
|
| 93 |
-
|
| 94 |
-
end
|
| 95 |
-
|
| 96 |
-
section PowerCharts
|
| 97 |
-
variable {R K ι : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 98 |
-
|
| 99 |
-
lemma linearEquiv_map_base_smul (P : (ι → K) ≃ₗ[K] (ι → K)) (a : R) (v : ι → K) :
|
| 100 |
-
P (a • v) = a • P v :=
|
| 101 |
-
(P.restrictScalars R).map_smul a v
|
| 102 |
-
|
| 103 |
-
lemma powerLocalization_idem (x : R) (L : Submodule R (ι → K)) :
|
| 104 |
-
powerLocalization x (powerLocalization x L) = powerLocalization x L := by
|
| 105 |
-
apply le_antisymm
|
| 106 |
-
· rintro v ⟨n,m,h⟩
|
| 107 |
-
exact ⟨m+n, by simpa only [pow_add, mul_smul] using h⟩
|
| 108 |
-
· exact le_powerLocalization _ _
|
| 109 |
-
|
| 110 |
-
lemma powerLocalization_equiv_map (x : R) (L : Submodule R (ι → K))
|
| 111 |
-
(P : (ι → K) ≃ₗ[K] (ι → K)) :
|
| 112 |
-
powerLocalization x (L.map (P.toLinearMap.restrictScalars R)) =
|
| 113 |
-
(powerLocalization x L).map (P.toLinearMap.restrictScalars R) := by
|
| 114 |
-
apply le_antisymm
|
| 115 |
-
· rintro v ⟨n,w,hw,he⟩
|
| 116 |
-
refine ⟨P.symm v, ⟨n, ?_⟩, P.apply_symm_apply v⟩
|
| 117 |
-
have h : w = x^n • P.symm v := by
|
| 118 |
-
apply P.injective
|
| 119 |
-
change P w = x^n • v at he
|
| 120 |
-
simpa only [linearEquiv_map_base_smul, P.apply_symm_apply] using he
|
| 121 |
-
exact h ▸ hw
|
| 122 |
-
· rintro v ⟨w,⟨n,hn⟩,rfl⟩
|
| 123 |
-
refine ⟨n,x^n • w,hn,?_⟩
|
| 124 |
-
exact (P.restrictScalars R).map_smul _ _
|
| 125 |
-
|
| 126 |
-
end PowerCharts
|
| 127 |
-
|
| 128 |
-
section
|
| 129 |
-
variable {R K ι : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
theorem gluedLattice_xChart (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K))
|
| 133 |
-
(d : ℕ) (hP : ∀ v ∈ coordinateLattice (R := R),
|
| 134 |
-
(x*y)^d • P.symm v ∈ coordinateLattice (R := R)) :
|
| 135 |
-
powerLocalization x (gluedLattice x y P) = powerLocalization x coordinateLattice := by
|
| 136 |
-
apply le_antisymm
|
| 137 |
-
· exact (powerLocalization_mono x inf_le_left).trans (le_of_eq (powerLocalization_idem x _))
|
| 138 |
-
· rintro v hv
|
| 139 |
-
obtain ⟨n,hn⟩ := hv
|
| 140 |
-
refine ⟨d+n, ?_⟩
|
| 141 |
-
change x^(d+n) • v ∈ powerLocalization x coordinateLattice ∧
|
| 142 |
-
x^(d+n) • v ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)
|
| 143 |
-
constructor
|
| 144 |
-
· exact ⟨0, by simpa only [pow_zero, one_smul, pow_add, mul_smul] using
|
| 145 |
-
(coordinateLattice (R := R)).smul_mem (x^d) hn⟩
|
| 146 |
-
· refine ⟨x^(d+n) • P.symm v, ⟨d, ?_⟩, ?_⟩
|
| 147 |
-
· have h := hP (x^n • v) hn
|
| 148 |
-
rw [linearEquiv_map_base_smul, mul_pow, mul_smul,
|
| 149 |
-
smul_comm (y^d), ← mul_smul, ← pow_add] at h
|
| 150 |
-
simpa only [smul_comm (y^d)] using h
|
| 151 |
-
· change P (x^(d+n) • P.symm v) = x^(d+n) • v
|
| 152 |
-
rw [linearEquiv_map_base_smul, P.apply_symm_apply]
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
theorem gluedLattice_yChart (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K))
|
| 156 |
-
(d : ℕ) (hP : ∀ v ∈ coordinateLattice (R := R),
|
| 157 |
-
(x*y)^d • P v ∈ coordinateLattice (R := R)) :
|
| 158 |
-
powerLocalization y (gluedLattice x y P) =
|
| 159 |
-
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) := by
|
| 160 |
-
apply le_antisymm
|
| 161 |
-
· refine (powerLocalization_mono y inf_le_right).trans ?_
|
| 162 |
-
rw [powerLocalization_equiv_map, powerLocalization_idem]
|
| 163 |
-
· rintro v ⟨w,⟨n,hn⟩,rfl⟩
|
| 164 |
-
refine ⟨d+n, ?_⟩
|
| 165 |
-
change y^(d+n) • P w ∈ powerLocalization x coordinateLattice ∧
|
| 166 |
-
y^(d+n) • P w ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)
|
| 167 |
-
constructor
|
| 168 |
-
· refine ⟨d, ?_⟩
|
| 169 |
-
have h := hP (y^n • w) hn
|
| 170 |
-
rw [linearEquiv_map_base_smul, mul_pow, mul_smul,
|
| 171 |
-
← mul_smul (y^d), ← pow_add] at h
|
| 172 |
-
exact h
|
| 173 |
-
· refine ⟨y^(d+n) • w, ⟨0, ?_⟩, ?_⟩
|
| 174 |
-
· simpa only [pow_zero, one_smul, pow_add, mul_smul] using
|
| 175 |
-
(coordinateLattice (R := R)).smul_mem (y^d) hn
|
| 176 |
-
· exact (P.restrictScalars R).map_smul _ _
|
| 177 |
-
|
| 178 |
-
end
|
| 179 |
-
|
| 180 |
-
section
|
| 181 |
-
|
| 182 |
-
variable {k ι : Type*} [Field k] [Infinite k] [Fintype ι] [DecidableEq ι]
|
| 183 |
-
variable (P : Matrix ι ι (Polynomial k))
|
| 184 |
-
(h0 : polynomialMatrixEval P (0 : k) = 1)
|
| 185 |
-
(hadd : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 186 |
-
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 187 |
-
|
| 188 |
-
abbrev planeOriginFractionField := FractionRing (planeCoordinateRing k)
|
| 189 |
-
|
| 190 |
-
instance planeOriginFraction_tower :
|
| 191 |
-
IsScalarTower k (planeOriginRing k) (planeOriginFractionField (k := k)) :=
|
| 192 |
-
IsScalarTower.to₁₃₄ k (planeCoordinateRing k) (planeOriginRing k)
|
| 193 |
-
(planeOriginFractionField (k := k))
|
| 194 |
-
|
| 195 |
-
instance planeOriginFraction_isFractionRing :
|
| 196 |
-
IsFractionRing (planeOriginRing k) (planeOriginFractionField (k := k)) :=
|
| 197 |
-
IsFractionRing.isFractionRing_of_isLocalization (planeOriginIdeal k).primeCompl
|
| 198 |
-
(planeOriginRing k) (planeOriginFractionField (k := k))
|
| 199 |
-
(planeOriginIdeal k).primeCompl_le_nonZeroDivisors
|
| 200 |
-
|
| 201 |
-
noncomputable def planeStalkTransition :
|
| 202 |
-
(ι → planeOriginFractionField (k := k)) ≃ₗ[planeOriginFractionField (k := k)]
|
| 203 |
-
(ι → planeOriginFractionField (k := k)) :=
|
| 204 |
-
polynomialActionEquiv P h0 hadd
|
| 205 |
-
(-(algebraMap (planeOriginRing k) (planeOriginFractionField (k := k))
|
| 206 |
-
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1))⁻¹)
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
noncomputable def planeAssociatedLattice :
|
| 211 |
-
Submodule (planeOriginRing k) (ι → planeOriginFractionField (k := k)) :=
|
| 212 |
-
gluedLattice (planeOriginCoordinate k 0) (planeOriginCoordinate k 1)
|
| 213 |
-
(planeStalkTransition P h0 hadd)
|
| 214 |
-
|
| 215 |
-
omit [Infinite k] in
|
| 216 |
-
lemma planeOrigin_product_ne_zero :
|
| 217 |
-
algebraMap (planeOriginRing k) (planeOriginFractionField (k := k))
|
| 218 |
-
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1) ≠ 0 := by
|
| 219 |
-
have h := FaithfulSMul.algebraMap_injective (planeOriginRing k)
|
| 220 |
-
(planeOriginFractionField (k := k))
|
| 221 |
-
exact fun hz => (mul_ne_zero (planeOriginCoordinate_ne_zero k 0)
|
| 222 |
-
(planeOriginCoordinate_ne_zero k 1)) (h (hz.trans (map_zero _).symm))
|
| 223 |
-
|
| 224 |
-
lemma planeStalkTransition_denominator (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 225 |
-
∀ v ∈ coordinateLattice (R := planeOriginRing k),
|
| 226 |
-
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1)^d •
|
| 227 |
-
planeStalkTransition P h0 hadd v ∈ coordinateLattice (R := planeOriginRing k) :=
|
| 228 |
-
polynomialAction_denominator P h0 hadd _ planeOrigin_product_ne_zero d hd
|
| 229 |
-
|
| 230 |
-
lemma planeStalkTransition_symm_denominator (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 231 |
-
∀ v ∈ coordinateLattice (R := planeOriginRing k),
|
| 232 |
-
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1)^d •
|
| 233 |
-
(planeStalkTransition P h0 hadd).symm v ∈ coordinateLattice (R := planeOriginRing k) := by
|
| 234 |
-
have h := polynomialAction_fraction_denominator (R := planeOriginRing k)
|
| 235 |
-
(K := planeOriginFractionField (k := k)) P h0 hadd 1 _ planeOrigin_product_ne_zero d hd
|
| 236 |
-
simpa only [planeStalkTransition, polynomialActionEquiv_symm, neg_neg,
|
| 237 |
-
map_one, one_mul] using h
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
theorem planeAssociatedLattice_finite_free (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 242 |
-
Module.Finite (planeOriginRing k) (planeAssociatedLattice P h0 hadd) ∧
|
| 243 |
-
Module.Free (planeOriginRing k) (planeAssociatedLattice P h0 hadd) := by
|
| 244 |
-
constructor
|
| 245 |
-
· exact gluedLattice_finite _ _ (planeOriginCoordinate_ne_zero k 0)
|
| 246 |
-
(planeOriginCoordinates_relPrime k) _ d (planeStalkTransition_denominator P h0 hadd d hd)
|
| 247 |
-
· exact gluedLattice_free _ _ (planeOriginCoordinate_ne_zero k 0)
|
| 248 |
-
(planeOriginCoordinate_ne_zero k 1) (planeOriginCoordinates_relPrime k)
|
| 249 |
-
(planeOrigin_maximalIdeal k) _ d (planeStalkTransition_denominator P h0 hadd d hd)
|
| 250 |
-
|
| 251 |
-
theorem planeAssociatedLattice_xChart (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 252 |
-
powerLocalization (planeOriginCoordinate k 0) (planeAssociatedLattice P h0 hadd) =
|
| 253 |
-
powerLocalization (planeOriginCoordinate k 0) coordinateLattice :=
|
| 254 |
-
gluedLattice_xChart _ _ _ d (planeStalkTransition_symm_denominator P h0 hadd d hd)
|
| 255 |
-
|
| 256 |
-
theorem planeAssociatedLattice_yChart (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 257 |
-
powerLocalization (planeOriginCoordinate k 1) (planeAssociatedLattice P h0 hadd) =
|
| 258 |
-
(powerLocalization (planeOriginCoordinate k 1) coordinateLattice).map
|
| 259 |
-
((planeStalkTransition P h0 hadd).toLinearMap.restrictScalars (planeOriginRing k)) :=
|
| 260 |
-
gluedLattice_yChart _ _ _ d (planeStalkTransition_denominator P h0 hadd d hd)
|
| 261 |
-
|
| 262 |
-
end
|
| 263 |
-
|
| 264 |
-
variable (k : Type*) [Field k] [Infinite k]
|
| 265 |
-
|
| 266 |
-
abbrev planeOverlapRing := Localization.Away
|
| 267 |
-
((MvPolynomial.X 0 : MvPolynomial (Fin 2) k) * MvPolynomial.X 1)
|
| 268 |
-
|
| 269 |
-
omit [Infinite k] in
|
| 270 |
-
lemma planeTorusEvaluation_product_isUnit :
|
| 271 |
-
IsUnit (planeTorusEvaluation k
|
| 272 |
-
((MvPolynomial.X 0 : MvPolynomial (Fin 2) k) * MvPolynomial.X 1)) := by
|
| 273 |
-
rw [map_mul]
|
| 274 |
-
exact (planeTorusEvaluation_X_isUnit k 0).mul (planeTorusEvaluation_X_isUnit k 1)
|
| 275 |
-
|
| 276 |
-
noncomputable def planeOverlapEvaluation :
|
| 277 |
-
planeOverlapRing k →ₐ[k] (planeTorusPoints k → k) :=
|
| 278 |
-
IsLocalization.Away.liftAlgHom _ (planeTorusEvaluation_product_isUnit k)
|
| 279 |
-
|
| 280 |
-
omit [Infinite k] in
|
| 281 |
-
lemma planeOverlapEvaluation_algebraMap (P : MvPolynomial (Fin 2) k) :
|
| 282 |
-
planeOverlapEvaluation k (algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) P) =
|
| 283 |
-
planeTorusEvaluation k P :=
|
| 284 |
-
IsLocalization.Away.lift_eq _ (planeTorusEvaluation_product_isUnit k) _
|
| 285 |
-
|
| 286 |
-
theorem planeOverlapEvaluation_injective :
|
| 287 |
-
Function.Injective (planeOverlapEvaluation k) := by
|
| 288 |
-
apply (IsLocalization.injective_iff_map_algebraMap_eq
|
| 289 |
-
(R := MvPolynomial (Fin 2) k) (S := planeOverlapRing k)
|
| 290 |
-
(Submonoid.powers (MvPolynomial.X 0 * MvPolynomial.X 1))
|
| 291 |
-
(planeOverlapEvaluation k).toRingHom).mpr
|
| 292 |
-
intro P Q
|
| 293 |
-
constructor
|
| 294 |
-
· exact congrArg (planeOverlapEvaluation k)
|
| 295 |
-
· intro h
|
| 296 |
-
have h' : planeTorusEvaluation k P = planeTorusEvaluation k Q := by
|
| 297 |
-
simpa only [AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 298 |
-
planeOverlapEvaluation_algebraMap] using h
|
| 299 |
-
exact congrArg (algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k))
|
| 300 |
-
(planeTorusEvaluation_injective k h')
|
| 301 |
-
|
| 302 |
-
omit [Infinite k] in
|
| 303 |
-
lemma planeOverlapCoordinate_isUnit (i : Fin 2) :
|
| 304 |
-
IsUnit (algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) (MvPolynomial.X i)) := by
|
| 305 |
-
apply IsLocalization.Away.isUnit_of_dvd
|
| 306 |
-
(x := (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) * MvPolynomial.X 1)
|
| 307 |
-
fin_cases i
|
| 308 |
-
· exact dvd_mul_right _ _
|
| 309 |
-
· exact dvd_mul_left _ _
|
| 310 |
-
|
| 311 |
-
noncomputable def planeChartToOverlap (i : Fin 2) :
|
| 312 |
-
planeCoordinateChart k i →ₐ[k] planeOverlapRing k :=
|
| 313 |
-
IsLocalization.Away.liftAlgHom (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 314 |
-
(f := IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeOverlapRing k))
|
| 315 |
-
(planeOverlapCoordinate_isUnit k i)
|
| 316 |
-
|
| 317 |
-
omit [Infinite k] in
|
| 318 |
-
lemma planeChartToOverlap_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 319 |
-
planeChartToOverlap k i
|
| 320 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 321 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) P :=
|
| 322 |
-
IsLocalization.Away.lift_eq _ (planeOverlapCoordinate_isUnit k i) _
|
| 323 |
-
|
| 324 |
-
omit [Infinite k] in
|
| 325 |
-
lemma planeChartToOverlap_evaluation (i : Fin 2) (f : planeCoordinateChart k i) :
|
| 326 |
-
planeOverlapEvaluation k (planeChartToOverlap k i f) = planeChartEvaluation k i f := by
|
| 327 |
-
have h : (planeOverlapEvaluation k).toRingHom.comp (planeChartToOverlap k i).toRingHom =
|
| 328 |
-
(planeChartEvaluation k i).toRingHom := by
|
| 329 |
-
apply IsLocalization.ringHom_ext
|
| 330 |
-
(Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 331 |
-
apply RingHom.ext
|
| 332 |
-
intro P
|
| 333 |
-
simp only [RingHom.comp_apply, AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 334 |
-
planeChartToOverlap_algebraMap, planeOverlapEvaluation_algebraMap,
|
| 335 |
-
planeChartEvaluation_algebraMap]
|
| 336 |
-
exact RingHom.congr_fun h f
|
| 337 |
-
|
| 338 |
-
lemma planeChartToOverlap_injective (i : Fin 2) : Function.Injective (planeChartToOverlap k i) := by
|
| 339 |
-
intro f h he
|
| 340 |
-
apply planeChartEvaluation_injective k i
|
| 341 |
-
rw [← planeChartToOverlap_evaluation, ← planeChartToOverlap_evaluation, he]
|
| 342 |
-
|
| 343 |
-
end FiberFunctorProof
|
| 344 |
-
end
|
| 345 |
-
|
| 346 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.ActionDenominators
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Plane-origin coordinate rings, stalk lattices and overlap evaluation. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
|
| 15 |
+
variable (k : Type*) [Field k]
|
| 16 |
+
|
| 17 |
+
abbrev planeCoordinateRing := MvPolynomial (Fin 2) k
|
| 18 |
+
|
| 19 |
+
def planeOriginIdeal : Ideal (planeCoordinateRing k) :=
|
| 20 |
+
RingHom.ker MvPolynomial.constantCoeff
|
| 21 |
+
|
| 22 |
+
instance planeOriginIdeal_isMaximal : (planeOriginIdeal k).IsMaximal :=
|
| 23 |
+
RingHom.ker_isMaximal_of_surjective MvPolynomial.constantCoeff
|
| 24 |
+
(fun a => ⟨MvPolynomial.C a, MvPolynomial.constantCoeff_C (Fin 2) a⟩)
|
| 25 |
+
|
| 26 |
+
lemma planeOriginIdeal_eq_span : planeOriginIdeal k =
|
| 27 |
+
Ideal.span {MvPolynomial.X (0 : Fin 2), MvPolynomial.X (1 : Fin 2)} := by
|
| 28 |
+
have hvars : planeOriginIdeal k = MvPolynomial.idealOfVars (Fin 2) k := by
|
| 29 |
+
ext f
|
| 30 |
+
change f.coeff 0 = 0 ↔ f ∈ MvPolynomial.idealOfVars (Fin 2) k
|
| 31 |
+
have he := MvPolynomial.mem_pow_idealOfVars_iff' (R := k) (σ := Fin 2) 1 f
|
| 32 |
+
simpa only [pow_one, Nat.lt_one_iff, Finsupp.degree_eq_zero_iff,
|
| 33 |
+
forall_eq] using he.symm
|
| 34 |
+
rw [hvars, MvPolynomial.idealOfVars]
|
| 35 |
+
congr 1
|
| 36 |
+
ext p
|
| 37 |
+
constructor
|
| 38 |
+
· rintro ⟨i,rfl⟩
|
| 39 |
+
fin_cases i <;> simp
|
| 40 |
+
· rintro (rfl | rfl)
|
| 41 |
+
· exact ⟨0,rfl⟩
|
| 42 |
+
· exact ⟨1,rfl⟩
|
| 43 |
+
|
| 44 |
+
abbrev planeOriginRing := Localization.AtPrime (planeOriginIdeal k)
|
| 45 |
+
|
| 46 |
+
abbrev planeOriginCoordinate (i : Fin 2) : planeOriginRing k :=
|
| 47 |
+
algebraMap (planeCoordinateRing k) (planeOriginRing k) (MvPolynomial.X i)
|
| 48 |
+
|
| 49 |
+
lemma planeOriginCoordinate_ne_zero (i : Fin 2) : planeOriginCoordinate k i ≠ 0 := by
|
| 50 |
+
exact fun h => MvPolynomial.X_ne_zero i
|
| 51 |
+
((IsLocalization.injective (planeOriginRing k)
|
| 52 |
+
(planeOriginIdeal k).primeCompl_le_nonZeroDivisors) (h.trans (map_zero _).symm))
|
| 53 |
+
|
| 54 |
+
lemma planeOrigin_maximalIdeal : IsLocalRing.maximalIdeal (planeOriginRing k) =
|
| 55 |
+
Ideal.span {planeOriginCoordinate k 0, planeOriginCoordinate k 1} := by
|
| 56 |
+
rw [← IsLocalization.AtPrime.map_eq_maximalIdeal (planeOriginIdeal k) (planeOriginRing k)]
|
| 57 |
+
calc
|
| 58 |
+
_ = Ideal.map (algebraMap (planeCoordinateRing k) (planeOriginRing k))
|
| 59 |
+
(Ideal.span {MvPolynomial.X (0 : Fin 2), MvPolynomial.X (1 : Fin 2)}) :=
|
| 60 |
+
congrArg (Ideal.map (algebraMap (planeCoordinateRing k) (planeOriginRing k)))
|
| 61 |
+
(planeOriginIdeal_eq_span k)
|
| 62 |
+
_ = _ := by
|
| 63 |
+
rw [Ideal.map_span]
|
| 64 |
+
simp only [Set.image_insert_eq, Set.image_singleton, planeOriginCoordinate]
|
| 65 |
+
|
| 66 |
+
lemma planeOriginCoordinate_prime (i : Fin 2) : Prime (planeOriginCoordinate k i) := by
|
| 67 |
+
apply (IsLocalization.toLocalizationMap (planeOriginIdeal k).primeCompl
|
| 68 |
+
(planeOriginRing k)).map_prime (MvPolynomial.X_prime (i := i)) (planeOriginCoordinate_ne_zero k i)
|
| 69 |
+
change ¬ IsUnit (planeOriginCoordinate k i)
|
| 70 |
+
rw [IsLocalization.AtPrime.isUnit_to_map_iff (planeOriginRing k) (planeOriginIdeal k)]
|
| 71 |
+
change ¬ (MvPolynomial.X i : planeCoordinateRing k) ∉ planeOriginIdeal k
|
| 72 |
+
simp [planeOriginIdeal, RingHom.mem_ker]
|
| 73 |
+
|
| 74 |
+
lemma planeOriginCoordinates_relPrime :
|
| 75 |
+
IsRelPrime (planeOriginCoordinate k 0) (planeOriginCoordinate k 1) := by
|
| 76 |
+
apply (planeOriginCoordinate_prime k 0).irreducible.isRelPrime_iff_not_dvd.mpr
|
| 77 |
+
intro h
|
| 78 |
+
obtain ⟨s,hs,hd⟩ :=
|
| 79 |
+
(IsLocalization.toLocalizationMap (planeOriginIdeal k).primeCompl
|
| 80 |
+
(planeOriginRing k)).map_dvd_map.mp h
|
| 81 |
+
rcases (MvPolynomial.X_prime (R := k) (i := (0 : Fin 2))).dvd_or_dvd hd with ha | hb
|
| 82 |
+
· have hx : (MvPolynomial.X (0 : Fin 2) : planeCoordinateRing k) ∈ planeOriginIdeal k := by
|
| 83 |
+
simp [planeOriginIdeal, RingHom.mem_ker]
|
| 84 |
+
obtain ⟨a,rfl⟩ := ha
|
| 85 |
+
exact hs ((planeOriginIdeal k).mul_mem_right a hx)
|
| 86 |
+
· exact (by decide : (0 : Fin 2) ≠ 1) (MvPolynomial.X_dvd_X.mp hb)
|
| 87 |
+
|
| 88 |
+
noncomputable instance planeOriginRing_gcd : GCDMonoid (planeOriginRing k) :=
|
| 89 |
+
UniqueFactorizationMonoid.toGCDMonoid _
|
| 90 |
+
|
| 91 |
+
example : IsNoetherianRing (planeOriginRing k) := inferInstance
|
| 92 |
+
example : IsLocalRing (planeOriginRing k) := inferInstance
|
| 93 |
+
|
| 94 |
+
end
|
| 95 |
+
|
| 96 |
+
section PowerCharts
|
| 97 |
+
variable {R K ι : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 98 |
+
|
| 99 |
+
lemma linearEquiv_map_base_smul (P : (ι → K) ≃ₗ[K] (ι → K)) (a : R) (v : ι → K) :
|
| 100 |
+
P (a • v) = a • P v :=
|
| 101 |
+
(P.restrictScalars R).map_smul a v
|
| 102 |
+
|
| 103 |
+
lemma powerLocalization_idem (x : R) (L : Submodule R (ι → K)) :
|
| 104 |
+
powerLocalization x (powerLocalization x L) = powerLocalization x L := by
|
| 105 |
+
apply le_antisymm
|
| 106 |
+
· rintro v ⟨n,m,h⟩
|
| 107 |
+
exact ⟨m+n, by simpa only [pow_add, mul_smul] using h⟩
|
| 108 |
+
· exact le_powerLocalization _ _
|
| 109 |
+
|
| 110 |
+
lemma powerLocalization_equiv_map (x : R) (L : Submodule R (ι → K))
|
| 111 |
+
(P : (ι → K) ≃ₗ[K] (ι → K)) :
|
| 112 |
+
powerLocalization x (L.map (P.toLinearMap.restrictScalars R)) =
|
| 113 |
+
(powerLocalization x L).map (P.toLinearMap.restrictScalars R) := by
|
| 114 |
+
apply le_antisymm
|
| 115 |
+
· rintro v ⟨n,w,hw,he⟩
|
| 116 |
+
refine ⟨P.symm v, ⟨n, ?_⟩, P.apply_symm_apply v⟩
|
| 117 |
+
have h : w = x^n • P.symm v := by
|
| 118 |
+
apply P.injective
|
| 119 |
+
change P w = x^n • v at he
|
| 120 |
+
simpa only [linearEquiv_map_base_smul, P.apply_symm_apply] using he
|
| 121 |
+
exact h ▸ hw
|
| 122 |
+
· rintro v ⟨w,⟨n,hn⟩,rfl⟩
|
| 123 |
+
refine ⟨n,x^n • w,hn,?_⟩
|
| 124 |
+
exact (P.restrictScalars R).map_smul _ _
|
| 125 |
+
|
| 126 |
+
end PowerCharts
|
| 127 |
+
|
| 128 |
+
section
|
| 129 |
+
variable {R K ι : Type*} [CommRing R] [Field K] [Algebra R K]
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
theorem gluedLattice_xChart (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K))
|
| 133 |
+
(d : ℕ) (hP : ∀ v ∈ coordinateLattice (R := R),
|
| 134 |
+
(x*y)^d • P.symm v ∈ coordinateLattice (R := R)) :
|
| 135 |
+
powerLocalization x (gluedLattice x y P) = powerLocalization x coordinateLattice := by
|
| 136 |
+
apply le_antisymm
|
| 137 |
+
· exact (powerLocalization_mono x inf_le_left).trans (le_of_eq (powerLocalization_idem x _))
|
| 138 |
+
· rintro v hv
|
| 139 |
+
obtain ⟨n,hn⟩ := hv
|
| 140 |
+
refine ⟨d+n, ?_⟩
|
| 141 |
+
change x^(d+n) • v ∈ powerLocalization x coordinateLattice ∧
|
| 142 |
+
x^(d+n) • v ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)
|
| 143 |
+
constructor
|
| 144 |
+
· exact ⟨0, by simpa only [pow_zero, one_smul, pow_add, mul_smul] using
|
| 145 |
+
(coordinateLattice (R := R)).smul_mem (x^d) hn⟩
|
| 146 |
+
· refine ⟨x^(d+n) • P.symm v, ⟨d, ?_⟩, ?_⟩
|
| 147 |
+
· have h := hP (x^n • v) hn
|
| 148 |
+
rw [linearEquiv_map_base_smul, mul_pow, mul_smul,
|
| 149 |
+
smul_comm (y^d), ← mul_smul, ← pow_add] at h
|
| 150 |
+
simpa only [smul_comm (y^d)] using h
|
| 151 |
+
· change P (x^(d+n) • P.symm v) = x^(d+n) • v
|
| 152 |
+
rw [linearEquiv_map_base_smul, P.apply_symm_apply]
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
theorem gluedLattice_yChart (x y : R) (P : (ι → K) ≃ₗ[K] (ι → K))
|
| 156 |
+
(d : ℕ) (hP : ∀ v ∈ coordinateLattice (R := R),
|
| 157 |
+
(x*y)^d • P v ∈ coordinateLattice (R := R)) :
|
| 158 |
+
powerLocalization y (gluedLattice x y P) =
|
| 159 |
+
(powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R) := by
|
| 160 |
+
apply le_antisymm
|
| 161 |
+
· refine (powerLocalization_mono y inf_le_right).trans ?_
|
| 162 |
+
rw [powerLocalization_equiv_map, powerLocalization_idem]
|
| 163 |
+
· rintro v ⟨w,⟨n,hn⟩,rfl⟩
|
| 164 |
+
refine ⟨d+n, ?_⟩
|
| 165 |
+
change y^(d+n) • P w ∈ powerLocalization x coordinateLattice ∧
|
| 166 |
+
y^(d+n) • P w ∈ (powerLocalization y coordinateLattice).map (P.toLinearMap.restrictScalars R)
|
| 167 |
+
constructor
|
| 168 |
+
· refine ⟨d, ?_⟩
|
| 169 |
+
have h := hP (y^n • w) hn
|
| 170 |
+
rw [linearEquiv_map_base_smul, mul_pow, mul_smul,
|
| 171 |
+
← mul_smul (y^d), ← pow_add] at h
|
| 172 |
+
exact h
|
| 173 |
+
· refine ⟨y^(d+n) • w, ⟨0, ?_⟩, ?_⟩
|
| 174 |
+
· simpa only [pow_zero, one_smul, pow_add, mul_smul] using
|
| 175 |
+
(coordinateLattice (R := R)).smul_mem (y^d) hn
|
| 176 |
+
· exact (P.restrictScalars R).map_smul _ _
|
| 177 |
+
|
| 178 |
+
end
|
| 179 |
+
|
| 180 |
+
section
|
| 181 |
+
|
| 182 |
+
variable {k ι : Type*} [Field k] [Infinite k] [Fintype ι] [DecidableEq ι]
|
| 183 |
+
variable (P : Matrix ι ι (Polynomial k))
|
| 184 |
+
(h0 : polynomialMatrixEval P (0 : k) = 1)
|
| 185 |
+
(hadd : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 186 |
+
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 187 |
+
|
| 188 |
+
abbrev planeOriginFractionField := FractionRing (planeCoordinateRing k)
|
| 189 |
+
|
| 190 |
+
instance planeOriginFraction_tower :
|
| 191 |
+
IsScalarTower k (planeOriginRing k) (planeOriginFractionField (k := k)) :=
|
| 192 |
+
IsScalarTower.to₁₃₄ k (planeCoordinateRing k) (planeOriginRing k)
|
| 193 |
+
(planeOriginFractionField (k := k))
|
| 194 |
+
|
| 195 |
+
instance planeOriginFraction_isFractionRing :
|
| 196 |
+
IsFractionRing (planeOriginRing k) (planeOriginFractionField (k := k)) :=
|
| 197 |
+
IsFractionRing.isFractionRing_of_isLocalization (planeOriginIdeal k).primeCompl
|
| 198 |
+
(planeOriginRing k) (planeOriginFractionField (k := k))
|
| 199 |
+
(planeOriginIdeal k).primeCompl_le_nonZeroDivisors
|
| 200 |
+
|
| 201 |
+
noncomputable def planeStalkTransition :
|
| 202 |
+
(ι → planeOriginFractionField (k := k)) ≃ₗ[planeOriginFractionField (k := k)]
|
| 203 |
+
(ι → planeOriginFractionField (k := k)) :=
|
| 204 |
+
polynomialActionEquiv P h0 hadd
|
| 205 |
+
(-(algebraMap (planeOriginRing k) (planeOriginFractionField (k := k))
|
| 206 |
+
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1))⁻¹)
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
|
| 210 |
+
noncomputable def planeAssociatedLattice :
|
| 211 |
+
Submodule (planeOriginRing k) (ι → planeOriginFractionField (k := k)) :=
|
| 212 |
+
gluedLattice (planeOriginCoordinate k 0) (planeOriginCoordinate k 1)
|
| 213 |
+
(planeStalkTransition P h0 hadd)
|
| 214 |
+
|
| 215 |
+
omit [Infinite k] in
|
| 216 |
+
lemma planeOrigin_product_ne_zero :
|
| 217 |
+
algebraMap (planeOriginRing k) (planeOriginFractionField (k := k))
|
| 218 |
+
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1) ≠ 0 := by
|
| 219 |
+
have h := FaithfulSMul.algebraMap_injective (planeOriginRing k)
|
| 220 |
+
(planeOriginFractionField (k := k))
|
| 221 |
+
exact fun hz => (mul_ne_zero (planeOriginCoordinate_ne_zero k 0)
|
| 222 |
+
(planeOriginCoordinate_ne_zero k 1)) (h (hz.trans (map_zero _).symm))
|
| 223 |
+
|
| 224 |
+
lemma planeStalkTransition_denominator (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 225 |
+
∀ v ∈ coordinateLattice (R := planeOriginRing k),
|
| 226 |
+
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1)^d •
|
| 227 |
+
planeStalkTransition P h0 hadd v ∈ coordinateLattice (R := planeOriginRing k) :=
|
| 228 |
+
polynomialAction_denominator P h0 hadd _ planeOrigin_product_ne_zero d hd
|
| 229 |
+
|
| 230 |
+
lemma planeStalkTransition_symm_denominator (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 231 |
+
∀ v ∈ coordinateLattice (R := planeOriginRing k),
|
| 232 |
+
(planeOriginCoordinate k 0 * planeOriginCoordinate k 1)^d •
|
| 233 |
+
(planeStalkTransition P h0 hadd).symm v ∈ coordinateLattice (R := planeOriginRing k) := by
|
| 234 |
+
have h := polynomialAction_fraction_denominator (R := planeOriginRing k)
|
| 235 |
+
(K := planeOriginFractionField (k := k)) P h0 hadd 1 _ planeOrigin_product_ne_zero d hd
|
| 236 |
+
simpa only [planeStalkTransition, polynomialActionEquiv_symm, neg_neg,
|
| 237 |
+
map_one, one_mul] using h
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
theorem planeAssociatedLattice_finite_free (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 242 |
+
Module.Finite (planeOriginRing k) (planeAssociatedLattice P h0 hadd) ∧
|
| 243 |
+
Module.Free (planeOriginRing k) (planeAssociatedLattice P h0 hadd) := by
|
| 244 |
+
constructor
|
| 245 |
+
· exact gluedLattice_finite _ _ (planeOriginCoordinate_ne_zero k 0)
|
| 246 |
+
(planeOriginCoordinates_relPrime k) _ d (planeStalkTransition_denominator P h0 hadd d hd)
|
| 247 |
+
· exact gluedLattice_free _ _ (planeOriginCoordinate_ne_zero k 0)
|
| 248 |
+
(planeOriginCoordinate_ne_zero k 1) (planeOriginCoordinates_relPrime k)
|
| 249 |
+
(planeOrigin_maximalIdeal k) _ d (planeStalkTransition_denominator P h0 hadd d hd)
|
| 250 |
+
|
| 251 |
+
theorem planeAssociatedLattice_xChart (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 252 |
+
powerLocalization (planeOriginCoordinate k 0) (planeAssociatedLattice P h0 hadd) =
|
| 253 |
+
powerLocalization (planeOriginCoordinate k 0) coordinateLattice :=
|
| 254 |
+
gluedLattice_xChart _ _ _ d (planeStalkTransition_symm_denominator P h0 hadd d hd)
|
| 255 |
+
|
| 256 |
+
theorem planeAssociatedLattice_yChart (d : ℕ) (hd : ∀ i j, (P i j).natDegree ≤ d) :
|
| 257 |
+
powerLocalization (planeOriginCoordinate k 1) (planeAssociatedLattice P h0 hadd) =
|
| 258 |
+
(powerLocalization (planeOriginCoordinate k 1) coordinateLattice).map
|
| 259 |
+
((planeStalkTransition P h0 hadd).toLinearMap.restrictScalars (planeOriginRing k)) :=
|
| 260 |
+
gluedLattice_yChart _ _ _ d (planeStalkTransition_denominator P h0 hadd d hd)
|
| 261 |
+
|
| 262 |
+
end
|
| 263 |
+
|
| 264 |
+
variable (k : Type*) [Field k] [Infinite k]
|
| 265 |
+
|
| 266 |
+
abbrev planeOverlapRing := Localization.Away
|
| 267 |
+
((MvPolynomial.X 0 : MvPolynomial (Fin 2) k) * MvPolynomial.X 1)
|
| 268 |
+
|
| 269 |
+
omit [Infinite k] in
|
| 270 |
+
lemma planeTorusEvaluation_product_isUnit :
|
| 271 |
+
IsUnit (planeTorusEvaluation k
|
| 272 |
+
((MvPolynomial.X 0 : MvPolynomial (Fin 2) k) * MvPolynomial.X 1)) := by
|
| 273 |
+
rw [map_mul]
|
| 274 |
+
exact (planeTorusEvaluation_X_isUnit k 0).mul (planeTorusEvaluation_X_isUnit k 1)
|
| 275 |
+
|
| 276 |
+
noncomputable def planeOverlapEvaluation :
|
| 277 |
+
planeOverlapRing k →ₐ[k] (planeTorusPoints k → k) :=
|
| 278 |
+
IsLocalization.Away.liftAlgHom _ (planeTorusEvaluation_product_isUnit k)
|
| 279 |
+
|
| 280 |
+
omit [Infinite k] in
|
| 281 |
+
lemma planeOverlapEvaluation_algebraMap (P : MvPolynomial (Fin 2) k) :
|
| 282 |
+
planeOverlapEvaluation k (algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) P) =
|
| 283 |
+
planeTorusEvaluation k P :=
|
| 284 |
+
IsLocalization.Away.lift_eq _ (planeTorusEvaluation_product_isUnit k) _
|
| 285 |
+
|
| 286 |
+
theorem planeOverlapEvaluation_injective :
|
| 287 |
+
Function.Injective (planeOverlapEvaluation k) := by
|
| 288 |
+
apply (IsLocalization.injective_iff_map_algebraMap_eq
|
| 289 |
+
(R := MvPolynomial (Fin 2) k) (S := planeOverlapRing k)
|
| 290 |
+
(Submonoid.powers (MvPolynomial.X 0 * MvPolynomial.X 1))
|
| 291 |
+
(planeOverlapEvaluation k).toRingHom).mpr
|
| 292 |
+
intro P Q
|
| 293 |
+
constructor
|
| 294 |
+
· exact congrArg (planeOverlapEvaluation k)
|
| 295 |
+
· intro h
|
| 296 |
+
have h' : planeTorusEvaluation k P = planeTorusEvaluation k Q := by
|
| 297 |
+
simpa only [AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 298 |
+
planeOverlapEvaluation_algebraMap] using h
|
| 299 |
+
exact congrArg (algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k))
|
| 300 |
+
(planeTorusEvaluation_injective k h')
|
| 301 |
+
|
| 302 |
+
omit [Infinite k] in
|
| 303 |
+
lemma planeOverlapCoordinate_isUnit (i : Fin 2) :
|
| 304 |
+
IsUnit (algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) (MvPolynomial.X i)) := by
|
| 305 |
+
apply IsLocalization.Away.isUnit_of_dvd
|
| 306 |
+
(x := (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) * MvPolynomial.X 1)
|
| 307 |
+
fin_cases i
|
| 308 |
+
· exact dvd_mul_right _ _
|
| 309 |
+
· exact dvd_mul_left _ _
|
| 310 |
+
|
| 311 |
+
noncomputable def planeChartToOverlap (i : Fin 2) :
|
| 312 |
+
planeCoordinateChart k i →ₐ[k] planeOverlapRing k :=
|
| 313 |
+
IsLocalization.Away.liftAlgHom (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 314 |
+
(f := IsScalarTower.toAlgHom k (MvPolynomial (Fin 2) k) (planeOverlapRing k))
|
| 315 |
+
(planeOverlapCoordinate_isUnit k i)
|
| 316 |
+
|
| 317 |
+
omit [Infinite k] in
|
| 318 |
+
lemma planeChartToOverlap_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 319 |
+
planeChartToOverlap k i
|
| 320 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 321 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeOverlapRing k) P :=
|
| 322 |
+
IsLocalization.Away.lift_eq _ (planeOverlapCoordinate_isUnit k i) _
|
| 323 |
+
|
| 324 |
+
omit [Infinite k] in
|
| 325 |
+
lemma planeChartToOverlap_evaluation (i : Fin 2) (f : planeCoordinateChart k i) :
|
| 326 |
+
planeOverlapEvaluation k (planeChartToOverlap k i f) = planeChartEvaluation k i f := by
|
| 327 |
+
have h : (planeOverlapEvaluation k).toRingHom.comp (planeChartToOverlap k i).toRingHom =
|
| 328 |
+
(planeChartEvaluation k i).toRingHom := by
|
| 329 |
+
apply IsLocalization.ringHom_ext
|
| 330 |
+
(Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 331 |
+
apply RingHom.ext
|
| 332 |
+
intro P
|
| 333 |
+
simp only [RingHom.comp_apply, AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 334 |
+
planeChartToOverlap_algebraMap, planeOverlapEvaluation_algebraMap,
|
| 335 |
+
planeChartEvaluation_algebraMap]
|
| 336 |
+
exact RingHom.congr_fun h f
|
| 337 |
+
|
| 338 |
+
lemma planeChartToOverlap_injective (i : Fin 2) : Function.Injective (planeChartToOverlap k i) := by
|
| 339 |
+
intro f h he
|
| 340 |
+
apply planeChartEvaluation_injective k i
|
| 341 |
+
rw [← planeChartToOverlap_evaluation, ← planeChartToOverlap_evaluation, he]
|
| 342 |
+
|
| 343 |
+
end FiberFunctorProof
|
| 344 |
+
end
|
| 345 |
+
|
| 346 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PGroupInvariants.lean
CHANGED
|
@@ -1,58 +1,58 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open Representation
|
| 7 |
-
universe u v
|
| 8 |
-
variable {k : Type u} [Field k] {p : ℕ} [Fact p.Prime] [CharP k p]
|
| 9 |
-
variable {G : Type v} [Group G] [Finite G]
|
| 10 |
-
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
theorem pgroup_exists_invariant (hG : IsPGroup p G) (ρ : Representation k G V)
|
| 15 |
-
(v : V) (hv : v ≠ 0) : ∃ w : V, w ≠ 0 ∧ ∀ g, ρ g w = w := by
|
| 16 |
-
classical
|
| 17 |
-
let : Algebra (ZMod p) k := ZMod.algebra k p
|
| 18 |
-
let : Module (ZMod p) V := Module.compHom V (algebraMap (ZMod p) k)
|
| 19 |
-
let : IsScalarTower (ZMod p) k V := IsScalarTower.of_algebraMap_smul fun _ _ => rfl
|
| 20 |
-
let W : Submodule (ZMod p) V := Submodule.span (ZMod p) (Set.range fun g : G => ρ g v)
|
| 21 |
-
have hvW : v ∈ W := by
|
| 22 |
-
apply Submodule.subset_span
|
| 23 |
-
exact ⟨1, by simp⟩
|
| 24 |
-
have hstable (g : G) : W ≤ W.comap ((ρ g).restrictScalars (ZMod p)) := by
|
| 25 |
-
apply Submodule.span_le.mpr
|
| 26 |
-
rintro _ ⟨h,rfl⟩
|
| 27 |
-
change ρ g (ρ h v) ∈ W
|
| 28 |
-
change (ρ g * ρ h) v ∈ W
|
| 29 |
-
rw [← map_mul]
|
| 30 |
-
exact Submodule.subset_span ⟨g*h,rfl⟩
|
| 31 |
-
let σ : Representation (ZMod p) G W :=
|
| 32 |
-
{ toFun := fun g => ((ρ g).restrictScalars (ZMod p)).restrict (hstable g)
|
| 33 |
-
map_one' := by ext w; simp
|
| 34 |
-
map_mul' := by intro g h; ext w; simp [map_mul] }
|
| 35 |
-
let : Module.Finite (ZMod p) W :=
|
| 36 |
-
Module.Finite.of_fg (Submodule.fg_span (Set.finite_range _))
|
| 37 |
-
let : Finite W := Module.finite_of_finite (ZMod p)
|
| 38 |
-
have hnt : Nontrivial W := ⟨⟨⟨v,hvW⟩,0,fun h => hv (congrArg Subtype.val h)⟩⟩
|
| 39 |
-
let := hnt
|
| 40 |
-
let : MulAction G W := {
|
| 41 |
-
smul g w := σ g w
|
| 42 |
-
one_smul := by intro w; change σ 1 w = w; simp
|
| 43 |
-
mul_smul := by intro g h w; change σ (g*h) w = σ g (σ h w); simp [map_mul] }
|
| 44 |
-
have hpW : p ∣ Nat.card W := by
|
| 45 |
-
let := Fintype.ofFinite W
|
| 46 |
-
rw [Nat.card_eq_fintype_card, Module.card_eq_pow_finrank (K := ZMod p), ZMod.card]
|
| 47 |
-
exact dvd_pow_self p (ne_of_gt (Module.finrank_pos (R := ZMod p) (M := W)))
|
| 48 |
-
obtain ⟨w,hw,hne⟩ := hG.exists_fixed_point_of_prime_dvd_card_of_fixed_point W hpW
|
| 49 |
-
(a := 0) (by intro g; change σ g 0 = 0; simp)
|
| 50 |
-
refine ⟨w,?_,?_⟩
|
| 51 |
-
· intro h
|
| 52 |
-
apply hne
|
| 53 |
-
exact Subtype.ext h.symm
|
| 54 |
-
· intro g
|
| 55 |
-
exact congrArg Subtype.val (hw g)
|
| 56 |
-
end FiberFunctorProof
|
| 57 |
-
|
| 58 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open Representation
|
| 7 |
+
universe u v
|
| 8 |
+
variable {k : Type u} [Field k] {p : ℕ} [Fact p.Prime] [CharP k p]
|
| 9 |
+
variable {G : Type v} [Group G] [Finite G]
|
| 10 |
+
variable {V : Type u} [AddCommGroup V] [Module k V]
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
theorem pgroup_exists_invariant (hG : IsPGroup p G) (ρ : Representation k G V)
|
| 15 |
+
(v : V) (hv : v ≠ 0) : ∃ w : V, w ≠ 0 ∧ ∀ g, ρ g w = w := by
|
| 16 |
+
classical
|
| 17 |
+
let : Algebra (ZMod p) k := ZMod.algebra k p
|
| 18 |
+
let : Module (ZMod p) V := Module.compHom V (algebraMap (ZMod p) k)
|
| 19 |
+
let : IsScalarTower (ZMod p) k V := IsScalarTower.of_algebraMap_smul fun _ _ => rfl
|
| 20 |
+
let W : Submodule (ZMod p) V := Submodule.span (ZMod p) (Set.range fun g : G => ρ g v)
|
| 21 |
+
have hvW : v ∈ W := by
|
| 22 |
+
apply Submodule.subset_span
|
| 23 |
+
exact ⟨1, by simp⟩
|
| 24 |
+
have hstable (g : G) : W ≤ W.comap ((ρ g).restrictScalars (ZMod p)) := by
|
| 25 |
+
apply Submodule.span_le.mpr
|
| 26 |
+
rintro _ ⟨h,rfl⟩
|
| 27 |
+
change ρ g (ρ h v) ∈ W
|
| 28 |
+
change (ρ g * ρ h) v ∈ W
|
| 29 |
+
rw [← map_mul]
|
| 30 |
+
exact Submodule.subset_span ⟨g*h,rfl⟩
|
| 31 |
+
let σ : Representation (ZMod p) G W :=
|
| 32 |
+
{ toFun := fun g => ((ρ g).restrictScalars (ZMod p)).restrict (hstable g)
|
| 33 |
+
map_one' := by ext w; simp
|
| 34 |
+
map_mul' := by intro g h; ext w; simp [map_mul] }
|
| 35 |
+
let : Module.Finite (ZMod p) W :=
|
| 36 |
+
Module.Finite.of_fg (Submodule.fg_span (Set.finite_range _))
|
| 37 |
+
let : Finite W := Module.finite_of_finite (ZMod p)
|
| 38 |
+
have hnt : Nontrivial W := ⟨⟨⟨v,hvW⟩,0,fun h => hv (congrArg Subtype.val h)⟩⟩
|
| 39 |
+
let := hnt
|
| 40 |
+
let : MulAction G W := {
|
| 41 |
+
smul g w := σ g w
|
| 42 |
+
one_smul := by intro w; change σ 1 w = w; simp
|
| 43 |
+
mul_smul := by intro g h w; change σ (g*h) w = σ g (σ h w); simp [map_mul] }
|
| 44 |
+
have hpW : p ∣ Nat.card W := by
|
| 45 |
+
let := Fintype.ofFinite W
|
| 46 |
+
rw [Nat.card_eq_fintype_card, Module.card_eq_pow_finrank (K := ZMod p), ZMod.card]
|
| 47 |
+
exact dvd_pow_self p (ne_of_gt (Module.finrank_pos (R := ZMod p) (M := W)))
|
| 48 |
+
obtain ⟨w,hw,hne⟩ := hG.exists_fixed_point_of_prime_dvd_card_of_fixed_point W hpW
|
| 49 |
+
(a := 0) (by intro g; change σ g 0 = 0; simp)
|
| 50 |
+
refine ⟨w,?_,?_⟩
|
| 51 |
+
· intro h
|
| 52 |
+
apply hne
|
| 53 |
+
exact Subtype.ext h.symm
|
| 54 |
+
· intro g
|
| 55 |
+
exact congrArg Subtype.val (hw g)
|
| 56 |
+
end FiberFunctorProof
|
| 57 |
+
|
| 58 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PiPlaneOrigin.lean
CHANGED
|
@@ -1,82 +1,82 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.PlaneMatrixTensor
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 7 |
-
open scoped BigOperators TensorProduct
|
| 8 |
-
universe u
|
| 9 |
-
variable (k : Type u) [Field k]
|
| 10 |
-
variable {β : Type u} [Fintype β] [DecidableEq β]
|
| 11 |
-
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
-
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 13 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 14 |
-
local notation "pM" => planeJetRelation (M := M) k 1
|
| 15 |
-
local notation "pPi" => planeJetRelation (M := β → M) k 1
|
| 16 |
-
|
| 17 |
-
noncomputable def piPlaneOriginMap : (β → M) →ₗ[k] (β → M ⧸ pM) :=
|
| 18 |
-
LinearMap.pi fun i => (pM).mkQ.comp (LinearMap.proj i)
|
| 19 |
-
|
| 20 |
-
omit [Fintype β] [DecidableEq β] in
|
| 21 |
-
lemma piPlaneOriginMap_apply (v : β → M) (i : β) :
|
| 22 |
-
piPlaneOriginMap k v i = (pM).mkQ (v i) := rfl
|
| 23 |
-
|
| 24 |
-
omit [Fintype β] [DecidableEq β] in
|
| 25 |
-
lemma piPlaneOriginMap_surjective : Function.Surjective (piPlaneOriginMap (β := β) (M := M) k) := by
|
| 26 |
-
intro v
|
| 27 |
-
choose w hw using fun i => (pM).mkQ_surjective (v i)
|
| 28 |
-
exact ⟨w, funext hw⟩
|
| 29 |
-
|
| 30 |
-
lemma planeOrigin_mem_iff (v : M) : v ∈ pM ↔
|
| 31 |
-
∃ a b : M, v = (MvPolynomial.X 0 : A) • a + (MvPolynomial.X 1 : A) • b := by
|
| 32 |
-
change v ∈ jetRelation (MvPolynomial.X 0 : A) (MvPolynomial.X 1) 1 ↔ _
|
| 33 |
-
rw [jetRelation_one, mem_pairRelation]
|
| 34 |
-
|
| 35 |
-
omit [Fintype
|
| 36 |
-
lemma piPlaneOriginMap_ker : (piPlaneOriginMap (β := β) (M := M) k).ker = pPi := by
|
| 37 |
-
ext v
|
| 38 |
-
change piPlaneOriginMap k v = 0 ↔ v ∈ pPi
|
| 39 |
-
rw [planeOrigin_mem_iff]
|
| 40 |
-
constructor
|
| 41 |
-
· intro h
|
| 42 |
-
have hi (i : β) : v i ∈ pM := by
|
| 43 |
-
exact (Submodule.Quotient.mk_eq_zero pM).mp (congrFun h i)
|
| 44 |
-
choose a b hab using fun i => (planeOrigin_mem_iff k (v i)).mp (hi i)
|
| 45 |
-
exact ⟨a,b,funext hab⟩
|
| 46 |
-
· rintro ⟨a,b,rfl⟩
|
| 47 |
-
funext i
|
| 48 |
-
exact (Submodule.Quotient.mk_eq_zero pM).mpr
|
| 49 |
-
((planeOrigin_mem_iff k _).mpr ⟨a i,b i,rfl⟩)
|
| 50 |
-
|
| 51 |
-
noncomputable def piPlaneOriginEquiv : ((β → M) ⧸ pPi) ≃ₗ[k] (β → M ⧸ pM) := by
|
| 52 |
-
let f : (β → M) →ₗ[k] (β → M ⧸ pM) := piPlaneOriginMap (β := β) (M := M) k
|
| 53 |
-
let e : ((β → M) ⧸ f.ker) ≃ₗ[k] (β → M ⧸ pM) :=
|
| 54 |
-
f.quotKerEquivOfSurjective (piPlaneOriginMap_surjective (β := β) (M := M) k)
|
| 55 |
-
exact (Submodule.quotEquivOfEq pPi f.ker (piPlaneOriginMap_ker (β := β) (M := M) k).symm).trans e
|
| 56 |
-
|
| 57 |
-
omit [Fintype β] [DecidableEq β] in
|
| 58 |
-
lemma piPlaneOriginEquiv_mk (v : β → M) :
|
| 59 |
-
piPlaneOriginEquiv k ((pPi).mkQ v) = fun i => (pM).mkQ (v i) := rfl
|
| 60 |
-
|
| 61 |
-
omit [DecidableEq β] in
|
| 62 |
-
lemma piPlaneOrigin_finite [Module.Finite k (M ⧸ pM)] :
|
| 63 |
-
Module.Finite k ((β → M) ⧸ pPi) :=
|
| 64 |
-
Module.Finite.of_surjective (piPlaneOriginEquiv (β := β) (M := M) k).symm.toLinearMap
|
| 65 |
-
(piPlaneOriginEquiv k).symm.surjective
|
| 66 |
-
|
| 67 |
-
variable (τ : Representation k (SL2 k) (β → k)) (σ : Representation k (SL2 k) M)
|
| 68 |
-
(hσ : PlaneCompatible k σ)
|
| 69 |
-
|
| 70 |
-
lemma piPlaneOriginEquiv_intertwines (g : SL2 k) (v : (β → M) ⧸ pPi) :
|
| 71 |
-
piPlaneOriginEquiv k
|
| 72 |
-
(planeJetRep k (matrixTensorRepresentation τ σ) (matrixTensor_planeCompatible k τ σ hσ) 1 g v) =
|
| 73 |
-
matrixTensorRepresentation τ (planeJetRep k σ hσ 1) g (piPlaneOriginEquiv k v) := by
|
| 74 |
-
obtain ⟨v,rfl⟩ := (pPi).mkQ_surjective v
|
| 75 |
-
change piPlaneOriginEquiv k ((pPi).mkQ (matrixTensorRepresentation τ σ g v)) = _
|
| 76 |
-
rw [piPlaneOriginEquiv_mk, piPlaneOriginEquiv_mk]
|
| 77 |
-
funext i
|
| 78 |
-
simp only [matrixTensorRepresentation_apply, map_sum, map_smul]
|
| 79 |
-
rfl
|
| 80 |
-
end FiberFunctorProof
|
| 81 |
-
|
| 82 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.PlaneMatrixTensor
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory CategoryTheory.MonoidalCategory
|
| 7 |
+
open scoped BigOperators TensorProduct
|
| 8 |
+
universe u
|
| 9 |
+
variable (k : Type u) [Field k]
|
| 10 |
+
variable {β : Type u} [Fintype β] [DecidableEq β]
|
| 11 |
+
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
+
[Module (MvPolynomial (Fin 2) k) M] [IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 13 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 14 |
+
local notation "pM" => planeJetRelation (M := M) k 1
|
| 15 |
+
local notation "pPi" => planeJetRelation (M := β → M) k 1
|
| 16 |
+
|
| 17 |
+
noncomputable def piPlaneOriginMap : (β → M) →ₗ[k] (β → M ⧸ pM) :=
|
| 18 |
+
LinearMap.pi fun i => (pM).mkQ.comp (LinearMap.proj i)
|
| 19 |
+
|
| 20 |
+
omit [Fintype β] [DecidableEq β] in
|
| 21 |
+
lemma piPlaneOriginMap_apply (v : β → M) (i : β) :
|
| 22 |
+
piPlaneOriginMap k v i = (pM).mkQ (v i) := rfl
|
| 23 |
+
|
| 24 |
+
omit [Fintype β] [DecidableEq β] in
|
| 25 |
+
lemma piPlaneOriginMap_surjective : Function.Surjective (piPlaneOriginMap (β := β) (M := M) k) := by
|
| 26 |
+
intro v
|
| 27 |
+
choose w hw using fun i => (pM).mkQ_surjective (v i)
|
| 28 |
+
exact ⟨w, funext hw⟩
|
| 29 |
+
|
| 30 |
+
lemma planeOrigin_mem_iff (v : M) : v ∈ pM ↔
|
| 31 |
+
∃ a b : M, v = (MvPolynomial.X 0 : A) • a + (MvPolynomial.X 1 : A) • b := by
|
| 32 |
+
change v ∈ jetRelation (MvPolynomial.X 0 : A) (MvPolynomial.X 1) 1 ↔ _
|
| 33 |
+
rw [jetRelation_one, mem_pairRelation]
|
| 34 |
+
|
| 35 |
+
omit [Fintype ��] [DecidableEq β] in
|
| 36 |
+
lemma piPlaneOriginMap_ker : (piPlaneOriginMap (β := β) (M := M) k).ker = pPi := by
|
| 37 |
+
ext v
|
| 38 |
+
change piPlaneOriginMap k v = 0 ↔ v ∈ pPi
|
| 39 |
+
rw [planeOrigin_mem_iff]
|
| 40 |
+
constructor
|
| 41 |
+
· intro h
|
| 42 |
+
have hi (i : β) : v i ∈ pM := by
|
| 43 |
+
exact (Submodule.Quotient.mk_eq_zero pM).mp (congrFun h i)
|
| 44 |
+
choose a b hab using fun i => (planeOrigin_mem_iff k (v i)).mp (hi i)
|
| 45 |
+
exact ⟨a,b,funext hab⟩
|
| 46 |
+
· rintro ⟨a,b,rfl⟩
|
| 47 |
+
funext i
|
| 48 |
+
exact (Submodule.Quotient.mk_eq_zero pM).mpr
|
| 49 |
+
((planeOrigin_mem_iff k _).mpr ⟨a i,b i,rfl⟩)
|
| 50 |
+
|
| 51 |
+
noncomputable def piPlaneOriginEquiv : ((β → M) ⧸ pPi) ≃ₗ[k] (β → M ⧸ pM) := by
|
| 52 |
+
let f : (β → M) →ₗ[k] (β → M ⧸ pM) := piPlaneOriginMap (β := β) (M := M) k
|
| 53 |
+
let e : ((β → M) ⧸ f.ker) ≃ₗ[k] (β → M ⧸ pM) :=
|
| 54 |
+
f.quotKerEquivOfSurjective (piPlaneOriginMap_surjective (β := β) (M := M) k)
|
| 55 |
+
exact (Submodule.quotEquivOfEq pPi f.ker (piPlaneOriginMap_ker (β := β) (M := M) k).symm).trans e
|
| 56 |
+
|
| 57 |
+
omit [Fintype β] [DecidableEq β] in
|
| 58 |
+
lemma piPlaneOriginEquiv_mk (v : β → M) :
|
| 59 |
+
piPlaneOriginEquiv k ((pPi).mkQ v) = fun i => (pM).mkQ (v i) := rfl
|
| 60 |
+
|
| 61 |
+
omit [DecidableEq β] in
|
| 62 |
+
lemma piPlaneOrigin_finite [Module.Finite k (M ⧸ pM)] :
|
| 63 |
+
Module.Finite k ((β → M) ⧸ pPi) :=
|
| 64 |
+
Module.Finite.of_surjective (piPlaneOriginEquiv (β := β) (M := M) k).symm.toLinearMap
|
| 65 |
+
(piPlaneOriginEquiv k).symm.surjective
|
| 66 |
+
|
| 67 |
+
variable (τ : Representation k (SL2 k) (β → k)) (σ : Representation k (SL2 k) M)
|
| 68 |
+
(hσ : PlaneCompatible k σ)
|
| 69 |
+
|
| 70 |
+
lemma piPlaneOriginEquiv_intertwines (g : SL2 k) (v : (β → M) ⧸ pPi) :
|
| 71 |
+
piPlaneOriginEquiv k
|
| 72 |
+
(planeJetRep k (matrixTensorRepresentation τ σ) (matrixTensor_planeCompatible k τ σ hσ) 1 g v) =
|
| 73 |
+
matrixTensorRepresentation τ (planeJetRep k σ hσ 1) g (piPlaneOriginEquiv k v) := by
|
| 74 |
+
obtain ⟨v,rfl⟩ := (pPi).mkQ_surjective v
|
| 75 |
+
change piPlaneOriginEquiv k ((pPi).mkQ (matrixTensorRepresentation τ σ g v)) = _
|
| 76 |
+
rw [piPlaneOriginEquiv_mk, piPlaneOriginEquiv_mk]
|
| 77 |
+
funext i
|
| 78 |
+
simp only [matrixTensorRepresentation_apply, map_sum, map_smul]
|
| 79 |
+
rfl
|
| 80 |
+
end FiberFunctorProof
|
| 81 |
+
|
| 82 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PlaneCharts.lean
CHANGED
|
@@ -1,270 +1,270 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.RegularTorus
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Two plane sections, transition matrices and associated charts. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
universe u
|
| 15 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 16 |
-
|
| 17 |
-
noncomputable def planeXSection (x : planeTorusPoints k) : SL2 k :=
|
| 18 |
-
⟨!![x.val 0, 0; x.val 1, (x.val 0)⁻¹], by
|
| 19 |
-
simp [Matrix.det_fin_two, x.property 0]⟩
|
| 20 |
-
|
| 21 |
-
noncomputable def planeYSection (x : planeTorusPoints k) : SL2 k :=
|
| 22 |
-
⟨!![x.val 0, -(x.val 1)⁻¹; x.val 1, 0], by
|
| 23 |
-
simp [Matrix.det_fin_two, x.property 1]⟩
|
| 24 |
-
|
| 25 |
-
noncomputable def planeChartCoordinate (i j : Fin 2) : planeCoordinateChart k i :=
|
| 26 |
-
algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) (MvPolynomial.X j)
|
| 27 |
-
|
| 28 |
-
noncomputable def planeChartInverse (i : Fin 2) : planeCoordinateChart k i :=
|
| 29 |
-
IsLocalization.Away.invSelf (S := planeCoordinateChart k i) (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 30 |
-
|
| 31 |
-
omit [Infinite k] in
|
| 32 |
-
lemma planeChartEvaluation_coordinate (i j : Fin 2) (x : planeTorusPoints k) :
|
| 33 |
-
planeChartEvaluation k i (planeChartCoordinate k i j) x = x.val j := by
|
| 34 |
-
rw [planeChartCoordinate, planeChartEvaluation_algebraMap,
|
| 35 |
-
planeTorusEvaluation_apply, MvPolynomial.eval_X]
|
| 36 |
-
|
| 37 |
-
omit [Infinite k] in
|
| 38 |
-
lemma planeChartEvaluation_inverse (i : Fin 2) (x : planeTorusPoints k) :
|
| 39 |
-
planeChartEvaluation k i (planeChartInverse k i) x = (x.val i)⁻¹ := by
|
| 40 |
-
have hmul : planeChartCoordinate k i i * planeChartInverse k i = 1 :=
|
| 41 |
-
IsLocalization.Away.mul_invSelf (S := planeCoordinateChart k i) (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 42 |
-
have h := congrFun (congrArg (planeChartEvaluation k i) hmul) x
|
| 43 |
-
simp only [map_mul, map_one, Pi.mul_apply, Pi.one_apply,
|
| 44 |
-
planeChartEvaluation_coordinate] at h
|
| 45 |
-
exact mul_left_cancel₀ (x.property i) (h.trans (mul_inv_cancel₀ (x.property i)).symm)
|
| 46 |
-
|
| 47 |
-
noncomputable def planeXPolynomialChart :
|
| 48 |
-
MvPolynomial (Fin 2 × Fin 2) k →ₐ[k] planeCoordinateChart k 0 :=
|
| 49 |
-
MvPolynomial.aeval (fun ij =>
|
| 50 |
-
(!![planeChartCoordinate k 0 0, 0;
|
| 51 |
-
planeChartCoordinate k 0 1, planeChartInverse k 0]) ij.1 ij.2)
|
| 52 |
-
|
| 53 |
-
noncomputable def planeYPolynomialChart :
|
| 54 |
-
MvPolynomial (Fin 2 × Fin 2) k →ₐ[k] planeCoordinateChart k 1 :=
|
| 55 |
-
MvPolynomial.aeval (fun ij =>
|
| 56 |
-
(!![planeChartCoordinate k 1 0, -planeChartInverse k 1;
|
| 57 |
-
planeChartCoordinate k 1 1, 0]) ij.1 ij.2)
|
| 58 |
-
|
| 59 |
-
omit [Infinite k] in
|
| 60 |
-
lemma planeXPolynomialChart_evaluation (P : MvPolynomial (Fin 2 × Fin 2) k)
|
| 61 |
-
(x : planeTorusPoints k) :
|
| 62 |
-
planeChartEvaluation k 0 (planeXPolynomialChart k P) x =
|
| 63 |
-
coordinateEvaluation k P (planeXSection k x) := by
|
| 64 |
-
induction P using MvPolynomial.induction_on with
|
| 65 |
-
| C c => simp [planeXPolynomialChart, coordinateEvaluation]
|
| 66 |
-
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 67 |
-
| mul_X P i hp =>
|
| 68 |
-
simp only [map_mul, Pi.mul_apply, hp]
|
| 69 |
-
congr 1
|
| 70 |
-
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 71 |
-
rcases i with ⟨i,j⟩
|
| 72 |
-
fin_cases i <;> fin_cases j <;>
|
| 73 |
-
simp [planeXPolynomialChart, planeXSection,
|
| 74 |
-
planeChartEvaluation_coordinate, planeChartEvaluation_inverse]
|
| 75 |
-
|
| 76 |
-
omit [Infinite k] in
|
| 77 |
-
lemma planeYPolynomialChart_evaluation (P : MvPolynomial (Fin 2 × Fin 2) k)
|
| 78 |
-
(x : planeTorusPoints k) :
|
| 79 |
-
planeChartEvaluation k 1 (planeYPolynomialChart k P) x =
|
| 80 |
-
coordinateEvaluation k P (planeYSection k x) := by
|
| 81 |
-
induction P using MvPolynomial.induction_on with
|
| 82 |
-
| C c => simp [planeYPolynomialChart, coordinateEvaluation]
|
| 83 |
-
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 84 |
-
| mul_X P i hp =>
|
| 85 |
-
simp only [map_mul, Pi.mul_apply, hp]
|
| 86 |
-
congr 1
|
| 87 |
-
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 88 |
-
rcases i with ⟨i,j⟩
|
| 89 |
-
fin_cases i <;> fin_cases j <;>
|
| 90 |
-
simp [planeYPolynomialChart, planeYSection,
|
| 91 |
-
planeChartEvaluation_coordinate, planeChartEvaluation_inverse]
|
| 92 |
-
|
| 93 |
-
noncomputable def regularXChartValue (f : regularSL2Functions k) : planeCoordinateChart k 0 :=
|
| 94 |
-
planeXPolynomialChart k f.property.choose
|
| 95 |
-
|
| 96 |
-
omit [Infinite k] in
|
| 97 |
-
lemma regularXChartValue_evaluation (f : regularSL2Functions k) (x : planeTorusPoints k) :
|
| 98 |
-
planeChartEvaluation k 0 (regularXChartValue k f) x = f.val (planeXSection k x) := by
|
| 99 |
-
rw [regularXChartValue, planeXPolynomialChart_evaluation]
|
| 100 |
-
exact congrFun f.property.choose_spec _
|
| 101 |
-
|
| 102 |
-
noncomputable def regularXChart : regularSL2Functions k →ₐ[k] planeCoordinateChart k 0 where
|
| 103 |
-
toFun := regularXChartValue k
|
| 104 |
-
map_zero' := by
|
| 105 |
-
apply planeChartEvaluation_injective k 0
|
| 106 |
-
ext x
|
| 107 |
-
rw [regularXChartValue_evaluation, map_zero]
|
| 108 |
-
rfl
|
| 109 |
-
map_one' := by
|
| 110 |
-
apply planeChartEvaluation_injective k 0
|
| 111 |
-
ext x
|
| 112 |
-
rw [regularXChartValue_evaluation, map_one]
|
| 113 |
-
rfl
|
| 114 |
-
map_add' f h := by
|
| 115 |
-
apply planeChartEvaluation_injective k 0
|
| 116 |
-
ext x
|
| 117 |
-
rw [map_add, Pi.add_apply, regularXChartValue_evaluation,
|
| 118 |
-
regularXChartValue_evaluation, regularXChartValue_evaluation]
|
| 119 |
-
rfl
|
| 120 |
-
map_mul' f h := by
|
| 121 |
-
apply planeChartEvaluation_injective k 0
|
| 122 |
-
ext x
|
| 123 |
-
rw [map_mul, Pi.mul_apply, regularXChartValue_evaluation,
|
| 124 |
-
regularXChartValue_evaluation, regularXChartValue_evaluation]
|
| 125 |
-
rfl
|
| 126 |
-
commutes' a := by
|
| 127 |
-
apply planeChartEvaluation_injective k 0
|
| 128 |
-
ext x
|
| 129 |
-
rw [regularXChartValue_evaluation, AlgHom.commutes]
|
| 130 |
-
rfl
|
| 131 |
-
|
| 132 |
-
noncomputable def regularYChartValue (f : regularSL2Functions k) : planeCoordinateChart k 1 :=
|
| 133 |
-
planeYPolynomialChart k f.property.choose
|
| 134 |
-
|
| 135 |
-
omit [Infinite k] in
|
| 136 |
-
lemma regularYChartValue_evaluation (f : regularSL2Functions k) (x : planeTorusPoints k) :
|
| 137 |
-
planeChartEvaluation k 1 (regularYChartValue k f) x = f.val (planeYSection k x) := by
|
| 138 |
-
rw [regularYChartValue, planeYPolynomialChart_evaluation]
|
| 139 |
-
exact congrFun f.property.choose_spec _
|
| 140 |
-
|
| 141 |
-
noncomputable def regularYChart : regularSL2Functions k →ₐ[k] planeCoordinateChart k 1 where
|
| 142 |
-
toFun := regularYChartValue k
|
| 143 |
-
map_zero' := by
|
| 144 |
-
apply planeChartEvaluation_injective k 1
|
| 145 |
-
ext x
|
| 146 |
-
rw [regularYChartValue_evaluation, map_zero]
|
| 147 |
-
rfl
|
| 148 |
-
map_one' := by
|
| 149 |
-
apply planeChartEvaluation_injective k 1
|
| 150 |
-
ext x
|
| 151 |
-
rw [regularYChartValue_evaluation, map_one]
|
| 152 |
-
rfl
|
| 153 |
-
map_add' f h := by
|
| 154 |
-
apply planeChartEvaluation_injective k 1
|
| 155 |
-
ext x
|
| 156 |
-
rw [map_add, Pi.add_apply, regularYChartValue_evaluation,
|
| 157 |
-
regularYChartValue_evaluation, regularYChartValue_evaluation]
|
| 158 |
-
rfl
|
| 159 |
-
map_mul' f h := by
|
| 160 |
-
apply planeChartEvaluation_injective k 1
|
| 161 |
-
ext x
|
| 162 |
-
rw [map_mul, Pi.mul_apply, regularYChartValue_evaluation,
|
| 163 |
-
regularYChartValue_evaluation, regularYChartValue_evaluation]
|
| 164 |
-
rfl
|
| 165 |
-
commutes' a := by
|
| 166 |
-
apply planeChartEvaluation_injective k 1
|
| 167 |
-
ext x
|
| 168 |
-
rw [regularYChartValue_evaluation, AlgHom.commutes]
|
| 169 |
-
rfl
|
| 170 |
-
|
| 171 |
-
end
|
| 172 |
-
|
| 173 |
-
universe u
|
| 174 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 175 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 176 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 177 |
-
|
| 178 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 179 |
-
lemma planeSections_transition (x : planeTorusPoints k) :
|
| 180 |
-
planeYSection k x = planeXSection k x * unipotent k (-(x.val 0 * x.val 1)⁻¹) := by
|
| 181 |
-
apply Subtype.ext
|
| 182 |
-
ext i j
|
| 183 |
-
change _ = ((planeXSection k x : Matrix (Fin 2) (Fin 2) k) *
|
| 184 |
-
(unipotent k (-(x.val 0 * x.val 1)⁻¹) : Matrix (Fin 2) (Fin 2) k)) i j
|
| 185 |
-
fin_cases i <;> fin_cases j <;>
|
| 186 |
-
simp [planeXSection, planeYSection, unipotent, Matrix.mul_apply,
|
| 187 |
-
Fin.sum_univ_two, x.property]
|
| 188 |
-
field_simp [x.property 0, x.property 1]
|
| 189 |
-
|
| 190 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 191 |
-
lemma sl2_xSection_decomposition (g : SL2 k) (ha : g 0 0 ≠ 0) (hc : g 1 0 ≠ 0) :
|
| 192 |
-
g = planeXSection k ⟨fun i => g i 0, by intro i; fin_cases i; exact ha; exact hc⟩ *
|
| 193 |
-
unipotent k (g 0 1 / g 0 0) := by
|
| 194 |
-
have hd : g 0 0 * g 1 1 - g 0 1 * g 1 0 = 1 := by
|
| 195 |
-
simpa only [Matrix.det_fin_two] using g.property
|
| 196 |
-
apply Subtype.ext
|
| 197 |
-
ext i j
|
| 198 |
-
change (g : Matrix (Fin 2) (Fin 2) k) i j =
|
| 199 |
-
((planeXSection k _ : Matrix (Fin 2) (Fin 2) k) *
|
| 200 |
-
(unipotent k (g 0 1 / g 0 0) : Matrix (Fin 2) (Fin 2) k)) i j
|
| 201 |
-
fin_cases i <;> fin_cases j <;>
|
| 202 |
-
simp [planeXSection, unipotent, Matrix.mul_apply, Fin.sum_univ_two]
|
| 203 |
-
· field_simp
|
| 204 |
-
· apply (mul_left_cancel₀ ha)
|
| 205 |
-
field_simp
|
| 206 |
-
linear_combination hd
|
| 207 |
-
|
| 208 |
-
noncomputable def associatedXChart :
|
| 209 |
-
(associatedSectionsSubmodule k ι ρ) →ₗ[k] (ι → planeCoordinateChart k 0) where
|
| 210 |
-
toFun f i := regularXChart k (f.val i)
|
| 211 |
-
map_add' := by intro f h; funext i; exact map_add _ _ _
|
| 212 |
-
map_smul' := by intro a f; funext i; exact (regularXChart k).toLinearMap.map_smul a (f.val i)
|
| 213 |
-
|
| 214 |
-
noncomputable def associatedYChart :
|
| 215 |
-
(associatedSectionsSubmodule k ι ρ) →ₗ[k] (ι → planeCoordinateChart k 1) where
|
| 216 |
-
toFun f i := regularYChart k (f.val i)
|
| 217 |
-
map_add' := by intro f h; funext i; exact map_add _ _ _
|
| 218 |
-
map_smul' := by intro a f; funext i; exact (regularYChart k).toLinearMap.map_smul a (f.val i)
|
| 219 |
-
|
| 220 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 221 |
-
lemma associatedXChart_evaluation (f : associatedSectionsSubmodule k ι ρ)
|
| 222 |
-
(x : planeTorusPoints k) :
|
| 223 |
-
(fun i => planeChartEvaluation k 0 (associatedXChart k ι ρ f i) x) =
|
| 224 |
-
regularVectorEvaluation k ι (planeXSection k x) f.val := by
|
| 225 |
-
funext i
|
| 226 |
-
exact regularXChartValue_evaluation k (f.val i) x
|
| 227 |
-
|
| 228 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 229 |
-
lemma associatedYChart_evaluation (f : associatedSectionsSubmodule k ι ρ)
|
| 230 |
-
(x : planeTorusPoints k) :
|
| 231 |
-
(fun i => planeChartEvaluation k 1 (associatedYChart k ι ρ f i) x) =
|
| 232 |
-
regularVectorEvaluation k ι (planeYSection k x) f.val := by
|
| 233 |
-
funext i
|
| 234 |
-
exact regularYChartValue_evaluation k (f.val i) x
|
| 235 |
-
|
| 236 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 237 |
-
lemma associatedCharts_transition (f : associatedSectionsSubmodule k ι ρ)
|
| 238 |
-
(x : planeTorusPoints k) :
|
| 239 |
-
(fun i => planeChartEvaluation k 1 (associatedYChart k ι ρ f i) x) =
|
| 240 |
-
ρ (Multiplicative.ofAdd ((x.val 0 * x.val 1)⁻¹))
|
| 241 |
-
(fun i => planeChartEvaluation k 0 (associatedXChart k ι ρ f i) x) := by
|
| 242 |
-
rw [associatedYChart_evaluation, associatedXChart_evaluation, planeSections_transition]
|
| 243 |
-
simpa only [neg_neg] using f.property (planeXSection k x) (-(x.val 0 * x.val 1)⁻¹)
|
| 244 |
-
|
| 245 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 246 |
-
lemma associatedXChart_injective : Function.Injective (associatedXChart k ι ρ) := by
|
| 247 |
-
intro f h he
|
| 248 |
-
apply Subtype.ext
|
| 249 |
-
funext i
|
| 250 |
-
apply sub_eq_zero.mp
|
| 251 |
-
apply regularSL2_torus_dense k
|
| 252 |
-
intro g ha hc
|
| 253 |
-
let x : planeTorusPoints k := ⟨fun j => g j 0, by intro j; fin_cases j; exact ha; exact hc⟩
|
| 254 |
-
have hf' : regularVectorEvaluation k ι (planeXSection k x) f.val =
|
| 255 |
-
regularVectorEvaluation k ι (planeXSection k x) h.val := by
|
| 256 |
-
rw [← associatedXChart_evaluation, ← associatedXChart_evaluation, he]
|
| 257 |
-
have heq := f.property (planeXSection k x) (g 0 1 / g 0 0)
|
| 258 |
-
have heq' := h.property (planeXSection k x) (g 0 1 / g 0 0)
|
| 259 |
-
rw [← sl2_xSection_decomposition k g ha hc, hf'] at heq
|
| 260 |
-
rw [← sl2_xSection_decomposition k g ha hc] at heq'
|
| 261 |
-
exact sub_eq_zero.mpr (congrFun (heq.trans heq'.symm) i)
|
| 262 |
-
|
| 263 |
-
end FiberFunctorProof
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
open scoped BigOperators
|
| 268 |
-
end
|
| 269 |
-
|
| 270 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.RegularTorus
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Two plane sections, transition matrices and associated charts. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
universe u
|
| 15 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 16 |
+
|
| 17 |
+
noncomputable def planeXSection (x : planeTorusPoints k) : SL2 k :=
|
| 18 |
+
⟨!![x.val 0, 0; x.val 1, (x.val 0)⁻¹], by
|
| 19 |
+
simp [Matrix.det_fin_two, x.property 0]⟩
|
| 20 |
+
|
| 21 |
+
noncomputable def planeYSection (x : planeTorusPoints k) : SL2 k :=
|
| 22 |
+
⟨!![x.val 0, -(x.val 1)⁻¹; x.val 1, 0], by
|
| 23 |
+
simp [Matrix.det_fin_two, x.property 1]⟩
|
| 24 |
+
|
| 25 |
+
noncomputable def planeChartCoordinate (i j : Fin 2) : planeCoordinateChart k i :=
|
| 26 |
+
algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) (MvPolynomial.X j)
|
| 27 |
+
|
| 28 |
+
noncomputable def planeChartInverse (i : Fin 2) : planeCoordinateChart k i :=
|
| 29 |
+
IsLocalization.Away.invSelf (S := planeCoordinateChart k i) (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 30 |
+
|
| 31 |
+
omit [Infinite k] in
|
| 32 |
+
lemma planeChartEvaluation_coordinate (i j : Fin 2) (x : planeTorusPoints k) :
|
| 33 |
+
planeChartEvaluation k i (planeChartCoordinate k i j) x = x.val j := by
|
| 34 |
+
rw [planeChartCoordinate, planeChartEvaluation_algebraMap,
|
| 35 |
+
planeTorusEvaluation_apply, MvPolynomial.eval_X]
|
| 36 |
+
|
| 37 |
+
omit [Infinite k] in
|
| 38 |
+
lemma planeChartEvaluation_inverse (i : Fin 2) (x : planeTorusPoints k) :
|
| 39 |
+
planeChartEvaluation k i (planeChartInverse k i) x = (x.val i)⁻¹ := by
|
| 40 |
+
have hmul : planeChartCoordinate k i i * planeChartInverse k i = 1 :=
|
| 41 |
+
IsLocalization.Away.mul_invSelf (S := planeCoordinateChart k i) (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 42 |
+
have h := congrFun (congrArg (planeChartEvaluation k i) hmul) x
|
| 43 |
+
simp only [map_mul, map_one, Pi.mul_apply, Pi.one_apply,
|
| 44 |
+
planeChartEvaluation_coordinate] at h
|
| 45 |
+
exact mul_left_cancel₀ (x.property i) (h.trans (mul_inv_cancel₀ (x.property i)).symm)
|
| 46 |
+
|
| 47 |
+
noncomputable def planeXPolynomialChart :
|
| 48 |
+
MvPolynomial (Fin 2 × Fin 2) k →ₐ[k] planeCoordinateChart k 0 :=
|
| 49 |
+
MvPolynomial.aeval (fun ij =>
|
| 50 |
+
(!![planeChartCoordinate k 0 0, 0;
|
| 51 |
+
planeChartCoordinate k 0 1, planeChartInverse k 0]) ij.1 ij.2)
|
| 52 |
+
|
| 53 |
+
noncomputable def planeYPolynomialChart :
|
| 54 |
+
MvPolynomial (Fin 2 × Fin 2) k →ₐ[k] planeCoordinateChart k 1 :=
|
| 55 |
+
MvPolynomial.aeval (fun ij =>
|
| 56 |
+
(!![planeChartCoordinate k 1 0, -planeChartInverse k 1;
|
| 57 |
+
planeChartCoordinate k 1 1, 0]) ij.1 ij.2)
|
| 58 |
+
|
| 59 |
+
omit [Infinite k] in
|
| 60 |
+
lemma planeXPolynomialChart_evaluation (P : MvPolynomial (Fin 2 × Fin 2) k)
|
| 61 |
+
(x : planeTorusPoints k) :
|
| 62 |
+
planeChartEvaluation k 0 (planeXPolynomialChart k P) x =
|
| 63 |
+
coordinateEvaluation k P (planeXSection k x) := by
|
| 64 |
+
induction P using MvPolynomial.induction_on with
|
| 65 |
+
| C c => simp [planeXPolynomialChart, coordinateEvaluation]
|
| 66 |
+
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 67 |
+
| mul_X P i hp =>
|
| 68 |
+
simp only [map_mul, Pi.mul_apply, hp]
|
| 69 |
+
congr 1
|
| 70 |
+
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 71 |
+
rcases i with ⟨i,j⟩
|
| 72 |
+
fin_cases i <;> fin_cases j <;>
|
| 73 |
+
simp [planeXPolynomialChart, planeXSection,
|
| 74 |
+
planeChartEvaluation_coordinate, planeChartEvaluation_inverse]
|
| 75 |
+
|
| 76 |
+
omit [Infinite k] in
|
| 77 |
+
lemma planeYPolynomialChart_evaluation (P : MvPolynomial (Fin 2 × Fin 2) k)
|
| 78 |
+
(x : planeTorusPoints k) :
|
| 79 |
+
planeChartEvaluation k 1 (planeYPolynomialChart k P) x =
|
| 80 |
+
coordinateEvaluation k P (planeYSection k x) := by
|
| 81 |
+
induction P using MvPolynomial.induction_on with
|
| 82 |
+
| C c => simp [planeYPolynomialChart, coordinateEvaluation]
|
| 83 |
+
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 84 |
+
| mul_X P i hp =>
|
| 85 |
+
simp only [map_mul, Pi.mul_apply, hp]
|
| 86 |
+
congr 1
|
| 87 |
+
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 88 |
+
rcases i with ⟨i,j⟩
|
| 89 |
+
fin_cases i <;> fin_cases j <;>
|
| 90 |
+
simp [planeYPolynomialChart, planeYSection,
|
| 91 |
+
planeChartEvaluation_coordinate, planeChartEvaluation_inverse]
|
| 92 |
+
|
| 93 |
+
noncomputable def regularXChartValue (f : regularSL2Functions k) : planeCoordinateChart k 0 :=
|
| 94 |
+
planeXPolynomialChart k f.property.choose
|
| 95 |
+
|
| 96 |
+
omit [Infinite k] in
|
| 97 |
+
lemma regularXChartValue_evaluation (f : regularSL2Functions k) (x : planeTorusPoints k) :
|
| 98 |
+
planeChartEvaluation k 0 (regularXChartValue k f) x = f.val (planeXSection k x) := by
|
| 99 |
+
rw [regularXChartValue, planeXPolynomialChart_evaluation]
|
| 100 |
+
exact congrFun f.property.choose_spec _
|
| 101 |
+
|
| 102 |
+
noncomputable def regularXChart : regularSL2Functions k →ₐ[k] planeCoordinateChart k 0 where
|
| 103 |
+
toFun := regularXChartValue k
|
| 104 |
+
map_zero' := by
|
| 105 |
+
apply planeChartEvaluation_injective k 0
|
| 106 |
+
ext x
|
| 107 |
+
rw [regularXChartValue_evaluation, map_zero]
|
| 108 |
+
rfl
|
| 109 |
+
map_one' := by
|
| 110 |
+
apply planeChartEvaluation_injective k 0
|
| 111 |
+
ext x
|
| 112 |
+
rw [regularXChartValue_evaluation, map_one]
|
| 113 |
+
rfl
|
| 114 |
+
map_add' f h := by
|
| 115 |
+
apply planeChartEvaluation_injective k 0
|
| 116 |
+
ext x
|
| 117 |
+
rw [map_add, Pi.add_apply, regularXChartValue_evaluation,
|
| 118 |
+
regularXChartValue_evaluation, regularXChartValue_evaluation]
|
| 119 |
+
rfl
|
| 120 |
+
map_mul' f h := by
|
| 121 |
+
apply planeChartEvaluation_injective k 0
|
| 122 |
+
ext x
|
| 123 |
+
rw [map_mul, Pi.mul_apply, regularXChartValue_evaluation,
|
| 124 |
+
regularXChartValue_evaluation, regularXChartValue_evaluation]
|
| 125 |
+
rfl
|
| 126 |
+
commutes' a := by
|
| 127 |
+
apply planeChartEvaluation_injective k 0
|
| 128 |
+
ext x
|
| 129 |
+
rw [regularXChartValue_evaluation, AlgHom.commutes]
|
| 130 |
+
rfl
|
| 131 |
+
|
| 132 |
+
noncomputable def regularYChartValue (f : regularSL2Functions k) : planeCoordinateChart k 1 :=
|
| 133 |
+
planeYPolynomialChart k f.property.choose
|
| 134 |
+
|
| 135 |
+
omit [Infinite k] in
|
| 136 |
+
lemma regularYChartValue_evaluation (f : regularSL2Functions k) (x : planeTorusPoints k) :
|
| 137 |
+
planeChartEvaluation k 1 (regularYChartValue k f) x = f.val (planeYSection k x) := by
|
| 138 |
+
rw [regularYChartValue, planeYPolynomialChart_evaluation]
|
| 139 |
+
exact congrFun f.property.choose_spec _
|
| 140 |
+
|
| 141 |
+
noncomputable def regularYChart : regularSL2Functions k →ₐ[k] planeCoordinateChart k 1 where
|
| 142 |
+
toFun := regularYChartValue k
|
| 143 |
+
map_zero' := by
|
| 144 |
+
apply planeChartEvaluation_injective k 1
|
| 145 |
+
ext x
|
| 146 |
+
rw [regularYChartValue_evaluation, map_zero]
|
| 147 |
+
rfl
|
| 148 |
+
map_one' := by
|
| 149 |
+
apply planeChartEvaluation_injective k 1
|
| 150 |
+
ext x
|
| 151 |
+
rw [regularYChartValue_evaluation, map_one]
|
| 152 |
+
rfl
|
| 153 |
+
map_add' f h := by
|
| 154 |
+
apply planeChartEvaluation_injective k 1
|
| 155 |
+
ext x
|
| 156 |
+
rw [map_add, Pi.add_apply, regularYChartValue_evaluation,
|
| 157 |
+
regularYChartValue_evaluation, regularYChartValue_evaluation]
|
| 158 |
+
rfl
|
| 159 |
+
map_mul' f h := by
|
| 160 |
+
apply planeChartEvaluation_injective k 1
|
| 161 |
+
ext x
|
| 162 |
+
rw [map_mul, Pi.mul_apply, regularYChartValue_evaluation,
|
| 163 |
+
regularYChartValue_evaluation, regularYChartValue_evaluation]
|
| 164 |
+
rfl
|
| 165 |
+
commutes' a := by
|
| 166 |
+
apply planeChartEvaluation_injective k 1
|
| 167 |
+
ext x
|
| 168 |
+
rw [regularYChartValue_evaluation, AlgHom.commutes]
|
| 169 |
+
rfl
|
| 170 |
+
|
| 171 |
+
end
|
| 172 |
+
|
| 173 |
+
universe u
|
| 174 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 175 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 176 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 177 |
+
|
| 178 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 179 |
+
lemma planeSections_transition (x : planeTorusPoints k) :
|
| 180 |
+
planeYSection k x = planeXSection k x * unipotent k (-(x.val 0 * x.val 1)⁻¹) := by
|
| 181 |
+
apply Subtype.ext
|
| 182 |
+
ext i j
|
| 183 |
+
change _ = ((planeXSection k x : Matrix (Fin 2) (Fin 2) k) *
|
| 184 |
+
(unipotent k (-(x.val 0 * x.val 1)⁻¹) : Matrix (Fin 2) (Fin 2) k)) i j
|
| 185 |
+
fin_cases i <;> fin_cases j <;>
|
| 186 |
+
simp [planeXSection, planeYSection, unipotent, Matrix.mul_apply,
|
| 187 |
+
Fin.sum_univ_two, x.property]
|
| 188 |
+
field_simp [x.property 0, x.property 1]
|
| 189 |
+
|
| 190 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 191 |
+
lemma sl2_xSection_decomposition (g : SL2 k) (ha : g 0 0 ≠ 0) (hc : g 1 0 ≠ 0) :
|
| 192 |
+
g = planeXSection k ⟨fun i => g i 0, by intro i; fin_cases i; exact ha; exact hc⟩ *
|
| 193 |
+
unipotent k (g 0 1 / g 0 0) := by
|
| 194 |
+
have hd : g 0 0 * g 1 1 - g 0 1 * g 1 0 = 1 := by
|
| 195 |
+
simpa only [Matrix.det_fin_two] using g.property
|
| 196 |
+
apply Subtype.ext
|
| 197 |
+
ext i j
|
| 198 |
+
change (g : Matrix (Fin 2) (Fin 2) k) i j =
|
| 199 |
+
((planeXSection k _ : Matrix (Fin 2) (Fin 2) k) *
|
| 200 |
+
(unipotent k (g 0 1 / g 0 0) : Matrix (Fin 2) (Fin 2) k)) i j
|
| 201 |
+
fin_cases i <;> fin_cases j <;>
|
| 202 |
+
simp [planeXSection, unipotent, Matrix.mul_apply, Fin.sum_univ_two]
|
| 203 |
+
· field_simp
|
| 204 |
+
· apply (mul_left_cancel₀ ha)
|
| 205 |
+
field_simp
|
| 206 |
+
linear_combination hd
|
| 207 |
+
|
| 208 |
+
noncomputable def associatedXChart :
|
| 209 |
+
(associatedSectionsSubmodule k ι ρ) →ₗ[k] (ι → planeCoordinateChart k 0) where
|
| 210 |
+
toFun f i := regularXChart k (f.val i)
|
| 211 |
+
map_add' := by intro f h; funext i; exact map_add _ _ _
|
| 212 |
+
map_smul' := by intro a f; funext i; exact (regularXChart k).toLinearMap.map_smul a (f.val i)
|
| 213 |
+
|
| 214 |
+
noncomputable def associatedYChart :
|
| 215 |
+
(associatedSectionsSubmodule k ι ρ) →ₗ[k] (ι → planeCoordinateChart k 1) where
|
| 216 |
+
toFun f i := regularYChart k (f.val i)
|
| 217 |
+
map_add' := by intro f h; funext i; exact map_add _ _ _
|
| 218 |
+
map_smul' := by intro a f; funext i; exact (regularYChart k).toLinearMap.map_smul a (f.val i)
|
| 219 |
+
|
| 220 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 221 |
+
lemma associatedXChart_evaluation (f : associatedSectionsSubmodule k ι ρ)
|
| 222 |
+
(x : planeTorusPoints k) :
|
| 223 |
+
(fun i => planeChartEvaluation k 0 (associatedXChart k ι ρ f i) x) =
|
| 224 |
+
regularVectorEvaluation k ι (planeXSection k x) f.val := by
|
| 225 |
+
funext i
|
| 226 |
+
exact regularXChartValue_evaluation k (f.val i) x
|
| 227 |
+
|
| 228 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 229 |
+
lemma associatedYChart_evaluation (f : associatedSectionsSubmodule k ι ρ)
|
| 230 |
+
(x : planeTorusPoints k) :
|
| 231 |
+
(fun i => planeChartEvaluation k 1 (associatedYChart k ι ρ f i) x) =
|
| 232 |
+
regularVectorEvaluation k ι (planeYSection k x) f.val := by
|
| 233 |
+
funext i
|
| 234 |
+
exact regularYChartValue_evaluation k (f.val i) x
|
| 235 |
+
|
| 236 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 237 |
+
lemma associatedCharts_transition (f : associatedSectionsSubmodule k ι ρ)
|
| 238 |
+
(x : planeTorusPoints k) :
|
| 239 |
+
(fun i => planeChartEvaluation k 1 (associatedYChart k ι ρ f i) x) =
|
| 240 |
+
ρ (Multiplicative.ofAdd ((x.val 0 * x.val 1)⁻¹))
|
| 241 |
+
(fun i => planeChartEvaluation k 0 (associatedXChart k ι ρ f i) x) := by
|
| 242 |
+
rw [associatedYChart_evaluation, associatedXChart_evaluation, planeSections_transition]
|
| 243 |
+
simpa only [neg_neg] using f.property (planeXSection k x) (-(x.val 0 * x.val 1)⁻¹)
|
| 244 |
+
|
| 245 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 246 |
+
lemma associatedXChart_injective : Function.Injective (associatedXChart k ι ρ) := by
|
| 247 |
+
intro f h he
|
| 248 |
+
apply Subtype.ext
|
| 249 |
+
funext i
|
| 250 |
+
apply sub_eq_zero.mp
|
| 251 |
+
apply regularSL2_torus_dense k
|
| 252 |
+
intro g ha hc
|
| 253 |
+
let x : planeTorusPoints k := ⟨fun j => g j 0, by intro j; fin_cases j; exact ha; exact hc⟩
|
| 254 |
+
have hf' : regularVectorEvaluation k ι (planeXSection k x) f.val =
|
| 255 |
+
regularVectorEvaluation k ι (planeXSection k x) h.val := by
|
| 256 |
+
rw [← associatedXChart_evaluation, ← associatedXChart_evaluation, he]
|
| 257 |
+
have heq := f.property (planeXSection k x) (g 0 1 / g 0 0)
|
| 258 |
+
have heq' := h.property (planeXSection k x) (g 0 1 / g 0 0)
|
| 259 |
+
rw [← sl2_xSection_decomposition k g ha hc, hf'] at heq
|
| 260 |
+
rw [← sl2_xSection_decomposition k g ha hc] at heq'
|
| 261 |
+
exact sub_eq_zero.mpr (congrFun (heq.trans heq'.symm) i)
|
| 262 |
+
|
| 263 |
+
end FiberFunctorProof
|
| 264 |
+
|
| 265 |
+
|
| 266 |
+
|
| 267 |
+
open scoped BigOperators
|
| 268 |
+
end
|
| 269 |
+
|
| 270 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PlaneFibre.lean
CHANGED
|
@@ -1,122 +1,122 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.BoundedOriginTarget
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped Pointwise
|
| 7 |
-
universe u
|
| 8 |
-
noncomputable section
|
| 9 |
-
variable {k : Type u} [Field k]
|
| 10 |
-
local notation "A" => MvPolynomial (Fin 2) k
|
| 11 |
-
variable (M N : Type u) [AddCommGroup M] [Module k M] [Module (MvPolynomial (Fin 2) k) M]
|
| 12 |
-
[IsScalarTower k (MvPolynomial (Fin 2) k) M] [AddCommGroup N] [Module k N] [Module (MvPolynomial (Fin 2) k) N] [IsScalarTower k (MvPolynomial (Fin 2) k) N]
|
| 13 |
-
|
| 14 |
-
abbrev planeFibreRelations (a : Fin 2 → k) : Submodule k M :=
|
| 15 |
-
((planePointIdeal a • (⊤ : Submodule A M))).restrictScalars k
|
| 16 |
-
|
| 17 |
-
lemma planeFibre_mk_smul (a : Fin 2 → k) (P : A) (m : M) :
|
| 18 |
-
(planeFibreRelations M a).mkQ (P • m) =
|
| 19 |
-
MvPolynomial.eval a P • (planeFibreRelations M a).mkQ m := by
|
| 20 |
-
rw [← map_smul]
|
| 21 |
-
apply (Submodule.Quotient.eq _).mpr
|
| 22 |
-
change P • m - MvPolynomial.eval a P • m ∈ planePointIdeal a • (⊤ : Submodule A M)
|
| 23 |
-
have h : P - MvPolynomial.C (MvPolynomial.eval a P) ∈ planePointIdeal a := by
|
| 24 |
-
simp [planePointIdeal, RingHom.mem_ker]
|
| 25 |
-
convert Submodule.smul_mem_smul h (show m ∈ (⊤ : Submodule A M) from trivial) using 1
|
| 26 |
-
simp only [sub_smul, MvPolynomial.C_eq_algebraMap, algebraMap_smul]
|
| 27 |
-
|
| 28 |
-
lemma planeFibre_map_mem (a : Fin 2 → k) (f : M →ₗ[A] N) :
|
| 29 |
-
planeFibreRelations M a ≤ (planeFibreRelations N a).comap (f.restrictScalars k) := by
|
| 30 |
-
intro m hm
|
| 31 |
-
change f m ∈ planePointIdeal a • (⊤ : Submodule A N)
|
| 32 |
-
have hf : (planePointIdeal a • (⊤ : Submodule A M)).map f ≤
|
| 33 |
-
planePointIdeal a • (⊤ : Submodule A N) := by
|
| 34 |
-
rw [Submodule.map_smul'']
|
| 35 |
-
exact smul_mono_right (planePointIdeal a) le_top
|
| 36 |
-
exact hf (Submodule.mem_map_of_mem hm)
|
| 37 |
-
|
| 38 |
-
def planeFibreMap (a : Fin 2 → k) (f : M →ₗ[A] N) :
|
| 39 |
-
(M ⧸ planeFibreRelations M a) →ₗ[k] (N ⧸ planeFibreRelations N a) :=
|
| 40 |
-
(planeFibreRelations M a).mapQ (planeFibreRelations N a) (f.restrictScalars k)
|
| 41 |
-
(planeFibre_map_mem M N a f)
|
| 42 |
-
|
| 43 |
-
@[simp] lemma planeFibreMap_mk (a : Fin 2 → k) (f : M →ₗ[A] N) (m : M) :
|
| 44 |
-
planeFibreMap M N a f ((planeFibreRelations M a).mkQ m) =
|
| 45 |
-
(planeFibreRelations N a).mkQ (f m) := rfl
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
def planeFibreEquivOfSplit (a : Fin 2 → k) (f : M →ₗ[A] N) (g : N →ₗ[A] M)
|
| 50 |
-
(s : A) (hs : MvPolynomial.eval a s = 1)
|
| 51 |
-
(hgf : ∀ m, g (f m) = s • m) (hfg : ∀ n, f (g n) = s • n) :
|
| 52 |
-
(M ⧸ planeFibreRelations M a) ≃ₗ[k] (N ⧸ planeFibreRelations N a) :=
|
| 53 |
-
LinearEquiv.ofLinearMap (planeFibreMap M N a f) (planeFibreMap N M a g)
|
| 54 |
-
(by apply LinearMap.ext; intro n; obtain ⟨n,rfl⟩ := (planeFibreRelations N a).mkQ_surjective n
|
| 55 |
-
change (planeFibreRelations N a).mkQ (f (g n)) = (planeFibreRelations N a).mkQ n
|
| 56 |
-
rw [hfg, planeFibre_mk_smul, hs, one_smul])
|
| 57 |
-
(by apply LinearMap.ext; intro m; obtain ⟨m,rfl⟩ := (planeFibreRelations M a).mkQ_surjective m
|
| 58 |
-
change (planeFibreRelations M a).mkQ (g (f m)) = (planeFibreRelations M a).mkQ m
|
| 59 |
-
rw [hgf, planeFibre_mk_smul, hs, one_smul])
|
| 60 |
-
|
| 61 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 62 |
-
|
| 63 |
-
def planeVectorEval (a : Fin 2 → k) : (ι → A) →ₗ[k] (ι → k) where
|
| 64 |
-
toFun v i := MvPolynomial.eval a (v i)
|
| 65 |
-
map_add' v w := by ext i; simp
|
| 66 |
-
map_smul' c v := by ext i; simp
|
| 67 |
-
|
| 68 |
-
def planeVectorConstant : (ι → k) →ₗ[k] (ι → A) where
|
| 69 |
-
toFun v i := MvPolynomial.C (v i)
|
| 70 |
-
map_add' v w := by ext i; simp
|
| 71 |
-
map_smul' c v := by ext i; simp [MvPolynomial.C_mul, Algebra.smul_def]
|
| 72 |
-
|
| 73 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 74 |
-
lemma planeVectorEval_relations (a : Fin 2 → k) :
|
| 75 |
-
planeFibreRelations (ι → A) a ≤ (planeVectorEval ι a).ker := by
|
| 76 |
-
intro v hv
|
| 77 |
-
change v ∈ planePointIdeal a • (⊤ : Submodule A (ι → A)) at hv
|
| 78 |
-
change planeVectorEval ι a v = 0
|
| 79 |
-
refine Submodule.smul_induction_on hv ?_ ?_
|
| 80 |
-
· intro r hr n hn
|
| 81 |
-
ext i
|
| 82 |
-
change MvPolynomial.eval a (r * n i) = 0
|
| 83 |
-
have hr0 : MvPolynomial.eval a r = 0 := hr
|
| 84 |
-
simp [hr0]
|
| 85 |
-
· intro x y hx hy
|
| 86 |
-
simp only [map_add, hx, hy, add_zero]
|
| 87 |
-
|
| 88 |
-
def planeFreeFibreEval (a : Fin 2 → k) :
|
| 89 |
-
((ι → A) ⧸ planeFibreRelations (ι → A) a) →ₗ[k] (ι → k) :=
|
| 90 |
-
(planeFibreRelations (ι → A) a).liftQ (planeVectorEval ι a) (planeVectorEval_relations ι a)
|
| 91 |
-
|
| 92 |
-
lemma planeFreeFibre_constant_eval (a : Fin 2 → k) (v : ι → A) :
|
| 93 |
-
(planeFibreRelations (ι → A) a).mkQ (planeVectorConstant ι (planeVectorEval ι a v)) =
|
| 94 |
-
(planeFibreRelations (ι → A) a).mkQ v := by
|
| 95 |
-
apply (Submodule.Quotient.eq _).mpr
|
| 96 |
-
change planeVectorConstant ι (planeVectorEval ι a v) - v ∈
|
| 97 |
-
planePointIdeal a • (⊤ : Submodule A (ι → A))
|
| 98 |
-
have he : planeVectorConstant ι (planeVectorEval ι a v) - v =
|
| 99 |
-
∑ i : ι, (MvPolynomial.C (MvPolynomial.eval a (v i)) - v i) • Pi.single i (1 : A) := by
|
| 100 |
-
ext j
|
| 101 |
-
simp [planeVectorConstant, planeVectorEval, Pi.single_apply]
|
| 102 |
-
rw [he]
|
| 103 |
-
apply Submodule.sum_mem
|
| 104 |
-
intro i hi
|
| 105 |
-
apply Submodule.smul_mem_smul _ (Submodule.mem_top)
|
| 106 |
-
simp [planePointIdeal, RingHom.mem_ker]
|
| 107 |
-
|
| 108 |
-
def planeFreeFibreEquiv (a : Fin 2 → k) :
|
| 109 |
-
((ι → A) ⧸ planeFibreRelations (ι → A) a) ≃ₗ[k] (ι → k) :=
|
| 110 |
-
LinearEquiv.ofLinearMap (planeFreeFibreEval ι a)
|
| 111 |
-
((planeFibreRelations (ι → A) a).mkQ.comp (planeVectorConstant ι))
|
| 112 |
-
(by apply LinearMap.ext; intro v; ext i; simp [planeFreeFibreEval, planeVectorEval, planeVectorConstant])
|
| 113 |
-
(by apply LinearMap.ext; intro v; obtain ⟨v,rfl⟩ := (planeFibreRelations (ι → A) a).mkQ_surjective v
|
| 114 |
-
exact planeFreeFibre_constant_eval ι a v)
|
| 115 |
-
|
| 116 |
-
@[simp] lemma planeFreeFibreEquiv_mk (a : Fin 2 → k) (v : ι → A) :
|
| 117 |
-
planeFreeFibreEquiv ι a ((planeFibreRelations (ι → A) a).mkQ v) = planeVectorEval ι a v := rfl
|
| 118 |
-
|
| 119 |
-
end
|
| 120 |
-
end FiberFunctorProof
|
| 121 |
-
|
| 122 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.BoundedOriginTarget
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped Pointwise
|
| 7 |
+
universe u
|
| 8 |
+
noncomputable section
|
| 9 |
+
variable {k : Type u} [Field k]
|
| 10 |
+
local notation "A" => MvPolynomial (Fin 2) k
|
| 11 |
+
variable (M N : Type u) [AddCommGroup M] [Module k M] [Module (MvPolynomial (Fin 2) k) M]
|
| 12 |
+
[IsScalarTower k (MvPolynomial (Fin 2) k) M] [AddCommGroup N] [Module k N] [Module (MvPolynomial (Fin 2) k) N] [IsScalarTower k (MvPolynomial (Fin 2) k) N]
|
| 13 |
+
|
| 14 |
+
abbrev planeFibreRelations (a : Fin 2 → k) : Submodule k M :=
|
| 15 |
+
((planePointIdeal a • (⊤ : Submodule A M))).restrictScalars k
|
| 16 |
+
|
| 17 |
+
lemma planeFibre_mk_smul (a : Fin 2 → k) (P : A) (m : M) :
|
| 18 |
+
(planeFibreRelations M a).mkQ (P • m) =
|
| 19 |
+
MvPolynomial.eval a P • (planeFibreRelations M a).mkQ m := by
|
| 20 |
+
rw [← map_smul]
|
| 21 |
+
apply (Submodule.Quotient.eq _).mpr
|
| 22 |
+
change P • m - MvPolynomial.eval a P • m ∈ planePointIdeal a • (⊤ : Submodule A M)
|
| 23 |
+
have h : P - MvPolynomial.C (MvPolynomial.eval a P) ∈ planePointIdeal a := by
|
| 24 |
+
simp [planePointIdeal, RingHom.mem_ker]
|
| 25 |
+
convert Submodule.smul_mem_smul h (show m ∈ (⊤ : Submodule A M) from trivial) using 1
|
| 26 |
+
simp only [sub_smul, MvPolynomial.C_eq_algebraMap, algebraMap_smul]
|
| 27 |
+
|
| 28 |
+
lemma planeFibre_map_mem (a : Fin 2 → k) (f : M →ₗ[A] N) :
|
| 29 |
+
planeFibreRelations M a ≤ (planeFibreRelations N a).comap (f.restrictScalars k) := by
|
| 30 |
+
intro m hm
|
| 31 |
+
change f m ∈ planePointIdeal a • (⊤ : Submodule A N)
|
| 32 |
+
have hf : (planePointIdeal a • (⊤ : Submodule A M)).map f ≤
|
| 33 |
+
planePointIdeal a • (⊤ : Submodule A N) := by
|
| 34 |
+
rw [Submodule.map_smul'']
|
| 35 |
+
exact smul_mono_right (planePointIdeal a) le_top
|
| 36 |
+
exact hf (Submodule.mem_map_of_mem hm)
|
| 37 |
+
|
| 38 |
+
def planeFibreMap (a : Fin 2 → k) (f : M →ₗ[A] N) :
|
| 39 |
+
(M ⧸ planeFibreRelations M a) →ₗ[k] (N ⧸ planeFibreRelations N a) :=
|
| 40 |
+
(planeFibreRelations M a).mapQ (planeFibreRelations N a) (f.restrictScalars k)
|
| 41 |
+
(planeFibre_map_mem M N a f)
|
| 42 |
+
|
| 43 |
+
@[simp] lemma planeFibreMap_mk (a : Fin 2 → k) (f : M →ₗ[A] N) (m : M) :
|
| 44 |
+
planeFibreMap M N a f ((planeFibreRelations M a).mkQ m) =
|
| 45 |
+
(planeFibreRelations N a).mkQ (f m) := rfl
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def planeFibreEquivOfSplit (a : Fin 2 → k) (f : M →ₗ[A] N) (g : N →ₗ[A] M)
|
| 50 |
+
(s : A) (hs : MvPolynomial.eval a s = 1)
|
| 51 |
+
(hgf : ∀ m, g (f m) = s • m) (hfg : ∀ n, f (g n) = s • n) :
|
| 52 |
+
(M ⧸ planeFibreRelations M a) ≃ₗ[k] (N ⧸ planeFibreRelations N a) :=
|
| 53 |
+
LinearEquiv.ofLinearMap (planeFibreMap M N a f) (planeFibreMap N M a g)
|
| 54 |
+
(by apply LinearMap.ext; intro n; obtain ⟨n,rfl⟩ := (planeFibreRelations N a).mkQ_surjective n
|
| 55 |
+
change (planeFibreRelations N a).mkQ (f (g n)) = (planeFibreRelations N a).mkQ n
|
| 56 |
+
rw [hfg, planeFibre_mk_smul, hs, one_smul])
|
| 57 |
+
(by apply LinearMap.ext; intro m; obtain ⟨m,rfl⟩ := (planeFibreRelations M a).mkQ_surjective m
|
| 58 |
+
change (planeFibreRelations M a).mkQ (g (f m)) = (planeFibreRelations M a).mkQ m
|
| 59 |
+
rw [hgf, planeFibre_mk_smul, hs, one_smul])
|
| 60 |
+
|
| 61 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 62 |
+
|
| 63 |
+
def planeVectorEval (a : Fin 2 → k) : (ι → A) →ₗ[k] (ι → k) where
|
| 64 |
+
toFun v i := MvPolynomial.eval a (v i)
|
| 65 |
+
map_add' v w := by ext i; simp
|
| 66 |
+
map_smul' c v := by ext i; simp
|
| 67 |
+
|
| 68 |
+
def planeVectorConstant : (ι → k) →ₗ[k] (ι → A) where
|
| 69 |
+
toFun v i := MvPolynomial.C (v i)
|
| 70 |
+
map_add' v w := by ext i; simp
|
| 71 |
+
map_smul' c v := by ext i; simp [MvPolynomial.C_mul, Algebra.smul_def]
|
| 72 |
+
|
| 73 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 74 |
+
lemma planeVectorEval_relations (a : Fin 2 → k) :
|
| 75 |
+
planeFibreRelations (ι → A) a ≤ (planeVectorEval ι a).ker := by
|
| 76 |
+
intro v hv
|
| 77 |
+
change v ∈ planePointIdeal a • (⊤ : Submodule A (ι → A)) at hv
|
| 78 |
+
change planeVectorEval ι a v = 0
|
| 79 |
+
refine Submodule.smul_induction_on hv ?_ ?_
|
| 80 |
+
· intro r hr n hn
|
| 81 |
+
ext i
|
| 82 |
+
change MvPolynomial.eval a (r * n i) = 0
|
| 83 |
+
have hr0 : MvPolynomial.eval a r = 0 := hr
|
| 84 |
+
simp [hr0]
|
| 85 |
+
· intro x y hx hy
|
| 86 |
+
simp only [map_add, hx, hy, add_zero]
|
| 87 |
+
|
| 88 |
+
def planeFreeFibreEval (a : Fin 2 → k) :
|
| 89 |
+
((ι → A) ⧸ planeFibreRelations (ι → A) a) →ₗ[k] (ι → k) :=
|
| 90 |
+
(planeFibreRelations (ι → A) a).liftQ (planeVectorEval ι a) (planeVectorEval_relations ι a)
|
| 91 |
+
|
| 92 |
+
lemma planeFreeFibre_constant_eval (a : Fin 2 → k) (v : ι → A) :
|
| 93 |
+
(planeFibreRelations (ι → A) a).mkQ (planeVectorConstant ι (planeVectorEval ι a v)) =
|
| 94 |
+
(planeFibreRelations (ι → A) a).mkQ v := by
|
| 95 |
+
apply (Submodule.Quotient.eq _).mpr
|
| 96 |
+
change planeVectorConstant ι (planeVectorEval ι a v) - v ∈
|
| 97 |
+
planePointIdeal a • (⊤ : Submodule A (ι → A))
|
| 98 |
+
have he : planeVectorConstant ι (planeVectorEval ι a v) - v =
|
| 99 |
+
∑ i : ι, (MvPolynomial.C (MvPolynomial.eval a (v i)) - v i) • Pi.single i (1 : A) := by
|
| 100 |
+
ext j
|
| 101 |
+
simp [planeVectorConstant, planeVectorEval, Pi.single_apply]
|
| 102 |
+
rw [he]
|
| 103 |
+
apply Submodule.sum_mem
|
| 104 |
+
intro i hi
|
| 105 |
+
apply Submodule.smul_mem_smul _ (Submodule.mem_top)
|
| 106 |
+
simp [planePointIdeal, RingHom.mem_ker]
|
| 107 |
+
|
| 108 |
+
def planeFreeFibreEquiv (a : Fin 2 → k) :
|
| 109 |
+
((ι → A) ⧸ planeFibreRelations (ι → A) a) ≃ₗ[k] (ι → k) :=
|
| 110 |
+
LinearEquiv.ofLinearMap (planeFreeFibreEval ι a)
|
| 111 |
+
((planeFibreRelations (ι → A) a).mkQ.comp (planeVectorConstant ι))
|
| 112 |
+
(by apply LinearMap.ext; intro v; ext i; simp [planeFreeFibreEval, planeVectorEval, planeVectorConstant])
|
| 113 |
+
(by apply LinearMap.ext; intro v; obtain ⟨v,rfl⟩ := (planeFibreRelations (ι → A) a).mkQ_surjective v
|
| 114 |
+
exact planeFreeFibre_constant_eval ι a v)
|
| 115 |
+
|
| 116 |
+
@[simp] lemma planeFreeFibreEquiv_mk (a : Fin 2 → k) (v : ι → A) :
|
| 117 |
+
planeFreeFibreEquiv ι a ((planeFibreRelations (ι → A) a).mkQ v) = planeVectorEval ι a v := rfl
|
| 118 |
+
|
| 119 |
+
end
|
| 120 |
+
end FiberFunctorProof
|
| 121 |
+
|
| 122 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PlaneMatrixTensor.lean
CHANGED
|
@@ -1,115 +1,115 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped BigOperators TensorProduct
|
| 7 |
-
universe u
|
| 8 |
-
section MatrixTensor
|
| 9 |
-
variable {k : Type u} [Field k] {G : Type u} [Monoid G]
|
| 10 |
-
variable {β : Type u} [Fintype β] [DecidableEq β]
|
| 11 |
-
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
-
|
| 13 |
-
noncomputable def matrixTensorLinear (A : Matrix β β k) (f : M →ₗ[k] M) :
|
| 14 |
-
(β → M) →ₗ[k] (β → M) :=
|
| 15 |
-
LinearMap.pi fun i => ∑ j, A i j • f.comp (LinearMap.proj j)
|
| 16 |
-
|
| 17 |
-
omit [DecidableEq β] in
|
| 18 |
-
lemma matrixTensorLinear_apply (A : Matrix β β k) (f : M →ₗ[k] M) (v : β → M) (i : β) :
|
| 19 |
-
matrixTensorLinear A f v i = ∑ j, A i j • f (v j) := by
|
| 20 |
-
simp only [matrixTensorLinear, LinearMap.pi_apply, LinearMap.sum_apply,
|
| 21 |
-
LinearMap.smul_apply, LinearMap.comp_apply, LinearMap.proj_apply]
|
| 22 |
-
|
| 23 |
-
lemma matrixTensorLinear_one : matrixTensorLinear (1 : Matrix β β k) (LinearMap.id : M →ₗ[k] M) = 1 := by
|
| 24 |
-
apply LinearMap.ext
|
| 25 |
-
intro v
|
| 26 |
-
funext i
|
| 27 |
-
simp [matrixTensorLinear_apply, Matrix.one_apply]
|
| 28 |
-
|
| 29 |
-
omit [DecidableEq β] in
|
| 30 |
-
lemma matrixTensorLinear_mul (A B : Matrix β β k) (f g : M →ₗ[k] M) :
|
| 31 |
-
matrixTensorLinear (A*B) (f*g) = matrixTensorLinear A f * matrixTensorLinear B g := by
|
| 32 |
-
apply LinearMap.ext
|
| 33 |
-
intro v
|
| 34 |
-
funext i
|
| 35 |
-
simp only [Module.End.mul_apply, matrixTensorLinear_apply, Matrix.mul_apply,
|
| 36 |
-
Finset.sum_smul, map_sum, map_smul, Finset.smul_sum, smul_smul]
|
| 37 |
-
rw [Finset.sum_comm]
|
| 38 |
-
|
| 39 |
-
noncomputable def matrixTensorRepresentation
|
| 40 |
-
(τ : Representation k G (β → k)) (σ : Representation k G M) :
|
| 41 |
-
Representation k G (β → M) where
|
| 42 |
-
toFun g := matrixTensorLinear (LinearMap.toMatrix' (τ g)) (σ g)
|
| 43 |
-
map_one' := by
|
| 44 |
-
simp only [map_one, LinearMap.toMatrix'_one]
|
| 45 |
-
exact matrixTensorLinear_one
|
| 46 |
-
map_mul' g h := by
|
| 47 |
-
simp only [map_mul, LinearMap.toMatrix'_mul, matrixTensorLinear_mul]
|
| 48 |
-
|
| 49 |
-
lemma matrixTensorRepresentation_apply (τ : Representation k G (β → k))
|
| 50 |
-
(σ : Representation k G M) (g : G) (v : β → M) (i : β) :
|
| 51 |
-
matrixTensorRepresentation τ σ g v i = ∑ j, LinearMap.toMatrix' (τ g) i j • σ g (v j) :=
|
| 52 |
-
matrixTensorLinear_apply _ _ _ _
|
| 53 |
-
|
| 54 |
-
end MatrixTensor
|
| 55 |
-
|
| 56 |
-
section PlaneTensor
|
| 57 |
-
variable (k : Type u) [Field k]
|
| 58 |
-
variable {β : Type u} [Fintype β] [DecidableEq β]
|
| 59 |
-
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 60 |
-
variable (τ : Representation k (SL2 k) (β → k)) (σ : Representation k (SL2 k) M)
|
| 61 |
-
|
| 62 |
-
lemma matrixTensor_rational (hτ : IsRational k τ) (hσ : IsRational k σ) :
|
| 63 |
-
IsRational k (matrixTensorRepresentation τ σ) := by
|
| 64 |
-
classical
|
| 65 |
-
intro v l
|
| 66 |
-
choose P hP using fun (i j : β) => hτ (Pi.single j 1) (LinearMap.proj i)
|
| 67 |
-
choose Q hQ using fun (i j : β) => hσ (v j) (l.comp (LinearMap.single k (fun _ : β => M) i))
|
| 68 |
-
refine ⟨∑ i, ∑ j, P i j * Q i j, fun g => ?_⟩
|
| 69 |
-
have he : matrixTensorRepresentation τ σ g v =
|
| 70 |
-
∑ i, ∑ j, LinearMap.toMatrix' (τ g) i j •
|
| 71 |
-
(LinearMap.single k (fun _ : β => M) i) (σ g (v j)) := by
|
| 72 |
-
calc
|
| 73 |
-
_ = ∑ i, (LinearMap.single k (fun _ : β => M) i)
|
| 74 |
-
(matrixTensorRepresentation τ σ g v i) := (Finset.univ_sum_single _).symm
|
| 75 |
-
_ = _ := by
|
| 76 |
-
simp only [matrixTensorRepresentation_apply, map_sum, map_smul]
|
| 77 |
-
rw [he]
|
| 78 |
-
simp only [map_sum, map_smul, smul_eq_mul, map_mul, ← hP, ← hQ,
|
| 79 |
-
LinearMap.comp_apply, LinearMap.toMatrix'_apply, LinearMap.proj_apply]
|
| 80 |
-
|
| 81 |
-
variable [Module (MvPolynomial (Fin 2) k) M]
|
| 82 |
-
[IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 83 |
-
|
| 84 |
-
lemma matrixTensor_planeCompatible (hσ : PlaneCompatible k σ) :
|
| 85 |
-
PlaneCompatible k (matrixTensorRepresentation τ σ) := by
|
| 86 |
-
intro g P v
|
| 87 |
-
funext i
|
| 88 |
-
simp only [matrixTensorRepresentation_apply, Pi.smul_apply, Finset.smul_sum]
|
| 89 |
-
apply Finset.sum_congr rfl
|
| 90 |
-
intro j _
|
| 91 |
-
rw [hσ]
|
| 92 |
-
exact smul_comm _ _ _
|
| 93 |
-
|
| 94 |
-
omit [Fintype β] [DecidableEq β] [Module k M] [IsScalarTower k (MvPolynomial (Fin 2) k) M] in
|
| 95 |
-
lemma pi_regular_x
|
| 96 |
-
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m)) :
|
| 97 |
-
Function.Injective (fun m : β → M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m) := by
|
| 98 |
-
intro v w h
|
| 99 |
-
funext i
|
| 100 |
-
exact hx (congrFun h i)
|
| 101 |
-
|
| 102 |
-
omit [Fintype β] [DecidableEq β] [Module k M] [IsScalarTower k (MvPolynomial (Fin 2) k) M] in
|
| 103 |
-
lemma pi_regular_y
|
| 104 |
-
(hy : ∀ v n : M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 105 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n → ∃ w : M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) :
|
| 106 |
-
∀ v n : β → M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 107 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n → ∃ w : β → M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w := by
|
| 108 |
-
intro v n h
|
| 109 |
-
choose w hw using fun i => hy (v i) (n i) (congrFun h i)
|
| 110 |
-
exact ⟨w, funext hw⟩
|
| 111 |
-
|
| 112 |
-
end PlaneTensor
|
| 113 |
-
end FiberFunctorProof
|
| 114 |
-
|
| 115 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped BigOperators TensorProduct
|
| 7 |
+
universe u
|
| 8 |
+
section MatrixTensor
|
| 9 |
+
variable {k : Type u} [Field k] {G : Type u} [Monoid G]
|
| 10 |
+
variable {β : Type u} [Fintype β] [DecidableEq β]
|
| 11 |
+
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 12 |
+
|
| 13 |
+
noncomputable def matrixTensorLinear (A : Matrix β β k) (f : M →ₗ[k] M) :
|
| 14 |
+
(β → M) →ₗ[k] (β → M) :=
|
| 15 |
+
LinearMap.pi fun i => ∑ j, A i j • f.comp (LinearMap.proj j)
|
| 16 |
+
|
| 17 |
+
omit [DecidableEq β] in
|
| 18 |
+
lemma matrixTensorLinear_apply (A : Matrix β β k) (f : M →ₗ[k] M) (v : β → M) (i : β) :
|
| 19 |
+
matrixTensorLinear A f v i = ∑ j, A i j • f (v j) := by
|
| 20 |
+
simp only [matrixTensorLinear, LinearMap.pi_apply, LinearMap.sum_apply,
|
| 21 |
+
LinearMap.smul_apply, LinearMap.comp_apply, LinearMap.proj_apply]
|
| 22 |
+
|
| 23 |
+
lemma matrixTensorLinear_one : matrixTensorLinear (1 : Matrix β β k) (LinearMap.id : M →ₗ[k] M) = 1 := by
|
| 24 |
+
apply LinearMap.ext
|
| 25 |
+
intro v
|
| 26 |
+
funext i
|
| 27 |
+
simp [matrixTensorLinear_apply, Matrix.one_apply]
|
| 28 |
+
|
| 29 |
+
omit [DecidableEq β] in
|
| 30 |
+
lemma matrixTensorLinear_mul (A B : Matrix β β k) (f g : M →ₗ[k] M) :
|
| 31 |
+
matrixTensorLinear (A*B) (f*g) = matrixTensorLinear A f * matrixTensorLinear B g := by
|
| 32 |
+
apply LinearMap.ext
|
| 33 |
+
intro v
|
| 34 |
+
funext i
|
| 35 |
+
simp only [Module.End.mul_apply, matrixTensorLinear_apply, Matrix.mul_apply,
|
| 36 |
+
Finset.sum_smul, map_sum, map_smul, Finset.smul_sum, smul_smul]
|
| 37 |
+
rw [Finset.sum_comm]
|
| 38 |
+
|
| 39 |
+
noncomputable def matrixTensorRepresentation
|
| 40 |
+
(τ : Representation k G (β → k)) (σ : Representation k G M) :
|
| 41 |
+
Representation k G (β → M) where
|
| 42 |
+
toFun g := matrixTensorLinear (LinearMap.toMatrix' (τ g)) (σ g)
|
| 43 |
+
map_one' := by
|
| 44 |
+
simp only [map_one, LinearMap.toMatrix'_one]
|
| 45 |
+
exact matrixTensorLinear_one
|
| 46 |
+
map_mul' g h := by
|
| 47 |
+
simp only [map_mul, LinearMap.toMatrix'_mul, matrixTensorLinear_mul]
|
| 48 |
+
|
| 49 |
+
lemma matrixTensorRepresentation_apply (τ : Representation k G (β → k))
|
| 50 |
+
(σ : Representation k G M) (g : G) (v : β → M) (i : β) :
|
| 51 |
+
matrixTensorRepresentation τ σ g v i = ∑ j, LinearMap.toMatrix' (τ g) i j • σ g (v j) :=
|
| 52 |
+
matrixTensorLinear_apply _ _ _ _
|
| 53 |
+
|
| 54 |
+
end MatrixTensor
|
| 55 |
+
|
| 56 |
+
section PlaneTensor
|
| 57 |
+
variable (k : Type u) [Field k]
|
| 58 |
+
variable {β : Type u} [Fintype β] [DecidableEq β]
|
| 59 |
+
variable {M : Type u} [AddCommGroup M] [Module k M]
|
| 60 |
+
variable (τ : Representation k (SL2 k) (β → k)) (σ : Representation k (SL2 k) M)
|
| 61 |
+
|
| 62 |
+
lemma matrixTensor_rational (hτ : IsRational k τ) (hσ : IsRational k σ) :
|
| 63 |
+
IsRational k (matrixTensorRepresentation τ σ) := by
|
| 64 |
+
classical
|
| 65 |
+
intro v l
|
| 66 |
+
choose P hP using fun (i j : β) => hτ (Pi.single j 1) (LinearMap.proj i)
|
| 67 |
+
choose Q hQ using fun (i j : β) => hσ (v j) (l.comp (LinearMap.single k (fun _ : β => M) i))
|
| 68 |
+
refine ⟨∑ i, ∑ j, P i j * Q i j, fun g => ?_⟩
|
| 69 |
+
have he : matrixTensorRepresentation τ σ g v =
|
| 70 |
+
∑ i, ∑ j, LinearMap.toMatrix' (τ g) i j •
|
| 71 |
+
(LinearMap.single k (fun _ : β => M) i) (σ g (v j)) := by
|
| 72 |
+
calc
|
| 73 |
+
_ = ∑ i, (LinearMap.single k (fun _ : β => M) i)
|
| 74 |
+
(matrixTensorRepresentation τ σ g v i) := (Finset.univ_sum_single _).symm
|
| 75 |
+
_ = _ := by
|
| 76 |
+
simp only [matrixTensorRepresentation_apply, map_sum, map_smul]
|
| 77 |
+
rw [he]
|
| 78 |
+
simp only [map_sum, map_smul, smul_eq_mul, map_mul, ← hP, ← hQ,
|
| 79 |
+
LinearMap.comp_apply, LinearMap.toMatrix'_apply, LinearMap.proj_apply]
|
| 80 |
+
|
| 81 |
+
variable [Module (MvPolynomial (Fin 2) k) M]
|
| 82 |
+
[IsScalarTower k (MvPolynomial (Fin 2) k) M]
|
| 83 |
+
|
| 84 |
+
lemma matrixTensor_planeCompatible (hσ : PlaneCompatible k σ) :
|
| 85 |
+
PlaneCompatible k (matrixTensorRepresentation τ σ) := by
|
| 86 |
+
intro g P v
|
| 87 |
+
funext i
|
| 88 |
+
simp only [matrixTensorRepresentation_apply, Pi.smul_apply, Finset.smul_sum]
|
| 89 |
+
apply Finset.sum_congr rfl
|
| 90 |
+
intro j _
|
| 91 |
+
rw [hσ]
|
| 92 |
+
exact smul_comm _ _ _
|
| 93 |
+
|
| 94 |
+
omit [Fintype β] [DecidableEq β] [Module k M] [IsScalarTower k (MvPolynomial (Fin 2) k) M] in
|
| 95 |
+
lemma pi_regular_x
|
| 96 |
+
(hx : Function.Injective (fun m : M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m)) :
|
| 97 |
+
Function.Injective (fun m : β → M => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • m) := by
|
| 98 |
+
intro v w h
|
| 99 |
+
funext i
|
| 100 |
+
exact hx (congrFun h i)
|
| 101 |
+
|
| 102 |
+
omit [Fintype β] [DecidableEq β] [Module k M] [IsScalarTower k (MvPolynomial (Fin 2) k) M] in
|
| 103 |
+
lemma pi_regular_y
|
| 104 |
+
(hy : ∀ v n : M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 105 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n → ∃ w : M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) :
|
| 106 |
+
∀ v n : β → M, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 107 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n → ∃ w : β → M, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w := by
|
| 108 |
+
intro v n h
|
| 109 |
+
choose w hw using fun i => hy (v i) (n i) (congrFun h i)
|
| 110 |
+
exact ⟨w, funext hw⟩
|
| 111 |
+
|
| 112 |
+
end PlaneTensor
|
| 113 |
+
end FiberFunctorProof
|
| 114 |
+
|
| 115 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialActions.lean
CHANGED
|
@@ -1,398 +1,398 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.PlaneCharts
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Polynomial additive actions and associated polynomial sections. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B]
|
| 15 |
-
[Algebra k A] [Algebra k B]
|
| 16 |
-
|
| 17 |
-
lemma map_aeval_polynomial (f : A →ₐ[k] B) (a : A) (p : Polynomial k) :
|
| 18 |
-
f (Polynomial.aeval a p) = Polynomial.aeval (f a) p := by
|
| 19 |
-
have h : f.comp (Polynomial.aeval a) = Polynomial.aeval (f a) := by
|
| 20 |
-
ext
|
| 21 |
-
simp
|
| 22 |
-
exact AlgHom.congr_fun h p
|
| 23 |
-
end
|
| 24 |
-
|
| 25 |
-
section
|
| 26 |
-
variable {k ι : Type*} [Field k] [Infinite k] [Fintype ι] [DecidableEq ι]
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
noncomputable def polynomialMatrixEval (P : Matrix ι ι (Polynomial k))
|
| 30 |
-
{A : Type*} [CommRing A] [Algebra k A] (t : A) : Matrix ι ι A :=
|
| 31 |
-
fun i j => Polynomial.aeval t (P i j)
|
| 32 |
-
|
| 33 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 34 |
-
lemma polynomialMatrixEval_map (P : Matrix ι ι (Polynomial k))
|
| 35 |
-
{A B : Type*} [CommRing A] [CommRing B] [Algebra k A] [Algebra k B]
|
| 36 |
-
(f : A →ₐ[k] B) (t : A) :
|
| 37 |
-
(polynomialMatrixEval P t).map f = polynomialMatrixEval P (f t) := by
|
| 38 |
-
ext i j
|
| 39 |
-
exact map_aeval_polynomial f t (P i j)
|
| 40 |
-
|
| 41 |
-
omit [DecidableEq ι] in
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
theorem polynomialMatrixEval_add (P : Matrix ι ι (Polynomial k))
|
| 45 |
-
(hP : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 46 |
-
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 47 |
-
{A : Type*} [CommRing A] [Algebra k A] (s t : A) :
|
| 48 |
-
polynomialMatrixEval P (s+t) = polynomialMatrixEval P s * polynomialMatrixEval P t := by
|
| 49 |
-
let X : Fin 2 → MvPolynomial (Fin 2) k := MvPolynomial.X
|
| 50 |
-
have h : polynomialMatrixEval P (X 0 + X 1) =
|
| 51 |
-
polynomialMatrixEval P (X 0) * polynomialMatrixEval P (X 1) := by
|
| 52 |
-
apply Matrix.ext
|
| 53 |
-
intro i j
|
| 54 |
-
apply MvPolynomial.funext
|
| 55 |
-
intro a
|
| 56 |
-
change MvPolynomial.aeval a _ = MvPolynomial.aeval a _
|
| 57 |
-
simp only [polynomialMatrixEval, Matrix.mul_apply, map_sum, map_mul,
|
| 58 |
-
map_aeval_polynomial, map_add, X, MvPolynomial.aeval_X]
|
| 59 |
-
exact congrArg (fun Q : Matrix ι ι k => Q i j) (hP (a 0) (a 1))
|
| 60 |
-
have he := congrArg (fun Q : Matrix ι ι (MvPolynomial (Fin 2) k) =>
|
| 61 |
-
Q.map (MvPolynomial.aeval ![s,t])) h
|
| 62 |
-
simpa only [polynomialMatrixEval_map, map_add, X, MvPolynomial.aeval_X,
|
| 63 |
-
Matrix.cons_val_zero, Matrix.cons_val_one, Matrix.map_mul] using he
|
| 64 |
-
|
| 65 |
-
omit [Infinite k] [Fintype ι] in
|
| 66 |
-
lemma polynomialMatrixEval_zero (P : Matrix ι ι (Polynomial k))
|
| 67 |
-
(hP : polynomialMatrixEval P (0 : k) = 1)
|
| 68 |
-
(A : Type*) [CommRing A] [Algebra k A] :
|
| 69 |
-
polynomialMatrixEval P (0 : A) = 1 := by
|
| 70 |
-
have he := congrArg (fun Q : Matrix ι ι k => Q.map (algebraMap k A)) hP
|
| 71 |
-
have hm (i j : ι) : algebraMap k A (polynomialMatrixEval P (0 : k) i j) =
|
| 72 |
-
polynomialMatrixEval P (0 : A) i j := by
|
| 73 |
-
simp [polynomialMatrixEval, Polynomial.aeval_def]
|
| 74 |
-
apply Matrix.ext
|
| 75 |
-
intro i j
|
| 76 |
-
have heij := congrArg (fun Q : Matrix ι ι A => Q i j) he
|
| 77 |
-
rw [Matrix.map_apply, hm] at heij
|
| 78 |
-
simpa [Matrix.map_apply, Matrix.one_apply] using heij
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
noncomputable def polynomialAdditiveRepresentation
|
| 83 |
-
(P : Matrix ι ι (Polynomial k))
|
| 84 |
-
(h0 : polynomialMatrixEval P (0 : k) = 1)
|
| 85 |
-
(hadd : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 86 |
-
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 87 |
-
(A : Type*) [CommRing A] [Algebra k A] :
|
| 88 |
-
Multiplicative A →* Matrix ι ι A where
|
| 89 |
-
toFun t := polynomialMatrixEval P t.toAdd
|
| 90 |
-
map_one' := polynomialMatrixEval_zero P h0 A
|
| 91 |
-
map_mul' s t := polynomialMatrixEval_add P hadd s.toAdd t.toAdd
|
| 92 |
-
|
| 93 |
-
end
|
| 94 |
-
|
| 95 |
-
section
|
| 96 |
-
universe u
|
| 97 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 98 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 99 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 100 |
-
|
| 101 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 102 |
-
lemma additive_rep_apply_add (s t : k) (v : ι → k) :
|
| 103 |
-
ρ (Multiplicative.ofAdd (s+t)) v =
|
| 104 |
-
ρ (Multiplicative.ofAdd s) (ρ (Multiplicative.ofAdd t) v) := by
|
| 105 |
-
change ρ (Multiplicative.ofAdd s * Multiplicative.ofAdd t) v = _
|
| 106 |
-
rw [map_mul]
|
| 107 |
-
rfl
|
| 108 |
-
|
| 109 |
-
noncomputable def associatedLocalExpression (P : Matrix ι ι (Polynomial k))
|
| 110 |
-
(a : Fin 2) (f : ι → planeCoordinateChart k a) (i : ι) :
|
| 111 |
-
regularCoordinateLocalization k a :=
|
| 112 |
-
∑ j, Polynomial.aeval
|
| 113 |
-
(-(algebraMap (regularSL2Functions k) (regularCoordinateLocalization k a)
|
| 114 |
-
(regularEntry k a 1)) * regularCoordinateInverse k a) (P i j) *
|
| 115 |
-
planeChartPullback k a (f j)
|
| 116 |
-
|
| 117 |
-
omit [Infinite k] in
|
| 118 |
-
lemma associatedLocalExpression_evaluation (P : Matrix ι ι (Polynomial k))
|
| 119 |
-
(hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 120 |
-
(a : Fin 2) (f : ι → planeCoordinateChart k a) (g : regularTorusPoints k) :
|
| 121 |
-
(fun i => regularLocalizationEvaluation k a (associatedLocalExpression k ι P a f i) g) =
|
| 122 |
-
ρ (Multiplicative.ofAdd (-(g.val a 1 / g.val a 0)))
|
| 123 |
-
(fun j => planeChartEvaluation k a (f j) (regularToPlaneTorus k g)) := by
|
| 124 |
-
have h := LinearMap.toMatrix'_mulVec
|
| 125 |
-
(ρ (Multiplicative.ofAdd (-(g.val a 1 / g.val a 0))))
|
| 126 |
-
(fun j => planeChartEvaluation k a (f j) (regularToPlaneTorus k g))
|
| 127 |
-
rw [← hP] at h
|
| 128 |
-
rw [← h]
|
| 129 |
-
funext i
|
| 130 |
-
let ev : regularCoordinateLocalization k a →ₐ[k] k :=
|
| 131 |
-
(Pi.evalAlgHom k _ g).comp (regularLocalizationEvaluation k a)
|
| 132 |
-
change ev (associatedLocalExpression k ι P a f i) = _
|
| 133 |
-
simp only [associatedLocalExpression, map_sum, map_mul,
|
| 134 |
-
map_aeval_polynomial (k := k) (A := regularCoordinateLocalization k a) (B := k) ev,
|
| 135 |
-
map_neg]
|
| 136 |
-
change (∑ j, Polynomial.aeval
|
| 137 |
-
(-(regularLocalizationEvaluation k a
|
| 138 |
-
(algebraMap (regularSL2Functions k) (regularCoordinateLocalization k a)
|
| 139 |
-
(regularEntry k a 1)) g) *
|
| 140 |
-
regularLocalizationEvaluation k a (regularCoordinateInverse k a) g) (P i j) *
|
| 141 |
-
regularLocalizationEvaluation k a (planeChartPullback k a (f j)) g) = _
|
| 142 |
-
rw [regularLocalizationEvaluation_algebraMap]
|
| 143 |
-
change (∑ j, Polynomial.aeval
|
| 144 |
-
(-(regularEntry k a 1).val g.val *
|
| 145 |
-
regularLocalizationEvaluation k a (regularCoordinateInverse k a) g) (P i j) *
|
| 146 |
-
regularLocalizationEvaluation k a (planeChartPullback k a (f j)) g) = _
|
| 147 |
-
simp only [regularEntry_apply, regularCoordinateInverse_evaluation,
|
| 148 |
-
planeChartPullback_evaluation, Matrix.mulVec, dotProduct, polynomialMatrixEval,
|
| 149 |
-
div_eq_mul_inv, neg_mul]
|
| 150 |
-
|
| 151 |
-
noncomputable def associatedTorusValue (f : ι → planeCoordinateChart k 0)
|
| 152 |
-
(g : regularTorusPoints k) : ι → k :=
|
| 153 |
-
ρ (Multiplicative.ofAdd (-(g.val 0 1 / g.val 0 0)))
|
| 154 |
-
(fun j => planeChartEvaluation k 0 (f j) (regularToPlaneTorus k g))
|
| 155 |
-
|
| 156 |
-
omit [Infinite k] in
|
| 157 |
-
lemma associatedChartPair_local_compatible
|
| 158 |
-
(P : Matrix ι ι (Polynomial k))
|
| 159 |
-
(hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 160 |
-
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 161 |
-
(hf : ∀ x : planeTorusPoints k,
|
| 162 |
-
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 163 |
-
ρ (Multiplicative.ofAdd ((x.val 0 * x.val 1)⁻¹))
|
| 164 |
-
(fun j => planeChartEvaluation k 0 (f₀ j) x)) (g : regularTorusPoints k) :
|
| 165 |
-
(fun i => regularLocalizationEvaluation k 1 (associatedLocalExpression k ι P 1 f₁ i) g) =
|
| 166 |
-
associatedTorusValue k ι ρ f₀ g := by
|
| 167 |
-
rw [associatedLocalExpression_evaluation k ι ρ P hP, hf,
|
| 168 |
-
← additive_rep_apply_add]
|
| 169 |
-
unfold associatedTorusValue
|
| 170 |
-
congr 2
|
| 171 |
-
change -(g.val 1 1 / g.val 1 0) + (g.val 0 0 * g.val 1 0)⁻¹ =
|
| 172 |
-
-(g.val 0 1 / g.val 0 0)
|
| 173 |
-
have hd : g.val 0 0 * g.val 1 1 - g.val 0 1 * g.val 1 0 = 1 := by
|
| 174 |
-
simpa only [Matrix.det_fin_two] using g.val.property
|
| 175 |
-
field_simp [g.property 0, g.property 1]
|
| 176 |
-
linear_combination -hd
|
| 177 |
-
|
| 178 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 179 |
-
lemma secondColumn_unipotent_mul (g : SL2 k) (t : k) (i : Fin 2) :
|
| 180 |
-
(g * unipotent k t) i 1 = g i 0 * t + g i 1 := by
|
| 181 |
-
change (((g : Matrix (Fin 2) (Fin 2) k) *
|
| 182 |
-
(unipotent k t : Matrix (Fin 2) (Fin 2) k)) i 1) = _
|
| 183 |
-
simp [Matrix.mul_apply, Fin.sum_univ_two, unipotent]
|
| 184 |
-
|
| 185 |
-
noncomputable def regularTorusRightUnipotent (g : regularTorusPoints k) (t : k) :
|
| 186 |
-
regularTorusPoints k :=
|
| 187 |
-
⟨g.val * unipotent k t, by intro i; rw [firstColumn_unipotent_mul]; exact g.property i⟩
|
| 188 |
-
|
| 189 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 190 |
-
lemma associatedTorusValue_unipotent (f : ι → planeCoordinateChart k 0)
|
| 191 |
-
(g : regularTorusPoints k) (t : k) :
|
| 192 |
-
associatedTorusValue k ι ρ f (regularTorusRightUnipotent k g t) =
|
| 193 |
-
ρ (Multiplicative.ofAdd (-t)) (associatedTorusValue k ι ρ f g) := by
|
| 194 |
-
have hx : regularToPlaneTorus k (regularTorusRightUnipotent k g t) =
|
| 195 |
-
regularToPlaneTorus k g := by
|
| 196 |
-
apply Subtype.ext
|
| 197 |
-
funext i
|
| 198 |
-
exact firstColumn_unipotent_mul k g.val t i
|
| 199 |
-
unfold associatedTorusValue
|
| 200 |
-
rw [hx, ← additive_rep_apply_add]
|
| 201 |
-
apply congrArg (fun s : k => ρ (Multiplicative.ofAdd s)
|
| 202 |
-
(fun j => planeChartEvaluation k 0 (f j) (regularToPlaneTorus k g)))
|
| 203 |
-
change -((g.val * unipotent k t) 0 1 / (g.val * unipotent k t) 0 0) = _
|
| 204 |
-
rw [secondColumn_unipotent_mul, firstColumn_unipotent_mul]
|
| 205 |
-
field_simp [g.property 0]
|
| 206 |
-
ring
|
| 207 |
-
|
| 208 |
-
noncomputable def regularVectorCombination (L : (ι → k) →ₗ[k] (ι → k))
|
| 209 |
-
(f : ι → regularSL2Functions k) (i : ι) : regularSL2Functions k :=
|
| 210 |
-
∑ j, (LinearMap.toMatrix' L i j) • f j
|
| 211 |
-
|
| 212 |
-
omit [Infinite k] in
|
| 213 |
-
lemma regularVectorCombination_evaluation (L : (ι → k) →ₗ[k] (ι → k))
|
| 214 |
-
(f : ι → regularSL2Functions k) (g : SL2 k) :
|
| 215 |
-
regularVectorEvaluation k ι g (regularVectorCombination k ι L f) =
|
| 216 |
-
L (regularVectorEvaluation k ι g f) := by
|
| 217 |
-
rw [← LinearMap.toMatrix'_mulVec L]
|
| 218 |
-
funext i
|
| 219 |
-
change (Subalgebra.val (regularSL2Functions k)
|
| 220 |
-
(∑ j, (LinearMap.toMatrix' L i j) • f j)) g = _
|
| 221 |
-
simp only [map_sum, map_smul, Finset.sum_apply, Pi.smul_apply,
|
| 222 |
-
smul_eq_mul, Matrix.mulVec, dotProduct]
|
| 223 |
-
rfl
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
theorem associatedChartPair_glue
|
| 228 |
-
(P : Matrix ι ι (Polynomial k))
|
| 229 |
-
(hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 230 |
-
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 231 |
-
(hf : ∀ x : planeTorusPoints k,
|
| 232 |
-
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 233 |
-
ρ (Multiplicative.ofAdd ((x.val 0 * x.val 1)⁻¹))
|
| 234 |
-
(fun j => planeChartEvaluation k 0 (f₀ j) x)) :
|
| 235 |
-
∃ f : associatedSectionsSubmodule k ι ρ,
|
| 236 |
-
associatedXChart k ι ρ f = f₀ ∧ associatedYChart k ι ρ f = f₁ := by
|
| 237 |
-
have hg (i : ι) : ∃ f : regularSL2Functions k,
|
| 238 |
-
regularTorusRestriction k f = fun g => associatedTorusValue k ι ρ f₀ g i := by
|
| 239 |
-
apply regularTorus_glue k _ (associatedLocalExpression k ι P 0 f₀ i)
|
| 240 |
-
(associatedLocalExpression k ι P 1 f₁ i)
|
| 241 |
-
· funext g
|
| 242 |
-
exact congrFun (associatedLocalExpression_evaluation k ι ρ P hP 0 f₀ g) i
|
| 243 |
-
· funext g
|
| 244 |
-
exact congrFun (associatedChartPair_local_compatible k ι ρ P hP f₀ f₁ hf g) i
|
| 245 |
-
choose f hfg using hg
|
| 246 |
-
have hev (g : regularTorusPoints k) : regularVectorEvaluation k ι g.val f =
|
| 247 |
-
associatedTorusValue k ι ρ f₀ g := by
|
| 248 |
-
funext i
|
| 249 |
-
exact congrFun (hfg i) g
|
| 250 |
-
have hmem : f ∈ associatedSectionsSubmodule k ι ρ := by
|
| 251 |
-
intro g t
|
| 252 |
-
funext i
|
| 253 |
-
have hz : regularRightTranslation k (unipotent k t) (f i) -
|
| 254 |
-
regularVectorCombination k ι (ρ (Multiplicative.ofAdd (-t))) f i = 0 := by
|
| 255 |
-
apply regularSL2_torus_dense k
|
| 256 |
-
intro h ha hc
|
| 257 |
-
let h' : regularTorusPoints k := ⟨h, by intro j; fin_cases j; exact ha; exact hc⟩
|
| 258 |
-
have he := associatedTorusValue_unipotent k ι ρ f₀ h' t
|
| 259 |
-
rw [← hev, ← hev] at he
|
| 260 |
-
have he' := congrFun he i
|
| 261 |
-
change (f i).val (h * unipotent k t) = _ at he'
|
| 262 |
-
change (f i).val (h * unipotent k t) -
|
| 263 |
-
(regularVectorCombination k ι (ρ (Multiplicative.ofAdd (-t))) f i).val h = 0
|
| 264 |
-
rw [he']
|
| 265 |
-
exact sub_eq_zero.mpr
|
| 266 |
-
(congrFun (regularVectorCombination_evaluation k ι
|
| 267 |
-
(ρ (Multiplicative.ofAdd (-t))) f h) i).symm
|
| 268 |
-
have he := congrArg (fun a : regularSL2Functions k => a.val g) (sub_eq_zero.mp hz)
|
| 269 |
-
change (f i).val (g * unipotent k t) = _ at he
|
| 270 |
-
exact he.trans (congrFun (regularVectorCombination_evaluation k ι
|
| 271 |
-
(ρ (Multiplicative.ofAdd (-t))) f g) i)
|
| 272 |
-
let F : associatedSectionsSubmodule k ι ρ := ⟨f,hmem⟩
|
| 273 |
-
have hx : associatedXChart k ι ρ F = f₀ := by
|
| 274 |
-
funext i
|
| 275 |
-
apply planeChartEvaluation_injective k 0
|
| 276 |
-
funext x
|
| 277 |
-
have he := hev ⟨planeXSection k x, by
|
| 278 |
-
intro j
|
| 279 |
-
fin_cases j <;> simpa [planeXSection] using x.property _⟩
|
| 280 |
-
have hx' : regularToPlaneTorus k ⟨planeXSection k x, by
|
| 281 |
-
intro j; fin_cases j <;> simpa [planeXSection] using x.property _⟩ = x := by
|
| 282 |
-
apply Subtype.ext
|
| 283 |
-
funext j
|
| 284 |
-
fin_cases j <;> simp [regularToPlaneTorus, planeXSection]
|
| 285 |
-
unfold associatedTorusValue at he
|
| 286 |
-
rw [hx'] at he
|
| 287 |
-
change regularVectorEvaluation k ι (planeXSection k x) f =
|
| 288 |
-
ρ (Multiplicative.ofAdd (-(0 / x.val 0)))
|
| 289 |
-
(fun j => planeChartEvaluation k 0 (f₀ j) x) at he
|
| 290 |
-
simp only [zero_div, neg_zero] at he
|
| 291 |
-
change regularVectorEvaluation k ι (planeXSection k x) f =
|
| 292 |
-
ρ 1 (fun j => planeChartEvaluation k 0 (f₀ j) x) at he
|
| 293 |
-
rw [map_one] at he
|
| 294 |
-
exact (congrFun (associatedXChart_evaluation k ι ρ F x) i).trans (congrFun he i)
|
| 295 |
-
refine ⟨F,hx,?_⟩
|
| 296 |
-
funext i
|
| 297 |
-
apply planeChartEvaluation_injective k 1
|
| 298 |
-
funext x
|
| 299 |
-
have he := associatedCharts_transition k ι ρ F x
|
| 300 |
-
rw [hx, ← hf x] at he
|
| 301 |
-
exact congrFun he i
|
| 302 |
-
|
| 303 |
-
end
|
| 304 |
-
|
| 305 |
-
universe u
|
| 306 |
-
variable (k : Type u) [Field k]
|
| 307 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 308 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 309 |
-
|
| 310 |
-
noncomputable instance regularPlaneAlgebra :
|
| 311 |
-
Algebra (MvPolynomial (Fin 2) k) (regularSL2Functions k) :=
|
| 312 |
-
(regularPlane k).toRingHom.toAlgebra
|
| 313 |
-
|
| 314 |
-
instance regularPlaneScalarTower :
|
| 315 |
-
IsScalarTower k (MvPolynomial (Fin 2) k) (regularSL2Functions k) :=
|
| 316 |
-
IsScalarTower.of_algHom (regularPlane k)
|
| 317 |
-
|
| 318 |
-
lemma regularPlane_algebraMap (P : MvPolynomial (Fin 2) k) :
|
| 319 |
-
algebraMap (MvPolynomial (Fin 2) k) (regularSL2Functions k) P = regularPlane k P := rfl
|
| 320 |
-
|
| 321 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 322 |
-
lemma regularVector_plane_smul (P : MvPolynomial (Fin 2) k)
|
| 323 |
-
(f : ι → regularSL2Functions k) (g : SL2 k) :
|
| 324 |
-
regularVectorEvaluation k ι g (P • f) =
|
| 325 |
-
MvPolynomial.eval (fun i => g i 0) P • regularVectorEvaluation k ι g f := by
|
| 326 |
-
funext i
|
| 327 |
-
change (P • f i).val g = _
|
| 328 |
-
rw [Algebra.smul_def, regularPlane_algebraMap]
|
| 329 |
-
change (regularPlane k P).val g * (f i).val g = _
|
| 330 |
-
rw [regularPlane_evaluation]
|
| 331 |
-
rfl
|
| 332 |
-
|
| 333 |
-
omit [Fintype ι] [DecidableEq
|
| 334 |
-
lemma associatedSections_plane_smul_mem (P : MvPolynomial (Fin 2) k)
|
| 335 |
-
(f : ι → regularSL2Functions k) (hf : f ∈ associatedSectionsSubmodule k ι ρ) :
|
| 336 |
-
P • f ∈ associatedSectionsSubmodule k ι ρ := by
|
| 337 |
-
intro g t
|
| 338 |
-
rw [regularVector_plane_smul, regularVector_plane_smul, hf, map_smul]
|
| 339 |
-
simp only [firstColumn_unipotent_mul]
|
| 340 |
-
|
| 341 |
-
noncomputable def associatedPolynomialSections :
|
| 342 |
-
Submodule (MvPolynomial (Fin 2) k) (ι → regularSL2Functions k) where
|
| 343 |
-
carrier := associatedSectionsSubmodule k ι ρ
|
| 344 |
-
zero_mem' := (associatedSectionsSubmodule k ι ρ).zero_mem
|
| 345 |
-
add_mem' := (associatedSectionsSubmodule k ι ρ).add_mem
|
| 346 |
-
smul_mem' := associatedSections_plane_smul_mem k ι ρ
|
| 347 |
-
|
| 348 |
-
noncomputable instance associatedSectionsAddCommGroup :
|
| 349 |
-
AddCommGroup (associatedSectionsSubmodule k ι ρ) :=
|
| 350 |
-
Submodule.addCommGroup (associatedSectionsSubmodule k ι ρ)
|
| 351 |
-
|
| 352 |
-
noncomputable instance (priority := 2000) associatedSectionsPolynomialSMul :
|
| 353 |
-
SMul (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) :=
|
| 354 |
-
(Submodule.module (associatedPolynomialSections k ι ρ)).toSMul
|
| 355 |
-
|
| 356 |
-
noncomputable instance (priority := 2000) associatedSectionsPolynomialModule :
|
| 357 |
-
Module (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) :=
|
| 358 |
-
Submodule.module (associatedPolynomialSections k ι ρ)
|
| 359 |
-
|
| 360 |
-
instance associatedSectionsScalarTower :
|
| 361 |
-
IsScalarTower k (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) where
|
| 362 |
-
smul_assoc a P f := Subtype.ext (smul_assoc a P f.val)
|
| 363 |
-
|
| 364 |
-
variable [Infinite k]
|
| 365 |
-
noncomputable def associatedXChartPolynomial :
|
| 366 |
-
(associatedSectionsSubmodule k ι ρ) →ₗ[MvPolynomial (Fin 2) k]
|
| 367 |
-
(ι → planeCoordinateChart k 0) where
|
| 368 |
-
toFun := associatedXChart k ι ρ
|
| 369 |
-
map_add' := (associatedXChart k ι ρ).map_add
|
| 370 |
-
map_smul' := by
|
| 371 |
-
intro P f
|
| 372 |
-
funext i
|
| 373 |
-
apply planeChartEvaluation_injective k 0
|
| 374 |
-
funext x
|
| 375 |
-
have he := congrFun (associatedXChart_evaluation k ι ρ (P • f) x) i
|
| 376 |
-
change _ = _ at he
|
| 377 |
-
rw [show (P • f).val = P • f.val from rfl, regularVector_plane_smul] at he
|
| 378 |
-
rw [he]
|
| 379 |
-
change MvPolynomial.eval (fun j => (planeXSection k x) j 0) P *
|
| 380 |
-
regularVectorEvaluation k ι (planeXSection k x) f.val i =
|
| 381 |
-
planeChartEvaluation k 0 (P • associatedXChart k ι ρ f i) x
|
| 382 |
-
rw [Algebra.smul_def, map_mul, planeChartEvaluation_algebraMap]
|
| 383 |
-
change _ = planeTorusEvaluation k P x *
|
| 384 |
-
planeChartEvaluation k 0 (associatedXChart k ι ρ f i) x
|
| 385 |
-
rw [planeTorusEvaluation_apply, congrFun (associatedXChart_evaluation k ι ρ f x) i]
|
| 386 |
-
congr 2
|
| 387 |
-
apply congrArg MvPolynomial.eval
|
| 388 |
-
funext j
|
| 389 |
-
fin_cases j <;> simp [planeXSection]
|
| 390 |
-
|
| 391 |
-
end FiberFunctorProof
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
open scoped TensorProduct
|
| 396 |
-
end
|
| 397 |
-
|
| 398 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.PlaneCharts
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Polynomial additive actions and associated polynomial sections. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B]
|
| 15 |
+
[Algebra k A] [Algebra k B]
|
| 16 |
+
|
| 17 |
+
lemma map_aeval_polynomial (f : A →ₐ[k] B) (a : A) (p : Polynomial k) :
|
| 18 |
+
f (Polynomial.aeval a p) = Polynomial.aeval (f a) p := by
|
| 19 |
+
have h : f.comp (Polynomial.aeval a) = Polynomial.aeval (f a) := by
|
| 20 |
+
ext
|
| 21 |
+
simp
|
| 22 |
+
exact AlgHom.congr_fun h p
|
| 23 |
+
end
|
| 24 |
+
|
| 25 |
+
section
|
| 26 |
+
variable {k ι : Type*} [Field k] [Infinite k] [Fintype ι] [DecidableEq ι]
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
noncomputable def polynomialMatrixEval (P : Matrix ι ι (Polynomial k))
|
| 30 |
+
{A : Type*} [CommRing A] [Algebra k A] (t : A) : Matrix ι ι A :=
|
| 31 |
+
fun i j => Polynomial.aeval t (P i j)
|
| 32 |
+
|
| 33 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 34 |
+
lemma polynomialMatrixEval_map (P : Matrix ι ι (Polynomial k))
|
| 35 |
+
{A B : Type*} [CommRing A] [CommRing B] [Algebra k A] [Algebra k B]
|
| 36 |
+
(f : A →ₐ[k] B) (t : A) :
|
| 37 |
+
(polynomialMatrixEval P t).map f = polynomialMatrixEval P (f t) := by
|
| 38 |
+
ext i j
|
| 39 |
+
exact map_aeval_polynomial f t (P i j)
|
| 40 |
+
|
| 41 |
+
omit [DecidableEq ι] in
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
theorem polynomialMatrixEval_add (P : Matrix ι ι (Polynomial k))
|
| 45 |
+
(hP : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 46 |
+
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 47 |
+
{A : Type*} [CommRing A] [Algebra k A] (s t : A) :
|
| 48 |
+
polynomialMatrixEval P (s+t) = polynomialMatrixEval P s * polynomialMatrixEval P t := by
|
| 49 |
+
let X : Fin 2 → MvPolynomial (Fin 2) k := MvPolynomial.X
|
| 50 |
+
have h : polynomialMatrixEval P (X 0 + X 1) =
|
| 51 |
+
polynomialMatrixEval P (X 0) * polynomialMatrixEval P (X 1) := by
|
| 52 |
+
apply Matrix.ext
|
| 53 |
+
intro i j
|
| 54 |
+
apply MvPolynomial.funext
|
| 55 |
+
intro a
|
| 56 |
+
change MvPolynomial.aeval a _ = MvPolynomial.aeval a _
|
| 57 |
+
simp only [polynomialMatrixEval, Matrix.mul_apply, map_sum, map_mul,
|
| 58 |
+
map_aeval_polynomial, map_add, X, MvPolynomial.aeval_X]
|
| 59 |
+
exact congrArg (fun Q : Matrix ι ι k => Q i j) (hP (a 0) (a 1))
|
| 60 |
+
have he := congrArg (fun Q : Matrix ι ι (MvPolynomial (Fin 2) k) =>
|
| 61 |
+
Q.map (MvPolynomial.aeval ![s,t])) h
|
| 62 |
+
simpa only [polynomialMatrixEval_map, map_add, X, MvPolynomial.aeval_X,
|
| 63 |
+
Matrix.cons_val_zero, Matrix.cons_val_one, Matrix.map_mul] using he
|
| 64 |
+
|
| 65 |
+
omit [Infinite k] [Fintype ι] in
|
| 66 |
+
lemma polynomialMatrixEval_zero (P : Matrix ι ι (Polynomial k))
|
| 67 |
+
(hP : polynomialMatrixEval P (0 : k) = 1)
|
| 68 |
+
(A : Type*) [CommRing A] [Algebra k A] :
|
| 69 |
+
polynomialMatrixEval P (0 : A) = 1 := by
|
| 70 |
+
have he := congrArg (fun Q : Matrix ι ι k => Q.map (algebraMap k A)) hP
|
| 71 |
+
have hm (i j : ι) : algebraMap k A (polynomialMatrixEval P (0 : k) i j) =
|
| 72 |
+
polynomialMatrixEval P (0 : A) i j := by
|
| 73 |
+
simp [polynomialMatrixEval, Polynomial.aeval_def]
|
| 74 |
+
apply Matrix.ext
|
| 75 |
+
intro i j
|
| 76 |
+
have heij := congrArg (fun Q : Matrix ι ι A => Q i j) he
|
| 77 |
+
rw [Matrix.map_apply, hm] at heij
|
| 78 |
+
simpa [Matrix.map_apply, Matrix.one_apply] using heij
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
noncomputable def polynomialAdditiveRepresentation
|
| 83 |
+
(P : Matrix ι ι (Polynomial k))
|
| 84 |
+
(h0 : polynomialMatrixEval P (0 : k) = 1)
|
| 85 |
+
(hadd : ∀ s t : k, polynomialMatrixEval P (s+t) =
|
| 86 |
+
polynomialMatrixEval P s * polynomialMatrixEval P t)
|
| 87 |
+
(A : Type*) [CommRing A] [Algebra k A] :
|
| 88 |
+
Multiplicative A →* Matrix ι ι A where
|
| 89 |
+
toFun t := polynomialMatrixEval P t.toAdd
|
| 90 |
+
map_one' := polynomialMatrixEval_zero P h0 A
|
| 91 |
+
map_mul' s t := polynomialMatrixEval_add P hadd s.toAdd t.toAdd
|
| 92 |
+
|
| 93 |
+
end
|
| 94 |
+
|
| 95 |
+
section
|
| 96 |
+
universe u
|
| 97 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 98 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 99 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 100 |
+
|
| 101 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 102 |
+
lemma additive_rep_apply_add (s t : k) (v : ι → k) :
|
| 103 |
+
ρ (Multiplicative.ofAdd (s+t)) v =
|
| 104 |
+
ρ (Multiplicative.ofAdd s) (ρ (Multiplicative.ofAdd t) v) := by
|
| 105 |
+
change ρ (Multiplicative.ofAdd s * Multiplicative.ofAdd t) v = _
|
| 106 |
+
rw [map_mul]
|
| 107 |
+
rfl
|
| 108 |
+
|
| 109 |
+
noncomputable def associatedLocalExpression (P : Matrix ι ι (Polynomial k))
|
| 110 |
+
(a : Fin 2) (f : ι → planeCoordinateChart k a) (i : ι) :
|
| 111 |
+
regularCoordinateLocalization k a :=
|
| 112 |
+
∑ j, Polynomial.aeval
|
| 113 |
+
(-(algebraMap (regularSL2Functions k) (regularCoordinateLocalization k a)
|
| 114 |
+
(regularEntry k a 1)) * regularCoordinateInverse k a) (P i j) *
|
| 115 |
+
planeChartPullback k a (f j)
|
| 116 |
+
|
| 117 |
+
omit [Infinite k] in
|
| 118 |
+
lemma associatedLocalExpression_evaluation (P : Matrix ι ι (Polynomial k))
|
| 119 |
+
(hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 120 |
+
(a : Fin 2) (f : ι → planeCoordinateChart k a) (g : regularTorusPoints k) :
|
| 121 |
+
(fun i => regularLocalizationEvaluation k a (associatedLocalExpression k ι P a f i) g) =
|
| 122 |
+
ρ (Multiplicative.ofAdd (-(g.val a 1 / g.val a 0)))
|
| 123 |
+
(fun j => planeChartEvaluation k a (f j) (regularToPlaneTorus k g)) := by
|
| 124 |
+
have h := LinearMap.toMatrix'_mulVec
|
| 125 |
+
(ρ (Multiplicative.ofAdd (-(g.val a 1 / g.val a 0))))
|
| 126 |
+
(fun j => planeChartEvaluation k a (f j) (regularToPlaneTorus k g))
|
| 127 |
+
rw [← hP] at h
|
| 128 |
+
rw [← h]
|
| 129 |
+
funext i
|
| 130 |
+
let ev : regularCoordinateLocalization k a →ₐ[k] k :=
|
| 131 |
+
(Pi.evalAlgHom k _ g).comp (regularLocalizationEvaluation k a)
|
| 132 |
+
change ev (associatedLocalExpression k ι P a f i) = _
|
| 133 |
+
simp only [associatedLocalExpression, map_sum, map_mul,
|
| 134 |
+
map_aeval_polynomial (k := k) (A := regularCoordinateLocalization k a) (B := k) ev,
|
| 135 |
+
map_neg]
|
| 136 |
+
change (∑ j, Polynomial.aeval
|
| 137 |
+
(-(regularLocalizationEvaluation k a
|
| 138 |
+
(algebraMap (regularSL2Functions k) (regularCoordinateLocalization k a)
|
| 139 |
+
(regularEntry k a 1)) g) *
|
| 140 |
+
regularLocalizationEvaluation k a (regularCoordinateInverse k a) g) (P i j) *
|
| 141 |
+
regularLocalizationEvaluation k a (planeChartPullback k a (f j)) g) = _
|
| 142 |
+
rw [regularLocalizationEvaluation_algebraMap]
|
| 143 |
+
change (∑ j, Polynomial.aeval
|
| 144 |
+
(-(regularEntry k a 1).val g.val *
|
| 145 |
+
regularLocalizationEvaluation k a (regularCoordinateInverse k a) g) (P i j) *
|
| 146 |
+
regularLocalizationEvaluation k a (planeChartPullback k a (f j)) g) = _
|
| 147 |
+
simp only [regularEntry_apply, regularCoordinateInverse_evaluation,
|
| 148 |
+
planeChartPullback_evaluation, Matrix.mulVec, dotProduct, polynomialMatrixEval,
|
| 149 |
+
div_eq_mul_inv, neg_mul]
|
| 150 |
+
|
| 151 |
+
noncomputable def associatedTorusValue (f : ι → planeCoordinateChart k 0)
|
| 152 |
+
(g : regularTorusPoints k) : ι → k :=
|
| 153 |
+
ρ (Multiplicative.ofAdd (-(g.val 0 1 / g.val 0 0)))
|
| 154 |
+
(fun j => planeChartEvaluation k 0 (f j) (regularToPlaneTorus k g))
|
| 155 |
+
|
| 156 |
+
omit [Infinite k] in
|
| 157 |
+
lemma associatedChartPair_local_compatible
|
| 158 |
+
(P : Matrix ι ι (Polynomial k))
|
| 159 |
+
(hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 160 |
+
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 161 |
+
(hf : ∀ x : planeTorusPoints k,
|
| 162 |
+
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 163 |
+
ρ (Multiplicative.ofAdd ((x.val 0 * x.val 1)⁻¹))
|
| 164 |
+
(fun j => planeChartEvaluation k 0 (f₀ j) x)) (g : regularTorusPoints k) :
|
| 165 |
+
(fun i => regularLocalizationEvaluation k 1 (associatedLocalExpression k ι P 1 f₁ i) g) =
|
| 166 |
+
associatedTorusValue k ι ρ f₀ g := by
|
| 167 |
+
rw [associatedLocalExpression_evaluation k ι ρ P hP, hf,
|
| 168 |
+
← additive_rep_apply_add]
|
| 169 |
+
unfold associatedTorusValue
|
| 170 |
+
congr 2
|
| 171 |
+
change -(g.val 1 1 / g.val 1 0) + (g.val 0 0 * g.val 1 0)⁻¹ =
|
| 172 |
+
-(g.val 0 1 / g.val 0 0)
|
| 173 |
+
have hd : g.val 0 0 * g.val 1 1 - g.val 0 1 * g.val 1 0 = 1 := by
|
| 174 |
+
simpa only [Matrix.det_fin_two] using g.val.property
|
| 175 |
+
field_simp [g.property 0, g.property 1]
|
| 176 |
+
linear_combination -hd
|
| 177 |
+
|
| 178 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 179 |
+
lemma secondColumn_unipotent_mul (g : SL2 k) (t : k) (i : Fin 2) :
|
| 180 |
+
(g * unipotent k t) i 1 = g i 0 * t + g i 1 := by
|
| 181 |
+
change (((g : Matrix (Fin 2) (Fin 2) k) *
|
| 182 |
+
(unipotent k t : Matrix (Fin 2) (Fin 2) k)) i 1) = _
|
| 183 |
+
simp [Matrix.mul_apply, Fin.sum_univ_two, unipotent]
|
| 184 |
+
|
| 185 |
+
noncomputable def regularTorusRightUnipotent (g : regularTorusPoints k) (t : k) :
|
| 186 |
+
regularTorusPoints k :=
|
| 187 |
+
⟨g.val * unipotent k t, by intro i; rw [firstColumn_unipotent_mul]; exact g.property i⟩
|
| 188 |
+
|
| 189 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 190 |
+
lemma associatedTorusValue_unipotent (f : ι → planeCoordinateChart k 0)
|
| 191 |
+
(g : regularTorusPoints k) (t : k) :
|
| 192 |
+
associatedTorusValue k ι ρ f (regularTorusRightUnipotent k g t) =
|
| 193 |
+
ρ (Multiplicative.ofAdd (-t)) (associatedTorusValue k ι ρ f g) := by
|
| 194 |
+
have hx : regularToPlaneTorus k (regularTorusRightUnipotent k g t) =
|
| 195 |
+
regularToPlaneTorus k g := by
|
| 196 |
+
apply Subtype.ext
|
| 197 |
+
funext i
|
| 198 |
+
exact firstColumn_unipotent_mul k g.val t i
|
| 199 |
+
unfold associatedTorusValue
|
| 200 |
+
rw [hx, ← additive_rep_apply_add]
|
| 201 |
+
apply congrArg (fun s : k => ρ (Multiplicative.ofAdd s)
|
| 202 |
+
(fun j => planeChartEvaluation k 0 (f j) (regularToPlaneTorus k g)))
|
| 203 |
+
change -((g.val * unipotent k t) 0 1 / (g.val * unipotent k t) 0 0) = _
|
| 204 |
+
rw [secondColumn_unipotent_mul, firstColumn_unipotent_mul]
|
| 205 |
+
field_simp [g.property 0]
|
| 206 |
+
ring
|
| 207 |
+
|
| 208 |
+
noncomputable def regularVectorCombination (L : (ι → k) →ₗ[k] (ι → k))
|
| 209 |
+
(f : ι → regularSL2Functions k) (i : ι) : regularSL2Functions k :=
|
| 210 |
+
∑ j, (LinearMap.toMatrix' L i j) • f j
|
| 211 |
+
|
| 212 |
+
omit [Infinite k] in
|
| 213 |
+
lemma regularVectorCombination_evaluation (L : (ι → k) →ₗ[k] (ι → k))
|
| 214 |
+
(f : ι → regularSL2Functions k) (g : SL2 k) :
|
| 215 |
+
regularVectorEvaluation k ι g (regularVectorCombination k ι L f) =
|
| 216 |
+
L (regularVectorEvaluation k ι g f) := by
|
| 217 |
+
rw [← LinearMap.toMatrix'_mulVec L]
|
| 218 |
+
funext i
|
| 219 |
+
change (Subalgebra.val (regularSL2Functions k)
|
| 220 |
+
(∑ j, (LinearMap.toMatrix' L i j) • f j)) g = _
|
| 221 |
+
simp only [map_sum, map_smul, Finset.sum_apply, Pi.smul_apply,
|
| 222 |
+
smul_eq_mul, Matrix.mulVec, dotProduct]
|
| 223 |
+
rfl
|
| 224 |
+
|
| 225 |
+
|
| 226 |
+
|
| 227 |
+
theorem associatedChartPair_glue
|
| 228 |
+
(P : Matrix ι ι (Polynomial k))
|
| 229 |
+
(hP : ∀ t : k, polynomialMatrixEval P t = LinearMap.toMatrix' (ρ (Multiplicative.ofAdd t)))
|
| 230 |
+
(f₀ : ι → planeCoordinateChart k 0) (f₁ : ι → planeCoordinateChart k 1)
|
| 231 |
+
(hf : ∀ x : planeTorusPoints k,
|
| 232 |
+
(fun j => planeChartEvaluation k 1 (f₁ j) x) =
|
| 233 |
+
ρ (Multiplicative.ofAdd ((x.val 0 * x.val 1)⁻¹))
|
| 234 |
+
(fun j => planeChartEvaluation k 0 (f₀ j) x)) :
|
| 235 |
+
∃ f : associatedSectionsSubmodule k ι ρ,
|
| 236 |
+
associatedXChart k ι ρ f = f₀ ∧ associatedYChart k ι ρ f = f₁ := by
|
| 237 |
+
have hg (i : ι) : ∃ f : regularSL2Functions k,
|
| 238 |
+
regularTorusRestriction k f = fun g => associatedTorusValue k ι ρ f₀ g i := by
|
| 239 |
+
apply regularTorus_glue k _ (associatedLocalExpression k ι P 0 f₀ i)
|
| 240 |
+
(associatedLocalExpression k ι P 1 f₁ i)
|
| 241 |
+
· funext g
|
| 242 |
+
exact congrFun (associatedLocalExpression_evaluation k ι ρ P hP 0 f₀ g) i
|
| 243 |
+
· funext g
|
| 244 |
+
exact congrFun (associatedChartPair_local_compatible k ι ρ P hP f₀ f₁ hf g) i
|
| 245 |
+
choose f hfg using hg
|
| 246 |
+
have hev (g : regularTorusPoints k) : regularVectorEvaluation k ι g.val f =
|
| 247 |
+
associatedTorusValue k ι ρ f₀ g := by
|
| 248 |
+
funext i
|
| 249 |
+
exact congrFun (hfg i) g
|
| 250 |
+
have hmem : f ∈ associatedSectionsSubmodule k ι ρ := by
|
| 251 |
+
intro g t
|
| 252 |
+
funext i
|
| 253 |
+
have hz : regularRightTranslation k (unipotent k t) (f i) -
|
| 254 |
+
regularVectorCombination k ι (ρ (Multiplicative.ofAdd (-t))) f i = 0 := by
|
| 255 |
+
apply regularSL2_torus_dense k
|
| 256 |
+
intro h ha hc
|
| 257 |
+
let h' : regularTorusPoints k := ⟨h, by intro j; fin_cases j; exact ha; exact hc⟩
|
| 258 |
+
have he := associatedTorusValue_unipotent k ι ρ f₀ h' t
|
| 259 |
+
rw [← hev, ← hev] at he
|
| 260 |
+
have he' := congrFun he i
|
| 261 |
+
change (f i).val (h * unipotent k t) = _ at he'
|
| 262 |
+
change (f i).val (h * unipotent k t) -
|
| 263 |
+
(regularVectorCombination k ι (ρ (Multiplicative.ofAdd (-t))) f i).val h = 0
|
| 264 |
+
rw [he']
|
| 265 |
+
exact sub_eq_zero.mpr
|
| 266 |
+
(congrFun (regularVectorCombination_evaluation k ι
|
| 267 |
+
(ρ (Multiplicative.ofAdd (-t))) f h) i).symm
|
| 268 |
+
have he := congrArg (fun a : regularSL2Functions k => a.val g) (sub_eq_zero.mp hz)
|
| 269 |
+
change (f i).val (g * unipotent k t) = _ at he
|
| 270 |
+
exact he.trans (congrFun (regularVectorCombination_evaluation k ι
|
| 271 |
+
(ρ (Multiplicative.ofAdd (-t))) f g) i)
|
| 272 |
+
let F : associatedSectionsSubmodule k ι ρ := ⟨f,hmem⟩
|
| 273 |
+
have hx : associatedXChart k ι ρ F = f₀ := by
|
| 274 |
+
funext i
|
| 275 |
+
apply planeChartEvaluation_injective k 0
|
| 276 |
+
funext x
|
| 277 |
+
have he := hev ⟨planeXSection k x, by
|
| 278 |
+
intro j
|
| 279 |
+
fin_cases j <;> simpa [planeXSection] using x.property _⟩
|
| 280 |
+
have hx' : regularToPlaneTorus k ⟨planeXSection k x, by
|
| 281 |
+
intro j; fin_cases j <;> simpa [planeXSection] using x.property _⟩ = x := by
|
| 282 |
+
apply Subtype.ext
|
| 283 |
+
funext j
|
| 284 |
+
fin_cases j <;> simp [regularToPlaneTorus, planeXSection]
|
| 285 |
+
unfold associatedTorusValue at he
|
| 286 |
+
rw [hx'] at he
|
| 287 |
+
change regularVectorEvaluation k ι (planeXSection k x) f =
|
| 288 |
+
ρ (Multiplicative.ofAdd (-(0 / x.val 0)))
|
| 289 |
+
(fun j => planeChartEvaluation k 0 (f₀ j) x) at he
|
| 290 |
+
simp only [zero_div, neg_zero] at he
|
| 291 |
+
change regularVectorEvaluation k ι (planeXSection k x) f =
|
| 292 |
+
ρ 1 (fun j => planeChartEvaluation k 0 (f₀ j) x) at he
|
| 293 |
+
rw [map_one] at he
|
| 294 |
+
exact (congrFun (associatedXChart_evaluation k ι ρ F x) i).trans (congrFun he i)
|
| 295 |
+
refine ⟨F,hx,?_⟩
|
| 296 |
+
funext i
|
| 297 |
+
apply planeChartEvaluation_injective k 1
|
| 298 |
+
funext x
|
| 299 |
+
have he := associatedCharts_transition k ι ρ F x
|
| 300 |
+
rw [hx, ← hf x] at he
|
| 301 |
+
exact congrFun he i
|
| 302 |
+
|
| 303 |
+
end
|
| 304 |
+
|
| 305 |
+
universe u
|
| 306 |
+
variable (k : Type u) [Field k]
|
| 307 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 308 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 309 |
+
|
| 310 |
+
noncomputable instance regularPlaneAlgebra :
|
| 311 |
+
Algebra (MvPolynomial (Fin 2) k) (regularSL2Functions k) :=
|
| 312 |
+
(regularPlane k).toRingHom.toAlgebra
|
| 313 |
+
|
| 314 |
+
instance regularPlaneScalarTower :
|
| 315 |
+
IsScalarTower k (MvPolynomial (Fin 2) k) (regularSL2Functions k) :=
|
| 316 |
+
IsScalarTower.of_algHom (regularPlane k)
|
| 317 |
+
|
| 318 |
+
lemma regularPlane_algebraMap (P : MvPolynomial (Fin 2) k) :
|
| 319 |
+
algebraMap (MvPolynomial (Fin 2) k) (regularSL2Functions k) P = regularPlane k P := rfl
|
| 320 |
+
|
| 321 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 322 |
+
lemma regularVector_plane_smul (P : MvPolynomial (Fin 2) k)
|
| 323 |
+
(f : ι → regularSL2Functions k) (g : SL2 k) :
|
| 324 |
+
regularVectorEvaluation k ι g (P • f) =
|
| 325 |
+
MvPolynomial.eval (fun i => g i 0) P • regularVectorEvaluation k ι g f := by
|
| 326 |
+
funext i
|
| 327 |
+
change (P • f i).val g = _
|
| 328 |
+
rw [Algebra.smul_def, regularPlane_algebraMap]
|
| 329 |
+
change (regularPlane k P).val g * (f i).val g = _
|
| 330 |
+
rw [regularPlane_evaluation]
|
| 331 |
+
rfl
|
| 332 |
+
|
| 333 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 334 |
+
lemma associatedSections_plane_smul_mem (P : MvPolynomial (Fin 2) k)
|
| 335 |
+
(f : ι → regularSL2Functions k) (hf : f ∈ associatedSectionsSubmodule k ι ρ) :
|
| 336 |
+
P • f ∈ associatedSectionsSubmodule k ι ρ := by
|
| 337 |
+
intro g t
|
| 338 |
+
rw [regularVector_plane_smul, regularVector_plane_smul, hf, map_smul]
|
| 339 |
+
simp only [firstColumn_unipotent_mul]
|
| 340 |
+
|
| 341 |
+
noncomputable def associatedPolynomialSections :
|
| 342 |
+
Submodule (MvPolynomial (Fin 2) k) (ι → regularSL2Functions k) where
|
| 343 |
+
carrier := associatedSectionsSubmodule k ι ρ
|
| 344 |
+
zero_mem' := (associatedSectionsSubmodule k ι ρ).zero_mem
|
| 345 |
+
add_mem' := (associatedSectionsSubmodule k ι ρ).add_mem
|
| 346 |
+
smul_mem' := associatedSections_plane_smul_mem k ι ρ
|
| 347 |
+
|
| 348 |
+
noncomputable instance associatedSectionsAddCommGroup :
|
| 349 |
+
AddCommGroup (associatedSectionsSubmodule k ι ρ) :=
|
| 350 |
+
Submodule.addCommGroup (associatedSectionsSubmodule k ι ρ)
|
| 351 |
+
|
| 352 |
+
noncomputable instance (priority := 2000) associatedSectionsPolynomialSMul :
|
| 353 |
+
SMul (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) :=
|
| 354 |
+
(Submodule.module (associatedPolynomialSections k ι ρ)).toSMul
|
| 355 |
+
|
| 356 |
+
noncomputable instance (priority := 2000) associatedSectionsPolynomialModule :
|
| 357 |
+
Module (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) :=
|
| 358 |
+
Submodule.module (associatedPolynomialSections k ι ρ)
|
| 359 |
+
|
| 360 |
+
instance associatedSectionsScalarTower :
|
| 361 |
+
IsScalarTower k (MvPolynomial (Fin 2) k) (associatedSectionsSubmodule k ι ρ) where
|
| 362 |
+
smul_assoc a P f := Subtype.ext (smul_assoc a P f.val)
|
| 363 |
+
|
| 364 |
+
variable [Infinite k]
|
| 365 |
+
noncomputable def associatedXChartPolynomial :
|
| 366 |
+
(associatedSectionsSubmodule k ι ρ) →ₗ[MvPolynomial (Fin 2) k]
|
| 367 |
+
(ι → planeCoordinateChart k 0) where
|
| 368 |
+
toFun := associatedXChart k ι ρ
|
| 369 |
+
map_add' := (associatedXChart k ι ρ).map_add
|
| 370 |
+
map_smul' := by
|
| 371 |
+
intro P f
|
| 372 |
+
funext i
|
| 373 |
+
apply planeChartEvaluation_injective k 0
|
| 374 |
+
funext x
|
| 375 |
+
have he := congrFun (associatedXChart_evaluation k ι ρ (P • f) x) i
|
| 376 |
+
change _ = _ at he
|
| 377 |
+
rw [show (P • f).val = P • f.val from rfl, regularVector_plane_smul] at he
|
| 378 |
+
rw [he]
|
| 379 |
+
change MvPolynomial.eval (fun j => (planeXSection k x) j 0) P *
|
| 380 |
+
regularVectorEvaluation k ι (planeXSection k x) f.val i =
|
| 381 |
+
planeChartEvaluation k 0 (P • associatedXChart k ι ρ f i) x
|
| 382 |
+
rw [Algebra.smul_def, map_mul, planeChartEvaluation_algebraMap]
|
| 383 |
+
change _ = planeTorusEvaluation k P x *
|
| 384 |
+
planeChartEvaluation k 0 (associatedXChart k ι ρ f i) x
|
| 385 |
+
rw [planeTorusEvaluation_apply, congrFun (associatedXChart_evaluation k ι ρ f x) i]
|
| 386 |
+
congr 2
|
| 387 |
+
apply congrArg MvPolynomial.eval
|
| 388 |
+
funext j
|
| 389 |
+
fin_cases j <;> simp [planeXSection]
|
| 390 |
+
|
| 391 |
+
end FiberFunctorProof
|
| 392 |
+
|
| 393 |
+
|
| 394 |
+
|
| 395 |
+
open scoped TensorProduct
|
| 396 |
+
end
|
| 397 |
+
|
| 398 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialCovers.lean
CHANGED
|
@@ -1,78 +1,78 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.GoodKernel
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.TensorWeights
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 8 |
-
universe u
|
| 9 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 10 |
-
|
| 11 |
-
lemma costandard_zero_tilting : IsTilting k (costandard k 0) :=
|
| 12 |
-
costandard_tilting_of_choose_ne_zero k 0 (by intro i; fin_cases i; norm_num)
|
| 13 |
-
lemma costandard_one_tilting : IsTilting k (costandard k 1) :=
|
| 14 |
-
costandard_tilting_of_choose_ne_zero k 1 (by intro i; fin_cases i <;> norm_num)
|
| 15 |
-
|
| 16 |
-
noncomputable def tensorPowerFrom (A : FDRep k (SL2 k)) : ℕ → FDRep k (SL2 k)
|
| 17 |
-
| 0 => A
|
| 18 |
-
| n+1 => tensorPowerFrom A n ⊗ costandard k 1
|
| 19 |
-
|
| 20 |
-
noncomputable def polynomialPowerMap (m : ℕ) : ∀ n,
|
| 21 |
-
tensorPowerFrom k (costandard k m) n ⟶ costandard k (m+n)
|
| 22 |
-
| 0 => 𝟙 _
|
| 23 |
-
| n+1 => (tensorRight (costandard k 1)).map (polynomialPowerMap m n) ≫
|
| 24 |
-
costandardMultiply k (m+n) 1
|
| 25 |
-
|
| 26 |
-
omit [Infinite k] in
|
| 27 |
-
lemma polynomialPowerMap_goodKernel (m n : ℕ) :
|
| 28 |
-
HasGoodKernel k (polynomialPowerMap k m n) := by
|
| 29 |
-
induction n with
|
| 30 |
-
| zero => exact HasGoodKernel.id k _
|
| 31 |
-
| succ n ih =>
|
| 32 |
-
exact (ih.tensor_right k _ (costandard_hasGoodFiltration k 1)).comp k
|
| 33 |
-
(costandardMultiply_goodKernel k (m+n) 1)
|
| 34 |
-
|
| 35 |
-
lemma tensorPowerFrom_tilting {A : FDRep k (SL2 k)} (hA : IsTilting k A) (n : ℕ) :
|
| 36 |
-
IsTilting k (tensorPowerFrom k A n) := by
|
| 37 |
-
induction n with
|
| 38 |
-
| zero => exact hA
|
| 39 |
-
| succ n ih => exact ih.tensor k (costandard_one_tilting k)
|
| 40 |
-
|
| 41 |
-
omit [Infinite k] in
|
| 42 |
-
lemma tensorPowerFrom_rational {A : FDRep k (SL2 k)}
|
| 43 |
-
(hA : IsRational k A.ρ) (n : ℕ) : IsRational k (tensorPowerFrom k A n).ρ := by
|
| 44 |
-
induction n with
|
| 45 |
-
| zero => exact hA
|
| 46 |
-
| succ n ih =>
|
| 47 |
-
exact IsRational.tensor k (tensorPowerFrom k A n).ρ (costandard k 1).ρ ih
|
| 48 |
-
(costandard_rational k 1)
|
| 49 |
-
|
| 50 |
-
lemma tensorPowerFrom_weights {A : FDRep k (SL2 k)}
|
| 51 |
-
(hA : IsRational k A.ρ) (a : ℕ) (ha : HasWeightsBetween A.ρ (-(a : ℤ)) a) (n : ℕ) :
|
| 52 |
-
HasWeightsBetween (tensorPowerFrom k A n).ρ (-((a+n : ℕ) : ℤ)) (a+n) := by
|
| 53 |
-
induction n with
|
| 54 |
-
| zero =>
|
| 55 |
-
change HasWeightsBetween A.ρ (-((a+0 : ℕ) : ℤ)) (a+0)
|
| 56 |
-
simpa only [Nat.add_zero, add_zero] using ha
|
| 57 |
-
| succ n ih =>
|
| 58 |
-
exact hasWeightsBetween_tensor (tensorPowerFrom k A n).ρ (costandard k 1).ρ
|
| 59 |
-
(tensorPowerFrom_rational k hA n) (costandard_rational k 1) (a+n) 1 ih
|
| 60 |
-
(fun m v hm hv => costandard_weight_bound k 1 m hm v hv)
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
omit [Infinite k] in
|
| 65 |
-
lemma tensorPowerFrom_factor (m n : ℕ) :
|
| 66 |
-
Nonempty (tensorPowerFrom k (costandard k m) n ≅
|
| 67 |
-
costandard k m ⊗ tensorPowerFrom k (costandard k 0) n) := by
|
| 68 |
-
induction n with
|
| 69 |
-
| zero =>
|
| 70 |
-
have := costandardMultiply_isIso_of_zero k m 0 (Or.inr rfl)
|
| 71 |
-
exact ⟨(asIso (costandardMultiply k m 0)).symm⟩
|
| 72 |
-
| succ n ih =>
|
| 73 |
-
obtain ⟨e⟩ := ih
|
| 74 |
-
exact ⟨(tensorRight (costandard k 1)).mapIso e ≪≫
|
| 75 |
-
α_ (costandard k m) (tensorPowerFrom k (costandard k 0) n) (costandard k 1)⟩
|
| 76 |
-
end FiberFunctorProof
|
| 77 |
-
|
| 78 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.GoodKernel
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.TensorWeights
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 8 |
+
universe u
|
| 9 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 10 |
+
|
| 11 |
+
lemma costandard_zero_tilting : IsTilting k (costandard k 0) :=
|
| 12 |
+
costandard_tilting_of_choose_ne_zero k 0 (by intro i; fin_cases i; norm_num)
|
| 13 |
+
lemma costandard_one_tilting : IsTilting k (costandard k 1) :=
|
| 14 |
+
costandard_tilting_of_choose_ne_zero k 1 (by intro i; fin_cases i <;> norm_num)
|
| 15 |
+
|
| 16 |
+
noncomputable def tensorPowerFrom (A : FDRep k (SL2 k)) : ℕ → FDRep k (SL2 k)
|
| 17 |
+
| 0 => A
|
| 18 |
+
| n+1 => tensorPowerFrom A n ⊗ costandard k 1
|
| 19 |
+
|
| 20 |
+
noncomputable def polynomialPowerMap (m : ℕ) : ∀ n,
|
| 21 |
+
tensorPowerFrom k (costandard k m) n ⟶ costandard k (m+n)
|
| 22 |
+
| 0 => 𝟙 _
|
| 23 |
+
| n+1 => (tensorRight (costandard k 1)).map (polynomialPowerMap m n) ≫
|
| 24 |
+
costandardMultiply k (m+n) 1
|
| 25 |
+
|
| 26 |
+
omit [Infinite k] in
|
| 27 |
+
lemma polynomialPowerMap_goodKernel (m n : ℕ) :
|
| 28 |
+
HasGoodKernel k (polynomialPowerMap k m n) := by
|
| 29 |
+
induction n with
|
| 30 |
+
| zero => exact HasGoodKernel.id k _
|
| 31 |
+
| succ n ih =>
|
| 32 |
+
exact (ih.tensor_right k _ (costandard_hasGoodFiltration k 1)).comp k
|
| 33 |
+
(costandardMultiply_goodKernel k (m+n) 1)
|
| 34 |
+
|
| 35 |
+
lemma tensorPowerFrom_tilting {A : FDRep k (SL2 k)} (hA : IsTilting k A) (n : ℕ) :
|
| 36 |
+
IsTilting k (tensorPowerFrom k A n) := by
|
| 37 |
+
induction n with
|
| 38 |
+
| zero => exact hA
|
| 39 |
+
| succ n ih => exact ih.tensor k (costandard_one_tilting k)
|
| 40 |
+
|
| 41 |
+
omit [Infinite k] in
|
| 42 |
+
lemma tensorPowerFrom_rational {A : FDRep k (SL2 k)}
|
| 43 |
+
(hA : IsRational k A.ρ) (n : ℕ) : IsRational k (tensorPowerFrom k A n).ρ := by
|
| 44 |
+
induction n with
|
| 45 |
+
| zero => exact hA
|
| 46 |
+
| succ n ih =>
|
| 47 |
+
exact IsRational.tensor k (tensorPowerFrom k A n).ρ (costandard k 1).ρ ih
|
| 48 |
+
(costandard_rational k 1)
|
| 49 |
+
|
| 50 |
+
lemma tensorPowerFrom_weights {A : FDRep k (SL2 k)}
|
| 51 |
+
(hA : IsRational k A.ρ) (a : ℕ) (ha : HasWeightsBetween A.ρ (-(a : ℤ)) a) (n : ℕ) :
|
| 52 |
+
HasWeightsBetween (tensorPowerFrom k A n).ρ (-((a+n : ℕ) : ℤ)) (a+n) := by
|
| 53 |
+
induction n with
|
| 54 |
+
| zero =>
|
| 55 |
+
change HasWeightsBetween A.ρ (-((a+0 : ℕ) : ℤ)) (a+0)
|
| 56 |
+
simpa only [Nat.add_zero, add_zero] using ha
|
| 57 |
+
| succ n ih =>
|
| 58 |
+
exact hasWeightsBetween_tensor (tensorPowerFrom k A n).ρ (costandard k 1).ρ
|
| 59 |
+
(tensorPowerFrom_rational k hA n) (costandard_rational k 1) (a+n) 1 ih
|
| 60 |
+
(fun m v hm hv => costandard_weight_bound k 1 m hm v hv)
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
omit [Infinite k] in
|
| 65 |
+
lemma tensorPowerFrom_factor (m n : ℕ) :
|
| 66 |
+
Nonempty (tensorPowerFrom k (costandard k m) n ≅
|
| 67 |
+
costandard k m ⊗ tensorPowerFrom k (costandard k 0) n) := by
|
| 68 |
+
induction n with
|
| 69 |
+
| zero =>
|
| 70 |
+
have := costandardMultiply_isIso_of_zero k m 0 (Or.inr rfl)
|
| 71 |
+
exact ⟨(asIso (costandardMultiply k m 0)).symm⟩
|
| 72 |
+
| succ n ih =>
|
| 73 |
+
obtain ⟨e⟩ := ih
|
| 74 |
+
exact ⟨(tensorRight (costandard k 1)).mapIso e ≪≫
|
| 75 |
+
α_ (costandard k m) (tensorPowerFrom k (costandard k 0) n) (costandard k 1)⟩
|
| 76 |
+
end FiberFunctorProof
|
| 77 |
+
|
| 78 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialIntertwiner.lean
CHANGED
|
@@ -1,58 +1,58 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.RationalMatrices
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.LaurentPolynomialSeparation
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
namespace FiberFunctorProof
|
| 7 |
-
open scoped BigOperators
|
| 8 |
-
section
|
| 9 |
-
variable {k K ι : Type*} [Field k] [Infinite k] [Field K] [Algebra k K]
|
| 10 |
-
[Fintype ι] [DecidableEq ι]
|
| 11 |
-
|
| 12 |
-
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 13 |
-
lemma polynomialMatrixEval_base (P : Matrix ι ι (Polynomial k)) (t : k) :
|
| 14 |
-
polynomialMatrixEval P (algebraMap k K t) =
|
| 15 |
-
(polynomialMatrixEval P t).map (algebraMap k K) :=
|
| 16 |
-
(polynomialMatrixEval_map P (Algebra.ofId k K) t).symm
|
| 17 |
-
|
| 18 |
-
omit [DecidableEq ι] in
|
| 19 |
-
lemma polynomial_intertwiner_extension (P B : Matrix ι ι (Polynomial k))
|
| 20 |
-
(C : Matrix ι ι K) (z : K)
|
| 21 |
-
(h : ∀ t : k, C * polynomialMatrixEval B (algebraMap k K t) =
|
| 22 |
-
polynomialMatrixEval P (algebraMap k K t * z) * C) :
|
| 23 |
-
∀ t : K, C * polynomialMatrixEval B t = polynomialMatrixEval P (t*z) * C := by
|
| 24 |
-
let CP : Matrix ι ι (Polynomial K) := C.map Polynomial.C
|
| 25 |
-
let BP := polynomialMatrixEval B (Polynomial.X : Polynomial K)
|
| 26 |
-
let PP := polynomialMatrixEval P (Polynomial.X * Polynomial.C z)
|
| 27 |
-
let ev (t : K) : Polynomial K →ₐ[k] K := (Polynomial.aeval t).restrictScalars k
|
| 28 |
-
have heC (t : K) : CP.map (ev t) = C := by
|
| 29 |
-
apply Matrix.ext
|
| 30 |
-
intro i j
|
| 31 |
-
exact Polynomial.aeval_C t (C i j)
|
| 32 |
-
have heB (t : K) : BP.map (ev t) = polynomialMatrixEval B t := by
|
| 33 |
-
rw [polynomialMatrixEval_map]
|
| 34 |
-
congr 1
|
| 35 |
-
exact Polynomial.aeval_X t
|
| 36 |
-
have heP (t : K) : PP.map (ev t) = polynomialMatrixEval P (t*z) := by
|
| 37 |
-
rw [polynomialMatrixEval_map]
|
| 38 |
-
congr 1
|
| 39 |
-
change Polynomial.aeval t (Polynomial.X * Polynomial.C z) = t*z
|
| 40 |
-
rw [map_mul, Polynomial.aeval_X, Polynomial.aeval_C]
|
| 41 |
-
rfl
|
| 42 |
-
have hid : CP * BP = PP * CP := by
|
| 43 |
-
apply Matrix.ext
|
| 44 |
-
intro i j
|
| 45 |
-
apply polynomial_eq_of_base_evals (k := k)
|
| 46 |
-
intro t
|
| 47 |
-
have hM : (CP * BP).map (ev (algebraMap k K t)) =
|
| 48 |
-
(PP*CP).map (ev (algebraMap k K t)) := by
|
| 49 |
-
rw [Matrix.map_mul, Matrix.map_mul, heC, heB, heP]
|
| 50 |
-
exact h t
|
| 51 |
-
exact congrArg (fun A : Matrix ι ι K => A i j) hM
|
| 52 |
-
intro t
|
| 53 |
-
have he := congrArg (fun A : Matrix ι ι (Polynomial K) => A.map (ev t)) hid
|
| 54 |
-
simpa only [Matrix.map_mul, heC, heB, heP] using he
|
| 55 |
-
end
|
| 56 |
-
end FiberFunctorProof
|
| 57 |
-
|
| 58 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.RationalMatrices
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.LaurentPolynomialSeparation
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
namespace FiberFunctorProof
|
| 7 |
+
open scoped BigOperators
|
| 8 |
+
section
|
| 9 |
+
variable {k K ι : Type*} [Field k] [Infinite k] [Field K] [Algebra k K]
|
| 10 |
+
[Fintype ι] [DecidableEq ι]
|
| 11 |
+
|
| 12 |
+
omit [Infinite k] [Fintype ι] [DecidableEq ι] in
|
| 13 |
+
lemma polynomialMatrixEval_base (P : Matrix ι ι (Polynomial k)) (t : k) :
|
| 14 |
+
polynomialMatrixEval P (algebraMap k K t) =
|
| 15 |
+
(polynomialMatrixEval P t).map (algebraMap k K) :=
|
| 16 |
+
(polynomialMatrixEval_map P (Algebra.ofId k K) t).symm
|
| 17 |
+
|
| 18 |
+
omit [DecidableEq ι] in
|
| 19 |
+
lemma polynomial_intertwiner_extension (P B : Matrix ι ι (Polynomial k))
|
| 20 |
+
(C : Matrix ι ι K) (z : K)
|
| 21 |
+
(h : ∀ t : k, C * polynomialMatrixEval B (algebraMap k K t) =
|
| 22 |
+
polynomialMatrixEval P (algebraMap k K t * z) * C) :
|
| 23 |
+
∀ t : K, C * polynomialMatrixEval B t = polynomialMatrixEval P (t*z) * C := by
|
| 24 |
+
let CP : Matrix ι ι (Polynomial K) := C.map Polynomial.C
|
| 25 |
+
let BP := polynomialMatrixEval B (Polynomial.X : Polynomial K)
|
| 26 |
+
let PP := polynomialMatrixEval P (Polynomial.X * Polynomial.C z)
|
| 27 |
+
let ev (t : K) : Polynomial K →ₐ[k] K := (Polynomial.aeval t).restrictScalars k
|
| 28 |
+
have heC (t : K) : CP.map (ev t) = C := by
|
| 29 |
+
apply Matrix.ext
|
| 30 |
+
intro i j
|
| 31 |
+
exact Polynomial.aeval_C t (C i j)
|
| 32 |
+
have heB (t : K) : BP.map (ev t) = polynomialMatrixEval B t := by
|
| 33 |
+
rw [polynomialMatrixEval_map]
|
| 34 |
+
congr 1
|
| 35 |
+
exact Polynomial.aeval_X t
|
| 36 |
+
have heP (t : K) : PP.map (ev t) = polynomialMatrixEval P (t*z) := by
|
| 37 |
+
rw [polynomialMatrixEval_map]
|
| 38 |
+
congr 1
|
| 39 |
+
change Polynomial.aeval t (Polynomial.X * Polynomial.C z) = t*z
|
| 40 |
+
rw [map_mul, Polynomial.aeval_X, Polynomial.aeval_C]
|
| 41 |
+
rfl
|
| 42 |
+
have hid : CP * BP = PP * CP := by
|
| 43 |
+
apply Matrix.ext
|
| 44 |
+
intro i j
|
| 45 |
+
apply polynomial_eq_of_base_evals (k := k)
|
| 46 |
+
intro t
|
| 47 |
+
have hM : (CP * BP).map (ev (algebraMap k K t)) =
|
| 48 |
+
(PP*CP).map (ev (algebraMap k K t)) := by
|
| 49 |
+
rw [Matrix.map_mul, Matrix.map_mul, heC, heB, heP]
|
| 50 |
+
exact h t
|
| 51 |
+
exact congrArg (fun A : Matrix ι ι K => A i j) hM
|
| 52 |
+
intro t
|
| 53 |
+
have he := congrArg (fun A : Matrix ι ι (Polynomial K) => A.map (ev t)) hid
|
| 54 |
+
simpa only [Matrix.map_mul, heC, heB, heP] using he
|
| 55 |
+
end
|
| 56 |
+
end FiberFunctorProof
|
| 57 |
+
|
| 58 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/PolynomialJets.lean
CHANGED
|
@@ -1,109 +1,109 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.JetTriviality
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped TensorProduct
|
| 7 |
-
universe u
|
| 8 |
-
variable {k : Type u} [Field k]
|
| 9 |
-
variable {T N : Type u} [AddCommGroup T] [Module k T]
|
| 10 |
-
[AddCommGroup N] [Module k N]
|
| 11 |
-
[Module (MvPolynomial (Fin 2) k) N] [IsScalarTower k (MvPolynomial (Fin 2) k) N]
|
| 12 |
-
|
| 13 |
-
noncomputable def polynomialExtend (L : T →ₗ[k] N) :
|
| 14 |
-
(MvPolynomial (Fin 2) k) ⊗[k] T →ₗ[MvPolynomial (Fin 2) k] N :=
|
| 15 |
-
TensorProduct.AlgebraTensorModule.lift
|
| 16 |
-
(LinearMap.toSpanSingleton (MvPolynomial (Fin 2) k) (T →ₗ[k] N) L)
|
| 17 |
-
|
| 18 |
-
@[simp] lemma polynomialExtend_tmul (L : T →ₗ[k] N)
|
| 19 |
-
(P : MvPolynomial (Fin 2) k) (t : T) :
|
| 20 |
-
polynomialExtend L (P ⊗ₜ[k] t) = P • L t := rfl
|
| 21 |
-
|
| 22 |
-
noncomputable def polynomialAugment : (MvPolynomial (Fin 2) k) ⊗[k] T →ₗ[k] T :=
|
| 23 |
-
(TensorProduct.lid k T).toLinearMap ∘ₗ TensorProduct.map
|
| 24 |
-
({ toFun := MvPolynomial.constantCoeff
|
| 25 |
-
map_add' := map_add _
|
| 26 |
-
map_smul' := MvPolynomial.constantCoeff_smul } : MvPolynomial (Fin 2) k →ₗ[k] k)
|
| 27 |
-
LinearMap.id
|
| 28 |
-
|
| 29 |
-
@[simp] lemma polynomialAugment_tmul (P : MvPolynomial (Fin 2) k) (t : T) :
|
| 30 |
-
polynomialAugment (P ⊗ₜ[k] t) = MvPolynomial.constantCoeff P • t := rfl
|
| 31 |
-
|
| 32 |
-
lemma polynomialAugment_smul (P : MvPolynomial (Fin 2) k)
|
| 33 |
-
(z : (MvPolynomial (Fin 2) k) ⊗[k] T) :
|
| 34 |
-
polynomialAugment (P • z) = MvPolynomial.constantCoeff P • polynomialAugment z := by
|
| 35 |
-
induction z using TensorProduct.inductionOn with
|
| 36 |
-
| tmul Q t => rw [TensorProduct.smul_tmul', polynomialAugment_tmul]; simp [smul_eq_mul, mul_smul]
|
| 37 |
-
| add z w hz hw => simp [smul_add, hz, hw]
|
| 38 |
-
|
| 39 |
-
lemma polynomialAugment_pairRelation
|
| 40 |
-
(z : (MvPolynomial (Fin 2) k) ⊗[k] T)
|
| 41 |
-
(hz : z ∈ pairRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1)) :
|
| 42 |
-
polynomialAugment z = 0 := by
|
| 43 |
-
obtain ⟨a,b,rfl⟩ := (mem_pairRelation _ _ z).mp hz
|
| 44 |
-
simp [polynomialAugment_smul]
|
| 45 |
-
|
| 46 |
-
lemma polynomial_origin_representative (z : (MvPolynomial (Fin 2) k) ⊗[k] T) :
|
| 47 |
-
z - (1 : MvPolynomial (Fin 2) k) ⊗ₜ[k] polynomialAugment z ∈
|
| 48 |
-
pairRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) := by
|
| 49 |
-
let Q := (pairRelation (M := (MvPolynomial (Fin 2) k) ⊗[k] T)
|
| 50 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1)).restrictScalars k
|
| 51 |
-
suffices h : Q.mkQ z = Q.mkQ (1 ⊗ₜ[k] polynomialAugment z) by
|
| 52 |
-
exact (Submodule.Quotient.mk_eq_zero Q).mp (by change Q.mkQ (z - 1 ⊗ₜ[k] polynomialAugment z) = 0; rw [map_sub, h, sub_self])
|
| 53 |
-
induction z using TensorProduct.inductionOn with
|
| 54 |
-
| tmul P t =>
|
| 55 |
-
have hX : ∀ (i : Fin 2) (m : (MvPolynomial (Fin 2) k) ⊗[k] T),
|
| 56 |
-
(MvPolynomial.X i : MvPolynomial (Fin 2) k) • m ∈ Q := by
|
| 57 |
-
intro i m
|
| 58 |
-
fin_cases i
|
| 59 |
-
· exact x_smul_mem_pairRelation _ _ m
|
| 60 |
-
· exact y_smul_mem_pairRelation _ _ m
|
| 61 |
-
have hh := originQuotient_polynomial_smul Q hX P (1 ⊗ₜ[k] t)
|
| 62 |
-
rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] at hh
|
| 63 |
-
rw [polynomialAugment_tmul, TensorProduct.tmul_smul, map_smul]
|
| 64 |
-
exact hh
|
| 65 |
-
| add z w hz hw => simp [map_add, TensorProduct.tmul_add, hz, hw]
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
theorem polynomialExtend_jet_bijective (q : N →ₗ[k] T) (L : T →ₗ[k] N)
|
| 70 |
-
(hq : ∀ n, q n = 0 ↔ n ∈ pairRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1))
|
| 71 |
-
(hL : q ∘ₗ L = LinearMap.id)
|
| 72 |
-
(hx : Function.Injective (fun n : N => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n))
|
| 73 |
-
(hy : ∀ v n : N, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 74 |
-
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 75 |
-
∃ w, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) (j : ℕ) :
|
| 76 |
-
Function.Bijective (jetMap (polynomialExtend L) (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j) := by
|
| 77 |
-
have hqL : ∀ t, q (L t) = t := fun t => congrArg (fun f : T →ₗ[k] T => f t) hL
|
| 78 |
-
have hqX : ∀ i n, q ((MvPolynomial.X i : MvPolynomial (Fin 2) k) • n) = 0 := by
|
| 79 |
-
intro i n
|
| 80 |
-
apply (hq _).mpr
|
| 81 |
-
fin_cases i
|
| 82 |
-
· exact x_smul_mem_pairRelation _ _ n
|
| 83 |
-
· exact y_smul_mem_pairRelation _ _ n
|
| 84 |
-
have hqP : ∀ P n, q ((P : MvPolynomial (Fin 2) k) • n) = MvPolynomial.constantCoeff P • q n := by
|
| 85 |
-
intro P n
|
| 86 |
-
induction P using MvPolynomial.induction_on with
|
| 87 |
-
| C a =>
|
| 88 |
-
rw [MvPolynomial.constantCoeff_C]
|
| 89 |
-
change q (algebraMap k (MvPolynomial (Fin 2) k) a • n) = a • q n
|
| 90 |
-
rw [algebraMap_smul, map_smul]
|
| 91 |
-
| add P Q hP hQ => simp only [add_smul, map_add, hP, hQ]
|
| 92 |
-
| mul_X P i _ => rw [mul_comm, mul_smul, hqX]; simp
|
| 93 |
-
have he : ∀ z, q (polynomialExtend L z) = polynomialAugment z := by
|
| 94 |
-
intro z
|
| 95 |
-
induction z using TensorProduct.inductionOn with
|
| 96 |
-
| tmul P t => simp [hqP, hqL]
|
| 97 |
-
| add z w hz hw => simp [hz, hw]
|
| 98 |
-
constructor
|
| 99 |
-
· apply jetMap_injective (polynomialExtend L) _ _ hx hy
|
| 100 |
-
intro z hz
|
| 101 |
-
have hzero : polynomialAugment z = 0 := (he z).symm.trans ((hq _).mpr hz)
|
| 102 |
-
simpa only [hzero, TensorProduct.tmul_zero, sub_zero] using polynomial_origin_representative z
|
| 103 |
-
· apply jetMap_surjective
|
| 104 |
-
intro n
|
| 105 |
-
refine ⟨1 ⊗ₜ[k] q n, (hq _).mp ?_⟩
|
| 106 |
-
simp [hqL]
|
| 107 |
-
end FiberFunctorProof
|
| 108 |
-
|
| 109 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.JetTriviality
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped TensorProduct
|
| 7 |
+
universe u
|
| 8 |
+
variable {k : Type u} [Field k]
|
| 9 |
+
variable {T N : Type u} [AddCommGroup T] [Module k T]
|
| 10 |
+
[AddCommGroup N] [Module k N]
|
| 11 |
+
[Module (MvPolynomial (Fin 2) k) N] [IsScalarTower k (MvPolynomial (Fin 2) k) N]
|
| 12 |
+
|
| 13 |
+
noncomputable def polynomialExtend (L : T →ₗ[k] N) :
|
| 14 |
+
(MvPolynomial (Fin 2) k) ⊗[k] T →ₗ[MvPolynomial (Fin 2) k] N :=
|
| 15 |
+
TensorProduct.AlgebraTensorModule.lift
|
| 16 |
+
(LinearMap.toSpanSingleton (MvPolynomial (Fin 2) k) (T →ₗ[k] N) L)
|
| 17 |
+
|
| 18 |
+
@[simp] lemma polynomialExtend_tmul (L : T →ₗ[k] N)
|
| 19 |
+
(P : MvPolynomial (Fin 2) k) (t : T) :
|
| 20 |
+
polynomialExtend L (P ⊗ₜ[k] t) = P • L t := rfl
|
| 21 |
+
|
| 22 |
+
noncomputable def polynomialAugment : (MvPolynomial (Fin 2) k) ⊗[k] T →ₗ[k] T :=
|
| 23 |
+
(TensorProduct.lid k T).toLinearMap ∘ₗ TensorProduct.map
|
| 24 |
+
({ toFun := MvPolynomial.constantCoeff
|
| 25 |
+
map_add' := map_add _
|
| 26 |
+
map_smul' := MvPolynomial.constantCoeff_smul } : MvPolynomial (Fin 2) k →ₗ[k] k)
|
| 27 |
+
LinearMap.id
|
| 28 |
+
|
| 29 |
+
@[simp] lemma polynomialAugment_tmul (P : MvPolynomial (Fin 2) k) (t : T) :
|
| 30 |
+
polynomialAugment (P ⊗ₜ[k] t) = MvPolynomial.constantCoeff P • t := rfl
|
| 31 |
+
|
| 32 |
+
lemma polynomialAugment_smul (P : MvPolynomial (Fin 2) k)
|
| 33 |
+
(z : (MvPolynomial (Fin 2) k) ⊗[k] T) :
|
| 34 |
+
polynomialAugment (P • z) = MvPolynomial.constantCoeff P • polynomialAugment z := by
|
| 35 |
+
induction z using TensorProduct.inductionOn with
|
| 36 |
+
| tmul Q t => rw [TensorProduct.smul_tmul', polynomialAugment_tmul]; simp [smul_eq_mul, mul_smul]
|
| 37 |
+
| add z w hz hw => simp [smul_add, hz, hw]
|
| 38 |
+
|
| 39 |
+
lemma polynomialAugment_pairRelation
|
| 40 |
+
(z : (MvPolynomial (Fin 2) k) ⊗[k] T)
|
| 41 |
+
(hz : z ∈ pairRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1)) :
|
| 42 |
+
polynomialAugment z = 0 := by
|
| 43 |
+
obtain ⟨a,b,rfl⟩ := (mem_pairRelation _ _ z).mp hz
|
| 44 |
+
simp [polynomialAugment_smul]
|
| 45 |
+
|
| 46 |
+
lemma polynomial_origin_representative (z : (MvPolynomial (Fin 2) k) ⊗[k] T) :
|
| 47 |
+
z - (1 : MvPolynomial (Fin 2) k) ⊗ₜ[k] polynomialAugment z ∈
|
| 48 |
+
pairRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) := by
|
| 49 |
+
let Q := (pairRelation (M := (MvPolynomial (Fin 2) k) ⊗[k] T)
|
| 50 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1)).restrictScalars k
|
| 51 |
+
suffices h : Q.mkQ z = Q.mkQ (1 ⊗ₜ[k] polynomialAugment z) by
|
| 52 |
+
exact (Submodule.Quotient.mk_eq_zero Q).mp (by change Q.mkQ (z - 1 ⊗ₜ[k] polynomialAugment z) = 0; rw [map_sub, h, sub_self])
|
| 53 |
+
induction z using TensorProduct.inductionOn with
|
| 54 |
+
| tmul P t =>
|
| 55 |
+
have hX : ∀ (i : Fin 2) (m : (MvPolynomial (Fin 2) k) ⊗[k] T),
|
| 56 |
+
(MvPolynomial.X i : MvPolynomial (Fin 2) k) • m ∈ Q := by
|
| 57 |
+
intro i m
|
| 58 |
+
fin_cases i
|
| 59 |
+
· exact x_smul_mem_pairRelation _ _ m
|
| 60 |
+
· exact y_smul_mem_pairRelation _ _ m
|
| 61 |
+
have hh := originQuotient_polynomial_smul Q hX P (1 ⊗ₜ[k] t)
|
| 62 |
+
rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] at hh
|
| 63 |
+
rw [polynomialAugment_tmul, TensorProduct.tmul_smul, map_smul]
|
| 64 |
+
exact hh
|
| 65 |
+
| add z w hz hw => simp [map_add, TensorProduct.tmul_add, hz, hw]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
theorem polynomialExtend_jet_bijective (q : N →ₗ[k] T) (L : T →ₗ[k] N)
|
| 70 |
+
(hq : ∀ n, q n = 0 ↔ n ∈ pairRelation (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1))
|
| 71 |
+
(hL : q ∘ₗ L = LinearMap.id)
|
| 72 |
+
(hx : Function.Injective (fun n : N => (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n))
|
| 73 |
+
(hy : ∀ v n : N, (MvPolynomial.X 1 : MvPolynomial (Fin 2) k) • v =
|
| 74 |
+
(MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • n →
|
| 75 |
+
∃ w, v = (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) • w) (j : ℕ) :
|
| 76 |
+
Function.Bijective (jetMap (polynomialExtend L) (MvPolynomial.X 0 : MvPolynomial (Fin 2) k) (MvPolynomial.X 1) j) := by
|
| 77 |
+
have hqL : ∀ t, q (L t) = t := fun t => congrArg (fun f : T →ₗ[k] T => f t) hL
|
| 78 |
+
have hqX : ∀ i n, q ((MvPolynomial.X i : MvPolynomial (Fin 2) k) • n) = 0 := by
|
| 79 |
+
intro i n
|
| 80 |
+
apply (hq _).mpr
|
| 81 |
+
fin_cases i
|
| 82 |
+
· exact x_smul_mem_pairRelation _ _ n
|
| 83 |
+
· exact y_smul_mem_pairRelation _ _ n
|
| 84 |
+
have hqP : ∀ P n, q ((P : MvPolynomial (Fin 2) k) • n) = MvPolynomial.constantCoeff P • q n := by
|
| 85 |
+
intro P n
|
| 86 |
+
induction P using MvPolynomial.induction_on with
|
| 87 |
+
| C a =>
|
| 88 |
+
rw [MvPolynomial.constantCoeff_C]
|
| 89 |
+
change q (algebraMap k (MvPolynomial (Fin 2) k) a • n) = a • q n
|
| 90 |
+
rw [algebraMap_smul, map_smul]
|
| 91 |
+
| add P Q hP hQ => simp only [add_smul, map_add, hP, hQ]
|
| 92 |
+
| mul_X P i _ => rw [mul_comm, mul_smul, hqX]; simp
|
| 93 |
+
have he : ∀ z, q (polynomialExtend L z) = polynomialAugment z := by
|
| 94 |
+
intro z
|
| 95 |
+
induction z using TensorProduct.inductionOn with
|
| 96 |
+
| tmul P t => simp [hqP, hqL]
|
| 97 |
+
| add z w hz hw => simp [hz, hw]
|
| 98 |
+
constructor
|
| 99 |
+
· apply jetMap_injective (polynomialExtend L) _ _ hx hy
|
| 100 |
+
intro z hz
|
| 101 |
+
have hzero : polynomialAugment z = 0 := (he z).symm.trans ((hq _).mpr hz)
|
| 102 |
+
simpa only [hzero, TensorProduct.tmul_zero, sub_zero] using polynomial_origin_representative z
|
| 103 |
+
· apply jetMap_surjective
|
| 104 |
+
intro n
|
| 105 |
+
refine ⟨1 ⊗ₜ[k] q n, (hq _).mp ?_⟩
|
| 106 |
+
simp [hqL]
|
| 107 |
+
end FiberFunctorProof
|
| 108 |
+
|
| 109 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/ProjectiveFactor.lean
CHANGED
|
@@ -1,46 +1,46 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory CategoryTheory.Limits
|
| 7 |
-
open scoped ZeroObject
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
def FactorsThroughProjective {C : Type*} [Category* C] {X Y : C} (f : X ⟶ Y) : Prop :=
|
| 11 |
-
∃ P : C, Projective P ∧ ∃ a : X ⟶ P, ∃ b : P ⟶ Y, a ≫ b = f
|
| 12 |
-
|
| 13 |
-
variable {k : Type*} [Field k]
|
| 14 |
-
variable {C : Type*} [Category* C] [Preadditive C] [Linear k C]
|
| 15 |
-
variable [HasFiniteBiproducts C] {X Y : C}
|
| 16 |
-
|
| 17 |
-
lemma FactorsThroughProjective.zero : FactorsThroughProjective (0 : X ⟶ Y) := by
|
| 18 |
-
refine ⟨0, (isZero_zero C).projective, 0, 0, ?_⟩
|
| 19 |
-
simp
|
| 20 |
-
|
| 21 |
-
lemma FactorsThroughProjective.add {f g : X ⟶ Y}
|
| 22 |
-
(hf : FactorsThroughProjective f) (hg : FactorsThroughProjective g) :
|
| 23 |
-
FactorsThroughProjective (f+g) := by
|
| 24 |
-
obtain ⟨P,hP,a,b,rfl⟩ := hf
|
| 25 |
-
obtain ⟨Q,hQ,c,d,rfl⟩ := hg
|
| 26 |
-
let : HasBinaryBiproducts C := hasBinaryBiproducts_of_finite_biproducts C
|
| 27 |
-
let := hP
|
| 28 |
-
let := hQ
|
| 29 |
-
exact ⟨P ⊞ Q, inferInstance, biprod.lift a c, biprod.desc b d, by simp⟩
|
| 30 |
-
|
| 31 |
-
omit [HasFiniteBiproducts C] in
|
| 32 |
-
lemma FactorsThroughProjective.smul {f : X ⟶ Y}
|
| 33 |
-
(a : k) (hf : FactorsThroughProjective f) : FactorsThroughProjective (a • f) := by
|
| 34 |
-
obtain ⟨P,hP,b,c,rfl⟩ := hf
|
| 35 |
-
exact ⟨P,hP,a • b,c, by simp⟩
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
def projectiveFactorSubmodule (X Y : C) : Submodule k (X ⟶ Y) where
|
| 40 |
-
carrier := {f | FactorsThroughProjective f}
|
| 41 |
-
zero_mem' := FactorsThroughProjective.zero
|
| 42 |
-
add_mem' := FactorsThroughProjective.add
|
| 43 |
-
smul_mem' := fun a _ h => FactorsThroughProjective.smul a h
|
| 44 |
-
end FiberFunctorProof
|
| 45 |
-
|
| 46 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory CategoryTheory.Limits
|
| 7 |
+
open scoped ZeroObject
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def FactorsThroughProjective {C : Type*} [Category* C] {X Y : C} (f : X ⟶ Y) : Prop :=
|
| 11 |
+
∃ P : C, Projective P ∧ ∃ a : X ⟶ P, ∃ b : P ⟶ Y, a ≫ b = f
|
| 12 |
+
|
| 13 |
+
variable {k : Type*} [Field k]
|
| 14 |
+
variable {C : Type*} [Category* C] [Preadditive C] [Linear k C]
|
| 15 |
+
variable [HasFiniteBiproducts C] {X Y : C}
|
| 16 |
+
|
| 17 |
+
lemma FactorsThroughProjective.zero : FactorsThroughProjective (0 : X ⟶ Y) := by
|
| 18 |
+
refine ⟨0, (isZero_zero C).projective, 0, 0, ?_⟩
|
| 19 |
+
simp
|
| 20 |
+
|
| 21 |
+
lemma FactorsThroughProjective.add {f g : X ⟶ Y}
|
| 22 |
+
(hf : FactorsThroughProjective f) (hg : FactorsThroughProjective g) :
|
| 23 |
+
FactorsThroughProjective (f+g) := by
|
| 24 |
+
obtain ⟨P,hP,a,b,rfl⟩ := hf
|
| 25 |
+
obtain ⟨Q,hQ,c,d,rfl⟩ := hg
|
| 26 |
+
let : HasBinaryBiproducts C := hasBinaryBiproducts_of_finite_biproducts C
|
| 27 |
+
let := hP
|
| 28 |
+
let := hQ
|
| 29 |
+
exact ⟨P ⊞ Q, inferInstance, biprod.lift a c, biprod.desc b d, by simp⟩
|
| 30 |
+
|
| 31 |
+
omit [HasFiniteBiproducts C] in
|
| 32 |
+
lemma FactorsThroughProjective.smul {f : X ⟶ Y}
|
| 33 |
+
(a : k) (hf : FactorsThroughProjective f) : FactorsThroughProjective (a • f) := by
|
| 34 |
+
obtain ⟨P,hP,b,c,rfl⟩ := hf
|
| 35 |
+
exact ⟨P,hP,a • b,c, by simp⟩
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def projectiveFactorSubmodule (X Y : C) : Submodule k (X ⟶ Y) where
|
| 40 |
+
carrier := {f | FactorsThroughProjective f}
|
| 41 |
+
zero_mem' := FactorsThroughProjective.zero
|
| 42 |
+
add_mem' := FactorsThroughProjective.add
|
| 43 |
+
smul_mem' := fun a _ h => FactorsThroughProjective.smul a h
|
| 44 |
+
end FiberFunctorProof
|
| 45 |
+
|
| 46 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/ProjectiveRegular.lean
CHANGED
|
@@ -1,25 +1,25 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory
|
| 7 |
-
universe u v
|
| 8 |
-
variable (k : Type u) [Field k]
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
theorem rep_leftRegular_projective (G : Type v) [Group G] :
|
| 13 |
-
Projective (Rep.leftRegular k G) := by
|
| 14 |
-
let e := Representation.ofMulActionSelfAsModuleEquiv (k := k) (G := G)
|
| 15 |
-
let b := (Module.Basis.singleton (PUnit.{1}) (MonoidAlgebra k G)).map e.symm
|
| 16 |
-
exact (Rep.toModuleMonoidAlgebra (k := k) (G := G)).projective_of_map_projective
|
| 17 |
-
(P := Rep.leftRegular k G) (ModuleCat.projective_of_free b)
|
| 18 |
-
|
| 19 |
-
theorem fdrep_leftRegular_projective (G : Type) [Group G] [Fintype G] :
|
| 20 |
-
Projective (FDRep.of (Representation.leftRegular k G)) := by
|
| 21 |
-
apply (forget₂ (FDRep k G) (Rep k G)).projective_of_map_projective
|
| 22 |
-
exact rep_leftRegular_projective k G
|
| 23 |
-
end FiberFunctorProof
|
| 24 |
-
|
| 25 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory
|
| 7 |
+
universe u v
|
| 8 |
+
variable (k : Type u) [Field k]
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
theorem rep_leftRegular_projective (G : Type v) [Group G] :
|
| 13 |
+
Projective (Rep.leftRegular k G) := by
|
| 14 |
+
let e := Representation.ofMulActionSelfAsModuleEquiv (k := k) (G := G)
|
| 15 |
+
let b := (Module.Basis.singleton (PUnit.{1}) (MonoidAlgebra k G)).map e.symm
|
| 16 |
+
exact (Rep.toModuleMonoidAlgebra (k := k) (G := G)).projective_of_map_projective
|
| 17 |
+
(P := Rep.leftRegular k G) (ModuleCat.projective_of_free b)
|
| 18 |
+
|
| 19 |
+
theorem fdrep_leftRegular_projective (G : Type) [Group G] [Fintype G] :
|
| 20 |
+
Projective (FDRep.of (Representation.leftRegular k G)) := by
|
| 21 |
+
apply (forget₂ (FDRep k G) (Rep k G)).projective_of_map_projective
|
| 22 |
+
exact rep_leftRegular_projective k G
|
| 23 |
+
end FiberFunctorProof
|
| 24 |
+
|
| 25 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RationalHomWeights.lean
CHANGED
|
@@ -1,65 +1,65 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped BigOperators
|
| 7 |
-
universe u
|
| 8 |
-
variable {k : Type u} [Field k] [Infinite k]
|
| 9 |
-
variable {V W : Type u} [AddCommGroup V] [Module k V] [Module.Finite k V]
|
| 10 |
-
[AddCommGroup W] [Module k W] [Module.Finite k W]
|
| 11 |
-
|
| 12 |
-
omit [Infinite k] in
|
| 13 |
-
lemma IsRational.linHom (ρ : Representation k (SL2 k) V)
|
| 14 |
-
(σ : Representation k (SL2 k) W) (hρ : IsRational k ρ) (hσ : IsRational k σ) :
|
| 15 |
-
IsRational k (Representation.linHom ρ σ) := by
|
| 16 |
-
let e := Representation.Equiv.dualTensorHom ρ σ
|
| 17 |
-
exact IsRational.of_surjective k _ _ e.toLinearMap e.toLinearEquiv.surjective
|
| 18 |
-
(fun g x => congrArg (fun t => t x) (e.isIntertwining' g))
|
| 19 |
-
(IsRational.tensor k _ _ (IsRational.dual k ρ hρ) hσ)
|
| 20 |
-
|
| 21 |
-
omit [Infinite k] [Module.Finite k V] [Module.Finite k W] in
|
| 22 |
-
lemma linHom_weight_apply (ρ : Representation k (SL2 k) V)
|
| 23 |
-
(σ : Representation k (SL2 k) W) (n m : ℤ) (f : V →ₗ[k] W) (v : V)
|
| 24 |
-
(hf : ∀ a, (Representation.linHom ρ σ) (diagonalTorus k a) f =
|
| 25 |
-
integerCharacter k n a • f)
|
| 26 |
-
(hv : ∀ a, ρ (diagonalTorus k a) v = integerCharacter k m a • v) :
|
| 27 |
-
∀ a, σ (diagonalTorus k a) (f v) = integerCharacter k (n+m) a • f v := by
|
| 28 |
-
intro a
|
| 29 |
-
have h := congrArg (fun q : V →ₗ[k] W => q (ρ (diagonalTorus k a) v)) (hf a)
|
| 30 |
-
simp only [Representation.linHom_apply, LinearMap.comp_apply] at h
|
| 31 |
-
rw [Representation.inv_self_apply] at h
|
| 32 |
-
have hh : integerCharacter k (n+m) a =
|
| 33 |
-
integerCharacter k n a * integerCharacter k m a := by
|
| 34 |
-
simp [integerCharacter, zpow_add]
|
| 35 |
-
simpa only [LinearMap.smul_apply, hv, map_smul, smul_smul, hh, mul_comm] using h
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
omit [Module.Finite k W] in
|
| 39 |
-
lemma hasWeightsBetween_linHom (ρ : Representation k (SL2 k) V)
|
| 40 |
-
(σ : Representation k (SL2 k) W) (hρ : IsRational k ρ) (a b : ℕ)
|
| 41 |
-
(hA : HasWeightsBetween ρ (-(a : ℤ)) a)
|
| 42 |
-
(hB : HasWeightsBetween σ (-(b : ℤ)) b) :
|
| 43 |
-
HasWeightsBetween (Representation.linHom ρ σ) (-(a+b : ℤ)) (a+b) := by
|
| 44 |
-
intro n f hn hf
|
| 45 |
-
have hvanish (m : ℤ) (v : V)
|
| 46 |
-
(hv : ∀ t, ρ (diagonalTorus k t) v = integerCharacter k m t • v) : f v = 0 := by
|
| 47 |
-
by_cases hz : v = 0
|
| 48 |
-
· simp [hz]
|
| 49 |
-
have hm : -(a : ℤ) ≤ m ∧ m ≤ a := by
|
| 50 |
-
constructor <;> by_contra hh <;> apply hz
|
| 51 |
-
· exact hA m v (Or.inl (by omega)) hv
|
| 52 |
-
· exact hA m v (Or.inr (by omega)) hv
|
| 53 |
-
apply hB (n+m) (f v) (by omega)
|
| 54 |
-
exact linHom_weight_apply ρ σ n m f v hf hv
|
| 55 |
-
ext v
|
| 56 |
-
obtain ⟨c,hc⟩ := rational_torus_integerExpansions k ρ hρ v
|
| 57 |
-
have hs : v = ∑ n ∈ c.support, c n := by
|
| 58 |
-
simpa [Finsupp.sum, integerCharacter] using hc 1
|
| 59 |
-
rw [hs, map_sum]
|
| 60 |
-
apply Finset.sum_eq_zero
|
| 61 |
-
intro m hm
|
| 62 |
-
exact hvanish m (c m) (integer_coefficient_eigen k ρ v c hc m)
|
| 63 |
-
end FiberFunctorProof
|
| 64 |
-
|
| 65 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped BigOperators
|
| 7 |
+
universe u
|
| 8 |
+
variable {k : Type u} [Field k] [Infinite k]
|
| 9 |
+
variable {V W : Type u} [AddCommGroup V] [Module k V] [Module.Finite k V]
|
| 10 |
+
[AddCommGroup W] [Module k W] [Module.Finite k W]
|
| 11 |
+
|
| 12 |
+
omit [Infinite k] in
|
| 13 |
+
lemma IsRational.linHom (ρ : Representation k (SL2 k) V)
|
| 14 |
+
(σ : Representation k (SL2 k) W) (hρ : IsRational k ρ) (hσ : IsRational k σ) :
|
| 15 |
+
IsRational k (Representation.linHom ρ σ) := by
|
| 16 |
+
let e := Representation.Equiv.dualTensorHom ρ σ
|
| 17 |
+
exact IsRational.of_surjective k _ _ e.toLinearMap e.toLinearEquiv.surjective
|
| 18 |
+
(fun g x => congrArg (fun t => t x) (e.isIntertwining' g))
|
| 19 |
+
(IsRational.tensor k _ _ (IsRational.dual k ρ hρ) hσ)
|
| 20 |
+
|
| 21 |
+
omit [Infinite k] [Module.Finite k V] [Module.Finite k W] in
|
| 22 |
+
lemma linHom_weight_apply (ρ : Representation k (SL2 k) V)
|
| 23 |
+
(σ : Representation k (SL2 k) W) (n m : ℤ) (f : V →ₗ[k] W) (v : V)
|
| 24 |
+
(hf : ∀ a, (Representation.linHom ρ σ) (diagonalTorus k a) f =
|
| 25 |
+
integerCharacter k n a • f)
|
| 26 |
+
(hv : ∀ a, ρ (diagonalTorus k a) v = integerCharacter k m a • v) :
|
| 27 |
+
∀ a, σ (diagonalTorus k a) (f v) = integerCharacter k (n+m) a • f v := by
|
| 28 |
+
intro a
|
| 29 |
+
have h := congrArg (fun q : V →ₗ[k] W => q (ρ (diagonalTorus k a) v)) (hf a)
|
| 30 |
+
simp only [Representation.linHom_apply, LinearMap.comp_apply] at h
|
| 31 |
+
rw [Representation.inv_self_apply] at h
|
| 32 |
+
have hh : integerCharacter k (n+m) a =
|
| 33 |
+
integerCharacter k n a * integerCharacter k m a := by
|
| 34 |
+
simp [integerCharacter, zpow_add]
|
| 35 |
+
simpa only [LinearMap.smul_apply, hv, map_smul, smul_smul, hh, mul_comm] using h
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
omit [Module.Finite k W] in
|
| 39 |
+
lemma hasWeightsBetween_linHom (ρ : Representation k (SL2 k) V)
|
| 40 |
+
(σ : Representation k (SL2 k) W) (hρ : IsRational k ρ) (a b : ℕ)
|
| 41 |
+
(hA : HasWeightsBetween ρ (-(a : ℤ)) a)
|
| 42 |
+
(hB : HasWeightsBetween σ (-(b : ℤ)) b) :
|
| 43 |
+
HasWeightsBetween (Representation.linHom ρ σ) (-(a+b : ℤ)) (a+b) := by
|
| 44 |
+
intro n f hn hf
|
| 45 |
+
have hvanish (m : ℤ) (v : V)
|
| 46 |
+
(hv : ∀ t, ρ (diagonalTorus k t) v = integerCharacter k m t • v) : f v = 0 := by
|
| 47 |
+
by_cases hz : v = 0
|
| 48 |
+
· simp [hz]
|
| 49 |
+
have hm : -(a : ℤ) ≤ m ∧ m ≤ a := by
|
| 50 |
+
constructor <;> by_contra hh <;> apply hz
|
| 51 |
+
· exact hA m v (Or.inl (by omega)) hv
|
| 52 |
+
· exact hA m v (Or.inr (by omega)) hv
|
| 53 |
+
apply hB (n+m) (f v) (by omega)
|
| 54 |
+
exact linHom_weight_apply ρ σ n m f v hf hv
|
| 55 |
+
ext v
|
| 56 |
+
obtain ⟨c,hc⟩ := rational_torus_integerExpansions k ρ hρ v
|
| 57 |
+
have hs : v = ∑ n ∈ c.support, c n := by
|
| 58 |
+
simpa [Finsupp.sum, integerCharacter] using hc 1
|
| 59 |
+
rw [hs, map_sum]
|
| 60 |
+
apply Finset.sum_eq_zero
|
| 61 |
+
intro m hm
|
| 62 |
+
exact hvanish m (c m) (integer_coefficient_eigen k ρ v c hc m)
|
| 63 |
+
end FiberFunctorProof
|
| 64 |
+
|
| 65 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RationalMatrices.lean
CHANGED
|
@@ -1,79 +1,79 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open scoped LaurentPolynomial BigOperators
|
| 7 |
-
universe u
|
| 8 |
-
variable (k : Type u) [Field k]
|
| 9 |
-
variable {ι : Type u} [Fintype ι] [DecidableEq ι]
|
| 10 |
-
variable (ρ : Representation k (SL2 k) (ι → k)) (hρ : IsRational k ρ)
|
| 11 |
-
|
| 12 |
-
noncomputable def rationalCoefficient (i j : ι) : MvPolynomial (Fin 2 × Fin 2) k :=
|
| 13 |
-
(hρ (Pi.single j 1) (LinearMap.proj i)).choose
|
| 14 |
-
|
| 15 |
-
lemma eval_rationalCoefficient (g : SL2 k) (i j : ι) :
|
| 16 |
-
MvPolynomial.eval (fun ij => g ij.1 ij.2) (rationalCoefficient k ρ hρ i j) =
|
| 17 |
-
LinearMap.toMatrix' (ρ g) i j := by
|
| 18 |
-
exact ((hρ (Pi.single j 1) (LinearMap.proj i)).choose_spec g).symm
|
| 19 |
-
|
| 20 |
-
noncomputable def unipotentPolynomialCoordinates (ij : Fin 2 × Fin 2) : Polynomial k :=
|
| 21 |
-
if ij.1 = ij.2 then 1 else if ij = (0,1) then Polynomial.X else 0
|
| 22 |
-
|
| 23 |
-
noncomputable def torusLaurentCoordinates (ij : Fin 2 × Fin 2) : LaurentPolynomial k :=
|
| 24 |
-
if ij = (0,0) then LaurentPolynomial.T 1 else
|
| 25 |
-
if ij = (1,1) then LaurentPolynomial.T (-1) else 0
|
| 26 |
-
|
| 27 |
-
noncomputable def rationalUnipotentMatrix : Matrix ι ι (Polynomial k) := fun i j =>
|
| 28 |
-
MvPolynomial.eval₂ Polynomial.C (unipotentPolynomialCoordinates k)
|
| 29 |
-
(rationalCoefficient k ρ hρ i j)
|
| 30 |
-
|
| 31 |
-
noncomputable def rationalTorusMatrix : Matrix ι ι (LaurentPolynomial k) := fun i j =>
|
| 32 |
-
MvPolynomial.eval₂ LaurentPolynomial.C (torusLaurentCoordinates k)
|
| 33 |
-
(rationalCoefficient k ρ hρ i j)
|
| 34 |
-
|
| 35 |
-
lemma eval_unipotentPolynomialCoordinates (t : k) (ij : Fin 2 × Fin 2) :
|
| 36 |
-
(unipotentPolynomialCoordinates k ij).eval t = unipotent k t ij.1 ij.2 := by
|
| 37 |
-
obtain ⟨i,j⟩ := ij
|
| 38 |
-
fin_cases i <;> fin_cases j <;> simp [unipotentPolynomialCoordinates, unipotent]
|
| 39 |
-
|
| 40 |
-
lemma eval_torusLaurentCoordinates (a : kˣ) (ij : Fin 2 × Fin 2) :
|
| 41 |
-
LaurentPolynomial.eval₂ (RingHom.id k) a (torusLaurentCoordinates k ij) =
|
| 42 |
-
diagonalTorus k a ij.1 ij.2 := by
|
| 43 |
-
change _ = (!![(a : k), 0; 0, (↑a⁻¹ : k)] : Matrix (Fin 2) (Fin 2) k) ij.1 ij.2
|
| 44 |
-
obtain ⟨i,j⟩ := ij
|
| 45 |
-
fin_cases i <;> fin_cases j <;>
|
| 46 |
-
simp [torusLaurentCoordinates, LaurentPolynomial.eval₂_T]
|
| 47 |
-
|
| 48 |
-
lemma eval_rationalUnipotentMatrix (t : k) :
|
| 49 |
-
(rationalUnipotentMatrix k ρ hρ).map (Polynomial.evalRingHom t) =
|
| 50 |
-
LinearMap.toMatrix' (ρ (unipotent k t)) := by
|
| 51 |
-
ext i j
|
| 52 |
-
change Polynomial.eval t (MvPolynomial.eval₂ _ _ _) = _
|
| 53 |
-
have hcomp : (Polynomial.evalRingHom t).comp
|
| 54 |
-
(MvPolynomial.eval₂Hom Polynomial.C (unipotentPolynomialCoordinates k)) =
|
| 55 |
-
MvPolynomial.eval (fun ij => unipotent k t ij.1 ij.2) := by
|
| 56 |
-
apply MvPolynomial.ringHom_ext
|
| 57 |
-
· intro c; simp
|
| 58 |
-
· intro ij; simpa using eval_unipotentPolynomialCoordinates k t ij
|
| 59 |
-
have he := congrArg (fun f : MvPolynomial (Fin 2 × Fin 2) k →+* k =>
|
| 60 |
-
f (rationalCoefficient k ρ hρ i j)) hcomp
|
| 61 |
-
exact he.trans (eval_rationalCoefficient k ρ hρ _ i j)
|
| 62 |
-
|
| 63 |
-
lemma eval_rationalTorusMatrix (a : kˣ) :
|
| 64 |
-
(rationalTorusMatrix k ρ hρ).map (LaurentPolynomial.eval₂ (RingHom.id k) a) =
|
| 65 |
-
LinearMap.toMatrix' (ρ (diagonalTorus k a)) := by
|
| 66 |
-
ext i j
|
| 67 |
-
change LaurentPolynomial.eval₂ (RingHom.id k) a (MvPolynomial.eval₂ _ _ _) = _
|
| 68 |
-
have hcomp : (LaurentPolynomial.eval₂ (RingHom.id k) a).comp
|
| 69 |
-
(MvPolynomial.eval₂Hom LaurentPolynomial.C (torusLaurentCoordinates k)) =
|
| 70 |
-
MvPolynomial.eval (fun ij => diagonalTorus k a ij.1 ij.2) := by
|
| 71 |
-
apply MvPolynomial.ringHom_ext
|
| 72 |
-
· intro c; simp [LaurentPolynomial.eval₂_C]
|
| 73 |
-
· intro ij; simpa using eval_torusLaurentCoordinates k a ij
|
| 74 |
-
have he := congrArg (fun f : MvPolynomial (Fin 2 × Fin 2) k →+* k =>
|
| 75 |
-
f (rationalCoefficient k ρ hρ i j)) hcomp
|
| 76 |
-
exact he.trans (eval_rationalCoefficient k ρ hρ _ i j)
|
| 77 |
-
end FiberFunctorProof
|
| 78 |
-
|
| 79 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.Basic
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open scoped LaurentPolynomial BigOperators
|
| 7 |
+
universe u
|
| 8 |
+
variable (k : Type u) [Field k]
|
| 9 |
+
variable {ι : Type u} [Fintype ι] [DecidableEq ι]
|
| 10 |
+
variable (ρ : Representation k (SL2 k) (ι → k)) (hρ : IsRational k ρ)
|
| 11 |
+
|
| 12 |
+
noncomputable def rationalCoefficient (i j : ι) : MvPolynomial (Fin 2 × Fin 2) k :=
|
| 13 |
+
(hρ (Pi.single j 1) (LinearMap.proj i)).choose
|
| 14 |
+
|
| 15 |
+
lemma eval_rationalCoefficient (g : SL2 k) (i j : ι) :
|
| 16 |
+
MvPolynomial.eval (fun ij => g ij.1 ij.2) (rationalCoefficient k ρ hρ i j) =
|
| 17 |
+
LinearMap.toMatrix' (ρ g) i j := by
|
| 18 |
+
exact ((hρ (Pi.single j 1) (LinearMap.proj i)).choose_spec g).symm
|
| 19 |
+
|
| 20 |
+
noncomputable def unipotentPolynomialCoordinates (ij : Fin 2 × Fin 2) : Polynomial k :=
|
| 21 |
+
if ij.1 = ij.2 then 1 else if ij = (0,1) then Polynomial.X else 0
|
| 22 |
+
|
| 23 |
+
noncomputable def torusLaurentCoordinates (ij : Fin 2 × Fin 2) : LaurentPolynomial k :=
|
| 24 |
+
if ij = (0,0) then LaurentPolynomial.T 1 else
|
| 25 |
+
if ij = (1,1) then LaurentPolynomial.T (-1) else 0
|
| 26 |
+
|
| 27 |
+
noncomputable def rationalUnipotentMatrix : Matrix ι ι (Polynomial k) := fun i j =>
|
| 28 |
+
MvPolynomial.eval₂ Polynomial.C (unipotentPolynomialCoordinates k)
|
| 29 |
+
(rationalCoefficient k ρ hρ i j)
|
| 30 |
+
|
| 31 |
+
noncomputable def rationalTorusMatrix : Matrix ι ι (LaurentPolynomial k) := fun i j =>
|
| 32 |
+
MvPolynomial.eval₂ LaurentPolynomial.C (torusLaurentCoordinates k)
|
| 33 |
+
(rationalCoefficient k ρ hρ i j)
|
| 34 |
+
|
| 35 |
+
lemma eval_unipotentPolynomialCoordinates (t : k) (ij : Fin 2 × Fin 2) :
|
| 36 |
+
(unipotentPolynomialCoordinates k ij).eval t = unipotent k t ij.1 ij.2 := by
|
| 37 |
+
obtain ⟨i,j⟩ := ij
|
| 38 |
+
fin_cases i <;> fin_cases j <;> simp [unipotentPolynomialCoordinates, unipotent]
|
| 39 |
+
|
| 40 |
+
lemma eval_torusLaurentCoordinates (a : kˣ) (ij : Fin 2 × Fin 2) :
|
| 41 |
+
LaurentPolynomial.eval₂ (RingHom.id k) a (torusLaurentCoordinates k ij) =
|
| 42 |
+
diagonalTorus k a ij.1 ij.2 := by
|
| 43 |
+
change _ = (!![(a : k), 0; 0, (↑a⁻¹ : k)] : Matrix (Fin 2) (Fin 2) k) ij.1 ij.2
|
| 44 |
+
obtain ⟨i,j⟩ := ij
|
| 45 |
+
fin_cases i <;> fin_cases j <;>
|
| 46 |
+
simp [torusLaurentCoordinates, LaurentPolynomial.eval₂_T]
|
| 47 |
+
|
| 48 |
+
lemma eval_rationalUnipotentMatrix (t : k) :
|
| 49 |
+
(rationalUnipotentMatrix k ρ hρ).map (Polynomial.evalRingHom t) =
|
| 50 |
+
LinearMap.toMatrix' (ρ (unipotent k t)) := by
|
| 51 |
+
ext i j
|
| 52 |
+
change Polynomial.eval t (MvPolynomial.eval₂ _ _ _) = _
|
| 53 |
+
have hcomp : (Polynomial.evalRingHom t).comp
|
| 54 |
+
(MvPolynomial.eval₂Hom Polynomial.C (unipotentPolynomialCoordinates k)) =
|
| 55 |
+
MvPolynomial.eval (fun ij => unipotent k t ij.1 ij.2) := by
|
| 56 |
+
apply MvPolynomial.ringHom_ext
|
| 57 |
+
· intro c; simp
|
| 58 |
+
· intro ij; simpa using eval_unipotentPolynomialCoordinates k t ij
|
| 59 |
+
have he := congrArg (fun f : MvPolynomial (Fin 2 × Fin 2) k →+* k =>
|
| 60 |
+
f (rationalCoefficient k ρ hρ i j)) hcomp
|
| 61 |
+
exact he.trans (eval_rationalCoefficient k ρ hρ _ i j)
|
| 62 |
+
|
| 63 |
+
lemma eval_rationalTorusMatrix (a : kˣ) :
|
| 64 |
+
(rationalTorusMatrix k ρ hρ).map (LaurentPolynomial.eval₂ (RingHom.id k) a) =
|
| 65 |
+
LinearMap.toMatrix' (ρ (diagonalTorus k a)) := by
|
| 66 |
+
ext i j
|
| 67 |
+
change LaurentPolynomial.eval₂ (RingHom.id k) a (MvPolynomial.eval₂ _ _ _) = _
|
| 68 |
+
have hcomp : (LaurentPolynomial.eval₂ (RingHom.id k) a).comp
|
| 69 |
+
(MvPolynomial.eval₂Hom LaurentPolynomial.C (torusLaurentCoordinates k)) =
|
| 70 |
+
MvPolynomial.eval (fun ij => diagonalTorus k a ij.1 ij.2) := by
|
| 71 |
+
apply MvPolynomial.ringHom_ext
|
| 72 |
+
· intro c; simp [LaurentPolynomial.eval₂_C]
|
| 73 |
+
· intro ij; simpa using eval_torusLaurentCoordinates k a ij
|
| 74 |
+
have he := congrArg (fun f : MvPolynomial (Fin 2 × Fin 2) k →+* k =>
|
| 75 |
+
f (rationalCoefficient k ρ hρ i j)) hcomp
|
| 76 |
+
exact he.trans (eval_rationalCoefficient k ρ hρ _ i j)
|
| 77 |
+
end FiberFunctorProof
|
| 78 |
+
|
| 79 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RegularActions.lean
CHANGED
|
@@ -1,311 +1,311 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.DualSplitting
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Polynomial coordinate representations and associated sections. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
universe u
|
| 15 |
-
variable (k : Type u) [Field k]
|
| 16 |
-
open scoped Matrix Kronecker
|
| 17 |
-
|
| 18 |
-
noncomputable def leftCoordinateMatrix : SL2 k →* Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) k where
|
| 19 |
-
toFun g := (dualMatrix k g) ⊗ₖ (1 : Matrix (Fin 2) (Fin 2) k)
|
| 20 |
-
map_one' := by rw [map_one, Matrix.one_kronecker_one]
|
| 21 |
-
map_mul' g h := by rw [map_mul, ← Matrix.mul_kronecker_mul, one_mul]
|
| 22 |
-
|
| 23 |
-
noncomputable def coordinatePolynomialRepresentation :
|
| 24 |
-
Representation k (SL2 k) (MvPolynomial (Fin 2 × Fin 2) k) where
|
| 25 |
-
toFun g := (linearChange (leftCoordinateMatrix k g)).toLinearMap
|
| 26 |
-
map_one' := by rw [map_one, linearChange_one]; rfl
|
| 27 |
-
map_mul' g h := by rw [map_mul, linearChange_mul]; rfl
|
| 28 |
-
|
| 29 |
-
lemma coordinatePolynomial_rational : IsRational k (coordinatePolynomialRepresentation k) := by
|
| 30 |
-
intro v l
|
| 31 |
-
apply regular_linearChange_coeff k
|
| 32 |
-
(fun g : SL2 k => fun ij : Fin 2 × Fin 2 => g ij.1 ij.2)
|
| 33 |
-
(leftCoordinateMatrix k) _ v l
|
| 34 |
-
intro a b
|
| 35 |
-
refine ⟨inverseCoordinatePolynomial k (b.1,a.1) *
|
| 36 |
-
MvPolynomial.C ((1 : Matrix (Fin 2) (Fin 2) k) a.2 b.2), fun g => ?_⟩
|
| 37 |
-
change (g⁻¹ : SL2 k) b.1 a.1 * (1 : Matrix (Fin 2) (Fin 2) k) a.2 b.2 = _
|
| 38 |
-
rw [MvPolynomial.eval_mul, MvPolynomial.eval_C, eval_inverseCoordinatePolynomial]
|
| 39 |
-
|
| 40 |
-
noncomputable def coordinateEvaluation :
|
| 41 |
-
MvPolynomial (Fin 2 × Fin 2) k →ₐ[k] (SL2 k → k) :=
|
| 42 |
-
MvPolynomial.aeval (fun ij => fun g : SL2 k => g ij.1 ij.2)
|
| 43 |
-
|
| 44 |
-
lemma coordinateEvaluation_apply (P : MvPolynomial (Fin 2 × Fin 2) k) (g : SL2 k) :
|
| 45 |
-
coordinateEvaluation k P g = MvPolynomial.eval (fun ij => g ij.1 ij.2) P := by
|
| 46 |
-
induction P using MvPolynomial.induction_on with
|
| 47 |
-
| C c => simp [coordinateEvaluation]
|
| 48 |
-
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 49 |
-
| mul_X P i hp =>
|
| 50 |
-
simp only [map_mul, Pi.mul_apply, hp]
|
| 51 |
-
congr 1
|
| 52 |
-
simp [coordinateEvaluation]
|
| 53 |
-
|
| 54 |
-
lemma coordinatePolynomial_evaluation (g h : SL2 k)
|
| 55 |
-
(P : MvPolynomial (Fin 2 × Fin 2) k) :
|
| 56 |
-
coordinateEvaluation k (coordinatePolynomialRepresentation k g P) h =
|
| 57 |
-
coordinateEvaluation k P (g⁻¹ * h) := by
|
| 58 |
-
rw [coordinateEvaluation_apply, coordinateEvaluation_apply]
|
| 59 |
-
change MvPolynomial.eval _ (linearChange (leftCoordinateMatrix k g) P) = _
|
| 60 |
-
rw [eval_linearChange]
|
| 61 |
-
apply congrArg (fun z => MvPolynomial.eval z P)
|
| 62 |
-
funext i
|
| 63 |
-
change (∑ j : Fin 2 × Fin 2, (g⁻¹ : SL2 k) i.1 j.1 *
|
| 64 |
-
(1 : Matrix (Fin 2) (Fin 2) k) j.2 i.2 * h j.1 j.2) = _
|
| 65 |
-
simp [Fintype.sum_prod_type, Matrix.one_apply, Matrix.mul_apply]
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
noncomputable def regularSL2Functions : Subalgebra k (SL2 k → k) :=
|
| 70 |
-
(coordinateEvaluation k).range
|
| 71 |
-
|
| 72 |
-
noncomputable def regularSL2Representation :
|
| 73 |
-
Representation k (SL2 k) (regularSL2Functions k) where
|
| 74 |
-
toFun g :=
|
| 75 |
-
{ toFun := fun f => ⟨fun h => f.val (g⁻¹ * h), by
|
| 76 |
-
obtain ⟨P,hP⟩ := f.property
|
| 77 |
-
refine ⟨coordinatePolynomialRepresentation k g P, ?_⟩
|
| 78 |
-
ext h
|
| 79 |
-
change coordinateEvaluation k (coordinatePolynomialRepresentation k g P) h = _
|
| 80 |
-
rw [coordinatePolynomial_evaluation]
|
| 81 |
-
exact congrArg (fun f : SL2 k → k => f (g⁻¹ * h)) hP⟩
|
| 82 |
-
map_add' := by intro f f'; rfl
|
| 83 |
-
map_smul' := by intro a f; rfl }
|
| 84 |
-
map_one' := by ext f h; simp
|
| 85 |
-
map_mul' := by intro g h; ext f a; simp [mul_assoc]
|
| 86 |
-
|
| 87 |
-
noncomputable def coordinateToRegular :
|
| 88 |
-
MvPolynomial (Fin 2 × Fin 2) k →ₗ[k] regularSL2Functions k :=
|
| 89 |
-
(coordinateEvaluation k).rangeRestrict.toLinearMap
|
| 90 |
-
|
| 91 |
-
lemma coordinateToRegular_surjective : Function.Surjective (coordinateToRegular k) := by
|
| 92 |
-
intro f
|
| 93 |
-
obtain ⟨P,hP⟩ := f.property
|
| 94 |
-
exact ⟨P, Subtype.ext hP⟩
|
| 95 |
-
|
| 96 |
-
lemma regularSL2_rational : IsRational k (regularSL2Representation k) := by
|
| 97 |
-
apply IsRational.of_surjective k (coordinatePolynomialRepresentation k)
|
| 98 |
-
(regularSL2Representation k) (coordinateToRegular k) (coordinateToRegular_surjective k)
|
| 99 |
-
_ (coordinatePolynomial_rational k)
|
| 100 |
-
intro g P
|
| 101 |
-
apply Subtype.ext
|
| 102 |
-
funext h
|
| 103 |
-
exact coordinatePolynomial_evaluation k g h P
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
noncomputable def regularVectorRepresentation (ι : Type u) :
|
| 108 |
-
Representation k (SL2 k) (ι → regularSL2Functions k) where
|
| 109 |
-
toFun g :=
|
| 110 |
-
{ toFun := fun f i => regularSL2Representation k g (f i)
|
| 111 |
-
map_add' := by intro f f'; funext i; exact map_add (regularSL2Representation k g) _ _
|
| 112 |
-
map_smul' := by intro a f; funext i; exact map_smul (regularSL2Representation k g) _ _ }
|
| 113 |
-
map_one' := by
|
| 114 |
-
apply LinearMap.ext
|
| 115 |
-
intro f
|
| 116 |
-
funext i
|
| 117 |
-
exact congrArg (fun a : Module.End k (regularSL2Functions k) => a (f i))
|
| 118 |
-
(map_one (regularSL2Representation k))
|
| 119 |
-
map_mul' := by
|
| 120 |
-
intro g h
|
| 121 |
-
apply LinearMap.ext
|
| 122 |
-
intro f
|
| 123 |
-
funext i
|
| 124 |
-
exact congrArg (fun a : Module.End k (regularSL2Functions k) => a (f i))
|
| 125 |
-
(map_mul (regularSL2Representation k) g h)
|
| 126 |
-
|
| 127 |
-
lemma regularVector_rational (ι : Type u) [Fintype ι] [DecidableEq ι] :
|
| 128 |
-
IsRational k (regularVectorRepresentation k ι) := by
|
| 129 |
-
intro v l
|
| 130 |
-
let ei (i : ι) : regularSL2Functions k →ₗ[k] (ι → regularSL2Functions k) :=
|
| 131 |
-
LinearMap.single k (fun _ : ι => regularSL2Functions k) i
|
| 132 |
-
have hsum (w : ι → regularSL2Functions k) : ∑ i, ei i (w i) = w := by
|
| 133 |
-
ext i
|
| 134 |
-
simp [ei]
|
| 135 |
-
choose P hP using fun i => regularSL2_rational k (v i) (l.comp (ei i))
|
| 136 |
-
refine ⟨∑ i, P i, fun g => ?_⟩
|
| 137 |
-
rw [← hsum (regularVectorRepresentation k ι g v), map_sum, MvPolynomial.eval_sum]
|
| 138 |
-
apply Finset.sum_congr rfl
|
| 139 |
-
intro i _
|
| 140 |
-
exact hP i g
|
| 141 |
-
|
| 142 |
-
end
|
| 143 |
-
|
| 144 |
-
universe u
|
| 145 |
-
variable (k : Type u) [Field k]
|
| 146 |
-
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 147 |
-
|
| 148 |
-
noncomputable def regularVectorEvaluation (g : SL2 k) :
|
| 149 |
-
(ι → regularSL2Functions k) →ₗ[k] (ι → k) where
|
| 150 |
-
toFun f i := (f i).val g
|
| 151 |
-
map_add' := by intro f h; rfl
|
| 152 |
-
map_smul' := by intro a f; rfl
|
| 153 |
-
|
| 154 |
-
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
noncomputable def associatedSectionsSubmodule :
|
| 159 |
-
Submodule k (ι → regularSL2Functions k) where
|
| 160 |
-
carrier := {f | ∀ (g : SL2 k) (t : k),
|
| 161 |
-
regularVectorEvaluation k ι (g * unipotent k t) f =
|
| 162 |
-
ρ (Multiplicative.ofAdd (-t)) (regularVectorEvaluation k ι g f)}
|
| 163 |
-
zero_mem' := by intro g t; simp
|
| 164 |
-
add_mem' := by
|
| 165 |
-
intro f h hf hh g t
|
| 166 |
-
rw [map_add, hf, hh, map_add, map_add]
|
| 167 |
-
smul_mem' := by
|
| 168 |
-
intro a f hf g t
|
| 169 |
-
rw [map_smul, hf, map_smul, map_smul]
|
| 170 |
-
|
| 171 |
-
noncomputable def associatedSectionsSubrepresentation :
|
| 172 |
-
Subrepresentation (regularVectorRepresentation k ι) where
|
| 173 |
-
toSubmodule := associatedSectionsSubmodule k ι ρ
|
| 174 |
-
apply_mem_toSubmodule g f hf := by
|
| 175 |
-
intro h t
|
| 176 |
-
change regularVectorEvaluation k ι (g⁻¹ * (h * unipotent k t)) f =
|
| 177 |
-
ρ (Multiplicative.ofAdd (-t)) (regularVectorEvaluation k ι (g⁻¹ * h) f)
|
| 178 |
-
rw [← mul_assoc]
|
| 179 |
-
exact hf (g⁻¹ * h) t
|
| 180 |
-
|
| 181 |
-
noncomputable def associatedSectionsRepresentation :
|
| 182 |
-
Representation k (SL2 k) (associatedSectionsSubmodule k ι ρ) :=
|
| 183 |
-
(associatedSectionsSubrepresentation k ι ρ).toRepresentation
|
| 184 |
-
|
| 185 |
-
lemma associatedSections_rational : IsRational k
|
| 186 |
-
(M := associatedSectionsSubmodule k ι ρ) (associatedSectionsRepresentation k ι ρ) := by
|
| 187 |
-
exact IsRational.of_injective k (M := associatedSectionsSubmodule k ι ρ)
|
| 188 |
-
(N := ι → regularSL2Functions k) (associatedSectionsRepresentation k ι ρ)
|
| 189 |
-
(regularVectorRepresentation k ι) (associatedSectionsSubmodule k ι ρ).subtype
|
| 190 |
-
(associatedSectionsSubmodule k ι ρ).injective_subtype (fun _ _ => rfl)
|
| 191 |
-
(regularVector_rational k ι)
|
| 192 |
-
|
| 193 |
-
noncomputable def regularFirstColumn (i : Fin 2) : regularSL2Functions k :=
|
| 194 |
-
coordinateToRegular k (MvPolynomial.X (i,0))
|
| 195 |
-
|
| 196 |
-
lemma regularFirstColumn_apply (i : Fin 2) (g : SL2 k) :
|
| 197 |
-
(regularFirstColumn k i).val g = g i 0 := by
|
| 198 |
-
change coordinateEvaluation k (MvPolynomial.X (i,0)) g = _
|
| 199 |
-
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 200 |
-
|
| 201 |
-
lemma firstColumn_unipotent_mul (g : SL2 k) (t : k) (i : Fin 2) :
|
| 202 |
-
(g * unipotent k t) i 0 = g i 0 := by
|
| 203 |
-
change (((g : Matrix (Fin 2) (Fin 2) k) *
|
| 204 |
-
(unipotent k t : Matrix (Fin 2) (Fin 2) k)) i 0) = _
|
| 205 |
-
simp [Matrix.mul_apply, Fin.sum_univ_two, unipotent]
|
| 206 |
-
|
| 207 |
-
noncomputable def regularVectorCoordinateMul (i : Fin 2) :
|
| 208 |
-
(ι → regularSL2Functions k) →ₗ[k] (ι → regularSL2Functions k) where
|
| 209 |
-
toFun f j := regularFirstColumn k i * f j
|
| 210 |
-
map_add' := by intro f h; funext j; exact mul_add _ _ _
|
| 211 |
-
map_smul' := by intro a f; funext j; exact mul_smul_comm a (regularFirstColumn k i) (f j)
|
| 212 |
-
|
| 213 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 214 |
-
lemma regularVectorCoordinateMul_evaluation (i : Fin 2)
|
| 215 |
-
(f : ι → regularSL2Functions k) (g : SL2 k) :
|
| 216 |
-
regularVectorEvaluation k ι g (regularVectorCoordinateMul k ι i f) =
|
| 217 |
-
g i 0 • regularVectorEvaluation k ι g f := by
|
| 218 |
-
funext j
|
| 219 |
-
change (regularFirstColumn k i).val g * (f j).val g = _
|
| 220 |
-
rw [regularFirstColumn_apply]
|
| 221 |
-
rfl
|
| 222 |
-
|
| 223 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 224 |
-
lemma associatedSections_coordinate_mul_mem (i : Fin 2)
|
| 225 |
-
(f : ι → regularSL2Functions k) (hf : f ∈ associatedSectionsSubmodule k ι ρ) :
|
| 226 |
-
regularVectorCoordinateMul k ι i f ∈ associatedSectionsSubmodule k ι ρ := by
|
| 227 |
-
intro g t
|
| 228 |
-
rw [regularVectorCoordinateMul_evaluation, regularVectorCoordinateMul_evaluation,
|
| 229 |
-
firstColumn_unipotent_mul, hf, map_smul]
|
| 230 |
-
|
| 231 |
-
noncomputable def associatedCoordinateMul (i : Fin 2) :
|
| 232 |
-
(associatedSectionsSubmodule k ι ρ) →ₗ[k] (associatedSectionsSubmodule k ι ρ) :=
|
| 233 |
-
(regularVectorCoordinateMul k ι i).restrict
|
| 234 |
-
(associatedSections_coordinate_mul_mem k ι ρ i)
|
| 235 |
-
|
| 236 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
lemma associatedCoordinateMul_action (g : SL2 k) (i : Fin 2)
|
| 240 |
-
(f : associatedSectionsSubmodule k ι ρ) :
|
| 241 |
-
associatedSectionsRepresentation k ι ρ g (associatedCoordinateMul k ι ρ i f) =
|
| 242 |
-
∑ j : Fin 2, (g⁻¹ : SL2 k) i j •
|
| 243 |
-
associatedCoordinateMul k ι ρ j (associatedSectionsRepresentation k ι ρ g f) := by
|
| 244 |
-
rw [Fin.sum_univ_two]
|
| 245 |
-
apply Subtype.ext
|
| 246 |
-
funext a
|
| 247 |
-
apply Subtype.ext
|
| 248 |
-
funext h
|
| 249 |
-
change (regularFirstColumn k i).val (g⁻¹ * h) * (f.val a).val (g⁻¹ * h) =
|
| 250 |
-
(g⁻¹ : SL2 k) i 0 * ((regularFirstColumn k 0).val h * (f.val a).val (g⁻¹ * h)) +
|
| 251 |
-
(g⁻¹ : SL2 k) i 1 * ((regularFirstColumn k 1).val h * (f.val a).val (g⁻¹ * h))
|
| 252 |
-
rw [regularFirstColumn_apply, regularFirstColumn_apply, regularFirstColumn_apply]
|
| 253 |
-
change (((g⁻¹ : SL2 k) : Matrix (Fin 2) (Fin 2) k) *
|
| 254 |
-
(h : Matrix (Fin 2) (Fin 2) k)) i 0 * _ = _
|
| 255 |
-
simp only [Matrix.mul_apply, Fin.sum_univ_two]
|
| 256 |
-
ring
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
noncomputable def associatedOriginRelations : Submodule k (associatedSectionsSubmodule k ι ρ) :=
|
| 260 |
-
LinearMap.range (associatedCoordinateMul k ι ρ 0) ⊔
|
| 261 |
-
LinearMap.range (associatedCoordinateMul k ι ρ 1)
|
| 262 |
-
|
| 263 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 264 |
-
lemma associatedOriginRelations_stable (g : SL2 k) :
|
| 265 |
-
associatedOriginRelations k ι ρ ≤
|
| 266 |
-
(associatedOriginRelations k ι ρ).comap (associatedSectionsRepresentation k ι ρ g) := by
|
| 267 |
-
have hcoord (i : Fin 2) (f : associatedSectionsSubmodule k ι ρ) :
|
| 268 |
-
associatedSectionsRepresentation k ι ρ g (associatedCoordinateMul k ι ρ i f) ∈
|
| 269 |
-
associatedOriginRelations k ι ρ := by
|
| 270 |
-
rw [associatedCoordinateMul_action]
|
| 271 |
-
apply Submodule.sum_mem
|
| 272 |
-
intro j _
|
| 273 |
-
apply Submodule.smul_mem
|
| 274 |
-
fin_cases j
|
| 275 |
-
· exact Submodule.mem_sup_left ⟨_,rfl⟩
|
| 276 |
-
· exact Submodule.mem_sup_right ⟨_,rfl⟩
|
| 277 |
-
apply sup_le
|
| 278 |
-
· rintro _ ⟨f,rfl⟩
|
| 279 |
-
exact hcoord 0 f
|
| 280 |
-
· rintro _ ⟨f,rfl⟩
|
| 281 |
-
exact hcoord 1 f
|
| 282 |
-
|
| 283 |
-
noncomputable def quotientRationalModule {V : Type u} [AddCommGroup V] [Module k V]
|
| 284 |
-
(σ : Representation k (SL2 k) V) (P : Submodule k V)
|
| 285 |
-
(hP : ∀ g, P ≤ P.comap (σ g)) : Rep k (SL2 k) :=
|
| 286 |
-
Rep.of (Representation.quotient σ P hP)
|
| 287 |
-
|
| 288 |
-
omit [Fintype ι] [DecidableEq ι] in
|
| 289 |
-
lemma quotientRationalModule_rational {V : Type u} [AddCommGroup V] [Module k V]
|
| 290 |
-
(σ : Representation k (SL2 k) V) (P : Submodule k V)
|
| 291 |
-
(hP : ∀ g, P ≤ P.comap (σ g)) (hσ : IsRational k σ) :
|
| 292 |
-
IsRational k (quotientRationalModule k σ P hP).ρ := by
|
| 293 |
-
exact IsRational.of_surjective k (M := V) (N := V ⧸ P)
|
| 294 |
-
σ (Representation.quotient σ P hP) P.mkQ P.mkQ_surjective (fun _ _ => rfl) hσ
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
noncomputable def associatedOriginRep : Rep k (SL2 k) :=
|
| 298 |
-
quotientRationalModule k (V := associatedSectionsSubmodule k ι ρ)
|
| 299 |
-
(associatedSectionsRepresentation k ι ρ) (associatedOriginRelations k ι ρ)
|
| 300 |
-
(associatedOriginRelations_stable k ι ρ)
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
lemma associatedOrigin_rational : IsRational k (associatedOriginRep k ι ρ).ρ := by
|
| 305 |
-
exact quotientRationalModule_rational k _ _ _ (associatedSections_rational k ι ρ)
|
| 306 |
-
|
| 307 |
-
end FiberFunctorProof
|
| 308 |
-
|
| 309 |
-
end
|
| 310 |
-
|
| 311 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.DualSplitting
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Polynomial coordinate representations and associated sections. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
universe u
|
| 15 |
+
variable (k : Type u) [Field k]
|
| 16 |
+
open scoped Matrix Kronecker
|
| 17 |
+
|
| 18 |
+
noncomputable def leftCoordinateMatrix : SL2 k →* Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) k where
|
| 19 |
+
toFun g := (dualMatrix k g) ⊗ₖ (1 : Matrix (Fin 2) (Fin 2) k)
|
| 20 |
+
map_one' := by rw [map_one, Matrix.one_kronecker_one]
|
| 21 |
+
map_mul' g h := by rw [map_mul, ← Matrix.mul_kronecker_mul, one_mul]
|
| 22 |
+
|
| 23 |
+
noncomputable def coordinatePolynomialRepresentation :
|
| 24 |
+
Representation k (SL2 k) (MvPolynomial (Fin 2 × Fin 2) k) where
|
| 25 |
+
toFun g := (linearChange (leftCoordinateMatrix k g)).toLinearMap
|
| 26 |
+
map_one' := by rw [map_one, linearChange_one]; rfl
|
| 27 |
+
map_mul' g h := by rw [map_mul, linearChange_mul]; rfl
|
| 28 |
+
|
| 29 |
+
lemma coordinatePolynomial_rational : IsRational k (coordinatePolynomialRepresentation k) := by
|
| 30 |
+
intro v l
|
| 31 |
+
apply regular_linearChange_coeff k
|
| 32 |
+
(fun g : SL2 k => fun ij : Fin 2 × Fin 2 => g ij.1 ij.2)
|
| 33 |
+
(leftCoordinateMatrix k) _ v l
|
| 34 |
+
intro a b
|
| 35 |
+
refine ⟨inverseCoordinatePolynomial k (b.1,a.1) *
|
| 36 |
+
MvPolynomial.C ((1 : Matrix (Fin 2) (Fin 2) k) a.2 b.2), fun g => ?_⟩
|
| 37 |
+
change (g⁻¹ : SL2 k) b.1 a.1 * (1 : Matrix (Fin 2) (Fin 2) k) a.2 b.2 = _
|
| 38 |
+
rw [MvPolynomial.eval_mul, MvPolynomial.eval_C, eval_inverseCoordinatePolynomial]
|
| 39 |
+
|
| 40 |
+
noncomputable def coordinateEvaluation :
|
| 41 |
+
MvPolynomial (Fin 2 × Fin 2) k →ₐ[k] (SL2 k → k) :=
|
| 42 |
+
MvPolynomial.aeval (fun ij => fun g : SL2 k => g ij.1 ij.2)
|
| 43 |
+
|
| 44 |
+
lemma coordinateEvaluation_apply (P : MvPolynomial (Fin 2 × Fin 2) k) (g : SL2 k) :
|
| 45 |
+
coordinateEvaluation k P g = MvPolynomial.eval (fun ij => g ij.1 ij.2) P := by
|
| 46 |
+
induction P using MvPolynomial.induction_on with
|
| 47 |
+
| C c => simp [coordinateEvaluation]
|
| 48 |
+
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 49 |
+
| mul_X P i hp =>
|
| 50 |
+
simp only [map_mul, Pi.mul_apply, hp]
|
| 51 |
+
congr 1
|
| 52 |
+
simp [coordinateEvaluation]
|
| 53 |
+
|
| 54 |
+
lemma coordinatePolynomial_evaluation (g h : SL2 k)
|
| 55 |
+
(P : MvPolynomial (Fin 2 × Fin 2) k) :
|
| 56 |
+
coordinateEvaluation k (coordinatePolynomialRepresentation k g P) h =
|
| 57 |
+
coordinateEvaluation k P (g⁻¹ * h) := by
|
| 58 |
+
rw [coordinateEvaluation_apply, coordinateEvaluation_apply]
|
| 59 |
+
change MvPolynomial.eval _ (linearChange (leftCoordinateMatrix k g) P) = _
|
| 60 |
+
rw [eval_linearChange]
|
| 61 |
+
apply congrArg (fun z => MvPolynomial.eval z P)
|
| 62 |
+
funext i
|
| 63 |
+
change (∑ j : Fin 2 × Fin 2, (g⁻¹ : SL2 k) i.1 j.1 *
|
| 64 |
+
(1 : Matrix (Fin 2) (Fin 2) k) j.2 i.2 * h j.1 j.2) = _
|
| 65 |
+
simp [Fintype.sum_prod_type, Matrix.one_apply, Matrix.mul_apply]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
noncomputable def regularSL2Functions : Subalgebra k (SL2 k → k) :=
|
| 70 |
+
(coordinateEvaluation k).range
|
| 71 |
+
|
| 72 |
+
noncomputable def regularSL2Representation :
|
| 73 |
+
Representation k (SL2 k) (regularSL2Functions k) where
|
| 74 |
+
toFun g :=
|
| 75 |
+
{ toFun := fun f => ⟨fun h => f.val (g⁻¹ * h), by
|
| 76 |
+
obtain ⟨P,hP⟩ := f.property
|
| 77 |
+
refine ⟨coordinatePolynomialRepresentation k g P, ?_⟩
|
| 78 |
+
ext h
|
| 79 |
+
change coordinateEvaluation k (coordinatePolynomialRepresentation k g P) h = _
|
| 80 |
+
rw [coordinatePolynomial_evaluation]
|
| 81 |
+
exact congrArg (fun f : SL2 k → k => f (g⁻¹ * h)) hP⟩
|
| 82 |
+
map_add' := by intro f f'; rfl
|
| 83 |
+
map_smul' := by intro a f; rfl }
|
| 84 |
+
map_one' := by ext f h; simp
|
| 85 |
+
map_mul' := by intro g h; ext f a; simp [mul_assoc]
|
| 86 |
+
|
| 87 |
+
noncomputable def coordinateToRegular :
|
| 88 |
+
MvPolynomial (Fin 2 × Fin 2) k →ₗ[k] regularSL2Functions k :=
|
| 89 |
+
(coordinateEvaluation k).rangeRestrict.toLinearMap
|
| 90 |
+
|
| 91 |
+
lemma coordinateToRegular_surjective : Function.Surjective (coordinateToRegular k) := by
|
| 92 |
+
intro f
|
| 93 |
+
obtain ⟨P,hP⟩ := f.property
|
| 94 |
+
exact ⟨P, Subtype.ext hP⟩
|
| 95 |
+
|
| 96 |
+
lemma regularSL2_rational : IsRational k (regularSL2Representation k) := by
|
| 97 |
+
apply IsRational.of_surjective k (coordinatePolynomialRepresentation k)
|
| 98 |
+
(regularSL2Representation k) (coordinateToRegular k) (coordinateToRegular_surjective k)
|
| 99 |
+
_ (coordinatePolynomial_rational k)
|
| 100 |
+
intro g P
|
| 101 |
+
apply Subtype.ext
|
| 102 |
+
funext h
|
| 103 |
+
exact coordinatePolynomial_evaluation k g h P
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
noncomputable def regularVectorRepresentation (ι : Type u) :
|
| 108 |
+
Representation k (SL2 k) (ι → regularSL2Functions k) where
|
| 109 |
+
toFun g :=
|
| 110 |
+
{ toFun := fun f i => regularSL2Representation k g (f i)
|
| 111 |
+
map_add' := by intro f f'; funext i; exact map_add (regularSL2Representation k g) _ _
|
| 112 |
+
map_smul' := by intro a f; funext i; exact map_smul (regularSL2Representation k g) _ _ }
|
| 113 |
+
map_one' := by
|
| 114 |
+
apply LinearMap.ext
|
| 115 |
+
intro f
|
| 116 |
+
funext i
|
| 117 |
+
exact congrArg (fun a : Module.End k (regularSL2Functions k) => a (f i))
|
| 118 |
+
(map_one (regularSL2Representation k))
|
| 119 |
+
map_mul' := by
|
| 120 |
+
intro g h
|
| 121 |
+
apply LinearMap.ext
|
| 122 |
+
intro f
|
| 123 |
+
funext i
|
| 124 |
+
exact congrArg (fun a : Module.End k (regularSL2Functions k) => a (f i))
|
| 125 |
+
(map_mul (regularSL2Representation k) g h)
|
| 126 |
+
|
| 127 |
+
lemma regularVector_rational (ι : Type u) [Fintype ι] [DecidableEq ι] :
|
| 128 |
+
IsRational k (regularVectorRepresentation k ι) := by
|
| 129 |
+
intro v l
|
| 130 |
+
let ei (i : ι) : regularSL2Functions k →ₗ[k] (ι → regularSL2Functions k) :=
|
| 131 |
+
LinearMap.single k (fun _ : ι => regularSL2Functions k) i
|
| 132 |
+
have hsum (w : ι → regularSL2Functions k) : ∑ i, ei i (w i) = w := by
|
| 133 |
+
ext i
|
| 134 |
+
simp [ei]
|
| 135 |
+
choose P hP using fun i => regularSL2_rational k (v i) (l.comp (ei i))
|
| 136 |
+
refine ⟨∑ i, P i, fun g => ?_⟩
|
| 137 |
+
rw [← hsum (regularVectorRepresentation k ι g v), map_sum, MvPolynomial.eval_sum]
|
| 138 |
+
apply Finset.sum_congr rfl
|
| 139 |
+
intro i _
|
| 140 |
+
exact hP i g
|
| 141 |
+
|
| 142 |
+
end
|
| 143 |
+
|
| 144 |
+
universe u
|
| 145 |
+
variable (k : Type u) [Field k]
|
| 146 |
+
variable (ι : Type u) [Fintype ι] [DecidableEq ι]
|
| 147 |
+
|
| 148 |
+
noncomputable def regularVectorEvaluation (g : SL2 k) :
|
| 149 |
+
(ι → regularSL2Functions k) →ₗ[k] (ι → k) where
|
| 150 |
+
toFun f i := (f i).val g
|
| 151 |
+
map_add' := by intro f h; rfl
|
| 152 |
+
map_smul' := by intro a f; rfl
|
| 153 |
+
|
| 154 |
+
variable (ρ : Representation k (Multiplicative k) (ι → k))
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
noncomputable def associatedSectionsSubmodule :
|
| 159 |
+
Submodule k (ι → regularSL2Functions k) where
|
| 160 |
+
carrier := {f | ∀ (g : SL2 k) (t : k),
|
| 161 |
+
regularVectorEvaluation k ι (g * unipotent k t) f =
|
| 162 |
+
ρ (Multiplicative.ofAdd (-t)) (regularVectorEvaluation k ι g f)}
|
| 163 |
+
zero_mem' := by intro g t; simp
|
| 164 |
+
add_mem' := by
|
| 165 |
+
intro f h hf hh g t
|
| 166 |
+
rw [map_add, hf, hh, map_add, map_add]
|
| 167 |
+
smul_mem' := by
|
| 168 |
+
intro a f hf g t
|
| 169 |
+
rw [map_smul, hf, map_smul, map_smul]
|
| 170 |
+
|
| 171 |
+
noncomputable def associatedSectionsSubrepresentation :
|
| 172 |
+
Subrepresentation (regularVectorRepresentation k ι) where
|
| 173 |
+
toSubmodule := associatedSectionsSubmodule k ι ρ
|
| 174 |
+
apply_mem_toSubmodule g f hf := by
|
| 175 |
+
intro h t
|
| 176 |
+
change regularVectorEvaluation k ι (g⁻¹ * (h * unipotent k t)) f =
|
| 177 |
+
ρ (Multiplicative.ofAdd (-t)) (regularVectorEvaluation k ι (g⁻¹ * h) f)
|
| 178 |
+
rw [← mul_assoc]
|
| 179 |
+
exact hf (g⁻¹ * h) t
|
| 180 |
+
|
| 181 |
+
noncomputable def associatedSectionsRepresentation :
|
| 182 |
+
Representation k (SL2 k) (associatedSectionsSubmodule k ι ρ) :=
|
| 183 |
+
(associatedSectionsSubrepresentation k ι ρ).toRepresentation
|
| 184 |
+
|
| 185 |
+
lemma associatedSections_rational : IsRational k
|
| 186 |
+
(M := associatedSectionsSubmodule k ι ρ) (associatedSectionsRepresentation k ι ρ) := by
|
| 187 |
+
exact IsRational.of_injective k (M := associatedSectionsSubmodule k ι ρ)
|
| 188 |
+
(N := ι → regularSL2Functions k) (associatedSectionsRepresentation k ι ρ)
|
| 189 |
+
(regularVectorRepresentation k ι) (associatedSectionsSubmodule k ι ρ).subtype
|
| 190 |
+
(associatedSectionsSubmodule k ι ρ).injective_subtype (fun _ _ => rfl)
|
| 191 |
+
(regularVector_rational k ι)
|
| 192 |
+
|
| 193 |
+
noncomputable def regularFirstColumn (i : Fin 2) : regularSL2Functions k :=
|
| 194 |
+
coordinateToRegular k (MvPolynomial.X (i,0))
|
| 195 |
+
|
| 196 |
+
lemma regularFirstColumn_apply (i : Fin 2) (g : SL2 k) :
|
| 197 |
+
(regularFirstColumn k i).val g = g i 0 := by
|
| 198 |
+
change coordinateEvaluation k (MvPolynomial.X (i,0)) g = _
|
| 199 |
+
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 200 |
+
|
| 201 |
+
lemma firstColumn_unipotent_mul (g : SL2 k) (t : k) (i : Fin 2) :
|
| 202 |
+
(g * unipotent k t) i 0 = g i 0 := by
|
| 203 |
+
change (((g : Matrix (Fin 2) (Fin 2) k) *
|
| 204 |
+
(unipotent k t : Matrix (Fin 2) (Fin 2) k)) i 0) = _
|
| 205 |
+
simp [Matrix.mul_apply, Fin.sum_univ_two, unipotent]
|
| 206 |
+
|
| 207 |
+
noncomputable def regularVectorCoordinateMul (i : Fin 2) :
|
| 208 |
+
(ι → regularSL2Functions k) →ₗ[k] (ι → regularSL2Functions k) where
|
| 209 |
+
toFun f j := regularFirstColumn k i * f j
|
| 210 |
+
map_add' := by intro f h; funext j; exact mul_add _ _ _
|
| 211 |
+
map_smul' := by intro a f; funext j; exact mul_smul_comm a (regularFirstColumn k i) (f j)
|
| 212 |
+
|
| 213 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 214 |
+
lemma regularVectorCoordinateMul_evaluation (i : Fin 2)
|
| 215 |
+
(f : ι → regularSL2Functions k) (g : SL2 k) :
|
| 216 |
+
regularVectorEvaluation k ι g (regularVectorCoordinateMul k ι i f) =
|
| 217 |
+
g i 0 • regularVectorEvaluation k ι g f := by
|
| 218 |
+
funext j
|
| 219 |
+
change (regularFirstColumn k i).val g * (f j).val g = _
|
| 220 |
+
rw [regularFirstColumn_apply]
|
| 221 |
+
rfl
|
| 222 |
+
|
| 223 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 224 |
+
lemma associatedSections_coordinate_mul_mem (i : Fin 2)
|
| 225 |
+
(f : ι → regularSL2Functions k) (hf : f ∈ associatedSectionsSubmodule k ι ρ) :
|
| 226 |
+
regularVectorCoordinateMul k ι i f ∈ associatedSectionsSubmodule k ι ρ := by
|
| 227 |
+
intro g t
|
| 228 |
+
rw [regularVectorCoordinateMul_evaluation, regularVectorCoordinateMul_evaluation,
|
| 229 |
+
firstColumn_unipotent_mul, hf, map_smul]
|
| 230 |
+
|
| 231 |
+
noncomputable def associatedCoordinateMul (i : Fin 2) :
|
| 232 |
+
(associatedSectionsSubmodule k ι ρ) →ₗ[k] (associatedSectionsSubmodule k ι ρ) :=
|
| 233 |
+
(regularVectorCoordinateMul k ι i).restrict
|
| 234 |
+
(associatedSections_coordinate_mul_mem k ι ρ i)
|
| 235 |
+
|
| 236 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
lemma associatedCoordinateMul_action (g : SL2 k) (i : Fin 2)
|
| 240 |
+
(f : associatedSectionsSubmodule k ι ρ) :
|
| 241 |
+
associatedSectionsRepresentation k ι ρ g (associatedCoordinateMul k ι ρ i f) =
|
| 242 |
+
∑ j : Fin 2, (g⁻¹ : SL2 k) i j •
|
| 243 |
+
associatedCoordinateMul k ι ρ j (associatedSectionsRepresentation k ι ρ g f) := by
|
| 244 |
+
rw [Fin.sum_univ_two]
|
| 245 |
+
apply Subtype.ext
|
| 246 |
+
funext a
|
| 247 |
+
apply Subtype.ext
|
| 248 |
+
funext h
|
| 249 |
+
change (regularFirstColumn k i).val (g⁻¹ * h) * (f.val a).val (g⁻¹ * h) =
|
| 250 |
+
(g⁻¹ : SL2 k) i 0 * ((regularFirstColumn k 0).val h * (f.val a).val (g⁻¹ * h)) +
|
| 251 |
+
(g⁻¹ : SL2 k) i 1 * ((regularFirstColumn k 1).val h * (f.val a).val (g⁻¹ * h))
|
| 252 |
+
rw [regularFirstColumn_apply, regularFirstColumn_apply, regularFirstColumn_apply]
|
| 253 |
+
change (((g⁻¹ : SL2 k) : Matrix (Fin 2) (Fin 2) k) *
|
| 254 |
+
(h : Matrix (Fin 2) (Fin 2) k)) i 0 * _ = _
|
| 255 |
+
simp only [Matrix.mul_apply, Fin.sum_univ_two]
|
| 256 |
+
ring
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
noncomputable def associatedOriginRelations : Submodule k (associatedSectionsSubmodule k ι ρ) :=
|
| 260 |
+
LinearMap.range (associatedCoordinateMul k ι ρ 0) ⊔
|
| 261 |
+
LinearMap.range (associatedCoordinateMul k ι ρ 1)
|
| 262 |
+
|
| 263 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 264 |
+
lemma associatedOriginRelations_stable (g : SL2 k) :
|
| 265 |
+
associatedOriginRelations k ι ρ ≤
|
| 266 |
+
(associatedOriginRelations k ι ρ).comap (associatedSectionsRepresentation k ι ρ g) := by
|
| 267 |
+
have hcoord (i : Fin 2) (f : associatedSectionsSubmodule k ι ρ) :
|
| 268 |
+
associatedSectionsRepresentation k ι ρ g (associatedCoordinateMul k ι ρ i f) ∈
|
| 269 |
+
associatedOriginRelations k ι ρ := by
|
| 270 |
+
rw [associatedCoordinateMul_action]
|
| 271 |
+
apply Submodule.sum_mem
|
| 272 |
+
intro j _
|
| 273 |
+
apply Submodule.smul_mem
|
| 274 |
+
fin_cases j
|
| 275 |
+
· exact Submodule.mem_sup_left ⟨_,rfl⟩
|
| 276 |
+
· exact Submodule.mem_sup_right ⟨_,rfl⟩
|
| 277 |
+
apply sup_le
|
| 278 |
+
· rintro _ ⟨f,rfl⟩
|
| 279 |
+
exact hcoord 0 f
|
| 280 |
+
· rintro _ ⟨f,rfl⟩
|
| 281 |
+
exact hcoord 1 f
|
| 282 |
+
|
| 283 |
+
noncomputable def quotientRationalModule {V : Type u} [AddCommGroup V] [Module k V]
|
| 284 |
+
(σ : Representation k (SL2 k) V) (P : Submodule k V)
|
| 285 |
+
(hP : ∀ g, P ≤ P.comap (σ g)) : Rep k (SL2 k) :=
|
| 286 |
+
Rep.of (Representation.quotient σ P hP)
|
| 287 |
+
|
| 288 |
+
omit [Fintype ι] [DecidableEq ι] in
|
| 289 |
+
lemma quotientRationalModule_rational {V : Type u} [AddCommGroup V] [Module k V]
|
| 290 |
+
(σ : Representation k (SL2 k) V) (P : Submodule k V)
|
| 291 |
+
(hP : ∀ g, P ≤ P.comap (σ g)) (hσ : IsRational k σ) :
|
| 292 |
+
IsRational k (quotientRationalModule k σ P hP).ρ := by
|
| 293 |
+
exact IsRational.of_surjective k (M := V) (N := V ⧸ P)
|
| 294 |
+
σ (Representation.quotient σ P hP) P.mkQ P.mkQ_surjective (fun _ _ => rfl) hσ
|
| 295 |
+
|
| 296 |
+
|
| 297 |
+
noncomputable def associatedOriginRep : Rep k (SL2 k) :=
|
| 298 |
+
quotientRationalModule k (V := associatedSectionsSubmodule k ι ρ)
|
| 299 |
+
(associatedSectionsRepresentation k ι ρ) (associatedOriginRelations k ι ρ)
|
| 300 |
+
(associatedOriginRelations_stable k ι ρ)
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
|
| 304 |
+
lemma associatedOrigin_rational : IsRational k (associatedOriginRep k ι ρ).ρ := by
|
| 305 |
+
exact quotientRationalModule_rational k _ _ _ (associatedSections_rational k ι ρ)
|
| 306 |
+
|
| 307 |
+
end FiberFunctorProof
|
| 308 |
+
|
| 309 |
+
end
|
| 310 |
+
|
| 311 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RegularSplitting.lean
CHANGED
|
@@ -1,82 +1,82 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open Representation
|
| 7 |
-
universe u v
|
| 8 |
-
variable {k : Type u} [Field k] {G : Type v} [Group G] [Fintype G]
|
| 9 |
-
variable {V W : Type u} [AddCommGroup V] [Module k V] [AddCommGroup W] [Module k W]
|
| 10 |
-
|
| 11 |
-
lemma intertwining_norm {ρ : Representation k G V} {σ : Representation k G W}
|
| 12 |
-
(f : ρ.IntertwiningMap σ) (v : V) : f (ρ.norm v) = σ.norm (f v) := by
|
| 13 |
-
simp only [Representation.norm, LinearMap.sum_apply, map_sum, f.isIntertwining]
|
| 14 |
-
|
| 15 |
-
noncomputable def regularCoefficients : MonoidAlgebra k G ≃ₗ[k] (G → k) :=
|
| 16 |
-
(MonoidAlgebra.coeffLinearEquiv k).trans (Finsupp.linearEquivFunOnFinite k k G)
|
| 17 |
-
|
| 18 |
-
omit [Group G] in
|
| 19 |
-
@[simp] lemma regularCoefficients_apply (x : MonoidAlgebra k G) (g : G) :
|
| 20 |
-
regularCoefficients x g = x.coeff g := rfl
|
| 21 |
-
|
| 22 |
-
omit [Group G] in
|
| 23 |
-
@[simp] lemma regularCoefficients_symm_coeff (v : G → k) (g : G) :
|
| 24 |
-
(regularCoefficients.symm v).coeff g = v g := by
|
| 25 |
-
exact congrFun (regularCoefficients.apply_symm_apply v) g
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
noncomputable def regularCofree (ρ : Representation k G V) (φ : V →ₗ[k] k) :
|
| 30 |
-
ρ.IntertwiningMap (Representation.leftRegular k G) where
|
| 31 |
-
toLinearMap := regularCoefficients.symm.toLinearMap.comp
|
| 32 |
-
(LinearMap.pi fun g : G => φ.comp (ρ g⁻¹))
|
| 33 |
-
isIntertwining' h := by
|
| 34 |
-
ext v g
|
| 35 |
-
simp [regularCoefficients_symm_coeff, Representation.coeff_ofMulAction,
|
| 36 |
-
mul_inv_rev, map_mul]
|
| 37 |
-
|
| 38 |
-
@[simp] lemma regularCofree_coeff (ρ : Representation k G V) (φ : V →ₗ[k] k)
|
| 39 |
-
(v : V) (g : G) : (regularCofree ρ φ v).coeff g = φ (ρ g⁻¹ v) := by
|
| 40 |
-
exact regularCoefficients_symm_coeff _ g
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
theorem regular_split_of_injective (ρ : Representation k G V)
|
| 45 |
-
(f : (Representation.leftRegular k G).IntertwiningMap ρ)
|
| 46 |
-
(hf : Function.Injective f) :
|
| 47 |
-
∃ s : ρ.IntertwiningMap (Representation.leftRegular k G),
|
| 48 |
-
s.comp f = Representation.IntertwiningMap.id _ := by
|
| 49 |
-
obtain ⟨j,hj⟩ := f.toLinearMap.exists_leftInverse_of_injective
|
| 50 |
-
(LinearMap.ker_eq_bot.mpr hf)
|
| 51 |
-
have hji (x : MonoidAlgebra k G) : j (f x) = x := congr($(hj) x)
|
| 52 |
-
let φ : V →ₗ[k] k := (Finsupp.lapply 1).comp
|
| 53 |
-
((MonoidAlgebra.coeffLinearEquiv k).toLinearMap.comp j)
|
| 54 |
-
refine ⟨regularCofree ρ φ, ?_⟩
|
| 55 |
-
apply IntertwiningMap.ext
|
| 56 |
-
apply LinearMap.ext
|
| 57 |
-
intro x
|
| 58 |
-
apply MonoidAlgebra.ext
|
| 59 |
-
apply Finsupp.ext
|
| 60 |
-
intro g
|
| 61 |
-
change (regularCofree ρ φ (f x)).coeff g = x.coeff g
|
| 62 |
-
rw [regularCofree_coeff, ← f.isIntertwining]
|
| 63 |
-
change (j (f ((Representation.leftRegular k G) g⁻¹ x))).coeff 1 = x.coeff g
|
| 64 |
-
rw [hji]
|
| 65 |
-
simp [Representation.coeff_ofMulAction]
|
| 66 |
-
|
| 67 |
-
lemma regular_norm_single_coeff (g : G) :
|
| 68 |
-
((Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1)).coeff g = 1 := by
|
| 69 |
-
classical
|
| 70 |
-
simp [Representation.norm]
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
theorem regular_invariant_eq (x : MonoidAlgebra k G)
|
| 74 |
-
(hx : ∀ g, (Representation.leftRegular k G) g x = x) :
|
| 75 |
-
x = x.coeff 1 • (Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1) := by
|
| 76 |
-
ext g
|
| 77 |
-
have h := congrArg (fun a : MonoidAlgebra k G => a.coeff g) (hx g)
|
| 78 |
-
simp [Representation.coeff_ofMulAction] at h
|
| 79 |
-
simpa [regular_norm_single_coeff] using h.symm
|
| 80 |
-
end FiberFunctorProof
|
| 81 |
-
|
| 82 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open Representation
|
| 7 |
+
universe u v
|
| 8 |
+
variable {k : Type u} [Field k] {G : Type v} [Group G] [Fintype G]
|
| 9 |
+
variable {V W : Type u} [AddCommGroup V] [Module k V] [AddCommGroup W] [Module k W]
|
| 10 |
+
|
| 11 |
+
lemma intertwining_norm {ρ : Representation k G V} {σ : Representation k G W}
|
| 12 |
+
(f : ρ.IntertwiningMap σ) (v : V) : f (ρ.norm v) = σ.norm (f v) := by
|
| 13 |
+
simp only [Representation.norm, LinearMap.sum_apply, map_sum, f.isIntertwining]
|
| 14 |
+
|
| 15 |
+
noncomputable def regularCoefficients : MonoidAlgebra k G ≃ₗ[k] (G → k) :=
|
| 16 |
+
(MonoidAlgebra.coeffLinearEquiv k).trans (Finsupp.linearEquivFunOnFinite k k G)
|
| 17 |
+
|
| 18 |
+
omit [Group G] in
|
| 19 |
+
@[simp] lemma regularCoefficients_apply (x : MonoidAlgebra k G) (g : G) :
|
| 20 |
+
regularCoefficients x g = x.coeff g := rfl
|
| 21 |
+
|
| 22 |
+
omit [Group G] in
|
| 23 |
+
@[simp] lemma regularCoefficients_symm_coeff (v : G → k) (g : G) :
|
| 24 |
+
(regularCoefficients.symm v).coeff g = v g := by
|
| 25 |
+
exact congrFun (regularCoefficients.apply_symm_apply v) g
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
noncomputable def regularCofree (ρ : Representation k G V) (φ : V →ₗ[k] k) :
|
| 30 |
+
ρ.IntertwiningMap (Representation.leftRegular k G) where
|
| 31 |
+
toLinearMap := regularCoefficients.symm.toLinearMap.comp
|
| 32 |
+
(LinearMap.pi fun g : G => φ.comp (ρ g⁻¹))
|
| 33 |
+
isIntertwining' h := by
|
| 34 |
+
ext v g
|
| 35 |
+
simp [regularCoefficients_symm_coeff, Representation.coeff_ofMulAction,
|
| 36 |
+
mul_inv_rev, map_mul]
|
| 37 |
+
|
| 38 |
+
@[simp] lemma regularCofree_coeff (ρ : Representation k G V) (φ : V →ₗ[k] k)
|
| 39 |
+
(v : V) (g : G) : (regularCofree ρ φ v).coeff g = φ (ρ g⁻¹ v) := by
|
| 40 |
+
exact regularCoefficients_symm_coeff _ g
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
theorem regular_split_of_injective (ρ : Representation k G V)
|
| 45 |
+
(f : (Representation.leftRegular k G).IntertwiningMap ρ)
|
| 46 |
+
(hf : Function.Injective f) :
|
| 47 |
+
∃ s : ρ.IntertwiningMap (Representation.leftRegular k G),
|
| 48 |
+
s.comp f = Representation.IntertwiningMap.id _ := by
|
| 49 |
+
obtain ⟨j,hj⟩ := f.toLinearMap.exists_leftInverse_of_injective
|
| 50 |
+
(LinearMap.ker_eq_bot.mpr hf)
|
| 51 |
+
have hji (x : MonoidAlgebra k G) : j (f x) = x := congr($(hj) x)
|
| 52 |
+
let φ : V →ₗ[k] k := (Finsupp.lapply 1).comp
|
| 53 |
+
((MonoidAlgebra.coeffLinearEquiv k).toLinearMap.comp j)
|
| 54 |
+
refine ⟨regularCofree ρ φ, ?_⟩
|
| 55 |
+
apply IntertwiningMap.ext
|
| 56 |
+
apply LinearMap.ext
|
| 57 |
+
intro x
|
| 58 |
+
apply MonoidAlgebra.ext
|
| 59 |
+
apply Finsupp.ext
|
| 60 |
+
intro g
|
| 61 |
+
change (regularCofree ρ φ (f x)).coeff g = x.coeff g
|
| 62 |
+
rw [regularCofree_coeff, ← f.isIntertwining]
|
| 63 |
+
change (j (f ((Representation.leftRegular k G) g⁻¹ x))).coeff 1 = x.coeff g
|
| 64 |
+
rw [hji]
|
| 65 |
+
simp [Representation.coeff_ofMulAction]
|
| 66 |
+
|
| 67 |
+
lemma regular_norm_single_coeff (g : G) :
|
| 68 |
+
((Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1)).coeff g = 1 := by
|
| 69 |
+
classical
|
| 70 |
+
simp [Representation.norm]
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
theorem regular_invariant_eq (x : MonoidAlgebra k G)
|
| 74 |
+
(hx : ∀ g, (Representation.leftRegular k G) g x = x) :
|
| 75 |
+
x = x.coeff 1 • (Representation.leftRegular k G).norm (MonoidAlgebra.single 1 1) := by
|
| 76 |
+
ext g
|
| 77 |
+
have h := congrArg (fun a : MonoidAlgebra k G => a.coeff g) (hx g)
|
| 78 |
+
simp [Representation.coeff_ofMulAction] at h
|
| 79 |
+
simpa [regular_norm_single_coeff] using h.symm
|
| 80 |
+
end FiberFunctorProof
|
| 81 |
+
|
| 82 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RegularTorus.lean
CHANGED
|
@@ -1,438 +1,438 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
import OAI.RepresentationTheory.RestrictedTilting.RegularActions
|
| 3 |
-
|
| 4 |
-
namespace OAI
|
| 5 |
-
|
| 6 |
-
/-! Torus density, regular localization and coprime denominator gluing. -/
|
| 7 |
-
|
| 8 |
-
noncomputable section
|
| 9 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
-
open scoped BigOperators
|
| 11 |
-
|
| 12 |
-
namespace FiberFunctorProof
|
| 13 |
-
section
|
| 14 |
-
variable (k : Type*) [Field k] [Infinite k]
|
| 15 |
-
|
| 16 |
-
abbrev planeTorusPoints := {x : Fin 2 → k // ∀ i, x i ≠ 0}
|
| 17 |
-
|
| 18 |
-
noncomputable def planeTorusEvaluation :
|
| 19 |
-
MvPolynomial (Fin 2) k →ₐ[k] (planeTorusPoints k → k) :=
|
| 20 |
-
MvPolynomial.aeval (fun i x => x.val i)
|
| 21 |
-
|
| 22 |
-
omit [Infinite k] in
|
| 23 |
-
lemma planeTorusEvaluation_apply (P : MvPolynomial (Fin 2) k) (x : planeTorusPoints k) :
|
| 24 |
-
planeTorusEvaluation k P x = MvPolynomial.eval x.val P := by
|
| 25 |
-
induction P using MvPolynomial.induction_on with
|
| 26 |
-
| C c => simp [planeTorusEvaluation]
|
| 27 |
-
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 28 |
-
| mul_X P i hp =>
|
| 29 |
-
simp only [map_mul, Pi.mul_apply, hp]
|
| 30 |
-
congr 1
|
| 31 |
-
simp [planeTorusEvaluation]
|
| 32 |
-
|
| 33 |
-
theorem planeTorusEvaluation_injective : Function.Injective (planeTorusEvaluation k) := by
|
| 34 |
-
intro P Q h
|
| 35 |
-
apply MvPolynomial.funext_set (fun _ : Fin 2 => ({0} : Set k)ᶜ)
|
| 36 |
-
(fun _ => (Set.finite_singleton (0 : k)).infinite_compl)
|
| 37 |
-
intro x hx
|
| 38 |
-
have hx' : ∀ i, x i ≠ 0 := by
|
| 39 |
-
intro i
|
| 40 |
-
simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hx i (Set.mem_univ i)
|
| 41 |
-
exact (planeTorusEvaluation_apply k P ⟨x,hx'⟩).symm.trans
|
| 42 |
-
((congrFun h ⟨x,hx'⟩).trans (planeTorusEvaluation_apply k Q ⟨x,hx'⟩))
|
| 43 |
-
|
| 44 |
-
omit [Infinite k] in
|
| 45 |
-
lemma planeTorusEvaluation_X_isUnit (i : Fin 2) :
|
| 46 |
-
IsUnit (planeTorusEvaluation k (MvPolynomial.X i)) := by
|
| 47 |
-
refine ⟨⟨fun x => x.val i, fun x => (x.val i)⁻¹, ?_, ?_⟩, ?_⟩
|
| 48 |
-
· funext x; exact mul_inv_cancel₀ (x.property i)
|
| 49 |
-
· funext x; exact inv_mul_cancel₀ (x.property i)
|
| 50 |
-
· ext x; simp [planeTorusEvaluation]
|
| 51 |
-
|
| 52 |
-
abbrev planeCoordinateChart (i : Fin 2) :=
|
| 53 |
-
Localization.Away (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 54 |
-
|
| 55 |
-
noncomputable def planeChartEvaluation (i : Fin 2) :
|
| 56 |
-
planeCoordinateChart k i →ₐ[k] (planeTorusPoints k → k) :=
|
| 57 |
-
IsLocalization.Away.liftAlgHom (MvPolynomial.X i) (planeTorusEvaluation_X_isUnit k i)
|
| 58 |
-
|
| 59 |
-
omit [Infinite k] in
|
| 60 |
-
lemma planeChartEvaluation_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 61 |
-
planeChartEvaluation k i
|
| 62 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 63 |
-
planeTorusEvaluation k P :=
|
| 64 |
-
IsLocalization.Away.lift_eq _ (planeTorusEvaluation_X_isUnit k i) _
|
| 65 |
-
|
| 66 |
-
theorem planeChartEvaluation_injective (i : Fin 2) :
|
| 67 |
-
Function.Injective (planeChartEvaluation k i) := by
|
| 68 |
-
apply (IsLocalization.injective_iff_map_algebraMap_eq
|
| 69 |
-
(R := MvPolynomial (Fin 2) k) (S := planeCoordinateChart k i)
|
| 70 |
-
(Submonoid.powers (MvPolynomial.X i)) (planeChartEvaluation k i).toRingHom).mpr
|
| 71 |
-
intro P Q
|
| 72 |
-
constructor
|
| 73 |
-
· exact congrArg (planeChartEvaluation k i)
|
| 74 |
-
· intro h
|
| 75 |
-
have h' : planeTorusEvaluation k P = planeTorusEvaluation k Q := by
|
| 76 |
-
simpa only [AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 77 |
-
planeChartEvaluation_algebraMap] using h
|
| 78 |
-
exact congrArg (algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i))
|
| 79 |
-
(planeTorusEvaluation_injective k h')
|
| 80 |
-
|
| 81 |
-
end
|
| 82 |
-
|
| 83 |
-
section
|
| 84 |
-
universe u
|
| 85 |
-
variable (k : Type u) [Field k]
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
lemma regularSL2_polynomial_path (f : regularSL2Functions k)
|
| 89 |
-
(g : k → SL2 k) (A : Matrix (Fin 2) (Fin 2) (Polynomial k))
|
| 90 |
-
(hA : ∀ t i j, (A i j).eval t = g t i j) :
|
| 91 |
-
∃ P : Polynomial k, ∀ t, P.eval t = f.val (g t) := by
|
| 92 |
-
obtain ⟨Q,hQ⟩ := f.property
|
| 93 |
-
change coordinateEvaluation k Q = f.val at hQ
|
| 94 |
-
refine ⟨MvPolynomial.aeval (fun ij => A ij.1 ij.2) Q, ?_⟩
|
| 95 |
-
intro t
|
| 96 |
-
rw [← congrFun hQ (g t), coordinateEvaluation_apply]
|
| 97 |
-
clear hQ
|
| 98 |
-
induction Q using MvPolynomial.induction_on with
|
| 99 |
-
| C c => simp
|
| 100 |
-
| add Q R hQ hR => simp only [map_add, Polynomial.eval_add, hQ, hR]
|
| 101 |
-
| mul_X Q i hQ =>
|
| 102 |
-
simp only [map_mul, Polynomial.eval_mul, MvPolynomial.aeval_X, hA,
|
| 103 |
-
MvPolynomial.eval_X, hQ]
|
| 104 |
-
|
| 105 |
-
noncomputable def regularLowerShear (t : k) : SL2 k :=
|
| 106 |
-
⟨!![1,0;t,1], by simp [Matrix.det_fin_two]⟩
|
| 107 |
-
|
| 108 |
-
lemma regularLowerShear_zero : regularLowerShear k 0 = 1 := by
|
| 109 |
-
apply Subtype.ext
|
| 110 |
-
ext i j
|
| 111 |
-
fin_cases i <;> fin_cases j <;> rfl
|
| 112 |
-
|
| 113 |
-
lemma lowerShear_mul_entry (t : k) (g : SL2 k) (i j : Fin 2) :
|
| 114 |
-
(regularLowerShear k t * g) i j =
|
| 115 |
-
(!![g 0 0, g 0 1; t * g 0 0 + g 1 0, t * g 0 1 + g 1 1]) i j := by
|
| 116 |
-
change ((regularLowerShear k t : Matrix (Fin 2) (Fin 2) k) *
|
| 117 |
-
(g : Matrix (Fin 2) (Fin 2) k)) i j = _
|
| 118 |
-
fin_cases i <;> fin_cases j <;>
|
| 119 |
-
simp [regularLowerShear, Matrix.mul_apply, Fin.sum_univ_two]
|
| 120 |
-
|
| 121 |
-
lemma upperShear_mul_entry (t : k) (g : SL2 k) (i j : Fin 2) :
|
| 122 |
-
(unipotent k t * g) i j =
|
| 123 |
-
(!![g 0 0 + t * g 1 0, g 0 1 + t * g 1 1; g 1 0, g 1 1]) i j := by
|
| 124 |
-
change ((unipotent k t : Matrix (Fin 2) (Fin 2) k) *
|
| 125 |
-
(g : Matrix (Fin 2) (Fin 2) k)) i j = _
|
| 126 |
-
fin_cases i <;> fin_cases j <;>
|
| 127 |
-
simp [unipotent, Matrix.mul_apply, Fin.sum_univ_two]
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
theorem regularSL2_torus_dense [Infinite k] (f : regularSL2Functions k)
|
| 132 |
-
(hf : ∀ g : SL2 k, g 0 0 ≠ 0 → g 1 0 ≠ 0 → f.val g = 0) : f = 0 := by
|
| 133 |
-
have hfirst (g : SL2 k) (ha : g 0 0 ≠ 0) : f.val g = 0 := by
|
| 134 |
-
obtain ⟨P,hP⟩ := regularSL2_polynomial_path k f (fun t => regularLowerShear k t * g)
|
| 135 |
-
(!![Polynomial.C (g 0 0), Polynomial.C (g 0 1);
|
| 136 |
-
Polynomial.X * Polynomial.C (g 0 0) + Polynomial.C (g 1 0),
|
| 137 |
-
Polynomial.X * Polynomial.C (g 0 1) + Polynomial.C (g 1 1)]) (by
|
| 138 |
-
intro t i j
|
| 139 |
-
rw [lowerShear_mul_entry]
|
| 140 |
-
fin_cases i <;> fin_cases j <;> simp <;> ring)
|
| 141 |
-
have hzero : P = 0 := by
|
| 142 |
-
apply Polynomial.eq_zero_of_infinite_isRoot
|
| 143 |
-
apply ((Set.finite_singleton (-g 1 0 / g 0 0)).infinite_compl).mono
|
| 144 |
-
intro t ht
|
| 145 |
-
change P.eval t = 0
|
| 146 |
-
rw [hP]
|
| 147 |
-
apply hf
|
| 148 |
-
· simpa [lowerShear_mul_entry] using ha
|
| 149 |
-
· have ht' : t ≠ -g 1 0 / g 0 0 := ht
|
| 150 |
-
simp only [lowerShear_mul_entry]
|
| 151 |
-
intro hz
|
| 152 |
-
exact ht' ((eq_div_iff ha).mpr (eq_neg_of_add_eq_zero_left hz))
|
| 153 |
-
have h := hP 0
|
| 154 |
-
rw [hzero, Polynomial.eval_zero, regularLowerShear_zero, one_mul] at h
|
| 155 |
-
exact h.symm
|
| 156 |
-
apply Subtype.ext
|
| 157 |
-
funext g
|
| 158 |
-
change f.val g = 0
|
| 159 |
-
by_cases ha : g 0 0 = 0
|
| 160 |
-
· have hc : g 1 0 ≠ 0 := by
|
| 161 |
-
intro hc
|
| 162 |
-
have hd := g.property
|
| 163 |
-
rw [Matrix.det_fin_two, ha, hc] at hd
|
| 164 |
-
norm_num at hd
|
| 165 |
-
obtain ⟨P,hP⟩ := regularSL2_polynomial_path k f (fun t => unipotent k t * g)
|
| 166 |
-
(!![Polynomial.C (g 0 0) + Polynomial.X * Polynomial.C (g 1 0),
|
| 167 |
-
Polynomial.C (g 0 1) + Polynomial.X * Polynomial.C (g 1 1);
|
| 168 |
-
Polynomial.C (g 1 0), Polynomial.C (g 1 1)]) (by
|
| 169 |
-
intro t i j
|
| 170 |
-
rw [upperShear_mul_entry]
|
| 171 |
-
fin_cases i <;> fin_cases j <;> simp <;> ring)
|
| 172 |
-
have hzero : P = 0 := by
|
| 173 |
-
apply Polynomial.eq_zero_of_infinite_isRoot
|
| 174 |
-
apply ((Set.finite_singleton (0 : k)).infinite_compl).mono
|
| 175 |
-
intro t ht
|
| 176 |
-
change P.eval t = 0
|
| 177 |
-
rw [hP]
|
| 178 |
-
apply hfirst
|
| 179 |
-
simpa [upperShear_mul_entry, ha] using mul_ne_zero ht hc
|
| 180 |
-
have h := hP 0
|
| 181 |
-
rw [hzero, Polynomial.eval_zero, unipotent_zero, one_mul] at h
|
| 182 |
-
exact h.symm
|
| 183 |
-
· exact hfirst g ha
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
noncomputable def regularEntry (i j : Fin 2) : regularSL2Functions k :=
|
| 187 |
-
coordinateToRegular k (MvPolynomial.X (i,j))
|
| 188 |
-
|
| 189 |
-
lemma regularEntry_apply (i j : Fin 2) (g : SL2 k) :
|
| 190 |
-
(regularEntry k i j).val g = g i j := by
|
| 191 |
-
change coordinateEvaluation k (MvPolynomial.X (i,j)) g = _
|
| 192 |
-
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 193 |
-
|
| 194 |
-
lemma regularFirstColumn_eq_entry (i : Fin 2) :
|
| 195 |
-
regularFirstColumn k i = regularEntry k i 0 := rfl
|
| 196 |
-
|
| 197 |
-
abbrev regularTorusPoints := {g : SL2 k // ∀ i, g i 0 ≠ 0}
|
| 198 |
-
|
| 199 |
-
noncomputable def regularTorusRestriction :
|
| 200 |
-
regularSL2Functions k →ₐ[k] (regularTorusPoints k → k) where
|
| 201 |
-
toFun f g := f.val g.val
|
| 202 |
-
map_zero' := rfl
|
| 203 |
-
map_one' := rfl
|
| 204 |
-
map_add' _ _ := rfl
|
| 205 |
-
map_mul' _ _ := rfl
|
| 206 |
-
commutes' _ := rfl
|
| 207 |
-
|
| 208 |
-
lemma regularTorusRestriction_injective [Infinite k] :
|
| 209 |
-
Function.Injective (regularTorusRestriction k) := by
|
| 210 |
-
intro f h he
|
| 211 |
-
apply sub_eq_zero.mp
|
| 212 |
-
apply regularSL2_torus_dense k
|
| 213 |
-
intro g ha hc
|
| 214 |
-
exact sub_eq_zero.mpr (congrFun he ⟨g, by intro i; fin_cases i; exact ha; exact hc⟩)
|
| 215 |
-
|
| 216 |
-
noncomputable def regularPlane :
|
| 217 |
-
MvPolynomial (Fin 2) k →ₐ[k] regularSL2Functions k :=
|
| 218 |
-
MvPolynomial.aeval (regularFirstColumn k)
|
| 219 |
-
|
| 220 |
-
lemma regularPlane_evaluation (P : MvPolynomial (Fin 2) k) (g : SL2 k) :
|
| 221 |
-
(regularPlane k P).val g = MvPolynomial.eval (fun i => g i 0) P := by
|
| 222 |
-
induction P using MvPolynomial.induction_on with
|
| 223 |
-
| C c => simp [regularPlane]
|
| 224 |
-
| add P Q hP hQ =>
|
| 225 |
-
simp only [map_add, Subalgebra.coe_add, Pi.add_apply, hP, hQ]
|
| 226 |
-
| mul_X P i hP =>
|
| 227 |
-
rw [map_mul, MvPolynomial.eval_mul, MvPolynomial.eval_X]
|
| 228 |
-
simp only [Subalgebra.coe_mul, Pi.mul_apply]
|
| 229 |
-
rw [hP]
|
| 230 |
-
congr 1
|
| 231 |
-
simpa only [regularPlane, MvPolynomial.aeval_X] using regularFirstColumn_apply k i g
|
| 232 |
-
|
| 233 |
-
abbrev regularCoordinateLocalization (i : Fin 2) :=
|
| 234 |
-
Localization.Away (regularFirstColumn k i)
|
| 235 |
-
|
| 236 |
-
lemma regularTorusRestriction_coordinate_isUnit (i : Fin 2) :
|
| 237 |
-
IsUnit (regularTorusRestriction k (regularFirstColumn k i)) := by
|
| 238 |
-
refine ⟨⟨fun g => g.val i 0, fun g => (g.val i 0)⁻¹, ?_, ?_⟩, ?_⟩
|
| 239 |
-
· funext g; exact mul_inv_cancel₀ (g.property i)
|
| 240 |
-
· funext g; exact inv_mul_cancel₀ (g.property i)
|
| 241 |
-
· funext g; exact (regularFirstColumn_apply k i g.val).symm
|
| 242 |
-
|
| 243 |
-
noncomputable def regularLocalizationEvaluation (i : Fin 2) :
|
| 244 |
-
regularCoordinateLocalization k i →ₐ[k] (regularTorusPoints k → k) :=
|
| 245 |
-
IsLocalization.Away.liftAlgHom (regularFirstColumn k i)
|
| 246 |
-
(regularTorusRestriction_coordinate_isUnit k i)
|
| 247 |
-
|
| 248 |
-
lemma regularLocalizationEvaluation_algebraMap (i : Fin 2) (f : regularSL2Functions k) :
|
| 249 |
-
regularLocalizationEvaluation k i
|
| 250 |
-
(algebraMap (regularSL2Functions k) (regularCoordinateLocalization k i) f) =
|
| 251 |
-
regularTorusRestriction k f :=
|
| 252 |
-
IsLocalization.Away.lift_eq _ (regularTorusRestriction_coordinate_isUnit k i) _
|
| 253 |
-
|
| 254 |
-
noncomputable def planeChartPullback (i : Fin 2) :
|
| 255 |
-
planeCoordinateChart k i →ₐ[k] regularCoordinateLocalization k i :=
|
| 256 |
-
IsLocalization.Away.liftAlgHom (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 257 |
-
(f := (IsScalarTower.toAlgHom k (regularSL2Functions k)
|
| 258 |
-
(regularCoordinateLocalization k i)).comp (regularPlane k)) (by
|
| 259 |
-
change IsUnit (algebraMap (regularSL2Functions k) (regularCoordinateLocalization k i)
|
| 260 |
-
(regularPlane k (MvPolynomial.X i)))
|
| 261 |
-
simp only [regularPlane, MvPolynomial.aeval_X]
|
| 262 |
-
exact IsLocalization.Away.algebraMap_isUnit _)
|
| 263 |
-
|
| 264 |
-
lemma planeChartPullback_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 265 |
-
planeChartPullback k i
|
| 266 |
-
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 267 |
-
algebraMap (regularSL2Functions k) (regularCoordinateLocalization k i) (regularPlane k P) := by
|
| 268 |
-
unfold planeChartPullback
|
| 269 |
-
rw [IsLocalization.Away.liftAlgHom_apply, IsLocalization.Away.lift_eq]
|
| 270 |
-
rfl
|
| 271 |
-
|
| 272 |
-
noncomputable def regularToPlaneTorus (g : regularTorusPoints k) : planeTorusPoints k :=
|
| 273 |
-
⟨fun i => g.val i 0, g.property⟩
|
| 274 |
-
|
| 275 |
-
lemma planeChartPullback_evaluation (i : Fin 2) (f : planeCoordinateChart k i)
|
| 276 |
-
(g : regularTorusPoints k) :
|
| 277 |
-
regularLocalizationEvaluation k i (planeChartPullback k i f) g =
|
| 278 |
-
planeChartEvaluation k i f (regularToPlaneTorus k g) := by
|
| 279 |
-
let ev : (planeTorusPoints k → k) →+* (regularTorusPoints k → k) :=
|
| 280 |
-
{ toFun := fun f g => f (regularToPlaneTorus k g)
|
| 281 |
-
map_zero' := rfl
|
| 282 |
-
map_one' := rfl
|
| 283 |
-
map_add' := fun _ _ => rfl
|
| 284 |
-
map_mul' := fun _ _ => rfl }
|
| 285 |
-
have h : (regularLocalizationEvaluation k i).toRingHom.comp
|
| 286 |
-
(planeChartPullback k i).toRingHom = ev.comp (planeChartEvaluation k i).toRingHom := by
|
| 287 |
-
apply IsLocalization.ringHom_ext (Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 288 |
-
apply RingHom.ext
|
| 289 |
-
intro P
|
| 290 |
-
ext g
|
| 291 |
-
simp only [RingHom.comp_apply, AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 292 |
-
planeChartPullback_algebraMap, regularLocalizationEvaluation_algebraMap,
|
| 293 |
-
planeChartEvaluation_algebraMap]
|
| 294 |
-
exact (regularPlane_evaluation k P g.val).trans
|
| 295 |
-
(planeTorusEvaluation_apply k P (regularToPlaneTorus k g)).symm
|
| 296 |
-
exact congrFun (RingHom.congr_fun h f) g
|
| 297 |
-
|
| 298 |
-
noncomputable def regularCoordinateInverse (i : Fin 2) : regularCoordinateLocalization k i :=
|
| 299 |
-
IsLocalization.Away.invSelf (S := regularCoordinateLocalization k i) (regularFirstColumn k i)
|
| 300 |
-
|
| 301 |
-
lemma regularCoordinateInverse_evaluation (i : Fin 2) (g : regularTorusPoints k) :
|
| 302 |
-
regularLocalizationEvaluation k i (regularCoordinateInverse k i) g = (g.val i 0)⁻¹ := by
|
| 303 |
-
have hmul := IsLocalization.Away.mul_invSelf (S := regularCoordinateLocalization k i)
|
| 304 |
-
(regularFirstColumn k i)
|
| 305 |
-
have h := congrFun (congrArg (regularLocalizationEvaluation k i) hmul) g
|
| 306 |
-
simp only [map_mul, map_one, Pi.mul_apply, Pi.one_apply,
|
| 307 |
-
regularLocalizationEvaluation_algebraMap] at h
|
| 308 |
-
change (regularFirstColumn k i).val g.val *
|
| 309 |
-
regularLocalizationEvaluation k i (regularCoordinateInverse k i) g = 1 at h
|
| 310 |
-
rw [regularFirstColumn_apply] at h
|
| 311 |
-
exact mul_left_cancel₀ (g.property i) (h.trans (mul_inv_cancel₀ (g.property i)).symm)
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
lemma regularLocalization_has_numerator (i : Fin 2) (f : regularCoordinateLocalization k i) :
|
| 316 |
-
∃ (n : ℕ) (a : regularSL2Functions k), ∀ g : regularTorusPoints k,
|
| 317 |
-
(g.val i 0)^n * regularLocalizationEvaluation k i f g = a.val g.val := by
|
| 318 |
-
obtain ⟨n,a,ha⟩ := IsLocalization.Away.surj (regularFirstColumn k i) f
|
| 319 |
-
refine ⟨n,a,fun g => ?_⟩
|
| 320 |
-
have h := congrFun (congrArg (regularLocalizationEvaluation k i) ha) g
|
| 321 |
-
simp only [map_mul, map_pow, regularLocalizationEvaluation_algebraMap,
|
| 322 |
-
Pi.mul_apply, Pi.pow_apply] at h
|
| 323 |
-
change _ * ((regularFirstColumn k i).val g.val)^n = a.val g.val at h
|
| 324 |
-
rwa [regularFirstColumn_apply, mul_comm] at h
|
| 325 |
-
|
| 326 |
-
end
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
lemma coprime_denominator_glue {R : Type*} [CommRing R] {a b : R}
|
| 331 |
-
(hab : IsCoprime a b) (n m : ℕ) (f g : R)
|
| 332 |
-
(hfg : b^m * f = a^n * g) :
|
| 333 |
-
∃ h : R, a^n * h = f ∧ b^m * h = g := by
|
| 334 |
-
obtain ⟨c,d,hcd⟩ := (hab.pow : IsCoprime (a^n) (b^m))
|
| 335 |
-
refine ⟨c*f+d*g, ?_, ?_⟩
|
| 336 |
-
· calc
|
| 337 |
-
a^n * (c*f+d*g) = c*a^n*f + d*(a^n*g) := by ring
|
| 338 |
-
_ = c*a^n*f + d*(b^m*f) := by rw [hfg]
|
| 339 |
-
_ = (c*a^n+d*b^m)*f := by ring
|
| 340 |
-
_ = f := by rw [hcd, one_mul]
|
| 341 |
-
· calc
|
| 342 |
-
b^m * (c*f+d*g) = c*(b^m*f) + d*b^m*g := by ring
|
| 343 |
-
_ = c*(a^n*g) + d*b^m*g := by rw [hfg]
|
| 344 |
-
_ = (c*a^n+d*b^m)*g := by ring
|
| 345 |
-
_ = g := by rw [hcd, one_mul]
|
| 346 |
-
|
| 347 |
-
universe u
|
| 348 |
-
variable (k : Type u) [Field k] [Infinite k]
|
| 349 |
-
|
| 350 |
-
omit [Infinite k] in
|
| 351 |
-
lemma regularFirstColumns_coprime :
|
| 352 |
-
IsCoprime (regularFirstColumn k 0) (regularFirstColumn k 1) := by
|
| 353 |
-
refine ⟨regularEntry k 1 1, -regularEntry k 0 1, ?_⟩
|
| 354 |
-
apply Subtype.ext
|
| 355 |
-
funext g
|
| 356 |
-
change (regularEntry k 1 1).val g * (regularFirstColumn k 0).val g +
|
| 357 |
-
-(regularEntry k 0 1).val g * (regularFirstColumn k 1).val g = 1
|
| 358 |
-
rw [regularEntry_apply, regularEntry_apply, regularFirstColumn_apply, regularFirstColumn_apply]
|
| 359 |
-
have hd := g.property
|
| 360 |
-
rw [Matrix.det_fin_two] at hd
|
| 361 |
-
linear_combination hd
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
theorem regularTorus_glue (F : regularTorusPoints k → k)
|
| 366 |
-
(f₀ : regularCoordinateLocalization k 0) (f₁ : regularCoordinateLocalization k 1)
|
| 367 |
-
(h₀ : regularLocalizationEvaluation k 0 f₀ = F)
|
| 368 |
-
(h₁ : regularLocalizationEvaluation k 1 f₁ = F) :
|
| 369 |
-
∃ f : regularSL2Functions k, regularTorusRestriction k f = F := by
|
| 370 |
-
obtain ⟨n,a,ha⟩ := regularLocalization_has_numerator k 0 f₀
|
| 371 |
-
obtain ⟨m,b,hb⟩ := regularLocalization_has_numerator k 1 f₁
|
| 372 |
-
have hab : (regularFirstColumn k 1)^m * a = (regularFirstColumn k 0)^n * b := by
|
| 373 |
-
apply regularTorusRestriction_injective k
|
| 374 |
-
funext g
|
| 375 |
-
change ((regularFirstColumn k 1).val g.val)^m * a.val g.val =
|
| 376 |
-
((regularFirstColumn k 0).val g.val)^n * b.val g.val
|
| 377 |
-
rw [regularFirstColumn_apply, regularFirstColumn_apply, ← ha g, ← hb g, h₀, h₁]
|
| 378 |
-
ring
|
| 379 |
-
obtain ⟨f,hf,-⟩ := coprime_denominator_glue (regularFirstColumns_coprime k) n m a b hab
|
| 380 |
-
refine ⟨f,funext fun g => ?_⟩
|
| 381 |
-
apply mul_left_cancel₀ (pow_ne_zero n (g.property 0))
|
| 382 |
-
have h := congrArg (fun a : regularSL2Functions k => a.val g.val) hf
|
| 383 |
-
change ((regularFirstColumn k 0).val g.val)^n * f.val g.val = a.val g.val at h
|
| 384 |
-
rw [regularFirstColumn_apply, ← ha g, h₀] at h
|
| 385 |
-
exact h
|
| 386 |
-
|
| 387 |
-
omit [Infinite k] in
|
| 388 |
-
lemma subalgebra_polynomial_mem {Ω σ : Type*} (S : Subalgebra k (Ω → k))
|
| 389 |
-
(x : σ → Ω → k) (hx : ∀ i, x i ∈ S) (P : MvPolynomial σ k) :
|
| 390 |
-
(fun g => MvPolynomial.eval (fun i => x i g) P) ∈ S := by
|
| 391 |
-
induction P using MvPolynomial.induction_on with
|
| 392 |
-
| C c =>
|
| 393 |
-
convert S.algebraMap_mem c using 1
|
| 394 |
-
ext g
|
| 395 |
-
simp
|
| 396 |
-
| add P Q hP hQ =>
|
| 397 |
-
convert S.add_mem hP hQ using 1
|
| 398 |
-
ext g
|
| 399 |
-
simp
|
| 400 |
-
| mul_X P i hP =>
|
| 401 |
-
convert S.mul_mem hP (hx i) using 1
|
| 402 |
-
ext g
|
| 403 |
-
simp
|
| 404 |
-
|
| 405 |
-
omit [Infinite k] in
|
| 406 |
-
lemma regularSL2_pullback_mem (φ : SL2 k → SL2 k)
|
| 407 |
-
(A : Matrix (Fin 2) (Fin 2) (regularSL2Functions k))
|
| 408 |
-
(hA : ∀ g i j, (A i j).val g = φ g i j) (f : regularSL2Functions k) :
|
| 409 |
-
(fun g => f.val (φ g)) ∈ regularSL2Functions k := by
|
| 410 |
-
obtain ⟨P,hP⟩ := f.property
|
| 411 |
-
have h := subalgebra_polynomial_mem k (regularSL2Functions k)
|
| 412 |
-
(fun ij : Fin 2 × Fin 2 => (A ij.1 ij.2).val) (fun ij => (A ij.1 ij.2).property) P
|
| 413 |
-
have he : (fun g => MvPolynomial.eval (fun ij => (A ij.1 ij.2).val g) P) =
|
| 414 |
-
(fun g => f.val (φ g)) := by
|
| 415 |
-
funext g
|
| 416 |
-
simp only [hA]
|
| 417 |
-
exact (coordinateEvaluation_apply k P (φ g)).symm.trans (congrFun hP (φ g))
|
| 418 |
-
exact he ▸ h
|
| 419 |
-
|
| 420 |
-
noncomputable def regularRightTranslation (h : SL2 k) (f : regularSL2Functions k) :
|
| 421 |
-
regularSL2Functions k :=
|
| 422 |
-
⟨fun g => f.val (g*h), regularSL2_pullback_mem k (fun g => g*h)
|
| 423 |
-
(fun i j => ∑ l : Fin 2, (h l j) • regularEntry k i l) (by
|
| 424 |
-
intro g i j
|
| 425 |
-
rw [Fin.sum_univ_two]
|
| 426 |
-
change h 0 j * (regularEntry k i 0).val g + h 1 j * (regularEntry k i 1).val g =
|
| 427 |
-
((g : Matrix (Fin 2) (Fin 2) k) * (h : Matrix (Fin 2) (Fin 2) k)) i j
|
| 428 |
-
rw [regularEntry_apply, regularEntry_apply, Matrix.mul_apply, Fin.sum_univ_two]
|
| 429 |
-
ring) f⟩
|
| 430 |
-
|
| 431 |
-
omit [Infinite k] in
|
| 432 |
-
lemma regularRightTranslation_apply (h g : SL2 k) (f : regularSL2Functions k) :
|
| 433 |
-
(regularRightTranslation k h f).val g = f.val (g*h) := rfl
|
| 434 |
-
|
| 435 |
-
end FiberFunctorProof
|
| 436 |
-
end
|
| 437 |
-
|
| 438 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
import OAI.RepresentationTheory.RestrictedTilting.RegularActions
|
| 3 |
+
|
| 4 |
+
namespace OAI
|
| 5 |
+
|
| 6 |
+
/-! Torus density, regular localization and coprime denominator gluing. -/
|
| 7 |
+
|
| 8 |
+
noncomputable section
|
| 9 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 10 |
+
open scoped BigOperators
|
| 11 |
+
|
| 12 |
+
namespace FiberFunctorProof
|
| 13 |
+
section
|
| 14 |
+
variable (k : Type*) [Field k] [Infinite k]
|
| 15 |
+
|
| 16 |
+
abbrev planeTorusPoints := {x : Fin 2 → k // ∀ i, x i ≠ 0}
|
| 17 |
+
|
| 18 |
+
noncomputable def planeTorusEvaluation :
|
| 19 |
+
MvPolynomial (Fin 2) k →ₐ[k] (planeTorusPoints k → k) :=
|
| 20 |
+
MvPolynomial.aeval (fun i x => x.val i)
|
| 21 |
+
|
| 22 |
+
omit [Infinite k] in
|
| 23 |
+
lemma planeTorusEvaluation_apply (P : MvPolynomial (Fin 2) k) (x : planeTorusPoints k) :
|
| 24 |
+
planeTorusEvaluation k P x = MvPolynomial.eval x.val P := by
|
| 25 |
+
induction P using MvPolynomial.induction_on with
|
| 26 |
+
| C c => simp [planeTorusEvaluation]
|
| 27 |
+
| add P Q hp hq => simp only [map_add, Pi.add_apply, hp, hq]
|
| 28 |
+
| mul_X P i hp =>
|
| 29 |
+
simp only [map_mul, Pi.mul_apply, hp]
|
| 30 |
+
congr 1
|
| 31 |
+
simp [planeTorusEvaluation]
|
| 32 |
+
|
| 33 |
+
theorem planeTorusEvaluation_injective : Function.Injective (planeTorusEvaluation k) := by
|
| 34 |
+
intro P Q h
|
| 35 |
+
apply MvPolynomial.funext_set (fun _ : Fin 2 => ({0} : Set k)ᶜ)
|
| 36 |
+
(fun _ => (Set.finite_singleton (0 : k)).infinite_compl)
|
| 37 |
+
intro x hx
|
| 38 |
+
have hx' : ∀ i, x i ≠ 0 := by
|
| 39 |
+
intro i
|
| 40 |
+
simpa only [Set.mem_compl_iff, Set.mem_singleton_iff] using hx i (Set.mem_univ i)
|
| 41 |
+
exact (planeTorusEvaluation_apply k P ⟨x,hx'⟩).symm.trans
|
| 42 |
+
((congrFun h ⟨x,hx'⟩).trans (planeTorusEvaluation_apply k Q ⟨x,hx'⟩))
|
| 43 |
+
|
| 44 |
+
omit [Infinite k] in
|
| 45 |
+
lemma planeTorusEvaluation_X_isUnit (i : Fin 2) :
|
| 46 |
+
IsUnit (planeTorusEvaluation k (MvPolynomial.X i)) := by
|
| 47 |
+
refine ⟨⟨fun x => x.val i, fun x => (x.val i)⁻¹, ?_, ?_⟩, ?_⟩
|
| 48 |
+
· funext x; exact mul_inv_cancel₀ (x.property i)
|
| 49 |
+
· funext x; exact inv_mul_cancel₀ (x.property i)
|
| 50 |
+
· ext x; simp [planeTorusEvaluation]
|
| 51 |
+
|
| 52 |
+
abbrev planeCoordinateChart (i : Fin 2) :=
|
| 53 |
+
Localization.Away (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 54 |
+
|
| 55 |
+
noncomputable def planeChartEvaluation (i : Fin 2) :
|
| 56 |
+
planeCoordinateChart k i →ₐ[k] (planeTorusPoints k → k) :=
|
| 57 |
+
IsLocalization.Away.liftAlgHom (MvPolynomial.X i) (planeTorusEvaluation_X_isUnit k i)
|
| 58 |
+
|
| 59 |
+
omit [Infinite k] in
|
| 60 |
+
lemma planeChartEvaluation_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 61 |
+
planeChartEvaluation k i
|
| 62 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 63 |
+
planeTorusEvaluation k P :=
|
| 64 |
+
IsLocalization.Away.lift_eq _ (planeTorusEvaluation_X_isUnit k i) _
|
| 65 |
+
|
| 66 |
+
theorem planeChartEvaluation_injective (i : Fin 2) :
|
| 67 |
+
Function.Injective (planeChartEvaluation k i) := by
|
| 68 |
+
apply (IsLocalization.injective_iff_map_algebraMap_eq
|
| 69 |
+
(R := MvPolynomial (Fin 2) k) (S := planeCoordinateChart k i)
|
| 70 |
+
(Submonoid.powers (MvPolynomial.X i)) (planeChartEvaluation k i).toRingHom).mpr
|
| 71 |
+
intro P Q
|
| 72 |
+
constructor
|
| 73 |
+
· exact congrArg (planeChartEvaluation k i)
|
| 74 |
+
· intro h
|
| 75 |
+
have h' : planeTorusEvaluation k P = planeTorusEvaluation k Q := by
|
| 76 |
+
simpa only [AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 77 |
+
planeChartEvaluation_algebraMap] using h
|
| 78 |
+
exact congrArg (algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i))
|
| 79 |
+
(planeTorusEvaluation_injective k h')
|
| 80 |
+
|
| 81 |
+
end
|
| 82 |
+
|
| 83 |
+
section
|
| 84 |
+
universe u
|
| 85 |
+
variable (k : Type u) [Field k]
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
lemma regularSL2_polynomial_path (f : regularSL2Functions k)
|
| 89 |
+
(g : k → SL2 k) (A : Matrix (Fin 2) (Fin 2) (Polynomial k))
|
| 90 |
+
(hA : ∀ t i j, (A i j).eval t = g t i j) :
|
| 91 |
+
∃ P : Polynomial k, ∀ t, P.eval t = f.val (g t) := by
|
| 92 |
+
obtain ⟨Q,hQ⟩ := f.property
|
| 93 |
+
change coordinateEvaluation k Q = f.val at hQ
|
| 94 |
+
refine ⟨MvPolynomial.aeval (fun ij => A ij.1 ij.2) Q, ?_⟩
|
| 95 |
+
intro t
|
| 96 |
+
rw [← congrFun hQ (g t), coordinateEvaluation_apply]
|
| 97 |
+
clear hQ
|
| 98 |
+
induction Q using MvPolynomial.induction_on with
|
| 99 |
+
| C c => simp
|
| 100 |
+
| add Q R hQ hR => simp only [map_add, Polynomial.eval_add, hQ, hR]
|
| 101 |
+
| mul_X Q i hQ =>
|
| 102 |
+
simp only [map_mul, Polynomial.eval_mul, MvPolynomial.aeval_X, hA,
|
| 103 |
+
MvPolynomial.eval_X, hQ]
|
| 104 |
+
|
| 105 |
+
noncomputable def regularLowerShear (t : k) : SL2 k :=
|
| 106 |
+
⟨!![1,0;t,1], by simp [Matrix.det_fin_two]⟩
|
| 107 |
+
|
| 108 |
+
lemma regularLowerShear_zero : regularLowerShear k 0 = 1 := by
|
| 109 |
+
apply Subtype.ext
|
| 110 |
+
ext i j
|
| 111 |
+
fin_cases i <;> fin_cases j <;> rfl
|
| 112 |
+
|
| 113 |
+
lemma lowerShear_mul_entry (t : k) (g : SL2 k) (i j : Fin 2) :
|
| 114 |
+
(regularLowerShear k t * g) i j =
|
| 115 |
+
(!![g 0 0, g 0 1; t * g 0 0 + g 1 0, t * g 0 1 + g 1 1]) i j := by
|
| 116 |
+
change ((regularLowerShear k t : Matrix (Fin 2) (Fin 2) k) *
|
| 117 |
+
(g : Matrix (Fin 2) (Fin 2) k)) i j = _
|
| 118 |
+
fin_cases i <;> fin_cases j <;>
|
| 119 |
+
simp [regularLowerShear, Matrix.mul_apply, Fin.sum_univ_two]
|
| 120 |
+
|
| 121 |
+
lemma upperShear_mul_entry (t : k) (g : SL2 k) (i j : Fin 2) :
|
| 122 |
+
(unipotent k t * g) i j =
|
| 123 |
+
(!![g 0 0 + t * g 1 0, g 0 1 + t * g 1 1; g 1 0, g 1 1]) i j := by
|
| 124 |
+
change ((unipotent k t : Matrix (Fin 2) (Fin 2) k) *
|
| 125 |
+
(g : Matrix (Fin 2) (Fin 2) k)) i j = _
|
| 126 |
+
fin_cases i <;> fin_cases j <;>
|
| 127 |
+
simp [unipotent, Matrix.mul_apply, Fin.sum_univ_two]
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
theorem regularSL2_torus_dense [Infinite k] (f : regularSL2Functions k)
|
| 132 |
+
(hf : ∀ g : SL2 k, g 0 0 ≠ 0 → g 1 0 ≠ 0 → f.val g = 0) : f = 0 := by
|
| 133 |
+
have hfirst (g : SL2 k) (ha : g 0 0 ≠ 0) : f.val g = 0 := by
|
| 134 |
+
obtain ⟨P,hP⟩ := regularSL2_polynomial_path k f (fun t => regularLowerShear k t * g)
|
| 135 |
+
(!![Polynomial.C (g 0 0), Polynomial.C (g 0 1);
|
| 136 |
+
Polynomial.X * Polynomial.C (g 0 0) + Polynomial.C (g 1 0),
|
| 137 |
+
Polynomial.X * Polynomial.C (g 0 1) + Polynomial.C (g 1 1)]) (by
|
| 138 |
+
intro t i j
|
| 139 |
+
rw [lowerShear_mul_entry]
|
| 140 |
+
fin_cases i <;> fin_cases j <;> simp <;> ring)
|
| 141 |
+
have hzero : P = 0 := by
|
| 142 |
+
apply Polynomial.eq_zero_of_infinite_isRoot
|
| 143 |
+
apply ((Set.finite_singleton (-g 1 0 / g 0 0)).infinite_compl).mono
|
| 144 |
+
intro t ht
|
| 145 |
+
change P.eval t = 0
|
| 146 |
+
rw [hP]
|
| 147 |
+
apply hf
|
| 148 |
+
· simpa [lowerShear_mul_entry] using ha
|
| 149 |
+
· have ht' : t ≠ -g 1 0 / g 0 0 := ht
|
| 150 |
+
simp only [lowerShear_mul_entry]
|
| 151 |
+
intro hz
|
| 152 |
+
exact ht' ((eq_div_iff ha).mpr (eq_neg_of_add_eq_zero_left hz))
|
| 153 |
+
have h := hP 0
|
| 154 |
+
rw [hzero, Polynomial.eval_zero, regularLowerShear_zero, one_mul] at h
|
| 155 |
+
exact h.symm
|
| 156 |
+
apply Subtype.ext
|
| 157 |
+
funext g
|
| 158 |
+
change f.val g = 0
|
| 159 |
+
by_cases ha : g 0 0 = 0
|
| 160 |
+
· have hc : g 1 0 ≠ 0 := by
|
| 161 |
+
intro hc
|
| 162 |
+
have hd := g.property
|
| 163 |
+
rw [Matrix.det_fin_two, ha, hc] at hd
|
| 164 |
+
norm_num at hd
|
| 165 |
+
obtain ⟨P,hP⟩ := regularSL2_polynomial_path k f (fun t => unipotent k t * g)
|
| 166 |
+
(!![Polynomial.C (g 0 0) + Polynomial.X * Polynomial.C (g 1 0),
|
| 167 |
+
Polynomial.C (g 0 1) + Polynomial.X * Polynomial.C (g 1 1);
|
| 168 |
+
Polynomial.C (g 1 0), Polynomial.C (g 1 1)]) (by
|
| 169 |
+
intro t i j
|
| 170 |
+
rw [upperShear_mul_entry]
|
| 171 |
+
fin_cases i <;> fin_cases j <;> simp <;> ring)
|
| 172 |
+
have hzero : P = 0 := by
|
| 173 |
+
apply Polynomial.eq_zero_of_infinite_isRoot
|
| 174 |
+
apply ((Set.finite_singleton (0 : k)).infinite_compl).mono
|
| 175 |
+
intro t ht
|
| 176 |
+
change P.eval t = 0
|
| 177 |
+
rw [hP]
|
| 178 |
+
apply hfirst
|
| 179 |
+
simpa [upperShear_mul_entry, ha] using mul_ne_zero ht hc
|
| 180 |
+
have h := hP 0
|
| 181 |
+
rw [hzero, Polynomial.eval_zero, unipotent_zero, one_mul] at h
|
| 182 |
+
exact h.symm
|
| 183 |
+
· exact hfirst g ha
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
noncomputable def regularEntry (i j : Fin 2) : regularSL2Functions k :=
|
| 187 |
+
coordinateToRegular k (MvPolynomial.X (i,j))
|
| 188 |
+
|
| 189 |
+
lemma regularEntry_apply (i j : Fin 2) (g : SL2 k) :
|
| 190 |
+
(regularEntry k i j).val g = g i j := by
|
| 191 |
+
change coordinateEvaluation k (MvPolynomial.X (i,j)) g = _
|
| 192 |
+
rw [coordinateEvaluation_apply, MvPolynomial.eval_X]
|
| 193 |
+
|
| 194 |
+
lemma regularFirstColumn_eq_entry (i : Fin 2) :
|
| 195 |
+
regularFirstColumn k i = regularEntry k i 0 := rfl
|
| 196 |
+
|
| 197 |
+
abbrev regularTorusPoints := {g : SL2 k // ∀ i, g i 0 ≠ 0}
|
| 198 |
+
|
| 199 |
+
noncomputable def regularTorusRestriction :
|
| 200 |
+
regularSL2Functions k →ₐ[k] (regularTorusPoints k → k) where
|
| 201 |
+
toFun f g := f.val g.val
|
| 202 |
+
map_zero' := rfl
|
| 203 |
+
map_one' := rfl
|
| 204 |
+
map_add' _ _ := rfl
|
| 205 |
+
map_mul' _ _ := rfl
|
| 206 |
+
commutes' _ := rfl
|
| 207 |
+
|
| 208 |
+
lemma regularTorusRestriction_injective [Infinite k] :
|
| 209 |
+
Function.Injective (regularTorusRestriction k) := by
|
| 210 |
+
intro f h he
|
| 211 |
+
apply sub_eq_zero.mp
|
| 212 |
+
apply regularSL2_torus_dense k
|
| 213 |
+
intro g ha hc
|
| 214 |
+
exact sub_eq_zero.mpr (congrFun he ⟨g, by intro i; fin_cases i; exact ha; exact hc⟩)
|
| 215 |
+
|
| 216 |
+
noncomputable def regularPlane :
|
| 217 |
+
MvPolynomial (Fin 2) k →ₐ[k] regularSL2Functions k :=
|
| 218 |
+
MvPolynomial.aeval (regularFirstColumn k)
|
| 219 |
+
|
| 220 |
+
lemma regularPlane_evaluation (P : MvPolynomial (Fin 2) k) (g : SL2 k) :
|
| 221 |
+
(regularPlane k P).val g = MvPolynomial.eval (fun i => g i 0) P := by
|
| 222 |
+
induction P using MvPolynomial.induction_on with
|
| 223 |
+
| C c => simp [regularPlane]
|
| 224 |
+
| add P Q hP hQ =>
|
| 225 |
+
simp only [map_add, Subalgebra.coe_add, Pi.add_apply, hP, hQ]
|
| 226 |
+
| mul_X P i hP =>
|
| 227 |
+
rw [map_mul, MvPolynomial.eval_mul, MvPolynomial.eval_X]
|
| 228 |
+
simp only [Subalgebra.coe_mul, Pi.mul_apply]
|
| 229 |
+
rw [hP]
|
| 230 |
+
congr 1
|
| 231 |
+
simpa only [regularPlane, MvPolynomial.aeval_X] using regularFirstColumn_apply k i g
|
| 232 |
+
|
| 233 |
+
abbrev regularCoordinateLocalization (i : Fin 2) :=
|
| 234 |
+
Localization.Away (regularFirstColumn k i)
|
| 235 |
+
|
| 236 |
+
lemma regularTorusRestriction_coordinate_isUnit (i : Fin 2) :
|
| 237 |
+
IsUnit (regularTorusRestriction k (regularFirstColumn k i)) := by
|
| 238 |
+
refine ⟨⟨fun g => g.val i 0, fun g => (g.val i 0)⁻¹, ?_, ?_⟩, ?_⟩
|
| 239 |
+
· funext g; exact mul_inv_cancel₀ (g.property i)
|
| 240 |
+
· funext g; exact inv_mul_cancel₀ (g.property i)
|
| 241 |
+
· funext g; exact (regularFirstColumn_apply k i g.val).symm
|
| 242 |
+
|
| 243 |
+
noncomputable def regularLocalizationEvaluation (i : Fin 2) :
|
| 244 |
+
regularCoordinateLocalization k i →ₐ[k] (regularTorusPoints k → k) :=
|
| 245 |
+
IsLocalization.Away.liftAlgHom (regularFirstColumn k i)
|
| 246 |
+
(regularTorusRestriction_coordinate_isUnit k i)
|
| 247 |
+
|
| 248 |
+
lemma regularLocalizationEvaluation_algebraMap (i : Fin 2) (f : regularSL2Functions k) :
|
| 249 |
+
regularLocalizationEvaluation k i
|
| 250 |
+
(algebraMap (regularSL2Functions k) (regularCoordinateLocalization k i) f) =
|
| 251 |
+
regularTorusRestriction k f :=
|
| 252 |
+
IsLocalization.Away.lift_eq _ (regularTorusRestriction_coordinate_isUnit k i) _
|
| 253 |
+
|
| 254 |
+
noncomputable def planeChartPullback (i : Fin 2) :
|
| 255 |
+
planeCoordinateChart k i →ₐ[k] regularCoordinateLocalization k i :=
|
| 256 |
+
IsLocalization.Away.liftAlgHom (MvPolynomial.X i : MvPolynomial (Fin 2) k)
|
| 257 |
+
(f := (IsScalarTower.toAlgHom k (regularSL2Functions k)
|
| 258 |
+
(regularCoordinateLocalization k i)).comp (regularPlane k)) (by
|
| 259 |
+
change IsUnit (algebraMap (regularSL2Functions k) (regularCoordinateLocalization k i)
|
| 260 |
+
(regularPlane k (MvPolynomial.X i)))
|
| 261 |
+
simp only [regularPlane, MvPolynomial.aeval_X]
|
| 262 |
+
exact IsLocalization.Away.algebraMap_isUnit _)
|
| 263 |
+
|
| 264 |
+
lemma planeChartPullback_algebraMap (i : Fin 2) (P : MvPolynomial (Fin 2) k) :
|
| 265 |
+
planeChartPullback k i
|
| 266 |
+
(algebraMap (MvPolynomial (Fin 2) k) (planeCoordinateChart k i) P) =
|
| 267 |
+
algebraMap (regularSL2Functions k) (regularCoordinateLocalization k i) (regularPlane k P) := by
|
| 268 |
+
unfold planeChartPullback
|
| 269 |
+
rw [IsLocalization.Away.liftAlgHom_apply, IsLocalization.Away.lift_eq]
|
| 270 |
+
rfl
|
| 271 |
+
|
| 272 |
+
noncomputable def regularToPlaneTorus (g : regularTorusPoints k) : planeTorusPoints k :=
|
| 273 |
+
⟨fun i => g.val i 0, g.property⟩
|
| 274 |
+
|
| 275 |
+
lemma planeChartPullback_evaluation (i : Fin 2) (f : planeCoordinateChart k i)
|
| 276 |
+
(g : regularTorusPoints k) :
|
| 277 |
+
regularLocalizationEvaluation k i (planeChartPullback k i f) g =
|
| 278 |
+
planeChartEvaluation k i f (regularToPlaneTorus k g) := by
|
| 279 |
+
let ev : (planeTorusPoints k → k) →+* (regularTorusPoints k → k) :=
|
| 280 |
+
{ toFun := fun f g => f (regularToPlaneTorus k g)
|
| 281 |
+
map_zero' := rfl
|
| 282 |
+
map_one' := rfl
|
| 283 |
+
map_add' := fun _ _ => rfl
|
| 284 |
+
map_mul' := fun _ _ => rfl }
|
| 285 |
+
have h : (regularLocalizationEvaluation k i).toRingHom.comp
|
| 286 |
+
(planeChartPullback k i).toRingHom = ev.comp (planeChartEvaluation k i).toRingHom := by
|
| 287 |
+
apply IsLocalization.ringHom_ext (Submonoid.powers (MvPolynomial.X i : MvPolynomial (Fin 2) k))
|
| 288 |
+
apply RingHom.ext
|
| 289 |
+
intro P
|
| 290 |
+
ext g
|
| 291 |
+
simp only [RingHom.comp_apply, AlgHom.toRingHom_eq_coe, RingHom.coe_coe,
|
| 292 |
+
planeChartPullback_algebraMap, regularLocalizationEvaluation_algebraMap,
|
| 293 |
+
planeChartEvaluation_algebraMap]
|
| 294 |
+
exact (regularPlane_evaluation k P g.val).trans
|
| 295 |
+
(planeTorusEvaluation_apply k P (regularToPlaneTorus k g)).symm
|
| 296 |
+
exact congrFun (RingHom.congr_fun h f) g
|
| 297 |
+
|
| 298 |
+
noncomputable def regularCoordinateInverse (i : Fin 2) : regularCoordinateLocalization k i :=
|
| 299 |
+
IsLocalization.Away.invSelf (S := regularCoordinateLocalization k i) (regularFirstColumn k i)
|
| 300 |
+
|
| 301 |
+
lemma regularCoordinateInverse_evaluation (i : Fin 2) (g : regularTorusPoints k) :
|
| 302 |
+
regularLocalizationEvaluation k i (regularCoordinateInverse k i) g = (g.val i 0)⁻¹ := by
|
| 303 |
+
have hmul := IsLocalization.Away.mul_invSelf (S := regularCoordinateLocalization k i)
|
| 304 |
+
(regularFirstColumn k i)
|
| 305 |
+
have h := congrFun (congrArg (regularLocalizationEvaluation k i) hmul) g
|
| 306 |
+
simp only [map_mul, map_one, Pi.mul_apply, Pi.one_apply,
|
| 307 |
+
regularLocalizationEvaluation_algebraMap] at h
|
| 308 |
+
change (regularFirstColumn k i).val g.val *
|
| 309 |
+
regularLocalizationEvaluation k i (regularCoordinateInverse k i) g = 1 at h
|
| 310 |
+
rw [regularFirstColumn_apply] at h
|
| 311 |
+
exact mul_left_cancel₀ (g.property i) (h.trans (mul_inv_cancel₀ (g.property i)).symm)
|
| 312 |
+
|
| 313 |
+
|
| 314 |
+
|
| 315 |
+
lemma regularLocalization_has_numerator (i : Fin 2) (f : regularCoordinateLocalization k i) :
|
| 316 |
+
∃ (n : ℕ) (a : regularSL2Functions k), ∀ g : regularTorusPoints k,
|
| 317 |
+
(g.val i 0)^n * regularLocalizationEvaluation k i f g = a.val g.val := by
|
| 318 |
+
obtain ⟨n,a,ha⟩ := IsLocalization.Away.surj (regularFirstColumn k i) f
|
| 319 |
+
refine ⟨n,a,fun g => ?_⟩
|
| 320 |
+
have h := congrFun (congrArg (regularLocalizationEvaluation k i) ha) g
|
| 321 |
+
simp only [map_mul, map_pow, regularLocalizationEvaluation_algebraMap,
|
| 322 |
+
Pi.mul_apply, Pi.pow_apply] at h
|
| 323 |
+
change _ * ((regularFirstColumn k i).val g.val)^n = a.val g.val at h
|
| 324 |
+
rwa [regularFirstColumn_apply, mul_comm] at h
|
| 325 |
+
|
| 326 |
+
end
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
|
| 330 |
+
lemma coprime_denominator_glue {R : Type*} [CommRing R] {a b : R}
|
| 331 |
+
(hab : IsCoprime a b) (n m : ℕ) (f g : R)
|
| 332 |
+
(hfg : b^m * f = a^n * g) :
|
| 333 |
+
∃ h : R, a^n * h = f ∧ b^m * h = g := by
|
| 334 |
+
obtain ⟨c,d,hcd⟩ := (hab.pow : IsCoprime (a^n) (b^m))
|
| 335 |
+
refine ⟨c*f+d*g, ?_, ?_⟩
|
| 336 |
+
· calc
|
| 337 |
+
a^n * (c*f+d*g) = c*a^n*f + d*(a^n*g) := by ring
|
| 338 |
+
_ = c*a^n*f + d*(b^m*f) := by rw [hfg]
|
| 339 |
+
_ = (c*a^n+d*b^m)*f := by ring
|
| 340 |
+
_ = f := by rw [hcd, one_mul]
|
| 341 |
+
· calc
|
| 342 |
+
b^m * (c*f+d*g) = c*(b^m*f) + d*b^m*g := by ring
|
| 343 |
+
_ = c*(a^n*g) + d*b^m*g := by rw [hfg]
|
| 344 |
+
_ = (c*a^n+d*b^m)*g := by ring
|
| 345 |
+
_ = g := by rw [hcd, one_mul]
|
| 346 |
+
|
| 347 |
+
universe u
|
| 348 |
+
variable (k : Type u) [Field k] [Infinite k]
|
| 349 |
+
|
| 350 |
+
omit [Infinite k] in
|
| 351 |
+
lemma regularFirstColumns_coprime :
|
| 352 |
+
IsCoprime (regularFirstColumn k 0) (regularFirstColumn k 1) := by
|
| 353 |
+
refine ⟨regularEntry k 1 1, -regularEntry k 0 1, ?_⟩
|
| 354 |
+
apply Subtype.ext
|
| 355 |
+
funext g
|
| 356 |
+
change (regularEntry k 1 1).val g * (regularFirstColumn k 0).val g +
|
| 357 |
+
-(regularEntry k 0 1).val g * (regularFirstColumn k 1).val g = 1
|
| 358 |
+
rw [regularEntry_apply, regularEntry_apply, regularFirstColumn_apply, regularFirstColumn_apply]
|
| 359 |
+
have hd := g.property
|
| 360 |
+
rw [Matrix.det_fin_two] at hd
|
| 361 |
+
linear_combination hd
|
| 362 |
+
|
| 363 |
+
|
| 364 |
+
|
| 365 |
+
theorem regularTorus_glue (F : regularTorusPoints k → k)
|
| 366 |
+
(f₀ : regularCoordinateLocalization k 0) (f₁ : regularCoordinateLocalization k 1)
|
| 367 |
+
(h₀ : regularLocalizationEvaluation k 0 f₀ = F)
|
| 368 |
+
(h₁ : regularLocalizationEvaluation k 1 f₁ = F) :
|
| 369 |
+
∃ f : regularSL2Functions k, regularTorusRestriction k f = F := by
|
| 370 |
+
obtain ⟨n,a,ha⟩ := regularLocalization_has_numerator k 0 f₀
|
| 371 |
+
obtain ⟨m,b,hb⟩ := regularLocalization_has_numerator k 1 f₁
|
| 372 |
+
have hab : (regularFirstColumn k 1)^m * a = (regularFirstColumn k 0)^n * b := by
|
| 373 |
+
apply regularTorusRestriction_injective k
|
| 374 |
+
funext g
|
| 375 |
+
change ((regularFirstColumn k 1).val g.val)^m * a.val g.val =
|
| 376 |
+
((regularFirstColumn k 0).val g.val)^n * b.val g.val
|
| 377 |
+
rw [regularFirstColumn_apply, regularFirstColumn_apply, ← ha g, ← hb g, h₀, h₁]
|
| 378 |
+
ring
|
| 379 |
+
obtain ⟨f,hf,-⟩ := coprime_denominator_glue (regularFirstColumns_coprime k) n m a b hab
|
| 380 |
+
refine ⟨f,funext fun g => ?_⟩
|
| 381 |
+
apply mul_left_cancel₀ (pow_ne_zero n (g.property 0))
|
| 382 |
+
have h := congrArg (fun a : regularSL2Functions k => a.val g.val) hf
|
| 383 |
+
change ((regularFirstColumn k 0).val g.val)^n * f.val g.val = a.val g.val at h
|
| 384 |
+
rw [regularFirstColumn_apply, ← ha g, h₀] at h
|
| 385 |
+
exact h
|
| 386 |
+
|
| 387 |
+
omit [Infinite k] in
|
| 388 |
+
lemma subalgebra_polynomial_mem {Ω σ : Type*} (S : Subalgebra k (Ω → k))
|
| 389 |
+
(x : σ → Ω → k) (hx : ∀ i, x i ∈ S) (P : MvPolynomial σ k) :
|
| 390 |
+
(fun g => MvPolynomial.eval (fun i => x i g) P) ∈ S := by
|
| 391 |
+
induction P using MvPolynomial.induction_on with
|
| 392 |
+
| C c =>
|
| 393 |
+
convert S.algebraMap_mem c using 1
|
| 394 |
+
ext g
|
| 395 |
+
simp
|
| 396 |
+
| add P Q hP hQ =>
|
| 397 |
+
convert S.add_mem hP hQ using 1
|
| 398 |
+
ext g
|
| 399 |
+
simp
|
| 400 |
+
| mul_X P i hP =>
|
| 401 |
+
convert S.mul_mem hP (hx i) using 1
|
| 402 |
+
ext g
|
| 403 |
+
simp
|
| 404 |
+
|
| 405 |
+
omit [Infinite k] in
|
| 406 |
+
lemma regularSL2_pullback_mem (φ : SL2 k → SL2 k)
|
| 407 |
+
(A : Matrix (Fin 2) (Fin 2) (regularSL2Functions k))
|
| 408 |
+
(hA : ∀ g i j, (A i j).val g = φ g i j) (f : regularSL2Functions k) :
|
| 409 |
+
(fun g => f.val (φ g)) ∈ regularSL2Functions k := by
|
| 410 |
+
obtain ⟨P,hP⟩ := f.property
|
| 411 |
+
have h := subalgebra_polynomial_mem k (regularSL2Functions k)
|
| 412 |
+
(fun ij : Fin 2 × Fin 2 => (A ij.1 ij.2).val) (fun ij => (A ij.1 ij.2).property) P
|
| 413 |
+
have he : (fun g => MvPolynomial.eval (fun ij => (A ij.1 ij.2).val g) P) =
|
| 414 |
+
(fun g => f.val (φ g)) := by
|
| 415 |
+
funext g
|
| 416 |
+
simp only [hA]
|
| 417 |
+
exact (coordinateEvaluation_apply k P (φ g)).symm.trans (congrFun hP (φ g))
|
| 418 |
+
exact he ▸ h
|
| 419 |
+
|
| 420 |
+
noncomputable def regularRightTranslation (h : SL2 k) (f : regularSL2Functions k) :
|
| 421 |
+
regularSL2Functions k :=
|
| 422 |
+
⟨fun g => f.val (g*h), regularSL2_pullback_mem k (fun g => g*h)
|
| 423 |
+
(fun i j => ∑ l : Fin 2, (h l j) • regularEntry k i l) (by
|
| 424 |
+
intro g i j
|
| 425 |
+
rw [Fin.sum_univ_two]
|
| 426 |
+
change h 0 j * (regularEntry k i 0).val g + h 1 j * (regularEntry k i 1).val g =
|
| 427 |
+
((g : Matrix (Fin 2) (Fin 2) k) * (h : Matrix (Fin 2) (Fin 2) k)) i j
|
| 428 |
+
rw [regularEntry_apply, regularEntry_apply, Matrix.mul_apply, Fin.sum_univ_two]
|
| 429 |
+
ring) f⟩
|
| 430 |
+
|
| 431 |
+
omit [Infinite k] in
|
| 432 |
+
lemma regularRightTranslation_apply (h g : SL2 k) (f : regularSL2Functions k) :
|
| 433 |
+
(regularRightTranslation k h f).val g = f.val (g*h) := rfl
|
| 434 |
+
|
| 435 |
+
end FiberFunctorProof
|
| 436 |
+
end
|
| 437 |
+
|
| 438 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RelativeTrace.lean
CHANGED
|
@@ -1,49 +1,49 @@
|
|
| 1 |
-
import Mathlib
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory Representation
|
| 7 |
-
universe u v
|
| 8 |
-
variable {k : Type u} [Field k] {G : Type v} [Group G] [Fintype G]
|
| 9 |
-
variable {V W U : Type u} [AddCommGroup V] [Module k V]
|
| 10 |
-
[AddCommGroup W] [Module k W] [AddCommGroup U] [Module k U]
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
noncomputable def relativeTrace (ρ : Representation k G V) (σ : Representation k G W) :
|
| 14 |
-
(V →ₗ[k] W) →ₗ[k] (V →ₗ[k] W) := (Representation.linHom ρ σ).norm
|
| 15 |
-
|
| 16 |
-
lemma relativeTrace_apply (ρ : Representation k G V) (σ : Representation k G W)
|
| 17 |
-
(t : V →ₗ[k] W) (v : V) :
|
| 18 |
-
relativeTrace ρ σ t v = ∑ g : G, σ g (t (ρ g⁻¹ v)) := by
|
| 19 |
-
simp [relativeTrace, Representation.norm, LinearMap.sum_apply]
|
| 20 |
-
|
| 21 |
-
noncomputable def relativeTraceHom (ρ : Representation k G V) (σ : Representation k G W)
|
| 22 |
-
(t : V →ₗ[k] W) : ρ.IntertwiningMap σ where
|
| 23 |
-
toLinearMap := relativeTrace ρ σ t
|
| 24 |
-
isIntertwining' g := by
|
| 25 |
-
have h := (Representation.linHom ρ σ).self_norm_apply g t
|
| 26 |
-
have hh := congrArg (fun f : V →ₗ[k] W => f.comp (ρ g)) h
|
| 27 |
-
simpa only [Representation.linHom_apply, LinearMap.comp_assoc,
|
| 28 |
-
← Module.End.mul_eq_comp, ← map_mul, inv_mul_cancel, map_one, Module.End.one_eq_id, LinearMap.comp_id, relativeTrace]
|
| 29 |
-
using hh.symm
|
| 30 |
-
|
| 31 |
-
lemma relativeTrace_precomp (ρ : Representation k G V) (σ : Representation k G W)
|
| 32 |
-
(τ : Representation k G U) (a : ρ.IntertwiningMap σ) (t : W →ₗ[k] U) :
|
| 33 |
-
relativeTrace ρ τ (t.comp a.toLinearMap) =
|
| 34 |
-
(relativeTrace σ τ t).comp a.toLinearMap := by
|
| 35 |
-
ext v
|
| 36 |
-
simp only [relativeTrace_apply, LinearMap.comp_apply, IntertwiningMap.toLinearMap_apply,
|
| 37 |
-
a.isIntertwining]
|
| 38 |
-
|
| 39 |
-
lemma relativeTrace_postcomp (ρ : Representation k G V) (σ : Representation k G W)
|
| 40 |
-
(τ : Representation k G U) (b : σ.IntertwiningMap τ) (t : V →ₗ[k] W) :
|
| 41 |
-
relativeTrace ρ τ (b.toLinearMap.comp t) =
|
| 42 |
-
b.toLinearMap.comp (relativeTrace ρ σ t) := by
|
| 43 |
-
ext v
|
| 44 |
-
simp only [relativeTrace_apply, LinearMap.comp_apply, IntertwiningMap.toLinearMap_apply,
|
| 45 |
-
map_sum, b.isIntertwining]
|
| 46 |
-
|
| 47 |
-
end FiberFunctorProof
|
| 48 |
-
|
| 49 |
-
end OAI
|
|
|
|
| 1 |
+
import Mathlib
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory Representation
|
| 7 |
+
universe u v
|
| 8 |
+
variable {k : Type u} [Field k] {G : Type v} [Group G] [Fintype G]
|
| 9 |
+
variable {V W U : Type u} [AddCommGroup V] [Module k V]
|
| 10 |
+
[AddCommGroup W] [Module k W] [AddCommGroup U] [Module k U]
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
noncomputable def relativeTrace (ρ : Representation k G V) (σ : Representation k G W) :
|
| 14 |
+
(V →ₗ[k] W) →ₗ[k] (V →ₗ[k] W) := (Representation.linHom ρ σ).norm
|
| 15 |
+
|
| 16 |
+
lemma relativeTrace_apply (ρ : Representation k G V) (σ : Representation k G W)
|
| 17 |
+
(t : V →ₗ[k] W) (v : V) :
|
| 18 |
+
relativeTrace ρ σ t v = ∑ g : G, σ g (t (ρ g⁻¹ v)) := by
|
| 19 |
+
simp [relativeTrace, Representation.norm, LinearMap.sum_apply]
|
| 20 |
+
|
| 21 |
+
noncomputable def relativeTraceHom (ρ : Representation k G V) (σ : Representation k G W)
|
| 22 |
+
(t : V →ₗ[k] W) : ρ.IntertwiningMap σ where
|
| 23 |
+
toLinearMap := relativeTrace ρ σ t
|
| 24 |
+
isIntertwining' g := by
|
| 25 |
+
have h := (Representation.linHom ρ σ).self_norm_apply g t
|
| 26 |
+
have hh := congrArg (fun f : V →ₗ[k] W => f.comp (ρ g)) h
|
| 27 |
+
simpa only [Representation.linHom_apply, LinearMap.comp_assoc,
|
| 28 |
+
← Module.End.mul_eq_comp, ← map_mul, inv_mul_cancel, map_one, Module.End.one_eq_id, LinearMap.comp_id, relativeTrace]
|
| 29 |
+
using hh.symm
|
| 30 |
+
|
| 31 |
+
lemma relativeTrace_precomp (ρ : Representation k G V) (σ : Representation k G W)
|
| 32 |
+
(τ : Representation k G U) (a : ρ.IntertwiningMap σ) (t : W →ₗ[k] U) :
|
| 33 |
+
relativeTrace ρ τ (t.comp a.toLinearMap) =
|
| 34 |
+
(relativeTrace σ τ t).comp a.toLinearMap := by
|
| 35 |
+
ext v
|
| 36 |
+
simp only [relativeTrace_apply, LinearMap.comp_apply, IntertwiningMap.toLinearMap_apply,
|
| 37 |
+
a.isIntertwining]
|
| 38 |
+
|
| 39 |
+
lemma relativeTrace_postcomp (ρ : Representation k G V) (σ : Representation k G W)
|
| 40 |
+
(τ : Representation k G U) (b : σ.IntertwiningMap τ) (t : V →ₗ[k] W) :
|
| 41 |
+
relativeTrace ρ τ (b.toLinearMap.comp t) =
|
| 42 |
+
b.toLinearMap.comp (relativeTrace ρ σ t) := by
|
| 43 |
+
ext v
|
| 44 |
+
simp only [relativeTrace_apply, LinearMap.comp_apply, IntertwiningMap.toLinearMap_apply,
|
| 45 |
+
map_sum, b.isIntertwining]
|
| 46 |
+
|
| 47 |
+
end FiberFunctorProof
|
| 48 |
+
|
| 49 |
+
end OAI
|
lean/OAI/RepresentationTheory/RestrictedTilting/RepProducts.lean
CHANGED
|
@@ -1,52 +1,52 @@
|
|
| 1 |
-
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
-
|
| 3 |
-
namespace OAI
|
| 4 |
-
|
| 5 |
-
namespace FiberFunctorProof
|
| 6 |
-
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 7 |
-
universe u
|
| 8 |
-
variable (k : Type u) [Field k]
|
| 9 |
-
variable {G : Type u} [Group G]
|
| 10 |
-
|
| 11 |
-
noncomputable def repProduct (A B : FDRep k G) : FDRep k G :=
|
| 12 |
-
FDRep.of (Representation.prod A.ρ B.ρ)
|
| 13 |
-
|
| 14 |
-
noncomputable def repInl (A B : FDRep k G) : A ⟶ repProduct k A B :=
|
| 15 |
-
fdrepHom k (LinearMap.inl k A B) (by
|
| 16 |
-
intro g v
|
| 17 |
-
change (A.ρ g v, (0 : B)) = (A.ρ g v, B.ρ g 0)
|
| 18 |
-
rw [map_zero])
|
| 19 |
-
noncomputable def repInr (A B : FDRep k G) : B ⟶ repProduct k A B :=
|
| 20 |
-
fdrepHom k (LinearMap.inr k A B) (by
|
| 21 |
-
intro g v
|
| 22 |
-
change ((0 : A), B.ρ g v) = (A.ρ g 0, B.ρ g v)
|
| 23 |
-
rw [map_zero])
|
| 24 |
-
noncomputable def repFst (A B : FDRep k G) : repProduct k A B ⟶ A :=
|
| 25 |
-
fdrepHom k (LinearMap.fst k A B) (by intros; rfl)
|
| 26 |
-
noncomputable def repSnd (A B : FDRep k G) : repProduct k A B ⟶ B :=
|
| 27 |
-
fdrepHom k (LinearMap.snd k A B) (by intros; rfl)
|
| 28 |
-
|
| 29 |
-
lemma repProduct_shortExact (A B : FDRep k G) :
|
| 30 |
-
(ShortComplex.mk (repInl k A B) (repSnd k A B) (by
|
| 31 |
-
apply fdrep_hom_ext k; intro x; rfl)).ShortExact := by
|
| 32 |
-
apply fdrep_shortExact k _ (by intro a b h; exact congrArg Prod.fst h)
|
| 33 |
-
(by intro b; exact ⟨(0,b), rfl⟩)
|
| 34 |
-
ext x
|
| 35 |
-
constructor
|
| 36 |
-
· rintro ⟨a,rfl⟩; rfl
|
| 37 |
-
· intro h
|
| 38 |
-
exact ⟨x.1, Prod.ext rfl h.symm⟩
|
| 39 |
-
|
| 40 |
-
lemma repProduct_decomposition (A B : FDRep k G) :
|
| 41 |
-
repFst k A B ≫ repInl k A B + repSnd k A B ≫ repInr k A B = 𝟙 _ := by
|
| 42 |
-
apply fdrep_hom_ext k
|
| 43 |
-
intro x
|
| 44 |
-
change (x.1, 0) + (0, x.2) = x
|
| 45 |
-
exact Prod.ext (add_zero _) (zero_add _)
|
| 46 |
-
|
| 47 |
-
lemma IsTilting.product {A B : FDRep k (SL2 k)} (hA : IsTilting k A)
|
| 48 |
-
(hB : IsTilting k B) : IsTilting k (repProduct k A B) :=
|
| 49 |
-
hA.extension k hB (hA.1.prod k hB.1) _ _ _ (repProduct_shortExact k A B)
|
| 50 |
-
end FiberFunctorProof
|
| 51 |
-
|
| 52 |
-
end OAI
|
|
|
|
| 1 |
+
import OAI.RepresentationTheory.RestrictedTilting.CompatibleJets
|
| 2 |
+
|
| 3 |
+
namespace OAI
|
| 4 |
+
|
| 5 |
+
namespace FiberFunctorProof
|
| 6 |
+
open CategoryTheory CategoryTheory.MonoidalCategory CategoryTheory.Limits
|
| 7 |
+
universe u
|
| 8 |
+
variable (k : Type u) [Field k]
|
| 9 |
+
variable {G : Type u} [Group G]
|
| 10 |
+
|
| 11 |
+
noncomputable def repProduct (A B : FDRep k G) : FDRep k G :=
|
| 12 |
+
FDRep.of (Representation.prod A.ρ B.ρ)
|
| 13 |
+
|
| 14 |
+
noncomputable def repInl (A B : FDRep k G) : A ⟶ repProduct k A B :=
|
| 15 |
+
fdrepHom k (LinearMap.inl k A B) (by
|
| 16 |
+
intro g v
|
| 17 |
+
change (A.ρ g v, (0 : B)) = (A.ρ g v, B.ρ g 0)
|
| 18 |
+
rw [map_zero])
|
| 19 |
+
noncomputable def repInr (A B : FDRep k G) : B ⟶ repProduct k A B :=
|
| 20 |
+
fdrepHom k (LinearMap.inr k A B) (by
|
| 21 |
+
intro g v
|
| 22 |
+
change ((0 : A), B.ρ g v) = (A.ρ g 0, B.ρ g v)
|
| 23 |
+
rw [map_zero])
|
| 24 |
+
noncomputable def repFst (A B : FDRep k G) : repProduct k A B ⟶ A :=
|
| 25 |
+
fdrepHom k (LinearMap.fst k A B) (by intros; rfl)
|
| 26 |
+
noncomputable def repSnd (A B : FDRep k G) : repProduct k A B ⟶ B :=
|
| 27 |
+
fdrepHom k (LinearMap.snd k A B) (by intros; rfl)
|
| 28 |
+
|
| 29 |
+
lemma repProduct_shortExact (A B : FDRep k G) :
|
| 30 |
+
(ShortComplex.mk (repInl k A B) (repSnd k A B) (by
|
| 31 |
+
apply fdrep_hom_ext k; intro x; rfl)).ShortExact := by
|
| 32 |
+
apply fdrep_shortExact k _ (by intro a b h; exact congrArg Prod.fst h)
|
| 33 |
+
(by intro b; exact ⟨(0,b), rfl⟩)
|
| 34 |
+
ext x
|
| 35 |
+
constructor
|
| 36 |
+
· rintro ⟨a,rfl⟩; rfl
|
| 37 |
+
· intro h
|
| 38 |
+
exact ⟨x.1, Prod.ext rfl h.symm⟩
|
| 39 |
+
|
| 40 |
+
lemma repProduct_decomposition (A B : FDRep k G) :
|
| 41 |
+
repFst k A B ≫ repInl k A B + repSnd k A B ≫ repInr k A B = 𝟙 _ := by
|
| 42 |
+
apply fdrep_hom_ext k
|
| 43 |
+
intro x
|
| 44 |
+
change (x.1, 0) + (0, x.2) = x
|
| 45 |
+
exact Prod.ext (add_zero _) (zero_add _)
|
| 46 |
+
|
| 47 |
+
lemma IsTilting.product {A B : FDRep k (SL2 k)} (hA : IsTilting k A)
|
| 48 |
+
(hB : IsTilting k B) : IsTilting k (repProduct k A B) :=
|
| 49 |
+
hA.extension k hB (hA.1.prod k hB.1) _ _ _ (repProduct_shortExact k A B)
|
| 50 |
+
end FiberFunctorProof
|
| 51 |
+
|
| 52 |
+
end OAI
|