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.KoszulPartial.TotalResidue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.PowerVanishing |
| 3 | |
| 4 | /-! # Total Top -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.TotalTop |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In the actual top degree the mixed fraction map has only its |
| 11 | normal-top/full-intersection component. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 20 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) |
| 21 | (s : Fin c → R) (t : Fin m → R) |
| 22 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 23 | |
| 24 | theorem component_zero (n p q : ℕ) (h : p + q = n) (hz : c < p ∨ m < q) : |
| 25 | Components.component (c := c) R P U t ht n p q h = 0 := by |
| 26 | apply Pi.hom_ext |
| 27 | intro a |
| 28 | have he := Components.component_projection R P U (0 : Fin c → R) t ht n p q h a |
| 29 | refine he.trans ?_ |
| 30 | rw [zero_comp] |
| 31 | rcases hz with hp | hq |
| 32 | · apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro φ |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | have hx := Exterior.PowerVanishing.eq_zero (Pi.basisFun R (Fin c)) hp x |
| 38 | change Components.coordinateAt R P U t ht n p q h a φ x = 0 |
| 39 | rw [hx, map_zero] |
| 40 | · have hc := Fintype.card_le_of_injective a.val a.property.injective |
| 41 | simp only [Fintype.card_fin, Fintype.card_ulift] at hc |
| 42 | omega |
| 43 | |
| 44 | theorem top_projection (p q : ℕ) (h : p + q = c + m) : |
| 45 | (Total.map R P U s t ht).f (c + m) ≫ (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (target R P U s)) p q (c + m) = |
| 46 | (Components.component R P U t ht (c + m) c m rfl ≫ |
| 47 | (Components.target R P U s).ιTotal (.up ℕ) c m (c + m) rfl) ≫ |
| 48 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (target R P U s)) p q (c + m) := by |
| 49 | rw [Total.map_projection R P U s t ht (c + m) p q h] |
| 50 | by_cases hp : p = c |
| 51 | · subst p |
| 52 | have hq : q = m := by omega |
| 53 | subst q |
| 54 | simp |
| 55 | exact (Category.comp_id _).symm |
| 56 | · have hz : c < p ∨ m < q := by omega |
| 57 | rw [component_zero R P U t ht (c + m) p q h hz, Category.assoc] |
| 58 | simp [Ne.symm hp] |
| 59 | |
| 60 | theorem top_map : (Total.map R P U s t ht).f (c + m) = |
| 61 | Components.component R P U t ht (c + m) c m rfl ≫ (Components.target R P U s).ιTotal (.up ℕ) c m (c + m) rfl := by |
| 62 | apply AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatCoordinates.Projective.totalUpNat_hom_ext (Components.target R P U s) (c + m) |
| 63 | intro i |
| 64 | exact top_projection R P U s t ht i (c + m - i) (by omega) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.TotalTop |