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 | Copyright (c) 2026 Chris Birkbeck. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: Chris Birkbeck |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistPowers |
| 8 | |
| 9 | /-! # Power Frame Scalar -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.PowerFrameScalar |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 16 | universe u |
| 17 | local instance powerFrameScalarMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 18 | Monoidal.Scheme.Modules.monoidalCategory X |
| 19 | |
| 20 | /-- A scalar transition between compatible frames of a recursively |
| 21 | tensor-built module family raises to its `n`th power in degree `n`. -/ |
| 22 | theorem recursiveTensorTrivialization_hom_eq_comp_scalar |
| 23 | {X : Scheme.{u}} {M : X.Modules} {P : ℕ → X.Modules} |
| 24 | (U : X.Opens) |
| 25 | (T : (M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) → |
| 26 | ∀ n : ℕ, (P n).restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) |
| 27 | (q : ∀ n : ℕ, |
| 28 | (P (n + 1)).restrict U.ι ≅ |
| 29 | (P n).restrict U.ι ⊗ M.restrict U.ι) |
| 30 | (hzero : ∀ e g, (T e 0).hom = (T g 0).hom) |
| 31 | (hsucc : ∀ e n, (T e (n + 1)).hom = |
| 32 | (q n).hom ≫ ((T e n).hom ⊗ₘ e.hom) ≫ |
| 33 | (TensorSections.unitObjTensorIso U.toScheme).hom) |
| 34 | (e g : M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) |
| 35 | (r : Γ(U.toScheme, (⊤ : U.toScheme.Opens))) |
| 36 | (h : e.hom = g.hom ≫ UnitScalar.unitEndomorphismOfTopSection r) : |
| 37 | ∀ n : ℕ, (T e n).hom = (T g n).hom ≫ |
| 38 | UnitScalar.unitEndomorphismOfTopSection (r ^ n) := by |
| 39 | intro n |
| 40 | induction n with |
| 41 | | zero => |
| 42 | rw [pow_zero, UnitScalar.unitEndomorphismOfTopSection_one, Category.comp_id] |
| 43 | exact hzero e g |
| 44 | | succ n hn => |
| 45 | have htensor₀ : |
| 46 | (T e n).hom ⊗ₘ e.hom = |
| 47 | ((T g n).hom ≫ UnitScalar.unitEndomorphismOfTopSection (r ^ n)) ⊗ₘ |
| 48 | (g.hom ≫ UnitScalar.unitEndomorphismOfTopSection r) := |
| 49 | congrArg₂ (fun a b ↦ a ⊗ₘ b) hn h |
| 50 | have htensor : |
| 51 | (T e n).hom ⊗ₘ e.hom = |
| 52 | ((T g n).hom ⊗ₘ g.hom) ≫ |
| 53 | (UnitScalar.unitEndomorphismOfTopSection (r ^ n) ⊗ₘ |
| 54 | UnitScalar.unitEndomorphismOfTopSection r) := |
| 55 | htensor₀.trans |
| 56 | (MonoidalCategory.tensorHom_comp_tensorHom |
| 57 | (T g n).hom g.hom |
| 58 | (UnitScalar.unitEndomorphismOfTopSection (r ^ n)) |
| 59 | (UnitScalar.unitEndomorphismOfTopSection r)).symm |
| 60 | rw [hsucc e n, hsucc g n] |
| 61 | simp only [Category.assoc] |
| 62 | rw [htensor] |
| 63 | simp only [Category.assoc] |
| 64 | rw [TensorSections.unitObjTensorIso_hom_comp_scalars] |
| 65 | rw [pow_succ] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.PowerFrameScalar |