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.IntrinsicDeRham.SectionUnit |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrdinaryDeRhamFunctor |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Section Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionRestriction.IntrinsicUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restriction compatibility for the native de Rham section-unit map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 18 | {U V : X.left.Opens} (i : V ⟶ U) |
| 19 | |
| 20 | @[instance_reducible] |
| 21 | def restrictionAlgebra : Algebra (SectionUnit.Intrinsic.ring R X U) (SectionUnit.Intrinsic.ring R X V) := |
| 22 | ((OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i.op).hom.toRingHom.toAlgebra |
| 23 | |
| 24 | theorem restrictionTower : letI := restrictionAlgebra R X i |
| 25 | IsScalarTower R (SectionUnit.Intrinsic.ring R X U) (SectionUnit.Intrinsic.ring R X V) := by |
| 26 | let := restrictionAlgebra R X i |
| 27 | exact IsScalarTower.of_algebraMap_eq (fun r => |
| 28 | (((OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i.op).hom.commutes r).symm) |
| 29 | |
| 30 | theorem restrictionEtale (hU : IsAffineOpen U) (hV : IsAffineOpen V) : |
| 31 | letI := restrictionAlgebra R X i |
| 32 | Algebra.Etale (SectionUnit.Intrinsic.ring R X U) (SectionUnit.Intrinsic.ring R X V) := by |
| 33 | let := restrictionAlgebra R X i |
| 34 | change (X.left.presheaf.map i.op).hom.Etale |
| 35 | have h := Scheme.Hom.etale_appLE (𝟙 X.left) hU hV (show V ≤ (𝟙 X.left) ⁻¹ᵁ U by |
| 36 | simpa using i.le) |
| 37 | exact h |
| 38 | |
| 39 | def restriction : SectionUnit.Intrinsic.sections R X U ⟶ SectionUnit.Intrinsic.sections R X V where |
| 40 | f n := ((OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X n).obj.map i.op |
| 41 | comm' n m _ := ((OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).d n m).hom.naturality i.op |
| 42 | |
| 43 | def nativeRestriction : OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (SectionUnit.Intrinsic.ring R X U) ⟶ |
| 44 | OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (SectionUnit.Intrinsic.ring R X V) := |
| 45 | OrdinaryDeRhamFunctor.Ordinary.map ((OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i.op) |
| 46 | |
| 47 | theorem unit_restriction : |
| 48 | SectionUnit.Intrinsic.unit R X U ≫ restriction R X i = nativeRestriction R X i ≫ SectionUnit.Intrinsic.unit R X V := by |
| 49 | apply HomologicalComplex.Hom.ext |
| 50 | funext n |
| 51 | simp only [HomologicalComplex.comp_f, SectionUnit.Intrinsic.unit_f] |
| 52 | exact ((toSheafify (Opens.grothendieckTopology X.left) |
| 53 | (OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n)).naturality i.op).symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionRestriction.IntrinsicUnit |