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.Projective.Neighborhoods |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Specialization |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrbitQuotientExists |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.FlatDescent |
| 5 | |
| 6 | /-! # Effective Finite Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.EffectiveFiniteDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Effective finite descent for projective schemes from an actual overlap |
| 14 | relation. Invariant affine neighborhoods, their invariant-ring quotients, |
| 15 | and the glued quotient are constructed by the proved finite-relation |
| 16 | machinery. The square identifying the original scheme with the base change |
| 17 | of the constructed quotient is proved here by faithfully flat descent. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Effectiveness of a quotient of a descent relation identifies the |
| 25 | quotient's base change with the original scheme. -/ |
| 26 | theorem quotient_descent_square |
| 27 | {B T R X Q : Scheme.{u}} (u : T ⟶ B) (a : X ⟶ T) |
| 28 | (r : R ⟶ T) (s t : R ⟶ X) |
| 29 | (hsource : IsPullback r s u (a ≫ u)) (ht : t ≫ a = r) |
| 30 | (q : X ⟶ Q) [Flat q] [Surjective q] [LocallyOfFinitePresentation q] |
| 31 | (b : Q ⟶ B) (hqb : q ≫ b = a ≫ u) (hk : IsKernelPair q s t) : |
| 32 | IsPullback a q u b := by |
| 33 | let P := pullback u b |
| 34 | let v : X ⟶ P := pullback.lift a q hqb.symm |
| 35 | have hvfst : v ≫ pullback.fst u b = a := pullback.lift_fst _ _ _ |
| 36 | have hvsnd : v ≫ pullback.snd u b = q := pullback.lift_snd _ _ _ |
| 37 | have houter : IsPullback ((t ≫ v) ≫ pullback.fst u b) s u (q ≫ b) := by |
| 38 | rw [Category.assoc, hvfst, ht, hqb] |
| 39 | exact hsource |
| 40 | have hcart : IsPullback (t ≫ v) s (pullback.snd u b) q := |
| 41 | houter.of_right (by rw [Category.assoc, hvsnd]; exact hk.w.symm) |
| 42 | (.of_hasPullback u b) |
| 43 | let XO : Over Q := Over.mk q |
| 44 | let PO : Over Q := Over.mk (pullback.snd u b) |
| 45 | let vO : XO ⟶ PO := Over.homMk v hvsnd |
| 46 | let e : pullback q q ≅ pullback (pullback.snd u b) q := |
| 47 | hk.flip.isoPullback.symm ≪≫ hcart.isoPullback |
| 48 | have he : ((Over.pullback q).map vO).left = e.hom := by |
| 49 | apply pullback.hom_ext |
| 50 | · have hl : ((Over.pullback q).map vO).left ≫ pullback.fst PO.hom q = |
| 51 | pullback.fst XO.hom q ≫ vO.left := pullback.lift_fst _ _ _ |
| 52 | rw [hl] |
| 53 | change pullback.fst q q ≫ v = |
| 54 | (hk.flip.isoPullback.inv ≫ hcart.isoPullback.hom) ≫ pullback.fst (pullback.snd u b) q |
| 55 | rw [Category.assoc, hcart.isoPullback_hom_fst, |
| 56 | ← Category.assoc, hk.flip.isoPullback_inv_fst] |
| 57 | · have hl : ((Over.pullback q).map vO).left ≫ pullback.snd PO.hom q = |
| 58 | pullback.snd XO.hom q := pullback.lift_snd _ _ _ |
| 59 | rw [hl] |
| 60 | change pullback.snd q q = |
| 61 | (hk.flip.isoPullback.inv ≫ hcart.isoPullback.hom) ≫ pullback.snd (pullback.snd u b) q |
| 62 | rw [Category.assoc, hcart.isoPullback_hom_snd, |
| 63 | hk.flip.isoPullback_inv_snd] |
| 64 | have hi : IsIso ((Over.pullback q).map vO).left := he ▸ e.isIso_hom |
| 65 | have : IsIso v := MorphismProperty.of_isPullback_of_descendsAlong |
| 66 | (P := MorphismProperty.isomorphisms Scheme.{u}) |
| 67 | (Q := @Surjective ⊓ @Flat ⊓ @LocallyOfFinitePresentation) |
| 68 | (Specialization.base_change_square q vO).flip |
| 69 | ⟨⟨inferInstance, inferInstance⟩, inferInstance⟩ hi |
| 70 | exact IsPullback.of_iso_pullback ⟨hqb.symm⟩ (asIso v) hvfst hvsnd |
| 71 | |
| 72 | /-- Construct the descended scheme by gluing invariant affine quotients. |
| 73 | Only the projective scheme and its ordinary overlap relation are input; |
| 74 | the quotient, its effectiveness, and the base-change identification are |
| 75 | all conclusions. -/ |
| 76 | theorem effective_projective_finite_descent |
| 77 | {K : Type u} [Field K] [Infinite K] |
| 78 | {B T R X : Scheme.{u}} (u : T ⟶ B) |
| 79 | [IsFinite u] [Flat u] [LocallyOfFinitePresentation u] |
| 80 | (a : X ⟶ T) (r : R ⟶ T) (s t : R ⟶ X) |
| 81 | (hsource : IsPullback r s u (a ≫ u)) (ht : t ≫ a = r) |
| 82 | (relation : CategoryTheory.EquivalenceRelation s t) |
| 83 | (n : ℕ) (i : X ⟶ ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveSpace (K := K) n) |
| 84 | [IsClosedImmersion i] : |
| 85 | ∃ (Q : Over B) (q : X ⟶ Q.left), |
| 86 | IsPullback a q u Q.hom ∧ |
| 87 | IsFinite q ∧ Flat q ∧ LocallyOfFinitePresentation q ∧ Surjective q ∧ |
| 88 | IsKernelPair q s t ∧ |
| 89 | ∀ (Y : Scheme.{u}) (f : X ⟶ Y), s ≫ f = t ≫ f → |
| 90 | ∃! g : Q.left ⟶ Y, q ≫ g = f := by |
| 91 | have : IsFinite s := MorphismProperty.of_isPullback hsource inferInstance |
| 92 | have ha : s ≫ (a ≫ u) = t ≫ (a ≫ u) := by |
| 93 | rw [← hsource.w, ← ht, Category.assoc] |
| 94 | have hOrbit : ∀ x : X, ∃ U : X.Opens, IsAffineOpen U ∧ |
| 95 | ∀ y, Quotients.FiniteDescent.Invariant.Construction.InvariantCore.Related s t x y → y ∈ U := by |
| 96 | intro x |
| 97 | exact Projective.Neighborhoods.finite_set_affine_neighborhood_of_projective_embedding n i |
| 98 | {y | Quotients.FiniteDescent.Invariant.Construction.InvariantCore.Related s t x y} |
| 99 | (Quotients.FiniteDescent.Invariant.Construction.InvariantCore.finite_orbit s t x) |
| 100 | obtain ⟨Q, q, hfin, hflat, hfp, hsurj, hk, hdesc⟩ := |
| 101 | Quotients.FiniteDescent.OrbitQuotientExists.Construction.OrbitQuotient.exists_quotient u (a ≫ u) r s t hsource relation ha hOrbit |
| 102 | let := hflat |
| 103 | let := hfp |
| 104 | let := hsurj |
| 105 | obtain ⟨b, hb, _⟩ := hdesc B (a ≫ u) ha |
| 106 | exact ⟨Over.mk b, q, quotient_descent_square u a r s t hsource ht q b hb hk, |
| 107 | hfin, hflat, hfp, hsurj, hk, hdesc⟩ |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.EffectiveFiniteDescent |