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.First.TwoFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TruncationBoundsGE |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ShortExact |
| 4 | |
| 5 | /-! # Two Quotient -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.First.TwoQuotient.FirstTwoComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The tail in degrees at least two is the kernel of the projection to the first two terms. -/ |
| 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 | theorem tail_projection : AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 2 ≫ TwoComplex.FirstTwoComplex.projection K = 0 := by |
| 20 | apply HomologicalComplex.Hom.ext |
| 21 | funext n |
| 22 | cases n with |
| 23 | | zero => |
| 24 | change AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K 2 0 ≫ 𝟙 (K.X 0) = 0 |
| 25 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_right (show ¬ (2 : ℤ) ≤ (0 : ℕ) by omega)] |
| 26 | exact zero_comp |
| 27 | | succ n => |
| 28 | cases n with |
| 29 | | zero => |
| 30 | change AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K 2 1 ≫ 𝟙 (K.X 1) = 0 |
| 31 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_right (show ¬ (2 : ℤ) ≤ (1 : ℕ) by omega)] |
| 32 | exact zero_comp |
| 33 | | succ n => exact comp_zero |
| 34 | |
| 35 | def quotientSequence : ShortComplex (CochainComplex C ℕ) := |
| 36 | ShortComplex.mk (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 2) (TwoComplex.FirstTwoComplex.projection K) (tail_projection K) |
| 37 | |
| 38 | theorem tail_zero (n : ℕ) (hn : n ≤ 1) : IsZero ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K 2).X n) := by |
| 39 | change IsZero (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term K 2 n) |
| 40 | have h : ¬ (2 : ℤ) ≤ (n : ℤ) := by omega |
| 41 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term, ite_eq_right h] |
| 42 | exact isZero_zero C |
| 43 | |
| 44 | theorem tail_inclusion_isIso (n : ℕ) (hn : 2 ≤ n) : IsIso ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K 2).f n) := by |
| 45 | change IsIso (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K 2 n) |
| 46 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_left (show (2 : ℤ) ≤ (n : ℤ) by omega)] |
| 47 | infer_instance |
| 48 | |
| 49 | def quotientSplitting (n : ℕ) : |
| 50 | ((quotientSequence K).map (HomologicalComplex.eval C (.up ℕ) n)).Splitting := by |
| 51 | cases n with |
| 52 | | zero => |
| 53 | apply ShortComplex.Splitting.ofIsZeroOfIsIso _ (tail_zero K 0 (by omega)) |
| 54 | exact inferInstanceAs (IsIso (𝟙 (K.X 0))) |
| 55 | | succ n => |
| 56 | cases n with |
| 57 | | zero => |
| 58 | apply ShortComplex.Splitting.ofIsZeroOfIsIso _ (tail_zero K 1 (by omega)) |
| 59 | exact inferInstanceAs (IsIso (𝟙 (K.X 1))) |
| 60 | | succ n => |
| 61 | exact ShortComplex.Splitting.ofIsIsoOfIsZero _ (tail_inclusion_isIso K (n + 2) (by omega)) |
| 62 | (isZero_zero C) |
| 63 | |
| 64 | theorem quotient_shortExact : (quotientSequence K).ShortExact := |
| 65 | HomologicalComplex.shortExact_of_degreewise_shortExact _ (fun n => (quotientSplitting K n).shortExact) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.First.TwoQuotient.FirstTwoComplex |