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.Picard.PoincareBundle.Bilinear.Contraction |
| 2 | |
| 3 | /-! # Frame Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The unit-valued ratio of two frames of an actual line sheaf |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} |
| 18 | |
| 19 | /-- A morphism from the structure sheaf is multiplication by its section at one. -/ |
| 20 | theorem unit_hom_app {M : X.Modules} (a : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 21 | (U : X.Opens) (x : Γ(X, U)) : |
| 22 | a.app U x = x • a.app U (1 : Γ(X, U)) := by |
| 23 | have h := (AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.homApp a U).map_smul x (1 : Γ(X, U)) |
| 24 | change a.app U (x * (1 : Γ(X, U))) = x • a.app U (1 : Γ(X, U)) at h |
| 25 | simpa only [mul_one] using h |
| 26 | |
| 27 | /-- A structure-sheaf morphism is determined by its values at one on every open. -/ |
| 28 | theorem unit_hom_ext {M : X.Modules} {a b : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M} |
| 29 | (h : ∀ U : X.Opens, a.app U (1 : Γ(X, U)) = b.app U (1 : Γ(X, U))) : a = b := by |
| 30 | apply M.unitHomEquiv.injective |
| 31 | apply Subtype.ext |
| 32 | funext U |
| 33 | exact h U.unop |
| 34 | |
| 35 | /-- The global function by which a structure-sheaf endomorphism multiplies. -/ |
| 36 | def scalar (a : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : Γ(X, ⊤) := |
| 37 | a.app ⊤ (1 : Γ(X, ⊤)) |
| 38 | |
| 39 | @[simp] |
| 40 | theorem scalar_id : scalar (𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) = 1 := rfl |
| 41 | |
| 42 | /-- Composition of structure-sheaf endomorphisms multiplies their actual global functions. -/ |
| 43 | theorem scalar_comp (a b : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : |
| 44 | scalar (a ≫ b) = scalar a * scalar b := by |
| 45 | exact unit_hom_app b ⊤ (scalar a) |
| 46 | |
| 47 | /-- Restriction of the global scalar is the local scalar of the same sheaf endomorphism. -/ |
| 48 | theorem scalar_restrict (a : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (U : X.Opens) : |
| 49 | X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op (scalar a) = |
| 50 | a.app U (1 : Γ(X, U)) := by |
| 51 | have h := ConcreteCategory.congr_hom |
| 52 | (a.mapPresheaf.naturality (homOfLE (show U ≤ ⊤ from le_top)).op) (1 : Γ(X, ⊤)) |
| 53 | change a.app U (X.presheaf.map _ (1 : Γ(X, ⊤))) = _ at h |
| 54 | rw [map_one] at h |
| 55 | exact h.symm |
| 56 | |
| 57 | /-- Global functions detect equality of structure-sheaf endomorphisms. -/ |
| 58 | theorem scalar_injective : Function.Injective (scalar (X := X)) := by |
| 59 | intro a b h |
| 60 | apply unit_hom_ext |
| 61 | intro U |
| 62 | rw [← scalar_restrict, ← scalar_restrict, h] |
| 63 | |
| 64 | /-- An automorphism of the structure sheaf supplies an actual invertible global function. -/ |
| 65 | def unitOfIso (e : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : Γ(X, ⊤)ˣ where |
| 66 | val := scalar e.hom |
| 67 | inv := scalar e.inv |
| 68 | val_inv := by rw [← scalar_comp, e.hom_inv_id, scalar_id] |
| 69 | inv_val := by rw [← scalar_comp, e.inv_hom_id, scalar_id] |
| 70 | |
| 71 | /-- The actual unit ratio of two trivializations of the same line sheaf. -/ |
| 72 | def frameRatio {M : X.Modules} (s t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) : Γ(X, ⊤)ˣ := |
| 73 | unitOfIso (s ≪≫ t.symm) |
| 74 | |
| 75 | /-- Vanishing of the unit-valued obstruction is precisely equality of the two frames. -/ |
| 76 | theorem frameRatio_eq_one_iff {M : X.Modules} (s t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) : |
| 77 | frameRatio s t = 1 ↔ s = t := by |
| 78 | constructor |
| 79 | · intro h |
| 80 | have hs : scalar (s.hom ≫ t.inv) = scalar (𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) := |
| 81 | congrArg Units.val h |
| 82 | have he := scalar_injective hs |
| 83 | apply Iso.ext |
| 84 | apply (cancel_mono t.inv).mp |
| 85 | exact he.trans t.hom_inv_id.symm |
| 86 | · rintro rfl |
| 87 | apply Units.ext |
| 88 | exact congrArg scalar s.hom_inv_id |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits |