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.CanonicalMap |
| 2 | |
| 3 | /-! # Terminal Scalars -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.TerminalScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! When terminal coefficients are the original ring, the literal |
| 10 | scalar map on the dual Koszul complex is an isomorphism. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 18 | {c : ℕ} (s : Fin c → R) |
| 19 | (h : Function.Bijective (algebraMap R (P.obj (op (⊤_ C))))) |
| 20 | |
| 21 | include h in |
| 22 | theorem component_isIso (q : ℕ) : |
| 23 | IsIso ((KoszulPartial.CanonicalMap.scalarsMap R P s).f q) := by |
| 24 | let e := LinearEquiv.ofBijective (Algebra.linearMap R (P.obj (op (⊤_ C)))) h |
| 25 | let E := LinearEquiv.congrRight (M := |
| 26 | ⋀[R]^q (KoszulPartial.Fractions.normal R (c := c))) e |
| 27 | have he : (KoszulPartial.CanonicalMap.scalarsMap R P s).f q = E.toModuleIso.hom := by |
| 28 | apply ModuleCat.hom_ext |
| 29 | apply LinearMap.ext |
| 30 | intro φ |
| 31 | apply LinearMap.ext |
| 32 | intro x |
| 33 | rfl |
| 34 | rw [he] |
| 35 | infer_instance |
| 36 | |
| 37 | include h in |
| 38 | theorem isIso : IsIso (KoszulPartial.CanonicalMap.scalarsMap R P s) := by |
| 39 | let (q : ℕ) := component_isIso R P s h q |
| 40 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.TerminalScalars |