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.AugmentedCech.SupportedUniqueness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.PuncturedHomRows |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.PartialClass |
| 4 | |
| 5 | /-! # Supported Uniqueness -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.SupportedUniqueness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The mixed partial-fraction map is the unique supported lift, up to |
| 12 | actual homotopy, of its canonical ambient dual-Koszul map. -/ |
| 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 |
| 19 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 20 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 21 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 22 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 23 | |
| 24 | def homotopy (f g : KoszulPartial.Components.source R s t ⟶ (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 25 | (h : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 26 | (g ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s))) : Homotopy f g := |
| 27 | AugmentedCech.SupportedUniqueness.homotopy U (KoszulPartial.Components.coefficient R P s) (KoszulPartial.Components.source R s t) |
| 28 | (PuncturedHomRows.positive R P U s t ht) f g h |
| 29 | |
| 30 | def to_partial (f : KoszulPartial.Components.source R s t ⟶ (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 31 | (h : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 32 | (KoszulPartial.Total.map R P U s t ht ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s))) : |
| 33 | Homotopy f (KoszulPartial.Total.map R P U s t ht) := |
| 34 | homotopy R P U s t ht f _ h |
| 35 | |
| 36 | theorem homology_eq (f : KoszulPartial.Components.source R s t ⟶ (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 37 | (h : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 38 | (KoszulPartial.Total.map R P U s t ht ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s))) |
| 39 | (n : ℕ) : homologyMap f n = homologyMap (KoszulPartial.Total.map R P U s t ht) n := |
| 40 | (to_partial R P U s t ht f h).homologyMap_eq n |
| 41 | |
| 42 | theorem class_eq (f : KoszulPartial.Components.source R s t ⟶ (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 43 | (h : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 44 | (KoszulPartial.Total.map R P U s t ht ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s))) |
| 45 | (φ : Module.Dual R (⋀[R]^(c + m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) : |
| 46 | homologyMap f (c + m) (KoszulPartial.PartialClass.sourceClass R s t φ) = |
| 47 | KoszulPartial.PartialClass.supportedClass R P U s t ht φ := by |
| 48 | rw [homology_eq R P U s t ht f h, KoszulPartial.PartialClass.supportedClass_eq] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.SupportedUniqueness |