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.AlgebraicGeometry.PELModuli.CMPoints.IntrinsicLattice |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateLatticeQuotients |
| 3 | |
| 4 | /-! # Intrinsic Coefficient Lattice -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.IntrinsicCoefficientLattice |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The native rational period marking in any coefficient-field rank. |
| 13 | Rank one applies to the full CM factors, while rank three applies to |
| 14 | the original PEL action. The lattice remains the actual exponential |
| 15 | period lattice. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 19 | |
| 20 | section LatticeTransport |
| 21 | |
| 22 | variable {E V : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | [AddCommGroup V] [Module ℚ V] [Module E V] [IsScalarTower ℚ E V] {r : ℕ} |
| 24 | |
| 25 | omit [NumberField E] in |
| 26 | theorem fullStableCoordinateLattice_map (Λ : Submodule ℤ V) (hfg : Λ.FG) |
| 27 | (hspan : Submodule.span ℚ (Λ : Set V) = ⊤) |
| 28 | (hstable : ∀ (a : NumberField.RingOfIntegers E) (v : V), v ∈ Λ → (a : E) • v ∈ Λ) |
| 29 | (e : V ≃ₗ[E] (Fin r → E)) : |
| 30 | CoordinateLattice.FullStableCoordinateLattice (Λ.map (e.restrictScalars ℤ).toLinearMap) := by |
| 31 | refine ⟨hfg.map _, ?_, ?_⟩ |
| 32 | · change Submodule.span ℚ ((e.restrictScalars ℚ).toLinearMap '' (Λ : Set V)) = ⊤ |
| 33 | rw [← Submodule.map_span (e.restrictScalars ℚ).toLinearMap, hspan, Submodule.map_top] |
| 34 | exact LinearMap.range_eq_top.mpr (e.restrictScalars ℚ).surjective |
| 35 | · intro a x hx |
| 36 | obtain ⟨v, hv, rfl⟩ := hx |
| 37 | exact ⟨(a : E) • v, hstable a v hv, e.map_smul (a : E) v⟩ |
| 38 | |
| 39 | end LatticeTransport |
| 40 | |
| 41 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 42 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) |
| 43 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) |
| 44 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 45 | |
| 46 | local instance : IsIntegral (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P).toOver.left := (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P).variety.property |
| 47 | |
| 48 | theorem native_field_finrank (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 49 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 50 | Module.finrank E (AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P)) = r := by |
| 51 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 52 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldScalarTower A P ρ |
| 53 | let : Module.Finite E (AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P)) := |
| 54 | Module.Finite.of_restrictScalars_finite ℚ E _ |
| 55 | have h := Module.finrank_mul_finrank ℚ E (AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P)) |
| 56 | rw [AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods_finrank] at h |
| 57 | have hd : Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P).toOver.hom = g := AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.dimension_eq A |
| 58 | have h' := h.trans (congrArg (fun n : ℕ => 2 * n) hd) |
| 59 | exact Nat.eq_of_mul_eq_mul_left (Module.finrank_pos (R := ℚ) (M := E)) (h'.trans hr.symm) |
| 60 | |
| 61 | def coefficientCoordinates (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 62 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 63 | AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P) ≃ₗ[E] (Fin r → E) := by |
| 64 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 65 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldScalarTower A P ρ |
| 66 | let : Module.Finite E (AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P)) := |
| 67 | Module.Finite.of_restrictScalars_finite ℚ E _ |
| 68 | exact ((Module.finBasis E (AbelianModuli.ReferenceFamily.Intrinsic.RationalPeriods.IntrinsicRationalPeriods.rationalPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P))).reindex |
| 69 | (finCongr (native_field_finrank A P ρ r hr))).equivFun |
| 70 | |
| 71 | def coefficientMarkedLattice (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 72 | Submodule ℤ (Fin r → E) := by |
| 73 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 74 | exact (AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P)).map |
| 75 | ((coefficientCoordinates A P ρ r hr).restrictScalars ℤ).toLinearMap |
| 76 | |
| 77 | theorem coefficientMarkedLattice_full_stable (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 78 | CoordinateLattice.FullStableCoordinateLattice (coefficientMarkedLattice A P ρ r hr) := by |
| 79 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 80 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldScalarTower A P ρ |
| 81 | exact fullStableCoordinateLattice_map (AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods (AbelianModuli.ReferenceFamily.Abelian.IntrinsicAdapter.AbelianIntrinsicAdapter.native A P)) (AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods_fg _) |
| 82 | (AbelianModuli.ReferenceFamily.Intrinsic.RationalLattice.IntrinsicRationalPeriods.integralPeriods_span _) (AbelianModuli.ReferenceFamily.Intrinsic.PELMarking.IntrinsicPELMarking.integralPeriods_stable A P ρ) |
| 83 | (coefficientCoordinates A P ρ r hr) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | /-! Compare the actual exponential lattice with its coefficient-field |
| 88 | marking, in every finite rank, and clear its integral denominators. -/ |
| 89 | |
| 90 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 91 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 92 | |
| 93 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 94 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) |
| 95 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation A.scheme.left A.scheme.hom) |
| 96 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 97 | |
| 98 | theorem nativeCoefficientLatticeCoordinates_smul (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) (a : NumberField.RingOfIntegers E) : |
| 99 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 100 | ∀ x : IntrinsicLattice.nativeIntegerLattice A P ρ, |
| 101 | coefficientCoordinates A P ρ r hr (IntrinsicLattice.nativeLatticeRationalPoint A P ρ (a • x)) = |
| 102 | a • coefficientCoordinates A P ρ r hr (IntrinsicLattice.nativeLatticeRationalPoint A P ρ x) := by |
| 103 | dsimp only |
| 104 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 105 | let := AbelianModuli.ReferenceFamily.Intrinsic.NumberFieldAction.IntrinsicNumberFieldAction.fieldModule A P ρ |
| 106 | intro x |
| 107 | rw [IntrinsicLattice.nativeLatticeRationalPoint_smul] |
| 108 | exact (coefficientCoordinates A P ρ r hr).map_smul (a : E) _ |
| 109 | |
| 110 | theorem nativeCoefficientLatticeCoordinates_add (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 111 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 112 | ∀ x y : IntrinsicLattice.nativeIntegerLattice A P ρ, |
| 113 | coefficientCoordinates A P ρ r hr (IntrinsicLattice.nativeLatticeRationalPoint A P ρ (x + y)) = |
| 114 | coefficientCoordinates A P ρ r hr (IntrinsicLattice.nativeLatticeRationalPoint A P ρ x) + |
| 115 | coefficientCoordinates A P ρ r hr (IntrinsicLattice.nativeLatticeRationalPoint A P ρ y) := by |
| 116 | dsimp only |
| 117 | intro x y |
| 118 | rw [IntrinsicLattice.nativeLatticeRationalPoint_add] |
| 119 | exact (coefficientCoordinates A P ρ r hr).map_add |
| 120 | (IntrinsicLattice.nativeLatticeRationalPoint A P ρ x) (IntrinsicLattice.nativeLatticeRationalPoint A P ρ y) |
| 121 | |
| 122 | def nativeCoefficientLatticeCoordinates (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 123 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 124 | IntrinsicLattice.nativeIntegerLattice A P ρ →ₗ[NumberField.RingOfIntegers E] (Fin r → E) := by |
| 125 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 126 | let e := coefficientCoordinates A P ρ r hr |
| 127 | exact |
| 128 | { toFun := fun x => e (IntrinsicLattice.nativeLatticeRationalPoint A P ρ x) |
| 129 | map_add' := nativeCoefficientLatticeCoordinates_add A P ρ r hr |
| 130 | map_smul' := nativeCoefficientLatticeCoordinates_smul A P ρ r hr } |
| 131 | |
| 132 | theorem nativeCoefficientLatticeCoordinates_apply (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 133 | ∀ x : IntrinsicLattice.nativeIntegerLattice A P ρ, |
| 134 | nativeCoefficientLatticeCoordinates A P ρ r hr x = |
| 135 | coefficientCoordinates A P ρ r hr (IntrinsicLattice.nativeLatticeRationalPoint A P ρ x) := by |
| 136 | dsimp only |
| 137 | intro x |
| 138 | rfl |
| 139 | |
| 140 | def nativeCoefficientLatticeEquiv (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 141 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 142 | IntrinsicLattice.nativeIntegerLattice A P ρ ≃ₗ[NumberField.RingOfIntegers E] |
| 143 | CoordinateLattice.stableCoordinateLattice (coefficientMarkedLattice A P ρ r hr) |
| 144 | (coefficientMarkedLattice_full_stable A P ρ r hr) := by |
| 145 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 146 | let f := nativeCoefficientLatticeCoordinates A P ρ r hr |
| 147 | let F := f.codRestrict |
| 148 | (CoordinateLattice.stableCoordinateLattice (coefficientMarkedLattice A P ρ r hr) |
| 149 | (coefficientMarkedLattice_full_stable A P ρ r hr)) |
| 150 | (fun x => ⟨⟨x.val, Submodule.subset_span x.property⟩, x.property, |
| 151 | (nativeCoefficientLatticeCoordinates_apply A P ρ r hr x).symm⟩) |
| 152 | apply LinearEquiv.ofBijective F |
| 153 | constructor |
| 154 | · intro x y h |
| 155 | have he : f x = f y := congrArg Subtype.val h |
| 156 | change nativeCoefficientLatticeCoordinates A P ρ r hr x = |
| 157 | nativeCoefficientLatticeCoordinates A P ρ r hr y at he |
| 158 | rw [nativeCoefficientLatticeCoordinates_apply, nativeCoefficientLatticeCoordinates_apply] at he |
| 159 | exact IntrinsicLattice.nativeLatticeRationalPoint_injective A P ρ |
| 160 | ((coefficientCoordinates A P ρ r hr).injective he) |
| 161 | · intro y |
| 162 | obtain ⟨v, hv, he⟩ := y.property |
| 163 | refine ⟨⟨v.val, hv⟩, Subtype.ext ?_⟩ |
| 164 | exact (nativeCoefficientLatticeCoordinates_apply A P ρ r hr ⟨v.val, hv⟩).trans he |
| 165 | |
| 166 | theorem exists_native_coefficient_lattice_bound (r : ℕ) (hr : Module.finrank ℚ E * r = 2 * g) : |
| 167 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 168 | ∃ D : ℕ, 0 < D ∧ ∀ q : ℕ, q.Prime → D < q → ∀ n : ℕ, |
| 169 | Nonempty (ScalarQuotientMk.ScalarQuotient (NumberField.RingOfIntegers E) (IntrinsicLattice.nativeIntegerLattice A P ρ) |
| 170 | (q ^ n) ≃ₗ[NumberField.RingOfIntegers E] |
| 171 | (Fin r → NumberField.RingOfIntegers E ⧸ |
| 172 | Ideal.span ({(q ^ n : NumberField.RingOfIntegers E)} : Set (NumberField.RingOfIntegers E)))) := by |
| 173 | dsimp only |
| 174 | let := IntrinsicLattice.nativeAmbientModule A P ρ |
| 175 | obtain ⟨D, hD, hquot⟩ := CoordinateLatticeQuotients.exists_coordinate_quotient_bound |
| 176 | (coefficientMarkedLattice A P ρ r hr) (coefficientMarkedLattice_full_stable A P ρ r hr) |
| 177 | refine ⟨D, hD, fun q hq hb n => ?_⟩ |
| 178 | obtain ⟨e⟩ := hquot q hq hb n |
| 179 | exact ⟨(ScalarQuotientMk.scalarQuotientCongr (nativeCoefficientLatticeEquiv A P ρ r hr) _).trans e⟩ |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.IntrinsicCoefficientLattice |