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.HilbertScheme.Presentations.OpenUnitLocus |
| 2 | |
| 3 | /-! # Stalk Equations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.StalkEquations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finitely many equations that vanish in a stalk vanish on one common open |
| 10 | neighborhood. An invertible germ can be made invertible on the same neighborhood. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem section_restriction_zero_appTop {X : Scheme.{u}} (U : X.Opens) |
| 17 | (s : Γ(X, ⊤)) (hs : X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s = 0) : |
| 18 | U.ι.appTop s = 0 := by |
| 19 | have hU : U.ι ''ᵁ ⊤ ≤ U := by simp |
| 20 | have h := congrArg (X.presheaf.map (homOfLE hU).op) hs |
| 21 | rw [map_zero] at h |
| 22 | change (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op ≫ |
| 23 | X.presheaf.map (homOfLE hU).op) s = 0 at h |
| 24 | rw [← X.presheaf.map_comp] at h |
| 25 | exact h |
| 26 | |
| 27 | theorem section_zero_neighborhood {X : Scheme.{u}} (s : Γ(X, ⊤)) (x : X) |
| 28 | (h : X.presheaf.Γgerm x s = 0) : |
| 29 | ∃ U : X.Opens, x ∈ U ∧ X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s = 0 := by |
| 30 | have hz : X.presheaf.germ ⊤ x (by trivial) s = |
| 31 | X.presheaf.germ ⊤ x (by trivial) 0 := by simpa only [TopCat.Presheaf.Γgerm, map_zero] using h |
| 32 | obtain ⟨U, hx, a, b, hab⟩ := X.presheaf.germ_eq x (by trivial) (by trivial) s 0 hz |
| 33 | have ha : a = homOfLE (show U ≤ ⊤ from le_top) := Subsingleton.elim _ _ |
| 34 | exact ⟨U, hx, by simpa only [ha, map_zero] using hab⟩ |
| 35 | |
| 36 | theorem finite_sections_zero_neighborhood {X : Scheme.{u}} {ι : Type v} [Finite ι] |
| 37 | (s : ι → Γ(X, ⊤)) (x : X) (h : ∀ i, X.presheaf.Γgerm x (s i) = 0) : |
| 38 | ∃ U : X.Opens, x ∈ U ∧ ∀ i, X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op (s i) = 0 := by |
| 39 | choose V hxV hV using fun i => section_zero_neighborhood (s i) x (h i) |
| 40 | let U : X.Opens := ⨅ i, V i |
| 41 | have hx : x ∈ U := by |
| 42 | change x ∈ ((⨅ i, V i : X.Opens) : Set X) |
| 43 | rw [TopologicalSpace.Opens.coe_iInf] |
| 44 | exact Set.mem_iInter.mpr hxV |
| 45 | refine ⟨U, hx, fun i => ?_⟩ |
| 46 | have hi : U ≤ V i := iInf_le V i |
| 47 | have heq := congrArg (X.presheaf.map (homOfLE hi).op) (hV i) |
| 48 | rw [map_zero] at heq |
| 49 | change (X.presheaf.map (homOfLE (show V i ≤ ⊤ from le_top)).op ≫ |
| 50 | X.presheaf.map (homOfLE hi).op) (s i) = 0 at heq |
| 51 | rw [← X.presheaf.map_comp] at heq |
| 52 | exact heq |
| 53 | |
| 54 | theorem finite_unit_zero_neighborhood {X : Scheme.{u}} {ι : Type v} [Finite ι] |
| 55 | (t : Γ(X, ⊤)) (s : ι → Γ(X, ⊤)) (x : X) |
| 56 | (ht : IsUnit (X.presheaf.Γgerm x t)) (hs : ∀ i, X.presheaf.Γgerm x (s i) = 0) : |
| 57 | ∃ U : X.Opens, x ∈ U ∧ IsUnit (U.ι.appTop t) ∧ ∀ i, U.ι.appTop (s i) = 0 := by |
| 58 | obtain ⟨V, hxV, hV⟩ := finite_sections_zero_neighborhood s x hs |
| 59 | let U := V ⊓ X.basicOpen t |
| 60 | have hxU : x ∈ U := ⟨hxV, (Scheme.mem_basicOpen X t x (by trivial)).mpr ht⟩ |
| 61 | refine ⟨U, hxU, ?_, fun i => ?_⟩ |
| 62 | · apply (OpenUnitLocus.isUnit_appTop_iff_range_subset U.ι t).mpr |
| 63 | rw [Scheme.Opens.range_ι] |
| 64 | exact inf_le_right |
| 65 | · apply section_restriction_zero_appTop U |
| 66 | have hi : U ≤ V := inf_le_left |
| 67 | have h := congrArg (X.presheaf.map (homOfLE hi).op) (hV i) |
| 68 | rw [map_zero] at h |
| 69 | change (X.presheaf.map (homOfLE (show V ≤ ⊤ from le_top)).op ≫ |
| 70 | X.presheaf.map (homOfLE hi).op) (s i) = 0 at h |
| 71 | rw [← X.presheaf.map_comp] at h |
| 72 | exact h |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.StalkEquations |