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.Invertible |
| 8 | |
| 9 | /-! # Restriction Unit -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.RestrictionUnit |
| 12 | |
| 13 | /-! The restriction/pullback comparison respects the canonical structure module. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | universe u |
| 18 | |
| 19 | theorem restrictAdjunction_unitHom {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 20 | [IsOpenImmersion f] : |
| 21 | (Scheme.Modules.restrictAdjunction f).homEquiv _ _ |
| 22 | (Scheme.Modules.restrictUnitIso f).hom = |
| 23 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom := by |
| 24 | apply SheafOfModules.hom_ext |
| 25 | ext U |
| 26 | change (f.appIso (f ⁻¹ᵁ U.unop)).hom |
| 27 | (Y.presheaf.map (homOfLE (f.image_preimage_le U.unop)).op |
| 28 | (1 : Γ(Y, U.unop))) = f.app U.unop 1 |
| 29 | simp only [map_one] |
| 30 | |
| 31 | theorem restrictFunctorIsoPullback_inv_comp_restrictUnitIso |
| 32 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] : |
| 33 | (Scheme.Modules.restrictFunctorIsoPullback f).inv.app |
| 34 | (Invertible.Scheme.Modules.unitObj Y) ≫ (Scheme.Modules.restrictUnitIso f).hom = |
| 35 | (Invertible.Scheme.Modules.pullbackUnitIso f).hom := by |
| 36 | let er := (Scheme.Modules.restrictFunctorIsoPullback f).app (Invertible.Scheme.Modules.unitObj Y) |
| 37 | apply (cancel_epi er.hom).1 |
| 38 | change er.hom ≫ er.inv ≫ (Scheme.Modules.restrictUnitIso f).hom = _ |
| 39 | rw [Iso.hom_inv_id_assoc] |
| 40 | apply ((Scheme.Modules.restrictAdjunction f).homEquiv _ _).injective |
| 41 | rw [restrictAdjunction_unitHom, Adjunction.homEquiv_naturality_right] |
| 42 | change _ = ((Scheme.Modules.restrictAdjunction f).homEquiv _ _ |
| 43 | (((Scheme.Modules.restrictAdjunction f).leftAdjointUniq |
| 44 | (Scheme.Modules.pullbackPushforwardAdjunction f)).hom.app |
| 45 | (Invertible.Scheme.Modules.unitObj Y))) ≫ _ |
| 46 | rw [Adjunction.homEquiv_leftAdjointUniq_hom_app] |
| 47 | exact (SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit |
| 48 | f.toRingCatSheafHom).symm |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.RestrictionUnit |