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.FrameSections |
| 8 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGenerator |
| 9 | |
| 10 | /-! # Open Frames -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenFrames |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.AlgebraicGeometry |
| 17 | open _root_.AlgebraicGeometry.Scheme |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | |
| 20 | /-! Restriction of rank-one frames and compatibility of their scalar maps. -/ |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | open _root_.CategoryTheory Opposite |
| 24 | universe u |
| 25 | section |
| 26 | |
| 27 | theorem restrictTrivializationOfOverTrivializationOfRestrictIso |
| 28 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 29 | (e : M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 30 | FrameSections.restrictTrivializationOfOverIso M U |
| 31 | (Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e) = e := by |
| 32 | apply Iso.ext |
| 33 | simp only [FrameSections.restrictTrivializationOfOverIso, |
| 34 | Invertible.Scheme.Modules.overTrivializationOfRestrictIso, |
| 35 | Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, |
| 36 | Functor.FullyFaithful.preimageIso_hom, Functor.FullyFaithful.map_preimage, |
| 37 | Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 38 | exact ((Scheme.Modules.overFunctorEquiv U).app M).inv_hom_id_assoc e.hom |
| 39 | |
| 40 | theorem overTrivializationOfRestrictTrivializationOfOverIso |
| 41 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 42 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 43 | Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U |
| 44 | (FrameSections.restrictTrivializationOfOverIso M U e) = e := by |
| 45 | apply Iso.ext |
| 46 | apply (Scheme.Modules.overEquiv U).functor.map_injective |
| 47 | simp only [Invertible.Scheme.Modules.overTrivializationOfRestrictIso, |
| 48 | FrameSections.restrictTrivializationOfOverIso, Functor.FullyFaithful.preimageIso_hom, |
| 49 | Functor.FullyFaithful.map_preimage, Iso.trans_hom, Iso.symm_hom, |
| 50 | Functor.mapIso_hom, Category.assoc, |
| 51 | Iso.hom_inv_id, Category.comp_id] |
| 52 | exact ((Scheme.Modules.overFunctorEquiv U).app M).hom_inv_id_assoc |
| 53 | ((Scheme.Modules.overEquiv U).functor.map e.hom) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | namespace Scheme.Modules |
| 58 | |
| 59 | def openTopSection {X : Scheme.{u}} (U : X.Opens) (r : Γ(X, U)) : |
| 60 | Γ(U.toScheme, ⊤) := U.topIso.inv r |
| 61 | |
| 62 | /-- Restriction through the equivalent over-site, with the canonical unit frame. -/ |
| 63 | def restrictOpenTrivialization {X : Scheme.{u}} {M : X.Modules} |
| 64 | {U V : X.Opens} (hVU : V ≤ U) |
| 65 | (e : M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 66 | M.restrict V.ι ≅ Invertible.Scheme.Modules.unitObj V.toScheme := |
| 67 | FrameSections.restrictTrivializationOfOverIso M V |
| 68 | (Dual.SheafOfModules.restrictOverTrivialization |
| 69 | X.ringCatSheaf M U (Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e) |
| 70 | (Over.mk (homOfLE hVU))) |
| 71 | |
| 72 | theorem overTrivializationOfRestrictOpenTrivialization {X : Scheme.{u}} |
| 73 | {M : X.Modules} {U V : X.Opens} (hVU : V ≤ U) |
| 74 | (e : M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 75 | Invertible.Scheme.Modules.overTrivializationOfRestrictIso M V (restrictOpenTrivialization hVU e) = |
| 76 | Dual.SheafOfModules.restrictOverTrivialization |
| 77 | X.ringCatSheaf M U (Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e) |
| 78 | (Over.mk (homOfLE hVU)) := |
| 79 | overTrivializationOfRestrictTrivializationOfOverIso M V _ |
| 80 | |
| 81 | end Scheme.Modules |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenFrames |