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.PELModuli.IntegralModel.Components |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ModelsHas |
| 3 | |
| 4 | /-! # Component Finite Diagram -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ComponentFiniteDiagram |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Encode all component sources, abelian targets, base points and maps |
| 11 | in the actual finite diagram accepted by the proved SpreadingOut construction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | abbrev ComponentDiagramIndex (r : ℕ) := Option (Fin r ⊕ Fin r) |
| 18 | |
| 19 | def componentDiagramObject |
| 20 | {R : Type} [Field R] [NumberField R] {T : Over (Spec (.of R))} {r : ℕ} |
| 21 | (D : Components.ComponentAlbaneseData T r) : ComponentDiagramIndex r → Over (Spec (.of R)) |
| 22 | | none => 𝟙_ (Over (Spec (.of R))) |
| 23 | | some (.inl i) => D.S i |
| 24 | | some (.inr i) => (D.A i).X |
| 25 | |
| 26 | def componentFiniteDiagram |
| 27 | {R : Type} [Field R] [NumberField R] {T : Over (Spec (.of R))} {r : ℕ} |
| 28 | (D : Components.ComponentAlbaneseData T r) |
| 29 | (hS : ∀ i, Smooth (D.S i).hom ∧ IsProper (D.S i).hom) |
| 30 | (hA : ∀ i, Smooth (D.A i).X.hom ∧ IsProper (D.A i).X.hom ∧ GeometricallyConnected (D.A i).X.hom) : |
| 31 | ModelsHas.FiniteDiagram R where |
| 32 | objects := ComponentDiagramIndex r |
| 33 | arrows := Fin r ⊕ Fin r |
| 34 | abelians := Fin r |
| 35 | X := componentDiagramObject D |
| 36 | smooth |
| 37 | | none => inferInstanceAs (Smooth (𝟙 _)) |
| 38 | | some (.inl i) => (hS i).1 |
| 39 | | some (.inr i) => (hA i).1 |
| 40 | proper |
| 41 | | none => inferInstanceAs (IsProper (𝟙 _)) |
| 42 | | some (.inl i) => (hS i).2 |
| 43 | | some (.inr i) => (hA i).2.1 |
| 44 | src |
| 45 | | .inl _ => none |
| 46 | | .inr i => some (.inl i) |
| 47 | dst |
| 48 | | .inl i => some (.inl i) |
| 49 | | .inr i => some (.inr i) |
| 50 | f |
| 51 | | .inl i => D.x₀ i |
| 52 | | .inr i => D.a i |
| 53 | abelianIndex i := some (.inr i) |
| 54 | group i := (D.A i).grp |
| 55 | abelian i := ⟨(D.A i).comm, (hA i).2.2⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ComponentFiniteDiagram |