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 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGeneratorRestriction |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FrameSections |
| 3 | |
| 4 | /-! # Framed Local Hom -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.FramedLocalHom |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local module maps defined by a rank-one frame and a target section. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | |
| 16 | def framedLocalHom {X : Scheme.{u}} (L M : X.Modules) (U : X.Opens) |
| 17 | (e : L.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 18 | (s : Γ(M, U)) : L.over U ⟶ M.over U := e.hom ≫ OverGenerator.overGeneratorHom M U s |
| 19 | |
| 20 | theorem linearHomRestrict_frame {X : Scheme.{u}} (L : X.Modules) |
| 21 | {U V : X.Opens} (h : V ≤ U) |
| 22 | (e : L.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) : |
| 23 | LinearHom.linearHomRestrict X.ringCatSheaf L (Invertible.Scheme.Modules.unitObj X) |
| 24 | (homOfLE h).op e.hom = |
| 25 | (Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf L U e |
| 26 | (Over.mk (homOfLE h))).hom := by |
| 27 | apply _root_.SheafOfModules.hom_ext |
| 28 | apply PresheafOfModules.hom_ext |
| 29 | intro Z |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro x |
| 33 | rfl |
| 34 | |
| 35 | theorem framedLocalHom_restrict {X : Scheme.{u}} (L M : X.Modules) |
| 36 | {U V : X.Opens} (h : V ≤ U) |
| 37 | (e : L.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 38 | (s : Γ(M, U)) : |
| 39 | LinearHom.linearHomRestrict X.ringCatSheaf L M (homOfLE h).op (framedLocalHom L M U e s) = |
| 40 | framedLocalHom L M V |
| 41 | (Dual.SheafOfModules.restrictOverTrivialization X.ringCatSheaf L U e |
| 42 | (Over.mk (homOfLE h))) (M.presheaf.map (homOfLE h).op s) := by |
| 43 | unfold framedLocalHom |
| 44 | rw [OverGeneratorRestriction.linearHomRestrict_comp L (Invertible.Scheme.Modules.unitObj X) M, |
| 45 | linearHomRestrict_frame, OverGeneratorRestriction.linearHomRestrict_overGeneratorHom] |
| 46 | |
| 47 | theorem framedLocalHom_eq_of_transition {X : Scheme.{u}} (L M : X.Modules) |
| 48 | (U : X.Opens) |
| 49 | (e g : L.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 50 | (r : Γ(X, U)) (s t : Γ(M, U)) |
| 51 | (hg : g.hom = e.hom ≫ Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r) |
| 52 | (hs : s = r • t) : |
| 53 | framedLocalHom L M U e s = framedLocalHom L M U g t := by |
| 54 | unfold framedLocalHom |
| 55 | rw [hg, Category.assoc, OverGeneratorRestriction.overUnitScalarEnd_comp_overGeneratorHom, hs] |
| 56 | |
| 57 | theorem framedLocalHom_apply_frame {X : Scheme.{u}} (L M : X.Modules) |
| 58 | (U : X.Opens) |
| 59 | (e : L.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 60 | (s : Γ(M, U)) : |
| 61 | (framedLocalHom L M U e s).val.app (.op (Over.mk (𝟙 U))) |
| 62 | (FrameSections.overTrivializationSection L U e 1) = s := by |
| 63 | have he0 := congrArg (fun f => f.val.app (.op (Over.mk (𝟙 U)))) e.inv_hom_id |
| 64 | let oneU : (_root_.SheafOfModules.unit (X.ringCatSheaf.over U)).val.obj |
| 65 | (.op (Over.mk (𝟙 U))) := (show Γ(X, U) from 1) |
| 66 | have he := ConcreteCategory.congr_hom he0 oneU |
| 67 | change e.hom.val.app (.op (Over.mk (𝟙 U))) |
| 68 | (FrameSections.overTrivializationSection L U e 1) = (show Γ(X, U) from 1) at he |
| 69 | change (OverGenerator.overGeneratorHom M U s).val.app (.op (Over.mk (𝟙 U))) |
| 70 | (e.hom.val.app (.op (Over.mk (𝟙 U))) (FrameSections.overTrivializationSection L U e 1)) = s |
| 71 | rw [he, OverGenerator.overGeneratorHom_app] |
| 72 | change (1 : Γ(X, U)) • M.presheaf.map (𝟙 (.op U)) s = s |
| 73 | rw [M.presheaf.map_id, ConcreteCategory.id_apply, one_smul] |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.FramedLocalHom |