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 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.DualFrameRestriction |
| 9 | |
| 10 | /-! # Dual Open Frames -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.DualOpenFrames |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! Duality commutes with restriction of the actual local rank-one frames. -/ |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 20 | universe u |
| 21 | |
| 22 | local instance (X : Scheme.{u}) : |
| 23 | ∀ U, IsMulCommutative (X.ringCatSheaf.obj.obj U) := fun U => by |
| 24 | change IsMulCommutative (X.presheaf.obj U) |
| 25 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 26 | |
| 27 | theorem dualOverFrame_restrict {X : Scheme.{u}} (M : X.Modules) |
| 28 | {U V : X.Opens} (hVU : V ≤ U) |
| 29 | (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 30 | Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf |
| 31 | (Dual.Scheme.Modules.dualObj M) U |
| 32 | (Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M U e) |
| 33 | (Over.mk (homOfLE hVU)) = |
| 34 | Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M V |
| 35 | (Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U e |
| 36 | (Over.mk (homOfLE hVU))) := by |
| 37 | apply Iso.ext |
| 38 | apply _root_.SheafOfModules.hom_ext |
| 39 | apply PresheafOfModules.hom_ext |
| 40 | intro W |
| 41 | apply ModuleCat.hom_ext |
| 42 | apply LinearMap.ext |
| 43 | intro α |
| 44 | rfl |
| 45 | |
| 46 | theorem restrictOpenTrivialization_dualRestrictIsoOfRestrictIso |
| 47 | {X : Scheme.{u}} (M : X.Modules) {U V : X.Opens} (hVU : V ≤ U) |
| 48 | (e : M.restrict U.ι ≅ Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 49 | OpenFrames.Scheme.Modules.restrictOpenTrivialization hVU |
| 50 | (Dual.Scheme.Modules.dualRestrictIsoOfRestrictIso M U e) = |
| 51 | FrameSections.restrictTrivializationOfOverIso (Dual.Scheme.Modules.dualObj M) V |
| 52 | (Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M V |
| 53 | (Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf M U |
| 54 | (Invertible.Scheme.Modules.overTrivializationOfRestrictIso M U e) |
| 55 | (Over.mk (homOfLE hVU)))) := by |
| 56 | rw [OpenFrames.Scheme.Modules.restrictOpenTrivialization, DualFrameRestriction.dualRestrictionFrame_eq, |
| 57 | OpenFrames.overTrivializationOfRestrictTrivializationOfOverIso, dualOverFrame_restrict] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.DualOpenFrames |