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.ArithmeticGeometry.Models.GluingBaseChange |
| 2 | import OAI.ArithmeticGeometry.Models.ModelFiniteness |
| 3 | |
| 4 | /-! # Gluing Finiteness -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.GluingFiniteness.Constructions.Foundations |
| 7 | |
| 8 | /-! Finiteness of a binary gluing over a noetherian affine base. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem openGluedOver_finitePresentation {S : Scheme.{u}} |
| 15 | [IsAffine S] [IsLocallyNoetherian S] |
| 16 | {W X Y : Over S} (f : W ⟶ X) (g : W ⟶ Y) |
| 17 | [IsOpenImmersion f.left] [IsOpenImmersion g.left] |
| 18 | (hX : Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (hY : Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) : |
| 19 | Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (GluingBaseChange.Constructions.Foundations.openGluedOver f g).hom := by |
| 20 | let P := GluingBaseChange.Constructions.Foundations.openGluedOver f g |
| 21 | let i := GluingBaseChange.Constructions.Foundations.openGluedInl f g |
| 22 | let j := GluingBaseChange.Constructions.Foundations.openGluedInr f g |
| 23 | let : IsOpenImmersion i.left := OpenPushout.Constructions.Foundations.openPushout_inl_open f.left g.left |
| 24 | let : IsOpenImmersion j.left := OpenPushout.Constructions.Foundations.openPushout_inr_open f.left g.left |
| 25 | let C := OpenPushout.Constructions.Foundations.openPairCover i.left j.left (OpenPushout.Constructions.Foundations.openPushout_covers f.left g.left) |
| 26 | let : LocallyOfFinitePresentation X.hom := hX.1 |
| 27 | let : LocallyOfFinitePresentation Y.hom := hY.1 |
| 28 | let : QuasiCompact X.hom := hX.2.1 |
| 29 | let : QuasiCompact Y.hom := hY.2.1 |
| 30 | let : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 31 | let : CompactSpace Y.left := QuasiCompact.compactSpace_of_compactSpace Y.hom |
| 32 | let : ∀ k, CompactSpace (C.X k) := fun k ↦ by cases k <;> assumption |
| 33 | let : Finite C.I₀ := inferInstanceAs (Finite Bool) |
| 34 | let : CompactSpace P.left := C.compactSpace |
| 35 | let : IsZariskiLocalAtSource @LocallyOfFinitePresentation.{u} := |
| 36 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := RingHom.FinitePresentation) |
| 37 | let : LocallyOfFinitePresentation P.hom := by |
| 38 | apply (IsZariskiLocalAtSource.iff_of_openCover (P := @LocallyOfFinitePresentation.{u}) C).mpr |
| 39 | intro k |
| 40 | cases k |
| 41 | · change LocallyOfFinitePresentation (i.left ≫ P.hom) |
| 42 | rw [i.w] |
| 43 | infer_instance |
| 44 | · change LocallyOfFinitePresentation (j.left ≫ P.hom) |
| 45 | rw [j.w] |
| 46 | infer_instance |
| 47 | let : IsLocallyNoetherian P.left := LocallyOfFiniteType.isLocallyNoetherian P.hom |
| 48 | let : IsNoetherian P.left := ⟨⟩ |
| 49 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 50 | |
| 51 | end OAI.ArithmeticGeometry.Models.GluingFiniteness.Constructions.Foundations |