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.NumberTheory.PadicHodge.GeometricComparison.TruncationBoundsGE |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | import Mathlib.Algebra.Homology.Single |
| 4 | |
| 5 | /-! # Zero Quotient -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.First.ZeroQuotient.FirstZeroComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native positive-degree Hodge tail is the kernel of projection to the degree-zero term. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] (K : CochainComplex C ℕ) |
| 18 | |
| 19 | def complex : CochainComplex C ℕ := (CochainComplex.single₀ C).obj (K.X 0) |
| 20 | |
| 21 | def projection : K ⟶ complex K := (CochainComplex.toSingle₀Equiv K (K.X 0)).symm (𝟙 _) |
| 22 | |
| 23 | theorem projection_zero : (projection K).f 0 = 𝟙 (K.X 0) := |
| 24 | CochainComplex.toSingle₀Equiv_symm_apply_f_zero _ |
| 25 | |
| 26 | theorem projection_succ (n : ℕ) : (projection K).f (n + 1) = 0 := |
| 27 | CochainComplex.toSingle₀Equiv_symm_apply_f_succ _ n |
| 28 | |
| 29 | theorem tail_projection : AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1 ≫ projection K = 0 := by |
| 30 | apply HomologicalComplex.Hom.ext |
| 31 | funext n |
| 32 | cases n with |
| 33 | | zero => |
| 34 | change AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K 1 0 ≫ (projection K).f 0 = 0 |
| 35 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_right (show ¬ (1 : ℤ) ≤ (0 : ℕ) by omega)] |
| 36 | exact zero_comp |
| 37 | | succ n => |
| 38 | change (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1).f (n + 1) ≫ (projection K).f (n + 1) = 0 |
| 39 | rw [projection_succ, comp_zero] |
| 40 | |
| 41 | def quotientSequence : ShortComplex (CochainComplex C ℕ) := |
| 42 | ShortComplex.mk (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1) (projection K) (tail_projection K) |
| 43 | |
| 44 | theorem quotient_shortExact : (quotientSequence K).ShortExact := by |
| 45 | apply HomologicalComplex.shortExact_of_degreewise_shortExact |
| 46 | intro n |
| 47 | cases n with |
| 48 | | zero => |
| 49 | have ht : IsZero ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K 1).X 0) := by |
| 50 | change IsZero (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term K 1 0) |
| 51 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term, ite_eq_right (show ¬ (1 : ℤ) ≤ (0 : ℕ) by omega)] |
| 52 | exact isZero_zero C |
| 53 | apply ShortComplex.Splitting.shortExact |
| 54 | apply ShortComplex.Splitting.ofIsZeroOfIsIso _ ht |
| 55 | change IsIso ((projection K).f 0) |
| 56 | rw [projection_zero] |
| 57 | exact inferInstanceAs (IsIso (𝟙 (K.X 0))) |
| 58 | | succ n => |
| 59 | have hi : IsIso ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 1).f (n + 1)) := by |
| 60 | change IsIso (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K 1 (n + 1)) |
| 61 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_left (show (1 : ℤ) ≤ ((n + 1 : ℕ) : ℤ) by omega)] |
| 62 | infer_instance |
| 63 | exact (ShortComplex.Splitting.ofIsIsoOfIsZero _ hi |
| 64 | (HomologicalComplex.isZero_single_obj_X (.up ℕ) 0 (K.X 0) (n + 1) (by omega))).shortExact |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.First.ZeroQuotient.FirstZeroComplex |