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.HilbertConstruction.Line.Bundles |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Flat Base -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatBase |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An isomorphism on the direct image of the structure sheaf persists |
| 12 | under flat base change, using the actual pushout of sections on affine opens. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.FlatBaseChangeFunctions |
| 21 | |
| 22 | variable {X Y Z P : Scheme.{u}} [NoetherianSpace X] |
| 23 | variable (q : X ⟶ Y) (p : Z ⟶ Y) [Flat p] (r : P ⟶ X) (v : P ⟶ Z) |
| 24 | variable (H : IsPullback r v q p) (hq : ∀ U : Y.Opens, IsIso (q.app U)) |
| 25 | |
| 26 | include H hq |
| 27 | |
| 28 | theorem isIso_app_on_affine (U : Y.Opens) (hU : IsAffineOpen U) |
| 29 | (V : Z.Opens) (hV : IsAffineOpen V) (hVU : V ≤ p ⁻¹ᵁ U) : IsIso (v.app V) := by |
| 30 | have he : v ⁻¹ᵁ V = r ⁻¹ᵁ (q ⁻¹ᵁ U) ⊓ v ⁻¹ᵁ V := by |
| 31 | change v ⁻¹ᵁ V = (r ≫ q) ⁻¹ᵁ U ⊓ v ⁻¹ᵁ V |
| 32 | rw [H.w] |
| 33 | exact (inf_eq_right.mpr (v.preimage_mono hVU)).symm |
| 34 | have ha := isIso_pushoutSection_of_isQuasiSeparated_of_flat_right H hVU le_rfl he hU hV |
| 35 | (NoetherianSpace.isCompact (q ⁻¹ᵁ U : Set X)) |
| 36 | (fun _ _ _ _ _ _ _ _ => NoetherianSpace.isCompact _) |
| 37 | have hp := (isIso_pushoutSection_iff H hVU le_rfl he).mp ha |
| 38 | have : IsIso (q.appLE U (q ⁻¹ᵁ U) le_rfl) := by |
| 39 | rw [Scheme.Hom.appLE_eq_app] |
| 40 | exact hq U |
| 41 | have hi := hp.isIso_inr_of_isIso |
| 42 | change IsIso (v.appLE V (v ⁻¹ᵁ V) le_rfl) at hi |
| 43 | rw [Scheme.Hom.appLE_eq_app] at hi |
| 44 | exact hi |
| 45 | |
| 46 | theorem isIso_ringSheaf : IsIso v.toRingCatSheafHom := by |
| 47 | let B := Σ U : Y.affineOpens, {V : Z.affineOpens // V.1 ≤ p ⁻¹ᵁ U.1} |
| 48 | let O : B → Z.Opens := fun i => i.2.1.1 |
| 49 | have hB : Opens.IsBasis (Set.range O) := by |
| 50 | apply Opens.isBasis_iff_nbhd.mpr |
| 51 | intro W z hz |
| 52 | obtain ⟨_, ⟨U, hU, rfl⟩, hzU, _⟩ := |
| 53 | Y.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ (p z)) isOpen_univ |
| 54 | obtain ⟨_, ⟨V, hV, rfl⟩, hzV, hVW⟩ := |
| 55 | Z.isBasis_affineOpens.exists_subset_of_mem_open |
| 56 | (show z ∈ W ⊓ p ⁻¹ᵁ U from ⟨hz, hzU⟩) (W ⊓ p ⁻¹ᵁ U).isOpen |
| 57 | exact ⟨V, ⟨⟨⟨U, hU⟩, ⟨⟨V, hV⟩, hVW.trans inf_le_right⟩⟩, rfl⟩, |
| 58 | hzV, hVW.trans inf_le_left⟩ |
| 59 | apply TopCat.Sheaf.isIso_iff_isIso_basis hB |
| 60 | intro i |
| 61 | have hi := isIso_app_on_affine q p r v H hq i.1.1 i.1.2 i.2.1.1 i.2.1.2 i.2.2 |
| 62 | exact (ConcreteCategory.isIso_iff_bijective _).mpr |
| 63 | ((ConcreteCategory.isIso_iff_bijective (v.app (O i))).mp hi) |
| 64 | |
| 65 | theorem isIso_app (U : Z.Opens) : IsIso (v.app U) := by |
| 66 | have hs := isIso_ringSheaf q p r v H hq |
| 67 | let e := @asIso _ _ _ _ v.toRingCatSheafHom hs |
| 68 | let e' := (sheafToPresheaf _ _).mapIso e |
| 69 | have hi : IsIso (v.toRingCatSheafHom.hom.app (.op U)) := (e'.app (.op U)).isIso_hom |
| 70 | exact (ConcreteCategory.isIso_iff_bijective _).mpr |
| 71 | ((ConcreteCategory.isIso_iff_bijective (v.toRingCatSheafHom.hom.app (.op U))).mp hi) |
| 72 | |
| 73 | theorem isIso_unit : IsIso (SheafOfModules.unitToPushforwardObjUnit v.toRingCatSheafHom) := by |
| 74 | apply Scheme.Modules.Hom.isIso_iff_isIso_app.mpr |
| 75 | intro U |
| 76 | exact (ConcreteCategory.isIso_iff_bijective _).mpr |
| 77 | ((ConcreteCategory.isIso_iff_bijective (v.app U)).mp (isIso_app q p r v H hq U)) |
| 78 | |
| 79 | def iso : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z ≅ (Scheme.Modules.pushforward v).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule P) := |
| 80 | @asIso _ _ _ _ (SheafOfModules.unitToPushforwardObjUnit v.toRingCatSheafHom) |
| 81 | (isIso_unit q p r v H hq) |
| 82 | |
| 83 | end Construction.FlatBaseChangeFunctions |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FlatBase |