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.Picard.ThetaConstruction.IntrinsicEndomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm |
| 3 | |
| 4 | /-! # Intrinsic Polarization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.IntrinsicPolarization.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Comparison of an actual polarized abelian variety with the checked ThetaConstruction |
| 12 | analytic data. A polarization is represented by an actual ample algebraic |
| 13 | line bundle. The integral marking records its Chern pairing, rather than |
| 14 | assuming a period comparison. The tangent comparison and quotient lattice |
| 15 | are constructed in the theorem. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization |
| 20 | open scoped BigOperators |
| 21 | |
| 22 | variable {g : ℕ} |
| 23 | |
| 24 | local instance (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : IsZLattice ℝ (HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) := |
| 25 | HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice_full ArithmeticGeometry.Descent.CMVariety.IntrinsicHodgeMaps.Abelian.IntrinsicPeriods.algebraization A |
| 26 | |
| 27 | lemma native_tangent_finrank (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) : |
| 28 | Module.finrank ℂ (HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) = g := by |
| 29 | have hr := Module.finrank_eq_card_basis (b.ofZLatticeBasis ℝ) |
| 30 | have h := Module.finrank_mul_finrank ℝ ℂ (HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) |
| 31 | rw [hr, Complex.finrank_real_complex] at h |
| 32 | simp only [DefinitionsIntegral.Index, Fintype.card_fin] at h |
| 33 | omega |
| 34 | |
| 35 | /-- Coordinates on the original tangent space, constructed from its dimension. -/ |
| 36 | def nativeTangentCoordinates (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) : |
| 37 | HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A ≃ₗ[ℂ] DefinitionsIntegral.Tangent g := |
| 38 | LinearEquiv.ofFinrankEq _ _ (by rw [native_tangent_finrank A b]; simp [DefinitionsIntegral.Tangent]) |
| 39 | |
| 40 | lemma native_real_period_map (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) |
| 41 | (x : DefinitionsIntegral.Index g → ℝ) : |
| 42 | ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (x i : ℂ)) = (b.ofZLatticeBasis ℝ).equivFun.symm x := by |
| 43 | rw [ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap_apply, Module.Basis.equivFun_symm_apply] |
| 44 | apply Finset.sum_congr rfl |
| 45 | intro i _ |
| 46 | rw [Module.Basis.ofZLatticeBasis_apply] |
| 47 | exact IsScalarTower.algebraMap_smul ℂ (x i) (b i : HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) |
| 48 | |
| 49 | lemma native_real_period_bijective (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) : |
| 50 | Function.Bijective (fun x : DefinitionsIntegral.Index g → ℝ => ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (x i : ℂ))) := by |
| 51 | have he : (fun x : DefinitionsIntegral.Index g → ℝ => ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (x i : ℂ))) = |
| 52 | (b.ofZLatticeBasis ℝ).equivFun.symm := funext (native_real_period_map A b) |
| 53 | rw [he] |
| 54 | exact (b.ofZLatticeBasis ℝ).equivFun.symm.bijective |
| 55 | |
| 56 | /-- Natural marking condition on the original polarization's Riemann form. -/ |
| 57 | def PreservesPolarizationMatrix (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 58 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.toOver.left) (hL : L.IsAmple) |
| 59 | (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) (E : DefinitionsIntegral.IntegralMatrix g) : Prop := |
| 60 | ∀ i j, (AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm A L hL (b i : HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) (b j : HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A)).im = (E i j : ℝ) |
| 61 | |
| 62 | lemma native_polarization_marking (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 63 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.toOver.left) (hL : L.IsAmple) |
| 64 | (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) (E : DefinitionsIntegral.IntegralMatrix g) |
| 65 | (hb : PreservesPolarizationMatrix A L hL b E) |
| 66 | (x y : DefinitionsIntegral.Index g → ℝ) : |
| 67 | (AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm A L hL |
| 68 | (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (x i : ℂ))) |
| 69 | (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (y i : ℂ)))).im = |
| 70 | (DefinitionsIntegral.pairing E (fun i => (x i : ℂ)) (fun i => (y i : ℂ))).re := by |
| 71 | let H : HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A →ₗ⋆[ℂ] HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A →ₗ[ℂ] ℂ := AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm A L hL |
| 72 | change (H (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (x i : ℂ))) |
| 73 | (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (y i : ℂ)))).im = _ |
| 74 | have hb' (i j : DefinitionsIntegral.Index g) : (H (b i) (b j)).im = (E i j : ℝ) := hb i j |
| 75 | have hs (a : ℝ) (u v : HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A) : (H (a • u) v).im = a * (H u v).im := by |
| 76 | rw [← IsScalarTower.algebraMap_smul ℂ a u, H.map_smulₛₗ, LinearMap.smul_apply] |
| 77 | simp |
| 78 | simp only [ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap_apply, map_sum, LinearMap.sum_apply] |
| 79 | simp [DefinitionsIntegral.pairing, hs, hb'] |
| 80 | rw [Finset.sum_comm] |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro i _ |
| 83 | apply Finset.sum_congr rfl |
| 84 | intro j _ |
| 85 | ring |
| 86 | |
| 87 | /-- Construct ThetaConstruction data from the original polarized object and retain its |
| 88 | exact marked period map, actual exponential lattice, and Riemann form. -/ |
| 89 | theorem native_polarized_comparison (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 90 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.toOver.left) (hL : L.IsAmple) |
| 91 | (b : ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.Marking (DefinitionsIntegral.Index g) A) (E : DefinitionsIntegral.IntegralMatrix g) |
| 92 | (hb : PreservesPolarizationMatrix A L hL b E) : |
| 93 | ∃ (T : DefinitionsIntegral.MarkedPolarizedTorus g E) |
| 94 | (e : HodgeConjecture.DegreeTwo.Transport.Constructions.AbelianModel A ≃ₗ[ℂ] DefinitionsIntegral.Tangent g), |
| 95 | (∀ z, T.periodMap z = e (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b z)) ∧ |
| 96 | (∀ v, v ∈ T.lattice ↔ e.symm v ∈ HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A) ∧ |
| 97 | (∀ u v, T.riemannForm (e u) (e v) = AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm A L hL u v) := by |
| 98 | let e := nativeTangentCoordinates A b |
| 99 | let π := e.toLinearMap.comp (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b) |
| 100 | have hreal : Function.Bijective ((π.restrictScalars ℝ).comp DefinitionsIntegral.realInclusion) := |
| 101 | e.bijective.comp (native_real_period_bijective A b) |
| 102 | obtain ⟨Γ, hΓ, hd, hc⟩ := DefinitionsIntegral.marked_lattice π hreal |
| 103 | let H₀ := AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm A L hL |
| 104 | let H : DefinitionsIntegral.Tangent g →ₗ⋆[ℂ] DefinitionsIntegral.Tangent g →ₗ[ℂ] ℂ := |
| 105 | (H₀.comp e.symm.toLinearMap).compl₂ e.symm.toLinearMap |
| 106 | have hH (u v : DefinitionsIntegral.Tangent g) : H u v = H₀ (e.symm u) (e.symm v) := rfl |
| 107 | have hsym (u v : DefinitionsIntegral.Tangent g) : H v u = star (H u v) := |
| 108 | AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm_symmetry A L hL (e.symm u) (e.symm v) |
| 109 | have hpos (u : DefinitionsIntegral.Tangent g) (hu : u ≠ 0) : 0 < (H u u).re := |
| 110 | AbelianModuli.ReferenceFamily.Intrinsic.RiemannForm.nativeRiemannForm_positive A L hL (e.symm u) |
| 111 | (fun hz => hu (e.symm.injective (hz.trans e.symm.map_zero.symm))) |
| 112 | have hmark (x y : DefinitionsIntegral.Index g → ℝ) : |
| 113 | (H (π (fun i => (x i : ℂ))) (π (fun i => (y i : ℂ)))).im = |
| 114 | (DefinitionsIntegral.pairing E (fun i => (x i : ℂ)) (fun i => (y i : ℂ))).re := by |
| 115 | simp only [hH, π, LinearMap.comp_apply, LinearEquiv.coe_coe, e.symm_apply_apply] |
| 116 | exact native_polarization_marking A L hL b E hb x y |
| 117 | have hint : ∀ u ∈ Γ, ∀ v ∈ Γ, ∃ n : ℤ, (H u v).im = (n : ℝ) := by |
| 118 | intro u hu v hv |
| 119 | obtain ⟨n, rfl⟩ := (hΓ u).mp hu |
| 120 | obtain ⟨m, rfl⟩ := (hΓ v).mp hv |
| 121 | refine ⟨∑ i, ∑ j, n i * E i j * m j, ?_⟩ |
| 122 | simpa [DefinitionsIntegral.pairing] using hmark (fun i => (n i : ℝ)) (fun i => (m i : ℝ)) |
| 123 | let : DiscreteTopology Γ := hd |
| 124 | let : CompactSpace (DefinitionsIntegral.Tangent g ⧸ Γ) := hc |
| 125 | let T : DefinitionsIntegral.MarkedPolarizedTorus g E := { |
| 126 | periodMap := π |
| 127 | real_marking := hreal |
| 128 | lattice := Γ |
| 129 | lattice_marking := hΓ |
| 130 | discrete := hd |
| 131 | compact := hc |
| 132 | projective := (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.riemann_projectivity_criterion (DefinitionsIntegral.Tangent g) Γ).mpr |
| 133 | ⟨H, hsym, hpos, hint⟩ |
| 134 | riemannForm := H |
| 135 | hermitian := hsym |
| 136 | positive := hpos |
| 137 | polarization_marking := hmark } |
| 138 | refine ⟨T, e, fun z => rfl, ?_, ?_⟩ |
| 139 | · intro v |
| 140 | change v ∈ Γ ↔ e.symm v ∈ HodgeConjecture.DegreeTwo.AbelianUniformizationEq.Constructions.AbelianUniformization.periodLattice A |
| 141 | rw [hΓ] |
| 142 | constructor |
| 143 | · rintro ⟨n, rfl⟩ |
| 144 | simp only [π, LinearMap.comp_apply, LinearEquiv.coe_coe, e.symm_apply_apply] |
| 145 | exact ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap_integer_mem b n |
| 146 | · intro hv |
| 147 | refine ⟨fun i => b.repr ⟨e.symm v, hv⟩ i, ?_⟩ |
| 148 | change v = e (ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap b (fun i => (b.repr ⟨e.symm v, hv⟩ i : ℂ))) |
| 149 | rw [ArithmeticGeometry.Descent.CMVariety.MarkedAbelianPeriods.IntrinsicPeriods.periodMap_repr, e.apply_symm_apply] |
| 150 | · intro u v |
| 151 | change H (e u) (e v) = H₀ u v |
| 152 | rw [hH, e.symm_apply_apply, e.symm_apply_apply] |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.IntrinsicPolarization.Geometric |