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.Koszul.PuncturedHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.HomAcyclicProducts |
| 3 | |
| 4 | /-! # Punctured Hom Rows -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.PuncturedHomRows |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Positive supported Čech columns have exact Hom rows from the actual |
| 11 | point dual Koszul complex. One parameter is invertible on each genuine |
| 12 | intersection; its wedge nullhomotopy supplies the exactness. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.PuncturedHomotopy |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cochain.HomAcyclicProducts |
| 20 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 21 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 22 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) |
| 23 | (s : Fin c → R) (t : Fin m → R) |
| 24 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 25 | |
| 26 | omit [HasFiniteProducts C] in |
| 27 | theorem rows_at (a : Cᵒᵖ) (j : Fin m) |
| 28 | (hj : IsUnit (algebraMap R (P.obj a) (t j))) (p : ℕ) : |
| 29 | Cochain.HomAcyclic.Rows (KoszulPartial.Components.source R s t) ((PuncturedHomotopy.coefficientAt R P s a).X p) := by |
| 30 | let z : P.obj a := ↑(hj.unit⁻¹) |
| 31 | have hz : algebraMap R (P.obj a) (t j) * z = 1 := |
| 32 | (congrArg (fun w : P.obj a => w * ↑(hj.unit⁻¹)) hj.unit_spec.symm).trans |
| 33 | (Units.mul_inv hj.unit) |
| 34 | exact Cochain.HomAcyclic.rows_of_scalar R (t j) (PuncturedHomotopy.sourceNull R s t j) |
| 35 | ((PuncturedHomotopy.multiply R P s a z).f p) |
| 36 | (congrArg (fun f => f.f p) (PuncturedHomotopy.multiply_inverse R P s a (t j) z hz)) |
| 37 | |
| 38 | include ht in |
| 39 | theorem positive (p q : ℕ) (hq : q ≠ 0) : |
| 40 | Cochain.HomAcyclic.Rows (KoszulPartial.Components.source R s t) (((KoszulPartial.Components.target R P U s).X p).X q) := by |
| 41 | apply Cochain.HomAcyclicProducts.rows_pi |
| 42 | intro a |
| 43 | let j : Fin q := ⟨0, Nat.pos_of_ne_zero hq⟩ |
| 44 | apply rows_at R P s t (op ((AugmentedOrdered.Cech.formal U q).obj a)) (a.val j).down |
| 45 | let v := Cech.DenominatorUnits.coordinateUnit U (KoszulPartial.Fractions.rings R P) R (KoszulPartial.Fractions.scalars R P) |
| 46 | (fun i => t i.down) ht a j |
| 47 | exact ⟨v, Cech.DenominatorUnits.coordinateUnit_val U (KoszulPartial.Fractions.rings R P) R (KoszulPartial.Fractions.scalars R P) |
| 48 | (fun i => t i.down) ht a j⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.PuncturedHomRows |