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.SheafCohomology.Cech.ComplexUpNatBoundary |
| 2 | |
| 3 | /-! # Total Component Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TotalComponentLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual maps into a first-quadrant total are finite sums of their |
| 10 | bidegree components. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive |
| 12 | universe u v |
| 13 | variable {C : Type u} [Category.{v} C] [Preadditive C] |
| 14 | (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) [K.HasTotal (.up ℕ)] |
| 15 | {A : C} (n : ℕ) |
| 16 | |
| 17 | def lift (f : ∀ p q, p + q = n → (A ⟶ (K.X p).X q)) : A ⟶ (K.total (.up ℕ)).X n := |
| 18 | ∑ i : Fin (n + 1), f i (n - i) (by omega) ≫ |
| 19 | K.ιTotal (.up ℕ) i (n - i) n (by change (i : ℕ) + (n - i) = n; omega) |
| 20 | |
| 21 | @[reassoc] |
| 22 | theorem lift_projection (f : ∀ p q, p + q = n → (A ⟶ (K.X p).X q)) |
| 23 | (p q : ℕ) (h : p + q = n) : |
| 24 | lift K n f ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat K) p q n = f p q h := by |
| 25 | classical |
| 26 | unfold lift |
| 27 | rw [sum_comp] |
| 28 | let j : Fin (n + 1) := ⟨p, by omega⟩ |
| 29 | rw [Finset.sum_eq_single j] |
| 30 | · have hq : n - p = q := by omega |
| 31 | subst q |
| 32 | simp [j] |
| 33 | · intro i _ hij |
| 34 | have hip : (i : ℕ) ≠ p := by |
| 35 | intro h |
| 36 | apply hij |
| 37 | exact Fin.ext h |
| 38 | simp [hip] |
| 39 | · simp |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TotalComponentLift |