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.PELModuli.IntegralModel.EffectiveFiniteDescent |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricDescent |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.LocalFlatDescent |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Immersion |
| 5 | |
| 6 | /-! # Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Descent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Smoothness, properness, and geometric connectedness of the constructed |
| 13 | finite descent model. These properties are proved by faithfully flat base |
| 14 | change and do not occur as fields in the descended scheme's definition. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- Scheme diagonals are immersions, so universal closedness of the |
| 21 | diagonal is equivalent to separatedness. -/ |
| 22 | theorem separated_iff_diagonal_universallyClosed {X Y : Scheme.{u}} (f : X ⟶ Y) : |
| 23 | IsSeparated f ↔ |
| 24 | (MorphismProperty.diagonal (@UniversallyClosed : MorphismProperty Scheme.{u})) f := by |
| 25 | refine Iff.trans ?_ (MorphismProperty.diagonal_iff |
| 26 | (P := (@UniversallyClosed : MorphismProperty Scheme.{u}))).symm |
| 27 | constructor |
| 28 | · intro h |
| 29 | let := h |
| 30 | infer_instance |
| 31 | · intro h |
| 32 | let : UniversallyClosed (pullback.diagonal f) := h |
| 33 | exact ⟨IsClosedImmersion.of_isPreimmersion _ |
| 34 | (pullback.diagonal f).isClosedMap.isClosed_range⟩ |
| 35 | |
| 36 | theorem proper_of_faithfully_flat_cartesian |
| 37 | {W X T B : Scheme.{u}} {p : W ⟶ T} {q : W ⟶ X} {u : T ⟶ B} {f : X ⟶ B} |
| 38 | (h : IsPullback p q u f) [Flat u] [Surjective u] [QuasiCompact u] |
| 39 | [IsProper p] : IsProper f := by |
| 40 | have hu : ((@Surjective ⊓ @Flat ⊓ @QuasiCompact) : MorphismProperty Scheme.{u}) u := |
| 41 | ⟨⟨inferInstance, inferInstance⟩, inferInstance⟩ |
| 42 | let UC : MorphismProperty Scheme.{u} := @UniversallyClosed |
| 43 | let FC : MorphismProperty Scheme.{u} := @Surjective ⊓ @Flat ⊓ @QuasiCompact |
| 44 | have : UC.DescendsAlong FC := inferInstanceAs |
| 45 | (MorphismProperty.DescendsAlong (@UniversallyClosed : MorphismProperty Scheme.{u}) |
| 46 | (@Surjective ⊓ @Flat ⊓ @QuasiCompact)) |
| 47 | have : UC.RespectsIso := universallyClosed_respectsIso |
| 48 | have : FC.IsStableUnderBaseChange := ⟨fun h hf ↦ |
| 49 | ⟨⟨MorphismProperty.of_isPullback (P := @Surjective) h hf.1.1, |
| 50 | MorphismProperty.of_isPullback (P := @Flat) h hf.1.2⟩, |
| 51 | MorphismProperty.of_isPullback (P := @QuasiCompact) h hf.2⟩⟩ |
| 52 | have hdiag : |
| 53 | (MorphismProperty.diagonal (@UniversallyClosed : MorphismProperty Scheme.{u})) f := |
| 54 | MorphismProperty.of_isPullback_of_descendsAlong |
| 55 | (P := UC.diagonal) (Q := FC) h hu |
| 56 | ((separated_iff_diagonal_universallyClosed p).mp inferInstance) |
| 57 | have : IsSeparated f := (separated_iff_diagonal_universallyClosed f).mpr hdiag |
| 58 | have : UniversallyClosed f := MorphismProperty.of_isPullback_of_descendsAlong |
| 59 | (P := @UniversallyClosed) (Q := @Surjective ⊓ @Flat ⊓ @QuasiCompact) h hu inferInstance |
| 60 | have : LocallyOfFiniteType f := MorphismProperty.of_isPullback_of_descendsAlong |
| 61 | (P := @LocallyOfFiniteType) (Q := @Surjective ⊓ @Flat ⊓ @QuasiCompact) h hu inferInstance |
| 62 | exact ⟨⟩ |
| 63 | |
| 64 | /-- A smooth proper geometrically connected projective object with a |
| 65 | finite faithfully flat descent relation has a constructed smooth proper |
| 66 | geometrically connected model and its actual base-change identification. -/ |
| 67 | theorem effective_smooth_proper_connected_descent |
| 68 | {K : Type u} [Field K] [Infinite K] |
| 69 | {B T R X : Scheme.{u}} (u : T ⟶ B) |
| 70 | [IsFinite u] [Flat u] [Surjective u] [LocallyOfFinitePresentation u] |
| 71 | (a : X ⟶ T) [Smooth a] [IsProper a] [GeometricallyConnected a] |
| 72 | (r : R ⟶ T) (s t : R ⟶ X) |
| 73 | (hsource : IsPullback r s u (a ≫ u)) (ht : t ≫ a = r) |
| 74 | (relation : CategoryTheory.EquivalenceRelation s t) |
| 75 | (n : ℕ) (i : X ⟶ ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveSpace (K := K) n) |
| 76 | [IsClosedImmersion i] : |
| 77 | ∃ (Q : Over B) (q : X ⟶ Q.left), |
| 78 | IsPullback a q u Q.hom ∧ |
| 79 | Smooth Q.hom ∧ IsProper Q.hom ∧ GeometricallyConnected Q.hom ∧ |
| 80 | IsFinite q ∧ Flat q ∧ LocallyOfFinitePresentation q ∧ Surjective q ∧ |
| 81 | IsKernelPair q s t := by |
| 82 | obtain ⟨Q, q, hcart, hfin, hflat, hfp, hsurj, hk, _⟩ := |
| 83 | EffectiveFiniteDescent.effective_projective_finite_descent u a r s t hsource ht relation n i |
| 84 | have hs : Smooth Q.hom := MorphismProperty.of_isPullback_of_descendsAlong |
| 85 | (P := @Smooth) (Q := @Surjective ⊓ @Flat ⊓ @QuasiCompact) hcart |
| 86 | ⟨⟨inferInstance, inferInstance⟩, inferInstance⟩ inferInstance |
| 87 | have hp : IsProper Q.hom := proper_of_faithfully_flat_cartesian hcart |
| 88 | have hc : GeometricallyConnected Q.hom := |
| 89 | ArithmeticGeometry.Models.SpreadingOut.GeometricDescent.Construction.geometricallyConnected_of_surjective_cartesian hcart.flip |
| 90 | exact ⟨Q, q, hcart, hs, hp, hc, hfin, hflat, hfp, hsurj, hk⟩ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Descent |