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.Geometry.ComplexTorus.RiemannProjectivity.RationalLoops |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.PeriodsOn |
| 3 | |
| 4 | /-! # Comparison Field -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace Geometry.ComplexTorus.RiemannProjectivity.ComparisonField.Constructions.FieldComparison |
| 11 | |
| 12 | /-! # RiemannProjectivity: the trace comparison with actual rational torus cohomology -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | variable {E : Type} [Field E] [NumberField E] [aE : Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] (Φ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) |
| 19 | |
| 20 | def integerPeriodMap : 𝓞 E →ₗ[ℤ] Φ.periodIntegerLattice where |
| 21 | toFun a := ⟨Φ.periodEmbedding (a : E), (Φ.mem_periodIntegerLattice _).mpr ⟨a, rfl⟩⟩ |
| 22 | map_add' a b := by |
| 23 | apply Subtype.ext |
| 24 | change Φ.periodEmbedding ((a : E) + (b : E)) = _ |
| 25 | exact map_add Φ.periodEmbedding _ _ |
| 26 | map_smul' n a := by |
| 27 | apply Subtype.ext |
| 28 | change Φ.periodEmbedding (n • (a : E)) = n • Φ.periodEmbedding (a : E) |
| 29 | exact map_zsmul Φ.periodEmbedding n (a : E) |
| 30 | |
| 31 | def integerPeriodEquiv : 𝓞 E ≃ₗ[ℤ] Φ.periodIntegerLattice := |
| 32 | LinearEquiv.ofBijective (integerPeriodMap Φ) (by |
| 33 | constructor |
| 34 | · intro a b h |
| 35 | apply Subtype.ext |
| 36 | exact Φ.periodEmbedding.injective (congrArg Subtype.val h) |
| 37 | · intro t |
| 38 | obtain ⟨a, ha⟩ := (Φ.mem_periodIntegerLattice t).mp t.property |
| 39 | exact ⟨a, Subtype.ext ha⟩) |
| 40 | |
| 41 | omit [NumberField.IsCMField E] in |
| 42 | def integerDualRestriction : Module.Dual ℚ E →ₗ[ℚ] (𝓞 E →ₗ[ℤ] ℚ) where |
| 43 | toFun f := |
| 44 | { toFun a := f (a : E) |
| 45 | map_add' a b := f.map_add a b |
| 46 | map_smul' n a := map_zsmul f n (a : E) } |
| 47 | map_add' f g := by ext a; rfl |
| 48 | map_smul' q f := by ext a; rfl |
| 49 | |
| 50 | omit [NumberField.IsCMField E] in |
| 51 | theorem integerDualRestriction_bijective : |
| 52 | Function.Bijective (integerDualRestriction (E := E)) := by |
| 53 | have ha : aE = DivisionRing.toRatAlgebra := Subsingleton.elim _ _ |
| 54 | cases ha |
| 55 | constructor |
| 56 | · intro f g h |
| 57 | apply (NumberField.integralBasis E).ext |
| 58 | intro i |
| 59 | rw [NumberField.integralBasis_apply] |
| 60 | exact LinearMap.congr_fun h (NumberField.RingOfIntegers.basis E i) |
| 61 | · intro χ |
| 62 | let f := (NumberField.integralBasis E).constr ℚ |
| 63 | (fun i => χ (NumberField.RingOfIntegers.basis E i)) |
| 64 | refine ⟨f, ?_⟩ |
| 65 | apply (NumberField.RingOfIntegers.basis E).ext |
| 66 | intro i |
| 67 | change f (algebraMap (𝓞 E) E (NumberField.RingOfIntegers.basis E i)) = _ |
| 68 | rw [← NumberField.integralBasis_apply] |
| 69 | exact (NumberField.integralBasis E).constr_basis ℚ _ i |
| 70 | |
| 71 | omit [NumberField.IsCMField E] in |
| 72 | def integerDualEquiv : Module.Dual ℚ E ≃ₗ[ℚ] (𝓞 E →ₗ[ℤ] ℚ) := |
| 73 | LinearEquiv.ofBijective integerDualRestriction integerDualRestriction_bijective |
| 74 | |
| 75 | def latticeCharacterEquiv : (𝓞 E →ₗ[ℤ] ℚ) ≃ₗ[ℚ] (Φ.periodIntegerLattice →ₗ[ℤ] ℚ) where |
| 76 | toFun χ := χ.comp (integerPeriodEquiv Φ).symm.toLinearMap |
| 77 | invFun χ := χ.comp (integerPeriodEquiv Φ).toLinearMap |
| 78 | left_inv χ := by ext a; simp |
| 79 | right_inv χ := by ext a; simp |
| 80 | map_add' χ ψ := by ext a; rfl |
| 81 | map_smul' q χ := by ext a; rfl |
| 82 | |
| 83 | /-- Trace, the integral lattice, and actual loop evaluation define the rational comparison. -/ |
| 84 | def fieldBettiEquiv : E ≃ₗ[ℚ] |
| 85 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Φ.periodTorus) 1 := |
| 86 | (PeriodsOn.Constructions.Periods.traceDualEquiv E).trans |
| 87 | (integerDualEquiv.trans ((latticeCharacterEquiv Φ).trans (RationalLoops.Constructions.Characters.rationalPeriodEquiv Φ).symm)) |
| 88 | |
| 89 | theorem fieldBettiEquiv_period (x : E) (a : 𝓞 E) : |
| 90 | AlgebraicTopology.Cohomology.Singular.Evaluation.singularEvaluation (ModuleCat.of ℚ ℚ) (TopCat.of Φ.periodTorus) 1 |
| 91 | (fieldBettiEquiv Φ x) (RationalLoops.Constructions.Loops.latticeHomology Φ ℚ (integerPeriodEquiv Φ a)) = |
| 92 | Algebra.trace ℚ E (x * (a : E)) := by |
| 93 | have h := (RationalLoops.Constructions.Characters.rationalPeriodEquiv Φ).apply_symm_apply |
| 94 | (latticeCharacterEquiv Φ (integerDualEquiv (PeriodsOn.Constructions.Periods.traceDualEquiv E x))) |
| 95 | have hp := LinearMap.congr_fun h (integerPeriodEquiv Φ a) |
| 96 | change _ = PeriodsOn.Constructions.Periods.traceDualEquiv E x ((integerPeriodEquiv Φ).symm (integerPeriodEquiv Φ a) : E) |
| 97 | at hp |
| 98 | simpa only [LinearEquiv.symm_apply_apply, PeriodsOn.Constructions.Periods.traceDualEquiv_apply] using! hp |
| 99 | |
| 100 | /-- The invariant covector of the rational class has the expected trace periods. -/ |
| 101 | theorem fieldBettiEquiv_covector (x : E) (a : 𝓞 E) : |
| 102 | RationalLoops.Constructions.Characters.rationalCovector Φ (fieldBettiEquiv Φ x) (Φ.periodEmbedding (a : E)) = |
| 103 | (Algebra.trace ℚ E (x * (a : E)) : ℂ) := by |
| 104 | have h := RationalLoops.Constructions.Characters.rationalCovector_period Φ (fieldBettiEquiv Φ x) (integerPeriodEquiv Φ a) |
| 105 | rw [fieldBettiEquiv_period] at h |
| 106 | exact h |
| 107 | |
| 108 | end Geometry.ComplexTorus.RiemannProjectivity.ComparisonField.Constructions.FieldComparison |
| 109 | |
| 110 | namespace Geometry.ComplexTorus.RiemannProjectivity.ComparisonField.Constructions.HodgeComparison |
| 111 | |
| 112 | /-! |
| 113 | # RiemannProjectivity: the prescribed Hodge signs under the canonical torus comparison |
| 114 | |
| 115 | The complexified trace comparison is determined by its actual lattice |
| 116 | periods. On the positive embedding summand these are precisely the periods |
| 117 | of the complex-linear covector already constructed from the CM type. |
| 118 | -/ |
| 119 | |
| 120 | open _root_.CategoryTheory |
| 121 | open scoped _root_.NumberField TensorProduct |
| 122 | |
| 123 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 124 | [NumberField.IsCMField E] (Φ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) |
| 125 | |
| 126 | def fieldComplexCovectorEquiv : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification E ≃ₗ[ℂ] (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E →L[ℝ] ℂ) := |
| 127 | (LinearEquiv.baseChange ℚ ℂ _ _ (FieldComparison.fieldBettiEquiv Φ)).trans |
| 128 | (RationalLoops.Constructions.Rational.rationalComplexificationCovectors Φ) |
| 129 | |
| 130 | theorem fieldComplexCovectorEquiv_tmul (c : ℂ) (x : E) : |
| 131 | fieldComplexCovectorEquiv Φ (c ⊗ₜ[ℚ] x) = |
| 132 | c • RationalLoops.Constructions.Characters.rationalCovector Φ (FieldComparison.fieldBettiEquiv Φ x) := by |
| 133 | change (BettiDe.Constructions.Betti.invariantBettiH1Equiv Φ).symm |
| 134 | (c • AlgebraicTopology.Cohomology.Singular.RationalComplex.rationalToComplexCohomology (TopCat.of Φ.periodTorus) 1 |
| 135 | (FieldComparison.fieldBettiEquiv Φ x)) = _ |
| 136 | exact (BettiDe.Constructions.Betti.invariantBettiH1Equiv Φ).symm.map_smul c _ |
| 137 | |
| 138 | theorem fieldComplexCovectorEquiv_period (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification E) (a : 𝓞 E) : |
| 139 | fieldComplexCovectorEquiv Φ x (Φ.periodEmbedding (a : E)) = |
| 140 | (Algebra.traceForm ℚ E).baseChange ℂ x (1 ⊗ₜ[ℚ] (a : E)) := by |
| 141 | induction x using TensorProduct.inductionOn with |
| 142 | | add x y hx hy => simp only [map_add, add_apply, LinearMap.add_apply, hx, hy] |
| 143 | | tmul c x => |
| 144 | rw [fieldComplexCovectorEquiv_tmul, smul_apply, |
| 145 | FieldComparison.fieldBettiEquiv_covector, LinearMap.BilinForm.baseChange_tmul, |
| 146 | Algebra.traceForm_apply] |
| 147 | change c * (Algebra.trace ℚ E (x * (a : E)) : ℂ) = |
| 148 | (Algebra.trace ℚ E (x * (a : E)) : ℂ) * (c * 1) |
| 149 | ring |
| 150 | |
| 151 | /-- Equality of the actual covectors, not merely agreement of abstract dimensions. -/ |
| 152 | theorem fieldComplexCovectorEquiv_holomorphic (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification E) |
| 153 | (hx : x ∈ Φ.hodgeStructure.holomorphic) : |
| 154 | fieldComplexCovectorEquiv Φ x = |
| 155 | (PeriodsOn.Constructions.Periods.periodCovector E Φ x).toContinuousLinearMap.restrictScalars ℝ := by |
| 156 | let l := (PeriodsOn.Constructions.Periods.periodCovector E Φ x).toContinuousLinearMap.restrictScalars ℝ |
| 157 | let χ : Φ.periodIntegerLattice →+ ℂ := |
| 158 | l.toLinearMap.toAddMonoidHom.comp Φ.periodIntegerLattice.subtype.toAddMonoidHom |
| 159 | have hl : ∀ t : Φ.periodIntegerLattice, l t = χ t := fun _ => rfl |
| 160 | have hc : ∀ t : Φ.periodIntegerLattice, fieldComplexCovectorEquiv Φ x t = χ t := by |
| 161 | intro t |
| 162 | obtain ⟨a, ha⟩ := (Φ.mem_periodIntegerLattice t).mp t.property |
| 163 | change fieldComplexCovectorEquiv Φ x t.val = PeriodsOn.Constructions.Periods.periodCovector E Φ x t.val |
| 164 | rw [← ha, fieldComplexCovectorEquiv_period, PeriodsOn.Constructions.Periods.periodCovector_on_field E Φ x hx] |
| 165 | exact (PrimitiveEq.Constructions.Primitive.exists_covector_extending_character Φ.periodIntegerLattice χ).unique hc hl |
| 166 | |
| 167 | /-- Conversely, a complex-linear covector determines a unique positive embedding vector. -/ |
| 168 | theorem fieldComplexCovectorEquiv_complexLinear_iff (x : AlgebraicGeometry.ComplexMultiplication.WeightOne.CM.Complexification E) : |
| 169 | (∃ l : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E →L[ℂ] ℂ, fieldComplexCovectorEquiv Φ x = l.restrictScalars ℝ) ↔ |
| 170 | x ∈ Φ.hodgeStructure.holomorphic := by |
| 171 | constructor |
| 172 | · rintro ⟨l, hl⟩ |
| 173 | obtain ⟨y, hy⟩ := (PeriodsOn.Constructions.Periods.holomorphicPeriodEquiv E Φ).surjective l.toLinearMap |
| 174 | have hxy : fieldComplexCovectorEquiv Φ x = fieldComplexCovectorEquiv Φ y.val := by |
| 175 | rw [hl, fieldComplexCovectorEquiv_holomorphic Φ y.val y.property] |
| 176 | have he : PeriodsOn.Constructions.Periods.periodCovector E Φ y.val = l.toLinearMap := hy |
| 177 | rw [he] |
| 178 | rfl |
| 179 | exact (fieldComplexCovectorEquiv Φ).injective hxy ▸ y.property |
| 180 | · intro hx |
| 181 | exact ⟨(PeriodsOn.Constructions.Periods.periodCovector E Φ x).toContinuousLinearMap, |
| 182 | fieldComplexCovectorEquiv_holomorphic Φ x hx⟩ |
| 183 | |
| 184 | end Geometry.ComplexTorus.RiemannProjectivity.ComparisonField.Constructions.HodgeComparison |
| 185 | |
| 186 | end |
| 187 | |
| 188 | end OAI |