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.ReferenceIntersectionPullbacks |
| 2 | import Mathlib.AlgebraicGeometry.Cover.Directed |
| 3 | |
| 4 | /-! # Reference Intersection Directed Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReferenceIntersectionDirectedCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original intersection cover is directed, so it presents the original scheme as a colimit. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] (X : Over (Spec (.of R))) [CompactSpace X.left] |
| 17 | |
| 18 | instance originalIntersectionCover_locallyDirected : (ReferenceIntersectionFunctor.originalIntersectionCover X).LocallyDirected where |
| 19 | trans h := ((ReferenceIntersectionFunctor.originalIntersectionFunctor X).map h).left |
| 20 | trans_id S := congrArg (fun f => f.left) ((ReferenceIntersectionFunctor.originalIntersectionFunctor X).map_id S) |
| 21 | trans_comp f g := congrArg (fun h => h.left) ((ReferenceIntersectionFunctor.originalIntersectionFunctor X).map_comp f g) |
| 22 | w h := X.left.homOfLE_ι (FiniteIntersection.Arrows.finiteIntersectionOpen_antitone X (leOfHom h)) |
| 23 | directed {S T} x := by |
| 24 | let hS := FiniteIntersection.Unions.finiteIntersection_subset_union_left X S T |
| 25 | let hT := FiniteIntersection.Unions.finiteIntersection_subset_union_right X S T |
| 26 | let xi := pullback.fst (Finite.AffineIntersections.finiteIntersectionOpen X S).ι (Finite.AffineIntersections.finiteIntersectionOpen X T).ι x |
| 27 | let xj := pullback.snd (Finite.AffineIntersections.finiteIntersectionOpen X S).ι (Finite.AffineIntersections.finiteIntersectionOpen X T).ι x |
| 28 | have hx : (Finite.AffineIntersections.finiteIntersectionOpen X S).ι xi = (Finite.AffineIntersections.finiteIntersectionOpen X T).ι xj := |
| 29 | congrArg (fun f => f x) (pullback.condition (f := (Finite.AffineIntersections.finiteIntersectionOpen X S).ι) |
| 30 | (g := (Finite.AffineIntersections.finiteIntersectionOpen X T).ι)) |
| 31 | obtain ⟨y, hy, _⟩ := Scheme.exists_preimage_of_isPullback (ReferenceIntersectionPullbacks.originalIntersection_pair_isPullback X S T) |
| 32 | xi xj hx |
| 33 | refine ⟨FiniteIntersection.Unions.finiteIntersectionUnion X S T, homOfLE hS, homOfLE hT, y, ?_⟩ |
| 34 | apply (pullback.fst (Finite.AffineIntersections.finiteIntersectionOpen X S).ι (Finite.AffineIntersections.finiteIntersectionOpen X T).ι).isOpenEmbedding.injective |
| 35 | simpa only [← Scheme.Hom.comp_apply, pullback.lift_fst] using hy |
| 36 | property_trans h := ReferenceIntersectionFunctor.originalIntersectionFunctor_open X h |
| 37 | |
| 38 | def originalIntersectionCocone : |
| 39 | Cocone (ReferenceIntersectionFunctor.originalIntersectionFunctor X ⋙ Over.forget (Spec (.of R))) := |
| 40 | (ReferenceIntersectionFunctor.originalIntersectionCover X).coconeOfLocallyDirected |
| 41 | |
| 42 | def originalIntersection_isColimit : IsColimit (originalIntersectionCocone X) := |
| 43 | (ReferenceIntersectionFunctor.originalIntersectionCover X).isColimitCoconeOfLocallyDirected |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReferenceIntersectionDirectedCover |