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.IntersectionTheory.ProjectionFormula.Generic.RankEuler |
| 2 | |
| 3 | /-! # Resolution Rank Balance -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ResolutionRankBalance |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A length-two free resolution of a torsion module has the rank |
| 10 | balance needed for its two square determinant matrices. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] [IsDomain R] |
| 18 | (M : ModuleCat.{u} R) [Module.Finite R M] (P : ProjectiveResolution M) |
| 19 | |
| 20 | theorem rank_eq |
| 21 | (hP : ∀ n, Module.Finite R (P.complex.X n) ∧ Module.Free R (P.complex.X n)) |
| 22 | (hd : IsZero (P.complex.X 3)) (r : R) (hr : r ≠ 0) (hM : ∀ x : M, r • x = 0) : |
| 23 | Module.finrank R (P.complex.X 1) = |
| 24 | Module.finrank R (P.complex.X 2) + Module.finrank R (P.complex.X 0) := by |
| 25 | let : Subsingleton (LocalizedModule (nonZeroDivisors R) M) := |
| 26 | LocalizedModule.subsingleton_iff.mpr (fun x => |
| 27 | ⟨r, mem_nonZeroDivisors_iff_ne_zero.mpr hr, hM x⟩) |
| 28 | let : Subsingleton (FractionRing R ⊗[R] M) := |
| 29 | (LocalizedModule.equivTensorProduct (nonZeroDivisors R) M).symm.injective.subsingleton |
| 30 | have he := Generic.RankEuler.alternating_rank R (FractionRing R) M P hP 2 hd |
| 31 | rw [Module.finrank_zero_of_subsingleton] at he |
| 32 | norm_num [Finset.sum_range_succ] at he |
| 33 | have he' : (Module.finrank R (P.complex.X 1) : ℚ) = |
| 34 | (Module.finrank R (P.complex.X 2) : ℚ) + (Module.finrank R (P.complex.X 0) : ℚ) := by |
| 35 | linarith |
| 36 | exact_mod_cast he' |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ResolutionRankBalance |