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.GeometricComparison.Affine.MapPairs |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.GeometricRestriction |
| 4 | |
| 5 | /-! # Open Pairs -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenPairs.IntrinsicPadicGeometricOpenPairs |
| 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 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 18 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} |
| 19 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 20 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 21 | |
| 22 | def source : Affine.MapPairs.AffineMapPairs.Charts u.left ⥤ Y₁.left.Opens := |
| 23 | Affine.MapPairs.AffineMapPairs.source u.left ⋙ SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X₁ Y₁ f₁ |
| 24 | |
| 25 | def target : Affine.MapPairs.AffineMapPairs.Charts u.left ⥤ Y₂.left.Opens := |
| 26 | Affine.MapPairs.AffineMapPairs.target u.left ⋙ SectionBifunctor.IntrinsicPadicSectionBifunctor.specialOpens p X₂ Y₂ f₂ |
| 27 | |
| 28 | def preimage : Affine.MapPairs.AffineMapPairs.Charts u.left ⥤ Y₁.left.Opens := |
| 29 | target p u f₂ ⋙ TopologicalSpace.Opens.map v.left.base |
| 30 | |
| 31 | def restriction : (preimage p u v f₂).op ⟶ (source p u f₁).op where |
| 32 | app U := (homOfLE (Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ hsquare |
| 33 | U.unop.val.2.val U.unop.val.1.val U.unop.property)).op |
| 34 | naturality _ _ _ := Subsingleton.elim _ _ |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.OpenPairs.IntrinsicPadicGeometricOpenPairs |