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.Arithmetic.ConstantSubgroups |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConstantGroupBaseChange |
| 3 | |
| 4 | /-! # Etale Subgroup Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleSubgroupDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Effective arithmetic models of actual complex finite étale subgroups. |
| 11 | The finite label group, the arithmetic closed embedding, the cartesian |
| 12 | comparison, and the equality with the original subgroup map are constructed. |
| 13 | No descended subgroup model or descent datum is supplied as an input. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 19 | |
| 20 | variable {K : Type} [Field K] [NumberField K] (κ : K →+* ℂ) |
| 21 | (H : Over (Spec (.of K))) [GrpObj H] [IsFinite H.hom] [Etale H.hom] |
| 22 | (Q : Over (Spec (.of ℂ))) [GrpObj Q] [IsFinite Q.hom] [Etale Q.hom] |
| 23 | |
| 24 | /-- A complex finite étale subgroup of an arithmetic finite étale group |
| 25 | scheme has an actual closed model over a constructed finite extension. -/ |
| 26 | theorem finite_etale_subgroup_descends |
| 27 | (i : Q ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj H) |
| 28 | [IsMonHom i] [Mono i] (N : ℕ) (hN : N ≠ 0) : |
| 29 | ∃ (B : Base.ArithmeticBaseExtension K κ), B.denominator = N ∧ |
| 30 | ∃ (G : Type) (_ : Group G) (_ : Finite G), |
| 31 | ∃ (j : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G ⟶ |
| 32 | (Over.pullback B.fieldExtension).obj H) |
| 33 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of ℂ)) G ≅ Q) |
| 34 | (q : Q.left ⟶ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).left), |
| 35 | IsMonHom j ∧ IsClosedImmersion j.left ∧ IsMonHom e.hom ∧ |
| 36 | IsFinite (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom ∧ |
| 37 | Etale (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom ∧ |
| 38 | IsPullback q Q.hom (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom |
| 39 | (Spec.map (CommRingCat.ofHom B.embedding)) ∧ |
| 40 | q ≫ j.left ≫ pullback.fst H.hom B.fieldExtension = |
| 41 | i.left ≫ pullback.fst H.hom (Spec.map (CommRingCat.ofHom κ)) ∧ |
| 42 | ∃ γ : Q ≅ (Over.pullback (Spec.map (CommRingCat.ofHom B.embedding))).obj |
| 43 | (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G), |
| 44 | IsMonHom γ.hom ∧ γ.hom.left ≫ |
| 45 | pullback.fst (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom |
| 46 | (Spec.map (CommRingCat.ofHom B.embedding)) = q := by |
| 47 | obtain ⟨G, hG, hfin, e, he⟩ := ConstantBaseChange.ConstantGroupModels.exists_constant_group_model Q |
| 48 | let := he |
| 49 | let u := e.hom ≫ i |
| 50 | have : IsMonHom u := inferInstanceAs (IsMonHom (e.hom ≫ i)) |
| 51 | have : Mono u := inferInstanceAs (Mono (e.hom ≫ i)) |
| 52 | let aC : G →* (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of ℂ)) ⟶ |
| 53 | (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj H) := |
| 54 | (IsMonHom.monoidHom u (AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest (Spec (.of ℂ)))).comp |
| 55 | (ConstantBaseChange.ConstantGroupModels.labels (Spec (.of ℂ)) G) |
| 56 | let E := FieldGroupPoints.fieldGroupPointsMulEquiv (Spec.map (CommRingCat.ofHom κ)) H |
| 57 | let a := E.toMonoidHom.comp aC |
| 58 | have ha : Function.Injective a := by |
| 59 | intro x y hxy |
| 60 | apply ConstantBaseChange.ConstantGroupModels.labels_injective (Spec (.of ℂ)) G |
| 61 | apply (cancel_mono u).mp |
| 62 | exact E.injective hxy |
| 63 | obtain ⟨B, j, hBN, hjgroup, hjclosed, hfinite, hetale, hcoords⟩ := |
| 64 | Arithmetic.ConstantSubgroups.arithmetic_closed_constant_subgroup κ H G a ha N hN |
| 65 | let ψ := Spec.map (CommRingCat.ofHom B.embedding) |
| 66 | let q : Q.left ⟶ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).left := |
| 67 | e.inv.left ≫ ConstantBaseChange.ConstantGroupModels.scalarMap ψ G |
| 68 | let eQ : Q.left ≅ pullback (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom ψ := |
| 69 | ((Over.forget (Spec (.of ℂ))).mapIso e.symm) ≪≫ |
| 70 | ((Over.forget (Spec (.of ℂ))).mapIso (AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso ψ G)) |
| 71 | have hqfst : eQ.hom ≫ pullback.fst (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom ψ = q := by |
| 72 | change (e.inv.left ≫ (AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso ψ G).hom.left) ≫ _ = _ |
| 73 | exact (Category.assoc _ _ _).trans |
| 74 | (congrArg (fun f => e.inv.left ≫ f) (ConstantBaseChange.ConstantGroupModels.baseChangeIso_fst ψ G)) |
| 75 | have hqsnd : eQ.hom ≫ pullback.snd (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom ψ = Q.hom := by |
| 76 | change (e.inv.left ≫ (AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso ψ G).hom.left) ≫ _ = _ |
| 77 | exact (Category.assoc _ _ _).trans |
| 78 | ((congrArg (fun f => e.inv.left ≫ f) (AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso ψ G).hom.w).trans e.inv.w) |
| 79 | have hqb : q ≫ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom = Q.hom ≫ ψ := by |
| 80 | exact (Category.assoc _ _ _).trans |
| 81 | ((congrArg (fun f => e.inv.left ≫ f) (ConstantBaseChange.ConstantGroupModels.scalarMap_base ψ G)).trans |
| 82 | ((Category.assoc _ _ _).symm.trans (congrArg (fun f => f ≫ ψ) e.inv.w))) |
| 83 | have hcart : IsPullback q Q.hom (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of B.extension.carrier)) G).hom ψ := |
| 84 | IsPullback.of_iso_pullback ⟨hqb⟩ eQ hqfst hqsnd |
| 85 | have hmap : q ≫ j.left ≫ pullback.fst H.hom B.fieldExtension = |
| 86 | i.left ≫ pullback.fst H.hom (Spec.map (CommRingCat.ofHom κ)) := by |
| 87 | let eR : (∐ fun _ : G => Spec (.of ℂ)) ≅ Q.left := (Over.forget (Spec (.of ℂ))).mapIso e |
| 88 | let jR : (∐ fun _ : G => Spec (.of B.extension.carrier)) ⟶ pullback H.hom B.fieldExtension := j.left |
| 89 | let iR : Q.left ⟶ pullback H.hom (Spec.map (CommRingCat.ofHom κ)) := i.left |
| 90 | apply (cancel_epi eR.hom).mp |
| 91 | change eR.hom ≫ (eR.inv ≫ ConstantBaseChange.ConstantGroupModels.scalarMap ψ G) ≫ |
| 92 | jR ≫ pullback.fst H.hom B.fieldExtension = |
| 93 | eR.hom ≫ iR ≫ pullback.fst H.hom (Spec.map (CommRingCat.ofHom κ)) |
| 94 | simp only [Category.assoc, eR.hom_inv_id_assoc] |
| 95 | apply Sigma.hom_ext |
| 96 | intro g |
| 97 | rw [ConstantBaseChange.ConstantGroupModels.component_scalarMap_assoc] |
| 98 | have hc := hcoords g |
| 99 | change ψ ≫ (Sigma.ι (fun _ : G => Spec (.of B.extension.carrier)) g ≫ jR) ≫ |
| 100 | pullback.fst H.hom B.fieldExtension = (a g).left at hc |
| 101 | have ha' : (a g).left = |
| 102 | Sigma.ι (fun _ : G => Spec (.of ℂ)) g ≫ eR.hom ≫ iR ≫ |
| 103 | pullback.fst H.hom (Spec.map (CommRingCat.ofHom κ)) := by |
| 104 | have h := FieldGroupPoints.fieldGroupPointsMulEquiv_left (Spec.map (CommRingCat.ofHom κ)) H (aC g) |
| 105 | change (a g).left = _ at h |
| 106 | have hAC : aC g = AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.component (Spec (.of ℂ)) g ≫ u := |
| 107 | congrArg (fun p => p ≫ u) (ConstantBaseChange.ConstantGroupModels.labels_eq_component (Spec (.of ℂ)) G g) |
| 108 | exact h.trans ((congrArg (fun p => p.left ≫ |
| 109 | pullback.fst H.hom (Spec.map (CommRingCat.ofHom κ))) hAC).trans |
| 110 | (by simp only [u, Over.comp_left, Category.assoc]; rfl)) |
| 111 | simpa only [Category.assoc] using hc.trans ha' |
| 112 | let γ := e.symm ≪≫ AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso ψ G |
| 113 | have hγ : IsMonHom γ.hom := by |
| 114 | change IsMonHom (e.inv ≫ (AbelianModuli.HilbertConstruction.Constant.BaseChange.constantSchemeBaseChangeIso ψ G).hom) |
| 115 | infer_instance |
| 116 | exact ⟨B, hBN, G, hG, hfin, j, e, q, hjgroup, hjclosed, he, |
| 117 | hfinite, hetale, hcart, hmap, γ, hγ, hqfst⟩ |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleSubgroupDescent |