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.DivisorClass.Chern.Line.Bundles |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Function Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.FunctionGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Regular transition functions on actual scheme opens, with their native restriction maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | variable {X : Scheme} |
| 20 | |
| 21 | def regularRestriction {U V : X.Opens} (h : V ≤ U) : Γ(X, U) →+* Γ(X, V) := |
| 22 | (X.presheaf.map (homOfLE h).op).hom |
| 23 | |
| 24 | @[simp] theorem regularRestriction_self (U : X.Opens) (r : Γ(X, U)) : |
| 25 | regularRestriction (X := X) (le_refl U) r = r := by |
| 26 | change X.presheaf.map (𝟙 (op U)) r = r |
| 27 | rw [X.presheaf.map_id] |
| 28 | rfl |
| 29 | |
| 30 | @[simp] theorem regularRestriction_comp {U V W : X.Opens} |
| 31 | (hVU : V ≤ U) (hWV : W ≤ V) (r : Γ(X, U)) : |
| 32 | regularRestriction hWV (regularRestriction hVU r) = |
| 33 | regularRestriction (hWV.trans hVU) r := by |
| 34 | exact (ConcreteCategory.congr_hom (X.presheaf.map_comp |
| 35 | (homOfLE hVU).op (homOfLE hWV).op) r).symm |
| 36 | |
| 37 | /-- A regular unit cocycle on an actual Zariski open cover. Coordinates change |
| 38 | from frame `i` to frame `j` by multiplication by `transition i j`. -/ |
| 39 | structure RegularLineCocycle (X : Scheme) (ι : Type) where |
| 40 | domain : ι → X.Opens |
| 41 | covers : iSup domain = ⊤ |
| 42 | transition : ∀ (i j : ι) (W : X.Opens), W ≤ domain i → W ≤ domain j → Γ(X, W)ˣ |
| 43 | restrict : ∀ (i j : ι) (U W : X.Opens) (hWU : W ≤ U) |
| 44 | (hi : U ≤ domain i) (hj : U ≤ domain j), |
| 45 | regularRestriction hWU (transition i j U hi hj : Γ(X, U)) = |
| 46 | (transition i j W (hWU.trans hi) (hWU.trans hj) : Γ(X, W)) |
| 47 | refl : ∀ (i : ι) (W : X.Opens) (hi : W ≤ domain i), transition i i W hi hi = 1 |
| 48 | cocycle : ∀ (i j k : ι) (W : X.Opens) |
| 49 | (hi : W ≤ domain i) (hj : W ≤ domain j) (hk : W ≤ domain k), |
| 50 | transition i j W hi hj * transition j k W hj hk = transition i k W hi hk |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-! Gluing and local equality for the original scheme structure sheaf. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 57 | set_option backward.isDefEq.respectTransparency false |
| 58 | set_option backward.isDefEq.respectTransparency.types false |
| 59 | set_option backward.defeqAttrib.useBackward true |
| 60 | |
| 61 | variable {X : Scheme} |
| 62 | |
| 63 | theorem exists_regularFunction_glue {ι : Type*} (U : ι → X.Opens) (V : X.Opens) |
| 64 | (hUV : ∀ i, U i ≤ V) (hcover : V ≤ iSup U) (s : ∀ i, Γ(X, U i)) |
| 65 | (hc : ∀ i j, regularRestriction inf_le_left (s i) = regularRestriction inf_le_right (s j)) : |
| 66 | ∃ g : Γ(X, V), ∀ i, regularRestriction (hUV i) g = s i := by |
| 67 | obtain ⟨g, hg, _⟩ := X.sheaf.existsUnique_gluing' U V |
| 68 | (fun i => homOfLE (hUV i)) hcover s hc |
| 69 | exact ⟨g, hg⟩ |
| 70 | |
| 71 | theorem regularFunction_eq_of_restrictions {ι : Type*} (U : ι → X.Opens) (V : X.Opens) |
| 72 | (hUV : ∀ i, U i ≤ V) (hcover : V ≤ iSup U) (s t : Γ(X, V)) |
| 73 | (h : ∀ i, regularRestriction (hUV i) s = regularRestriction (hUV i) t) : s = t := by |
| 74 | exact X.sheaf.eq_of_locally_eq' U V (fun i => homOfLE (hUV i)) hcover s t h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.FunctionGluing |