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.Crystalline.Cohomology.Affine.MorphismPairs |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.GeometricRestriction |
| 4 | |
| 5 | /-! # Morphism Open Pairs -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismOpenPairs |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compatible integral affine pairs give compatible special-fiber |
| 12 | opens and their original inverse-image restriction transformation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 20 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 21 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} |
| 22 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 23 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 24 | |
| 25 | def source : AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left ⥤ Y₁.left.Opens := |
| 26 | AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left ⋙ SectionBifunctor.specialOpens p k n X₁ Y₁ f₁ |
| 27 | |
| 28 | def target : AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left ⥤ Y₂.left.Opens := |
| 29 | AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left ⋙ SectionBifunctor.specialOpens p k n X₂ Y₂ f₂ |
| 30 | |
| 31 | def preimage : AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left ⥤ Y₁.left.Opens := |
| 32 | target p k n u f₂ ⋙ TopologicalSpace.Opens.map v.left.base |
| 33 | |
| 34 | def restriction : (preimage p k n u v f₂).op ⟶ (source p k n u f₁).op where |
| 35 | app U := (homOfLE (GeometricComparison.Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ sq |
| 36 | U.unop.val.2.val U.unop.val.1.val U.unop.property)).op |
| 37 | naturality _ _ _ := Subsingleton.elim _ _ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismOpenPairs |