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.AbelianScheme.IsogenyQuotient.Kernel.Inclusion |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Descent |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Epi |
| 4 | |
| 5 | /-! # Isogeny Complement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsogenyComplement.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The relative quotient adapter for IsogenyQuotient. The AbelianScheme bundle from the |
| 13 | proved PoincareBundle infrastructure has precisely FiniteDescent's smooth proper commutative |
| 14 | group-scheme conditions with geometrically connected fibers. FiniteDescentInput below |
| 15 | states the supplied quotient proposition with that concrete bundle; no |
| 16 | statement stub is imported or used as a proved theorem. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | def FiniteLocallyFreeMap {X Y : Scheme.{u}} (f : X ⟶ Y) : Prop := |
| 26 | IsFinite f ∧ Flat f ∧ LocallyOfFinitePresentation f |
| 27 | |
| 28 | /-- The exact quotient and universal-property content of the FiniteDescent input. -/ |
| 29 | def FiniteDescentInput : Prop := |
| 30 | ∀ (S : Scheme.{u}) (A : Picard.PoincareBundle.Epi.Construction.AbelianScheme S) |
| 31 | (H : Over S) [GrpObj H] (i : H ⟶ A.toOver) [IsMonHom i] |
| 32 | (_hi : IsClosedImmersion i.left) (_hH : FiniteLocallyFreeMap H.hom), |
| 33 | ∃ (B : Picard.PoincareBundle.Epi.Construction.AbelianScheme S) (q : A.toOver ⟶ B.toOver), |
| 34 | IsMonHom q ∧ FiniteLocallyFreeMap q.left ∧ Surjective q.left ∧ |
| 35 | (∀ (T : Over S) (a : T ⟶ A.toOver), |
| 36 | a ≫ q = 1 ↔ ∃! h : T ⟶ H, h ≫ i = a) ∧ |
| 37 | Descent.Construction.QuotientUniversalProperty i q |
| 38 | |
| 39 | /-- The abelian scheme over the parameter space, with the group law |
| 40 | constructed on its actual base change. -/ |
| 41 | def baseChangedAbelianScheme |
| 42 | {S : Scheme.{u}} (A : Picard.PoincareBundle.Epi.Construction.AbelianScheme S) (P : Over S) : |
| 43 | Picard.PoincareBundle.Epi.Construction.AbelianScheme P.left where |
| 44 | toOver := (Kernel.Inclusion.Construction.ambientGroupScheme A.toOver P).X |
| 45 | group := inferInstance |
| 46 | commutative := inferInstance |
| 47 | smooth := by |
| 48 | change Smooth (pullback.fst P.hom A.toOver.hom) |
| 49 | infer_instance |
| 50 | proper := by |
| 51 | change IsProper (pullback.fst P.hom A.toOver.hom) |
| 52 | infer_instance |
| 53 | geometricallyConnected := by |
| 54 | change GeometricallyConnected (pullback.fst P.hom A.toOver.hom) |
| 55 | infer_instance |
| 56 | |
| 57 | /-- Apply FiniteDescent to the constructed relative kernel and its verified closed |
| 58 | group-scheme embedding. The resulting map has the required kernel on all |
| 59 | test schemes and the full invariant-morphism universal property. -/ |
| 60 | theorem relative_quotient_of_FiniteDescent |
| 61 | {S : Scheme.{u}} (A : Picard.PoincareBundle.Epi.Construction.AbelianScheme S) (P : Over S) |
| 62 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.toOver P) (R : F.Model) |
| 63 | (h_FiniteDescent : FiniteDescentInput.{u}) : |
| 64 | ∃ (B : Picard.PoincareBundle.Epi.Construction.AbelianScheme P.left) |
| 65 | (q : (baseChangedAbelianScheme A P).toOver ⟶ B.toOver), |
| 66 | IsMonHom q ∧ FiniteLocallyFreeMap q.left ∧ Surjective q.left ∧ |
| 67 | (∀ (T : Over P.left) (a : T ⟶ (baseChangedAbelianScheme A P).toOver), |
| 68 | a ≫ q = 1 ↔ |
| 69 | ∃! h : T ⟶ (Subgroup.Construction.subgroupGroupScheme F R).X, |
| 70 | h ≫ (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom = a) ∧ |
| 71 | Descent.Construction.QuotientUniversalProperty (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom q := by |
| 72 | have hmon : IsMonHom (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom := |
| 73 | (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.isMonHom_hom |
| 74 | exact @h_FiniteDescent P.left (baseChangedAbelianScheme A P) (Subgroup.Construction.subgroupGroupScheme F R).X |
| 75 | (Subgroup.Construction.subgroupGroupScheme F R).grp (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom hmon |
| 76 | (Kernel.Inclusion.Construction.subgroupInclusion_closedImmersion F R) |
| 77 | (Subgroup.Construction.subgroupGroupScheme_finiteLocallyFree F R) |
| 78 | |
| 79 | /-- An n-torsion relative subgroup yields an actual quotient isogeny |
| 80 | and a complementary homomorphism whose two composites are [n]. -/ |
| 81 | theorem quotient_isogeny_and_complement_of_FiniteDescent |
| 82 | {S : Scheme.{u}} (A : Picard.PoincareBundle.Epi.Construction.AbelianScheme S) (P : Over S) |
| 83 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.toOver P) (R : F.Model) |
| 84 | (n : ℕ) (hkilled : F.KilledBy n) (h_FiniteDescent : FiniteDescentInput.{u}) : |
| 85 | ∃ (B : Picard.PoincareBundle.Epi.Construction.AbelianScheme P.left) |
| 86 | (f : Picard.PoincareBundle.Epi.Construction.AbelianScheme.Isogeny (baseChangedAbelianScheme A P) B) |
| 87 | (g : B.toOver ⟶ (baseChangedAbelianScheme A P).toOver), |
| 88 | IsMonHom g ∧ |
| 89 | f.hom ≫ g = (𝟙 (baseChangedAbelianScheme A P).toOver) ^ n ∧ |
| 90 | g ≫ f.hom = (𝟙 B.toOver) ^ n ∧ |
| 91 | (∀ (T : Over P.left) (a : T ⟶ (baseChangedAbelianScheme A P).toOver), |
| 92 | a ≫ f.hom = 1 ↔ |
| 93 | ∃! h : T ⟶ (Subgroup.Construction.subgroupGroupScheme F R).X, |
| 94 | h ≫ (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom = a) ∧ |
| 95 | Descent.Construction.QuotientUniversalProperty (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom f.hom := by |
| 96 | obtain ⟨B, q, hqMon, hqFinite, hqSurj, hkernel, hUP⟩ := |
| 97 | relative_quotient_of_FiniteDescent A P F R h_FiniteDescent |
| 98 | let i := (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom |
| 99 | have hiMon : IsMonHom i := (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.isMonHom_hom |
| 100 | have : IsClosedImmersion i.left := Kernel.Inclusion.Construction.subgroupInclusion_closedImmersion F R |
| 101 | have : Mono i := Over.mono_of_mono_left i |
| 102 | have : IsMonHom q := hqMon |
| 103 | have : IsFinite q.left := hqFinite.1 |
| 104 | have : Flat q.left := hqFinite.2.1 |
| 105 | have : Surjective q.left := hqSurj |
| 106 | have : LocallyOfFinitePresentation q.left := hqFinite.2.2 |
| 107 | have hiq : i ≫ q = 1 := by |
| 108 | apply (hkernel (Subgroup.Construction.subgroupGroupScheme F R).X i).mpr |
| 109 | refine ⟨𝟙 _, Category.id_comp _, ?_⟩ |
| 110 | intro h hh |
| 111 | apply (cancel_mono i).mp |
| 112 | simpa only [Category.id_comp] using hh |
| 113 | have hin : i ^ n = 1 := by |
| 114 | rw [← Category.id_comp i, ← MonObj.pow_comp, |
| 115 | Subgroup.Construction.subgroupGroupScheme_killed F R n hkilled, MonObj.one_comp] |
| 116 | obtain ⟨g, ⟨hqg, hgq⟩, _⟩ := @Descent.Construction.complementary_map_of_FiniteDescent (Over P.left) _ _ |
| 117 | (baseChangedAbelianScheme A P).toOver B.toOver (Subgroup.Construction.subgroupGroupScheme F R).X |
| 118 | (baseChangedAbelianScheme A P).group B.group _ |
| 119 | (baseChangedAbelianScheme A P).commutative i q hqMon hiq hUP n hin |
| 120 | have : EffectiveEpi (q ⊗ₘ q) := Picard.PoincareBundle.Epi.Construction.effectiveEpi_tensor_over_of_fpqc q q |
| 121 | have : IsMonHom ((𝟙 (baseChangedAbelianScheme A P).toOver) ^ n) := |
| 122 | Picard.PoincareBundle.Epi.Construction.isMonHom_pow (𝟙 _) n |
| 123 | have hgMon : IsMonHom g := Picard.PoincareBundle.Epi.Construction.isMonHom_of_comp q _ g hqg |
| 124 | let f : Picard.PoincareBundle.Epi.Construction.AbelianScheme.Isogeny (baseChangedAbelianScheme A P) B := { |
| 125 | hom := q |
| 126 | isMonHom := hqMon |
| 127 | finite := hqFinite.1 |
| 128 | flat := hqFinite.2.1 |
| 129 | surjective := hqSurj |
| 130 | finitePresentation := hqFinite.2.2 |
| 131 | } |
| 132 | exact ⟨B, f, g, hgMon, hqg, hgq, hkernel, hUP⟩ |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsogenyComplement.Construction |