Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Theta.Geometric.PELIsometryChern |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Rational.CMLinearity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReferenceIntrinsic.MarkedAction |
| 4 | import OAI.NumberTheory.ArithmeticGroups.Trace |
| 5 | |
| 6 | /-! # PEL Equiv -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.Reference.PELEquiv |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! An arbitrary actual reference PEL isomorphism induces a rational |
| 15 | CM-linear isometry of the original Hermitian space. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 22 | {s : ℕ} {P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {z w : P.domain} |
| 23 | {F : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P z} {G : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P w} {hP : P.IsAdmissible} |
| 24 | {M : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel F hP} {N : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.DualModel.ReferenceDualModel F hP} |
| 25 | {M' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel G hP} {N' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.DualModel.ReferenceDualModel G hP} |
| 26 | {p : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.IsogenyKernel.ReferenceLatticeIsogeny M N} {p' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.IsogenyKernel.ReferenceLatticeIsogeny M' N'} |
| 27 | {C : PolarizationConstruction.ReferencePolarizationConstruction p} {C' : PolarizationConstruction.ReferencePolarizationConstruction p'} |
| 28 | {level : ℕ} [NeZero level] (e : AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli.PELFamilyIso (C.pelFamily level) (C'.pelFamily level)) |
| 29 | |
| 30 | def referencePELPeriodEquiv : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[ℚ] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E := |
| 31 | M.nativeReferenceMarking.trans ((AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLiftIso e.abelian).trans M'.nativeReferenceMarking.symm) |
| 32 | |
| 33 | theorem referencePELPeriodEquiv_marking (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 34 | M'.nativeReferenceMarking (referencePELPeriodEquiv e v) = |
| 35 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift e.abelian.hom (M.nativeReferenceMarking v) := |
| 36 | M'.nativeReferenceMarking.apply_symm_apply _ |
| 37 | |
| 38 | theorem referencePELPeriodEquiv_integral_action (a : NumberField.RingOfIntegers E) (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 39 | referencePELPeriodEquiv e ((a : E) • v) = (a : E) • referencePELPeriodEquiv e v := by |
| 40 | let : IsMonHom (e.abelian.hom : M.abelian.toOver ⟶ M'.abelian.toOver) := e.abelianGroup |
| 41 | let : IsMonHom (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M.abelian.toOver (M.functorAction a)) := |
| 42 | AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap_isMonHom M.abelian.toOver (M.functorAction a) |
| 43 | let : IsMonHom (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M'.abelian.toOver (M'.functorAction a)) := |
| 44 | AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap_isMonHom M'.abelian.toOver (M'.functorAction a) |
| 45 | apply M'.nativeReferenceMarking.injective |
| 46 | rw [referencePELPeriodEquiv_marking, ← M.nativeReferenceMarking_action] |
| 47 | have ha : AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M.abelian.toOver (M.functorAction a) ≫ e.abelian.hom = |
| 48 | e.abelian.hom ≫ AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M'.abelian.toOver (M'.functorAction a) := e.equivariant a |
| 49 | have h := LinearMap.congr_fun (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift_congr _ _ ha) (M.nativeReferenceMarking v) |
| 50 | rw [AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift_comp, AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift_comp] at h |
| 51 | change AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift e.abelian.hom |
| 52 | (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M.abelian.toOver (M.functorAction a)) (M.nativeReferenceMarking v)) = |
| 53 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M'.abelian.toOver (M'.functorAction a)) |
| 54 | (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift e.abelian.hom (M.nativeReferenceMarking v)) at h |
| 55 | exact h.trans ((congrArg (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift (AlgebraicGeometry.AbelianScheme.TateComparison.End.endSchemeMap M'.abelian.toOver (M'.functorAction a))) |
| 56 | (referencePELPeriodEquiv_marking e v).symm).trans (M'.nativeReferenceMarking_action a _)) |
| 57 | |
| 58 | def referencePELFieldEquiv : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E ≃ₗ[E] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E where |
| 59 | toFun := referencePELPeriodEquiv e |
| 60 | invFun := (referencePELPeriodEquiv e).symm |
| 61 | left_inv := (referencePELPeriodEquiv e).symm_apply_apply |
| 62 | right_inv := (referencePELPeriodEquiv e).apply_symm_apply |
| 63 | map_add' := (referencePELPeriodEquiv e).map_add |
| 64 | map_smul' := Rational.CMLinearity.rationalMap_integral_scalar_extension (referencePELPeriodEquiv e).toLinearMap |
| 65 | (referencePELPeriodEquiv_integral_action e) |
| 66 | |
| 67 | theorem referencePELFieldEquiv_trace (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 68 | P.traceForm (referencePELFieldEquiv e x) (referencePELFieldEquiv e y) = P.traceForm x y := by |
| 69 | have h := PELIsometryChern.pelFamilyIso_chern_isometry C C' e (M.nativeReferenceMarking x) (M.nativeReferenceMarking y) |
| 70 | rw [← referencePELPeriodEquiv_marking, ← referencePELPeriodEquiv_marking, C'.chern, C.chern] at h |
| 71 | exact h |
| 72 | |
| 73 | theorem referencePELFieldEquiv_hermitian (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 74 | NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b (referencePELFieldEquiv e x) (referencePELFieldEquiv e y) = NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian P.b x y := by |
| 75 | have hξ : P.imaginaryScalar ≠ 0 := by |
| 76 | rcases hP with ⟨_, _, _, _, _, _, h, _⟩ |
| 77 | exact h |
| 78 | have hden : (P.denominator : ℚ) ≠ 0 := by |
| 79 | rcases hP with ⟨_, _, _, _, _, _, _, _, h, _⟩ |
| 80 | exact_mod_cast h.ne' |
| 81 | apply (NumberTheory.ArithmeticGroups.Trace.CongruenceLevel.trace_isometries_iff P.b P.imaginaryScalar hξ (referencePELFieldEquiv e)).mp |
| 82 | intro u v |
| 83 | exact mul_left_cancel₀ hden (referencePELFieldEquiv_trace e u v) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | section |
| 88 | |
| 89 | /-! The rational map recovered from an actual reference PEL isomorphism |
| 90 | preserves the original integral reference lattice in both directions. -/ |
| 91 | |
| 92 | set_option backward.isDefEq.respectTransparency false |
| 93 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 94 | open scoped _root_.CategoryTheory.MonObj |
| 95 | |
| 96 | theorem rationalLiftIso_integral_iff {A B : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety} |
| 97 | (e : A.toOver ≅ B.toOver) [IsMonHom e.hom] (v : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods A) : |
| 98 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift e.hom v ∈ AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods B ↔ v ∈ AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods A := by |
| 99 | constructor |
| 100 | · intro hv |
| 101 | have h : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift e.inv (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLift e.hom v) ∈ AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods A := |
| 102 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.Maps.IntrinsicLinearMaps.linearLift_preserves e.inv _ hv |
| 103 | exact (AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.IntegralMaps.IntrinsicLinearMaps.rationalLiftIso e).symm_apply_apply v ▸ h |
| 104 | · intro hv |
| 105 | exact AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.Maps.IntrinsicLinearMaps.linearLift_preserves e.hom _ hv |
| 106 | |
| 107 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 108 | {s : ℕ} {P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {z w : P.domain} |
| 109 | {F : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P z} {G : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P w} {hP : P.IsAdmissible} |
| 110 | {M : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel F hP} {N : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.DualModel.ReferenceDualModel F hP} |
| 111 | {M' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel G hP} {N' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.DualModel.ReferenceDualModel G hP} |
| 112 | {p : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.IsogenyKernel.ReferenceLatticeIsogeny M N} {p' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.IsogenyKernel.ReferenceLatticeIsogeny M' N'} |
| 113 | {C : PolarizationConstruction.ReferencePolarizationConstruction p} {C' : PolarizationConstruction.ReferencePolarizationConstruction p'} |
| 114 | {level : ℕ} [NeZero level] (e : AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli.PELFamilyIso (C.pelFamily level) (C'.pelFamily level)) |
| 115 | |
| 116 | theorem referencePELFieldEquiv_lattice (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 117 | v ∈ P.lattice ↔ referencePELFieldEquiv e v ∈ P.lattice := by |
| 118 | have he := rationalLiftIso_integral_iff e.abelian (M.nativeReferenceMarking v) |
| 119 | rw [← referencePELPeriodEquiv_marking, M'.nativeReferenceMarking_integral, |
| 120 | M.nativeReferenceMarking_integral] at he |
| 121 | exact he.symm |
| 122 | |
| 123 | end |
| 124 | |
| 125 | /-! The actual ordered full-level equation forces the recovered rational |
| 126 | CM isometry to be congruent to the identity on the original lattice. -/ |
| 127 | |
| 128 | set_option backward.isDefEq.respectTransparency false |
| 129 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 130 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 131 | open scoped _root_.CategoryTheory.MonObj |
| 132 | |
| 133 | local instance (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : IsIntegral A.toOver.left := A.variety.property |
| 134 | local instance (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : Smooth A.toOver.hom := A.variety.presentation.smooth |
| 135 | |
| 136 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 137 | {s : ℕ} {P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {z w : P.domain} |
| 138 | {F : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P z} {G : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.Fiber.ReferenceAnalyticFiber P w} {hP : P.IsAdmissible} |
| 139 | {M : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel F hP} {N : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.DualModel.ReferenceDualModel F hP} |
| 140 | {M' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.AlgebraicModel.ReferenceAlgebraicModel G hP} {N' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.DualModel.ReferenceDualModel G hP} |
| 141 | {p : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.IsogenyKernel.ReferenceLatticeIsogeny M N} {p' : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.IsogenyKernel.ReferenceLatticeIsogeny M' N'} |
| 142 | {C : PolarizationConstruction.ReferencePolarizationConstruction p} {C' : PolarizationConstruction.ReferencePolarizationConstruction p'} |
| 143 | {level : ℕ} [NeZero level] (e : AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli.PELFamilyIso (C.pelFamily level) (C'.pelFamily level)) |
| 144 | |
| 145 | theorem referencePELLevel_exp (v : P.lattice) : |
| 146 | AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.expMap (C := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints M'.abelian.toOver) |
| 147 | ((level : ℝ)⁻¹ • (M'.nativeReferenceMarking (referencePELFieldEquiv e v.val)).val) = |
| 148 | AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.expMap (C := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints M'.abelian.toOver) |
| 149 | ((level : ℝ)⁻¹ • (M'.nativeReferenceMarking v.val).val) := by |
| 150 | let a := LocallyConstant.const AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase |
| 151 | (Multiplicative.ofAdd (P.fixedLevelLabel hP level v)) |
| 152 | have he := e.marking (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) a |
| 153 | change ((M.fixedFullLevel level).hom.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) a).val ≫ |
| 154 | e.abelian.hom = |
| 155 | ((M'.fixedFullLevel level).hom.app (.op (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)) a).val at he |
| 156 | dsimp only [a] at he |
| 157 | rw [M.fixedFullLevel_native_reference, M'.fixedFullLevel_native_reference] at he |
| 158 | change AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map e.abelian.hom |
| 159 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.expMap (C := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints M.abelian.toOver) ((level : ℝ)⁻¹ • (M.nativeReferenceMarking v.val).val)) = _ at he |
| 160 | rw [AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.LiftDifferential.IntrinsicLinearMaps.linearLift_exp] at he |
| 161 | have hl := ((AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.Maps.IntrinsicLinearMaps.linearLift e.abelian.hom).restrictScalars ℝ).map_smul (level : ℝ)⁻¹ |
| 162 | (M.nativeReferenceMarking v.val).val |
| 163 | have hm := congrArg Subtype.val (referencePELPeriodEquiv_marking e v.val) |
| 164 | change (M'.nativeReferenceMarking (referencePELFieldEquiv e v.val)).val = |
| 165 | AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.Maps.IntrinsicLinearMaps.linearLift e.abelian.hom (M.nativeReferenceMarking v.val).val at hm |
| 166 | exact (congrArg (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.expMap (C := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints M'.abelian.toOver)) |
| 167 | (hl.trans (congrArg ((level : ℝ)⁻¹ • ·) hm.symm))).symm.trans he |
| 168 | |
| 169 | theorem referencePELFieldEquiv_level (v : P.lattice) : |
| 170 | ∃ u ∈ P.lattice, referencePELFieldEquiv e v.val - v.val = level • u := by |
| 171 | let u : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E := (level : ℚ)⁻¹ • (referencePELFieldEquiv e v.val - v.val) |
| 172 | have hu : u ∈ P.lattice := by |
| 173 | apply (M'.nativeReferenceMarking_integral u).mp |
| 174 | change (M'.nativeReferenceMarking u).val ∈ AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice M'.abelian |
| 175 | have hvec : (M'.nativeReferenceMarking u).val = |
| 176 | (level : ℝ)⁻¹ • (M'.nativeReferenceMarking (referencePELFieldEquiv e v.val)).val - |
| 177 | (level : ℝ)⁻¹ • (M'.nativeReferenceMarking v.val).val := by |
| 178 | change (M'.nativeReferenceMarking ((level : ℚ)⁻¹ • (referencePELFieldEquiv e v.val - v.val))).val = _ |
| 179 | rw [map_smul, map_sub] |
| 180 | change (level : ℚ)⁻¹ • ((M'.nativeReferenceMarking (referencePELFieldEquiv e v.val)).val - |
| 181 | (M'.nativeReferenceMarking v.val).val) = _ |
| 182 | rw [← IsScalarTower.algebraMap_smul ℝ ((level : ℚ)⁻¹), map_inv₀, map_natCast, smul_sub] |
| 183 | rw [hvec] |
| 184 | change AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialLocal.Constructions.Exponential.expAddHom (C := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints M'.abelian.toOver) (_ - _) = 0 |
| 185 | rw [map_sub, sub_eq_zero] |
| 186 | exact congrArg Additive.ofMul (referencePELLevel_exp e v) |
| 187 | refine ⟨u, hu, ?_⟩ |
| 188 | change referencePELFieldEquiv e v.val - v.val = level • ((level : ℚ)⁻¹ • _) |
| 189 | rw [← Nat.cast_smul_eq_nsmul ℚ, smul_smul, mul_inv_cancel₀ (Nat.cast_ne_zero.mpr (NeZero.ne level)), one_smul] |
| 190 | |
| 191 | end |
| 192 | |
| 193 | end OAI.RepresentationTheory.Theta.Geometric.Reference.PELEquiv |