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.AbelianModuli.HilbertConstruction.FiniteIntersection.OverlapOver |
| 2 | import Mathlib.CategoryTheory.Category.Preorder |
| 3 | |
| 4 | /-! # Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The descended inclusion maps form a functor from the reverse finite-subset order. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {X : Over (Spec (.of R))} |
| 17 | variable [CompactSpace X.left] [IsSeparated X.hom] (M : IntersectionModel.FiniteIntersectionModel X) |
| 18 | |
| 19 | def IntersectionModel.FiniteIntersectionModel.inclusionOver {S T : Finite.AffineIntersections.finiteIntersectionIndex X} (h : S.val ⊆ T.val) : |
| 20 | M.chartOver T ⟶ M.chartOver S := Over.homMk (M.inclusion h) (M.inclusion_over h) |
| 21 | |
| 22 | theorem IntersectionModel.FiniteIntersectionModel.inclusionOver_id (S : Finite.AffineIntersections.finiteIntersectionIndex X) : |
| 23 | M.inclusionOver (Finset.Subset.refl S.val) = 𝟙 (M.chartOver S) := by |
| 24 | apply Over.OverMorphism.ext |
| 25 | exact M.inclusion_id S |
| 26 | |
| 27 | theorem IntersectionModel.FiniteIntersectionModel.inclusionOver_comp {S T U : Finite.AffineIntersections.finiteIntersectionIndex X} |
| 28 | (hST : S.val ⊆ T.val) (hTU : T.val ⊆ U.val) : |
| 29 | M.inclusionOver hTU ≫ M.inclusionOver hST = M.inclusionOver (hST.trans hTU) := by |
| 30 | apply Over.OverMorphism.ext |
| 31 | exact M.inclusion_comp hST hTU |
| 32 | |
| 33 | def IntersectionModel.FiniteIntersectionModel.intersectionFunctor : (Finite.AffineIntersections.finiteIntersectionIndex X)ᵒᵈ ⥤ Over (Spec (.of M.coefficients)) where |
| 34 | obj S := M.chartOver S |
| 35 | map h := M.inclusionOver (leOfHom h) |
| 36 | map_id S := M.inclusionOver_id S |
| 37 | map_comp f g := (M.inclusionOver_comp (leOfHom g) (leOfHom f)).symm |
| 38 | |
| 39 | instance IntersectionModel.FiniteIntersectionModel.intersectionFunctor_open {S T : (Finite.AffineIntersections.finiteIntersectionIndex X)ᵒᵈ} (h : S ⟶ T) : |
| 40 | IsOpenImmersion (M.intersectionFunctor.map h).left := M.inclusion_open (leOfHom h) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiniteIntersection |