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.ComplexPoints.Analytic.LocalizationPointEvaluation |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.PrincipalOpen |
| 3 | import Mathlib.Topology.Homeomorph.Lemmas |
| 4 | |
| 5 | /-! # Localization Point Topology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Localization charts and gluing for ordinary affine complex points |
| 13 | |
| 14 | Restriction from a principal localization is a homeomorphism onto the |
| 15 | ordinary open set where the inverted regular function is nonzero. These |
| 16 | charts identify localization at a product with the intersection of the two |
| 17 | corresponding chart images. A unit-ideal family of such charts detects |
| 18 | continuity, giving the topological gluing property for this affine atlas. |
| 19 | -/ |
| 20 | |
| 21 | universe u v w |
| 22 | |
| 23 | variable {A : Type u} [CommRing A] [Algebra ℂ A] |
| 24 | |
| 25 | /-- The actual map of complex points induced by the localization algebra map. -/ |
| 26 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction (g : A) : |
| 27 | C(Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g), Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) := |
| 28 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (Algebra.algHom ℂ A (Localization.Away g)) |
| 29 | |
| 30 | @[simp] theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction_apply (g : A) |
| 31 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) (a : A) : |
| 32 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g x a = x (algebraMap A (Localization.Away g) a) := rfl |
| 33 | |
| 34 | /-- A principal localization is the ordinary open chart on which its denominator |
| 35 | is nonzero, with the genuine complex-point topology on both sides. -/ |
| 36 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph (g : A) : |
| 37 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g) ≃ₜ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen g where |
| 38 | toEquiv := Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizationPointEquiv (K := ℂ) g |
| 39 | continuous_toFun := by |
| 40 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g).continuous.subtype_mk _ |
| 41 | continuous_invFun := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_localizationPointEquiv_symm g |
| 42 | |
| 43 | @[simp] theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph_val (g : A) |
| 44 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)) : |
| 45 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g x).val = Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g x := rfl |
| 46 | |
| 47 | /-- The image of a localization chart is exactly its principal open set. -/ |
| 48 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.range_localizationRestriction (g : A) : |
| 49 | Set.range (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g) = Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen g := by |
| 50 | ext x |
| 51 | constructor |
| 52 | · rintro ⟨y, rfl⟩ |
| 53 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g y).property |
| 54 | · intro hx |
| 55 | refine ⟨(Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g).symm ⟨x, hx⟩, ?_⟩ |
| 56 | exact congrArg Subtype.val ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g).apply_symm_apply ⟨x, hx⟩) |
| 57 | |
| 58 | /-- The algebraic localization map induces an open embedding of ordinary point spaces. -/ |
| 59 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction (g : A) : |
| 60 | Topology.IsOpenEmbedding (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g) := by |
| 61 | change Topology.IsOpenEmbedding |
| 62 | ((Subtype.val : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen g → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) ∘ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g) |
| 63 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpen_principalOpen g).isOpenEmbedding_subtypeVal.comp |
| 64 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph g).isOpenEmbedding |
| 65 | |
| 66 | /-- Localization at a product has precisely the overlap of the individual chart images. -/ |
| 67 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localization_chart_overlap (g h : A) : |
| 68 | Set.range (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction (g * h)) = |
| 69 | Set.range (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g) ∩ Set.range (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction h) := by |
| 70 | simp only [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.range_localizationRestriction, Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen_mul] |
| 71 | |
| 72 | /-- A family generating the unit ideal is an open atlas of localization charts. -/ |
| 73 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.iUnion_range_localizationRestriction {ι : Type v} |
| 74 | (g : ι → A) (hg : Ideal.span (Set.range g) = ⊤) : |
| 75 | (⋃ i, Set.range (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction (g i))) = Set.univ := by |
| 76 | simp only [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.range_localizationRestriction] |
| 77 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.iUnion_principalOpen_eq_univ g hg |
| 78 | |
| 79 | /-- Continuity can be checked on the actual principal-localization point spaces. |
| 80 | This is the gluing property of the ordinary affine localization atlas. -/ |
| 81 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff_localizationCover {ι : Type v} {X : Type w} [TopologicalSpace X] |
| 82 | (g : ι → A) (hg : Ideal.span (Set.range g) = ⊤) |
| 83 | (F : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A → X) : |
| 84 | Continuous F ↔ ∀ i, Continuous (F ∘ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction (g i)) := by |
| 85 | rw [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff_principalOpen_cover g hg F] |
| 86 | apply forall_congr' |
| 87 | intro i |
| 88 | change Continuous (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen (g i) => F x.val) ↔ |
| 89 | Continuous ((fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen (g i) => F x.val) ∘ Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph (g i)) |
| 90 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph (g i)).comp_continuous_iff'.symm |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry |