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.IntegralComparison.Balanced.CupAlgebra |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarCupAlgebra |
| 4 | |
| 5 | /-! # Rational Cup Algebra -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCupAlgebra |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Associativity and alternating degree-one products on the exact |
| 12 | original rational crystalline cohomology, including residue characteristic two. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupTransport |
| 18 | |
| 19 | attribute [local irreducible] GradedCupTransport.degreeCast BalancedBounded.CechCup.cup |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 24 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] |
| 25 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 26 | |
| 27 | abbrev cohomology (i : ℕ) : Type (u + 2) := Witt.Crystalline.rationalCohomology p k X i |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "K" => FractionRing (WittVector p k) |
| 31 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 32 | local notation "I" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X |
| 33 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCupAlgebra.cohomology p k X |
| 34 | local notation "μ" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup.integralCup p k X hprojective |
| 35 | local notation "ν" => OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCrystallineCup.cup p k X hprojective |
| 36 | |
| 37 | private theorem integral_assoc (i j l : ℕ) (x : I i) (y : I j) (z : I l) : |
| 38 | GradedCupTransport.degreeCast W I (Nat.add_assoc i j l) (μ (i + j) l (μ i j x y) z) = |
| 39 | μ i (j + l) x (μ j l y z) := by |
| 40 | simp only [RationalCrystallineCup.integralCup_apply] |
| 41 | exact (ScalarCupAlgebra.degreeCast_changeRing (R := CR) I W (Nat.add_assoc i j l) _).trans |
| 42 | (CupAlgebra.Integral.assoc p k X hprojective i j l x y z) |
| 43 | |
| 44 | private theorem integral_one_add_swap (x y : I 1) : μ 1 1 x y + μ 1 1 y x = 0 := by |
| 45 | simp only [RationalCrystallineCup.integralCup_apply] |
| 46 | exact CupAlgebra.Integral.one_add_swap p k X hprojective x y |
| 47 | |
| 48 | abbrev assoc (i j l : ℕ) (x : H i) (y : H j) (z : H l) := by |
| 49 | have result := ScalarCupAlgebra.assoc K I μ (integral_assoc p k X hprojective) i j l x y z |
| 50 | exact result |
| 51 | |
| 52 | theorem one_add_swap (x y : H 1) : ν 1 1 x y + ν 1 1 y x = 0 := |
| 53 | ScalarCupAlgebra.one_add_swap K I μ (integral_one_add_swap p k X hprojective) x y |
| 54 | |
| 55 | theorem self_eq_zero (x : H 1) : ν 1 1 x x = 0 := by |
| 56 | have h2 : (2 : K) • ν 1 1 x x = 0 := |
| 57 | (two_smul K _).trans (one_add_swap p k X hprojective x x) |
| 58 | exact (smul_eq_zero.mp h2).resolve_left (by norm_num) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.RationalCupAlgebra |