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.SectionBaseChange |
| 2 | import Mathlib.AlgebraicGeometry.OpenImmersion |
| 3 | |
| 4 | /-! # Section Algebra Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionAlgebraIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: an open immersion identifies the original native section algebras over the base |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (k : Type u) [CommRing k] (X Y : Over (Spec (CommRingCat.of k))) |
| 19 | (g : X.left ⟶ Y.left) [IsOpenImmersion g] (hg : g ≫ Y.hom = X.hom) |
| 20 | |
| 21 | include hg in |
| 22 | theorem base_hom (U : X.left.Opens) : |
| 23 | (Scheme.ΓSpecIso (CommRingCat.of k)).inv ≫ Y.hom.appLE ⊤ (g ''ᵁ U) le_top ≫ (g.appIso U).hom = |
| 24 | (Scheme.ΓSpecIso (CommRingCat.of k)).inv ≫ X.hom.appLE ⊤ U le_top := by |
| 25 | rw [g.appIso_hom', Scheme.Hom.appLE_comp_appLE g Y.hom ⊤ (g ''ᵁ U) U le_top |
| 26 | (Scheme.Hom.preimage_image_eq g U).ge, hg] |
| 27 | |
| 28 | include hg in |
| 29 | theorem base_inv (U : X.left.Opens) (r : k) : |
| 30 | (g.appIso U).inv (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k X U r) = |
| 31 | OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k Y (g ''ᵁ U) r := by |
| 32 | have h := ConcreteCategory.congr_hom (base_hom k X Y g hg U) r |
| 33 | change (g.appIso U).hom (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k Y (g ''ᵁ U) r) = |
| 34 | OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k X U r at h |
| 35 | exact (congrArg (g.appIso U).inv h).symm.trans (Iso.hom_inv_id_apply (g.appIso U) _) |
| 36 | |
| 37 | def component (U : X.left.Opens) : |
| 38 | (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op U) ≅ |
| 39 | (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k Y).obj (op (g ''ᵁ U)) := |
| 40 | CommAlgCat.isoMk |
| 41 | { (g.appIso U).symm.commRingCatIsoToRingEquiv with commutes' := base_inv k X Y g hg U } |
| 42 | |
| 43 | def iso : OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X ≅ g.opensFunctor.op ⋙ OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k Y := |
| 44 | NatIso.ofComponents (fun U => component k X Y g hg U.unop) |
| 45 | (by |
| 46 | intro U V f |
| 47 | apply CommAlgCat.hom_ext |
| 48 | apply AlgHom.ext |
| 49 | intro x |
| 50 | exact ConcreteCategory.congr_hom (g.appIso_inv_naturality f) x) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionAlgebraIso |