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.AbelianModuli.ReferenceFamily.Abelian.AffineBaseChangeFunctions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CartesianOpenBasePullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FunctionSheafAffineCriterion |
| 4 | import Mathlib.AlgebraicGeometry.Noetherian |
| 5 | |
| 6 | /-! # Base Change Function Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Abelian.BaseChangeFunctionSheaf |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The function pullback is an isomorphism on every affine test open |
| 15 | whose coefficient map lies in an affine open of a locally noetherian base. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem abelian_baseChange_function_app_of_affine_pair |
| 20 | {S : Scheme.{0}} [IsLocallyNoetherian S] {g : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 21 | {Y T : Scheme.{0}} (a : Y ⟶ A.scheme.left) (ρ : Y ⟶ T) (t : T ⟶ S) |
| 22 | (hp : IsPullback a ρ A.scheme.hom t) |
| 23 | (U : S.Opens) (hU : IsAffineOpen U) (V : T.Opens) (hV : IsAffineOpen V) |
| 24 | (hVU : V ≤ t ⁻¹ᵁ U) : IsIso (ρ.app V) := by |
| 25 | let : IsAffine U.toScheme := hU |
| 26 | let : IsAffine V.toScheme := hV |
| 27 | let : IsNoetherianRing Γ(U.toScheme, ⊤) := |
| 28 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top U.toScheme⟩ |
| 29 | let aV := (ρ ⁻¹ᵁ V).ι ≫ a |
| 30 | let ρV := ρ ∣_ V |
| 31 | let tV := V.ι ≫ t |
| 32 | have hpV : IsPullback aV ρV A.scheme.hom tV := |
| 33 | (isPullback_morphismRestrict ρ V).flip.paste_horiz hp |
| 34 | let k := t.resLE U V hVU |
| 35 | have hk : k ≫ U.ι = tV := t.resLE_comp_ι hVU |
| 36 | obtain ⟨b, _, hpb⟩ := CartesianOpenBasePullback.cartesian_open_base_pullback_factor A.scheme.hom aV ρV tV hpV U k hk |
| 37 | have hf : IsIso ρV.appTop := |
| 38 | AffineBaseChangeFunctions.abelian_affine_baseChange_globalFunctions_isIso (A.pullback U.ι) b ρV k hpb |
| 39 | exact (HilbertConstruction.FunctionSheafAffineCriterion.morphismRestrict_appTop_isIso_iff ρ V).mp hf |
| 40 | |
| 41 | end |
| 42 | |
| 43 | /-! The direct image of the structure sheaf of an abelian family over |
| 44 | a locally noetherian base remains the actual base structure sheaf on |
| 45 | every base change, including arbitrary nonreduced test schemes. -/ |
| 46 | |
| 47 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 48 | |
| 49 | variable {S : Scheme.{0}} [IsLocallyNoetherian S] {g : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 50 | {Y T : Scheme.{0}} (a : Y ⟶ A.scheme.left) (ρ : Y ⟶ T) (t : T ⟶ S) |
| 51 | (hp : CategoryTheory.IsPullback a ρ A.scheme.hom t) |
| 52 | |
| 53 | include hp in |
| 54 | theorem abelian_baseChange_functionSheaf_isIso : IsIso (HilbertConstruction.FunctionSheafAffineCriterion.functionSheafMap ρ) := by |
| 55 | let B := Σ U : S.affineOpens, {V : T.affineOpens // V.1 ≤ t ⁻¹ᵁ U.1} |
| 56 | let O : B → T.Opens := fun i => i.2.1.1 |
| 57 | have hB : Opens.IsBasis (Set.range O) := by |
| 58 | apply Opens.isBasis_iff_nbhd.mpr |
| 59 | intro W z hz |
| 60 | obtain ⟨_, ⟨U, hU, rfl⟩, hzU, _⟩ := |
| 61 | S.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ (t z)) isOpen_univ |
| 62 | obtain ⟨_, ⟨V, hV, rfl⟩, hzV, hVW⟩ := |
| 63 | T.isBasis_affineOpens.exists_subset_of_mem_open |
| 64 | (show z ∈ W ⊓ t ⁻¹ᵁ U from ⟨hz, hzU⟩) (W ⊓ t ⁻¹ᵁ U).isOpen |
| 65 | exact ⟨V, ⟨⟨⟨U, hU⟩, ⟨⟨V, hV⟩, hVW.trans inf_le_right⟩⟩, rfl⟩, |
| 66 | hzV, hVW.trans inf_le_left⟩ |
| 67 | apply TopCat.Sheaf.isIso_iff_isIso_basis hB |
| 68 | intro i |
| 69 | exact abelian_baseChange_function_app_of_affine_pair A a ρ t hp |
| 70 | i.1.1 i.1.2 i.2.1.1 i.2.1.2 i.2.2 |
| 71 | |
| 72 | include hp in |
| 73 | theorem abelian_baseChange_function_app_isIso (V : T.Opens) : IsIso (ρ.app V) := by |
| 74 | let : IsIso (HilbertConstruction.FunctionSheafAffineCriterion.functionSheafMap ρ) := abelian_baseChange_functionSheaf_isIso A a ρ t hp |
| 75 | have : IsIso ((TopCat.Sheaf.forget CommRingCat T).map (HilbertConstruction.FunctionSheafAffineCriterion.functionSheafMap ρ)) := |
| 76 | (TopCat.Sheaf.forget CommRingCat T).map_isIso _ |
| 77 | have : IsIso ρ.c := this |
| 78 | exact NatIso.isIso_app_of_isIso _ (Opposite.op V) |
| 79 | |
| 80 | include hp in |
| 81 | theorem abelian_baseChange_globalFunctions_isIso : IsIso ρ.appTop := |
| 82 | abelian_baseChange_function_app_isIso A a ρ t hp ⊤ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Abelian.BaseChangeFunctionSheaf |