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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/Picard/UnitPullback.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineRankOne |
| 8 | |
| 9 | /-! # Unit Scalar -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.UnitScalar |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Scalar maps on the actual structure module. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | universe u |
| 20 | |
| 21 | def unitEndomorphismOfTopSection {X : Scheme.{u}} (r : Γ(X, ⊤)) : |
| 22 | Invertible.Scheme.Modules.unitObj X ⟶ Invertible.Scheme.Modules.unitObj X := |
| 23 | AffineRankOne.globalGeneratorHom (Invertible.Scheme.Modules.unitObj X) r |
| 24 | |
| 25 | @[simp] |
| 26 | theorem unitEndomorphismOfTopSection_app_apply {X : Scheme.{u}} |
| 27 | (r : Γ(X, ⊤)) (U : X.Opens) (a : Γ(X, U)) : |
| 28 | (unitEndomorphismOfTopSection r).val.app (op U) a = |
| 29 | a * X.presheaf.map U.leTop.op r := rfl |
| 30 | |
| 31 | theorem unitEndomorphismOfTopSection_comp {X : Scheme.{u}} (r s : Γ(X, ⊤)) : |
| 32 | unitEndomorphismOfTopSection r ≫ unitEndomorphismOfTopSection s = |
| 33 | unitEndomorphismOfTopSection (r * s) := by |
| 34 | apply _root_.SheafOfModules.hom_ext |
| 35 | ext U |
| 36 | change (1 * X.presheaf.map U.unop.leTop.op r) * |
| 37 | X.presheaf.map U.unop.leTop.op s = |
| 38 | 1 * X.presheaf.map U.unop.leTop.op (r * s) |
| 39 | rw [map_mul, mul_assoc] |
| 40 | |
| 41 | @[simp] |
| 42 | theorem unitEndomorphismOfTopSection_one {X : Scheme.{u}} : |
| 43 | unitEndomorphismOfTopSection (1 : Γ(X, ⊤)) = 𝟙 (Invertible.Scheme.Modules.unitObj X) := by |
| 44 | apply _root_.SheafOfModules.hom_ext |
| 45 | ext U |
| 46 | change 1 * X.presheaf.map U.unop.leTop.op 1 = 1 |
| 47 | rw [map_one, mul_one] |
| 48 | |
| 49 | def unitAutomorphismOfTopUnit {X : Scheme.{u}} (r : Γ(X, ⊤)ˣ) : |
| 50 | Invertible.Scheme.Modules.unitObj X ≅ Invertible.Scheme.Modules.unitObj X where |
| 51 | hom := unitEndomorphismOfTopSection (r : Γ(X, ⊤)) |
| 52 | inv := unitEndomorphismOfTopSection (↑r⁻¹ : Γ(X, ⊤)) |
| 53 | hom_inv_id := by rw [unitEndomorphismOfTopSection_comp, r.mul_inv, |
| 54 | unitEndomorphismOfTopSection_one] |
| 55 | inv_hom_id := by rw [unitEndomorphismOfTopSection_comp, r.inv_mul, |
| 56 | unitEndomorphismOfTopSection_one] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.UnitScalar |