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.Affine.ChartSectionRing |
| 2 | |
| 3 | /-! # Chart Section Algebra -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ChartSectionAlgebra |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: affine chart section coordinates retain the native base-algebra action |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (k C : Type u) [CommRing k] [CommRing C] [Algebra k C] |
| 18 | (X : Over (Spec (CommRingCat.of k))) (g : Spec (CommRingCat.of C) ⟶ X.left) [IsOpenImmersion g] |
| 19 | (hg : g ≫ X.hom = Spec.map (CommRingCat.ofHom (algebraMap k C))) |
| 20 | |
| 21 | def equiv : ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op g.opensRange)) ≃ₐ[k] C where |
| 22 | toRingEquiv := (ChartSectionRing.iso k C X g).commRingCatIsoToRingEquiv |
| 23 | commutes' r := by |
| 24 | have h := ConcreteCategory.congr_hom (ChartSectionRing.base_square k C X g hg) r |
| 25 | have he := ConcreteCategory.congr_hom (ChartSectionRing.iso_hom k C X g) |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap k X g.opensRange r) |
| 27 | exact he.trans h |
| 28 | |
| 29 | def iso : (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op g.opensRange) ≅ CommAlgCat.of k C := |
| 30 | CommAlgCat.isoMk (equiv k C X g hg) |
| 31 | |
| 32 | def complexIso : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex k ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op g.opensRange)) ≅ |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex k C := |
| 34 | (OrdinaryDeRhamFunctor.Ordinary.functor k).mapIso (iso k C X g hg) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ChartSectionAlgebra |