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.UniversalFunction.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.FunctionsMapRigidity |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | |
| 5 | /-! # Faithfully Flat Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Universal global functions descend along faithfully flat changes |
| 12 | of the base for pointed families. No finite-presentation or Noetherian |
| 13 | condition is imposed on the covering morphism. -/ |
| 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.HilbertConstruction.Global.FunctionsMapRigidity |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false in |
| 23 | theorem UniversalFunction.FaithfullyFlatDescent.Construction.globalFunctions_isIso_of_faithfullyFlat_baseChange |
| 24 | {S T X : Scheme.{u}} (f : X ⟶ S) (σ : S ⟶ X) (hσ : σ ≫ f = 𝟙 S) |
| 25 | (u : T ⟶ S) [Flat u] [Surjective u] |
| 26 | [IsIso (pullback.snd f u).appTop] : IsIso f.appTop := by |
| 27 | let p := pullback.snd f u |
| 28 | let a := pullback.fst f u |
| 29 | have : Epi a := Flat.epi_of_flat_of_surjective (pullback.fst f u) |
| 30 | let τ : T ⟶ pullback f u := pullback.lift (u ≫ σ) (𝟙 T) (by simp [Category.assoc, hσ]) |
| 31 | have hτ : τ ≫ p = 𝟙 T := pullback.lift_snd _ _ _ |
| 32 | have hm : X.toSpecΓ = f ≫ σ ≫ X.toSpecΓ := by |
| 33 | apply (cancel_epi a).mp |
| 34 | have h := AbelianModuli.HilbertConstruction.Global.FunctionsMapRigidity.affineMap_eq_of_globalFunctions_iso p τ hτ (a ≫ X.toSpecΓ) |
| 35 | calc |
| 36 | a ≫ X.toSpecΓ = p ≫ τ ≫ a ≫ X.toSpecΓ := h |
| 37 | _ = p ≫ u ≫ σ ≫ X.toSpecΓ := by simp [τ, a, Category.assoc] |
| 38 | _ = a ≫ f ≫ σ ≫ X.toSpecΓ := by rw [← Category.assoc p u, ← pullback.condition]; simp [Category.assoc, a] |
| 39 | have h := congrArg Scheme.Hom.appTop hm |
| 40 | rw [Scheme.Hom.comp_appTop, Scheme.Hom.comp_appTop, Scheme.toSpecΓ_appTop] at h |
| 41 | have he : σ.appTop ≫ f.appTop = 𝟙 Γ(X, ⊤) := by |
| 42 | apply (cancel_epi (Scheme.ΓSpecIso Γ(X, ⊤)).hom).mp |
| 43 | simpa only [Category.comp_id, Category.assoc] using h.symm |
| 44 | exact (show Γ(S, ⊤) ≅ Γ(X, ⊤) from { |
| 45 | hom := f.appTop |
| 46 | inv := σ.appTop |
| 47 | hom_inv_id := by rw [← Scheme.Hom.comp_appTop, hσ, Scheme.Hom.id_appTop] |
| 48 | inv_hom_id := he }).isIso_hom |
| 49 | |
| 50 | set_option backward.isDefEq.respectTransparency false in |
| 51 | theorem GlobalFunctions.Construction.HasUniversalGlobalFunctions.of_faithfullyFlat_baseChange |
| 52 | {S T : Scheme.{u}} {A : Over S} (σ : S ⟶ A.left) (hσ : σ ≫ A.hom = 𝟙 S) |
| 53 | (u : T ⟶ S) [Flat u] [Surjective u] |
| 54 | (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions ((Over.pullback u).obj A)) : |
| 55 | GlobalFunctions.Construction.HasUniversalGlobalFunctions A := by |
| 56 | intro U b |
| 57 | let f := pullback.snd A.hom b |
| 58 | let v := pullback.fst b u |
| 59 | let w := pullback.snd b u |
| 60 | let a := pullback.fst f v ≫ pullback.fst A.hom b |
| 61 | let p := pullback.snd f v |
| 62 | have hp : IsPullback a p A.hom (v ≫ b) := |
| 63 | (IsPullback.of_hasPullback f v).paste_horiz (IsPullback.of_hasPullback A.hom b) |
| 64 | have he : v ≫ b = w ≫ u := pullback.condition |
| 65 | have hp' : IsPullback a p A.hom (w ≫ u) := he ▸ hp |
| 66 | have hlocal : IsIso p.appTop := |
| 67 | hA.isIso_of_isPullback _ p w (hp'.of_right' (IsPullback.of_hasPullback A.hom u)) |
| 68 | let τ : U ⟶ Limits.pullback A.hom b := |
| 69 | pullback.lift (b ≫ σ) (𝟙 U) (by simp [Category.assoc, hσ]) |
| 70 | exact UniversalFunction.FaithfullyFlatDescent.Construction.globalFunctions_isIso_of_faithfullyFlat_baseChange f τ (pullback.lift_snd _ _ _) v |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient |