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.OpenFrames |
| 8 | |
| 9 | /-! # Over Scalar Restriction -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OverScalarRestriction |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Scalar transition maps under the open-subscheme equivalence. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | universe u |
| 20 | |
| 21 | local instance (X : Scheme.{u}) : |
| 22 | ∀ U, IsMulCommutative (X.ringCatSheaf.obj.obj U) := fun U => by |
| 23 | change IsMulCommutative (X.presheaf.obj U) |
| 24 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 25 | |
| 26 | theorem overEquiv_unitScalarEnd {X : Scheme.{u}} (U : X.Opens) (s : Γ(X, U)) : |
| 27 | (Scheme.Modules.overEquiv U).functor.map |
| 28 | (Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s) ≫ |
| 29 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom = |
| 30 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom ≫ |
| 31 | UnitScalar.unitEndomorphismOfTopSection (OpenFrames.Scheme.Modules.openTopSection U s) := by |
| 32 | apply _root_.SheafOfModules.hom_ext |
| 33 | ext W |
| 34 | change (1 : Γ(X, (U.overEquivalence.inverse.obj W.unop).left)) * |
| 35 | X.presheaf.map (U.overEquivalence.inverse.obj W.unop).hom.op s = |
| 36 | (1 : Γ(U.toScheme, W.unop)) * |
| 37 | U.toScheme.presheaf.map W.unop.leTop.op (U.topIso.inv s) |
| 38 | rw [one_mul, one_mul, Scheme.Opens.topIso_inv] |
| 39 | change X.presheaf.map (U.overEquivalence.inverse.obj W.unop).hom.op s = |
| 40 | X.presheaf.map (U.ι.opensFunctor.map W.unop.leTop).op |
| 41 | (X.presheaf.map (eqToHom U.ι_image_top).op s) |
| 42 | rw [← X.presheaf.map_comp_apply] |
| 43 | congr 1 |
| 44 | |
| 45 | theorem restrictTrivializationOfOverIso_hom_eq_comp_scalar |
| 46 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 47 | (e g : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 48 | (s : Γ(X, U)) |
| 49 | (h : e.hom = g.hom ≫ Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U s) : |
| 50 | (FrameSections.restrictTrivializationOfOverIso M U e).hom = |
| 51 | (FrameSections.restrictTrivializationOfOverIso M U g).hom ≫ |
| 52 | UnitScalar.unitEndomorphismOfTopSection (OpenFrames.Scheme.Modules.openTopSection U s) := by |
| 53 | simp only [FrameSections.restrictTrivializationOfOverIso, Iso.trans_hom, Functor.mapIso_hom] |
| 54 | rw [h, Functor.map_comp] |
| 55 | simp only [Category.assoc] |
| 56 | rw [overEquiv_unitScalarEnd] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OverScalarRestriction |