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.OpenProducts |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | import Mathlib.CategoryTheory.Limits.Preserves.Lattice |
| 4 | |
| 5 | /-! # Open Product Preservation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProductPreservation.AffineOpenProductPreservation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Inclusion of affine opens preserves every finite nonempty tuple product. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | variable (X : Scheme.{u}) [X.IsSeparated] |
| 17 | |
| 18 | theorem product_iInf {C : Type u} [CompleteLattice C] {ι : Type u} (V : ι → C) : |
| 19 | (∏ᶜ V) = ⨅ i, V i := |
| 20 | ((productIsProduct V).conePointUniqueUpToIso (Preorder.isLimitIInf V)).to_eq |
| 21 | |
| 22 | instance inclusion_preserves {ι : Type u} [Finite ι] [Nonempty ι] (U : ι → X.affineOpens) [HasProduct U] : |
| 23 | PreservesLimit (Discrete.functor U) (OpenProducts.AffineOpenProducts.inclusion X) := by |
| 24 | let : IsIso (piComparison (OpenProducts.AffineOpenProducts.inclusion X) U) := |
| 25 | (PartialOrder.isIso_iff_eq _).mpr |
| 26 | ((OpenProducts.AffineOpenProducts.product_eq X U).trans (product_iInf (fun i => (U i).val)).symm) |
| 27 | exact PreservesProduct.of_iso_comparison _ _ |
| 28 | |
| 29 | variable (Y : Scheme.{u}) (f : Y ⟶ X) |
| 30 | |
| 31 | instance preimage_preserves : PreservesFiniteLimits (Opens.map f.base) := by |
| 32 | change PreservesFiniteLimits (OrderHom.ofClass f.base.frameHom).toFunctor |
| 33 | infer_instance |
| 34 | |
| 35 | instance composite_preserves {ι : Type u} [Finite ι] [Nonempty ι] (U : ι → X.affineOpens) [HasProduct U] : |
| 36 | PreservesLimit (Discrete.functor U) |
| 37 | (OpenProducts.AffineOpenProducts.inclusion X ⋙ Opens.map f.base) := by |
| 38 | infer_instance |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProductPreservation.AffineOpenProductPreservation |