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.DualOpenFrames |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverFrameTransitions |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.DualFrameTransition |
| 4 | |
| 5 | /-! # Over Frame -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OverFrame |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalar transition formulas for dual frames and their sections. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.OverFrameTransitions |
| 20 | |
| 21 | variable {X : Scheme.{u}} (M : X.Modules) {U V W : X.Opens} |
| 22 | variable (hU : W ≤ U) (hV : W ≤ V) |
| 23 | variable (e : M.over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 24 | variable (f : M.over V ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over V)) |
| 25 | |
| 26 | local instance (Y : Scheme.{u}) : |
| 27 | ∀ A, IsMulCommutative (Y.ringCatSheaf.obj.obj A) := fun A => by |
| 28 | change IsMulCommutative (Y.presheaf.obj A) |
| 29 | exact IsMulCommutative.of_comm fun a b => mul_comm a b |
| 30 | |
| 31 | theorem dual (r : Γ(X, W)) |
| 32 | (h : (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 33 | X.ringCatSheaf M V f (Over.mk (homOfLE hV))).hom = |
| 34 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 35 | X.ringCatSheaf M U e (Over.mk (homOfLE hU))).hom ≫ |
| 36 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W r) : |
| 37 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 38 | X.ringCatSheaf (SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M) U |
| 39 | (SheafCohomology.Projective.Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M U e) |
| 40 | (Over.mk (homOfLE hU))).hom = |
| 41 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 42 | X.ringCatSheaf (SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M) V |
| 43 | (SheafCohomology.Projective.Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M V f) |
| 44 | (Over.mk (homOfLE hV))).hom ≫ |
| 45 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W r := by |
| 46 | rw [SheafCohomology.Projective.DualOpenFrames.dualOverFrame_restrict, SheafCohomology.Projective.DualOpenFrames.dualOverFrame_restrict] |
| 47 | exact SheafCohomology.Projective.OverFrameTransitions.dualOverIsoOfIso_hom_eq_comp_scalar M W _ _ r h |
| 48 | |
| 49 | theorem sections (a : Γ(X, U)) (b : Γ(X, V)) (r : Γ(X, W)) |
| 50 | (h : SheafCohomology.Projective.DualFrameTransition.FrameTransition (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 51 | X.ringCatSheaf M U e (Over.mk (homOfLE hU))) |
| 52 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 53 | X.ringCatSheaf M V f (Over.mk (homOfLE hV))) |
| 54 | (SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W r)) |
| 55 | (hab : X.presheaf.map (homOfLE hU).op a = X.presheaf.map (homOfLE hV).op b * r) : |
| 56 | M.presheaf.map (homOfLE hU).op (SheafCohomology.Projective.FrameSections.overTrivializationSection M U e a) = |
| 57 | M.presheaf.map (homOfLE hV).op (SheafCohomology.Projective.FrameSections.overTrivializationSection M V f b) := by |
| 58 | rw [SheafCohomology.Projective.FrameSections.overTrivializationSection_restrict, SheafCohomology.Projective.FrameSections.overTrivializationSection_restrict] |
| 59 | exact SheafCohomology.Projective.FrameSections.overTrivializationSection_eq_of_transition M W _ _ r _ _ h hab |
| 60 | |
| 61 | theorem dual_chosen |
| 62 | (a : (SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M).over U ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over U)) |
| 63 | (b : (SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M).over V ≅ _root_.SheafOfModules.unit (X.ringCatSheaf.over V)) |
| 64 | (ha : a = SheafCohomology.Projective.Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M U e) |
| 65 | (hb : b = SheafCohomology.Projective.Dual.SheafOfModules.dualOverIsoOfIso X.ringCatSheaf M V f) |
| 66 | (r : Γ(X, W)) |
| 67 | (h : (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 68 | X.ringCatSheaf M V f (Over.mk (homOfLE hV))).hom = |
| 69 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 70 | X.ringCatSheaf M U e (Over.mk (homOfLE hU))).hom ≫ |
| 71 | SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W r) : |
| 72 | SheafCohomology.Projective.DualFrameTransition.FrameTransition |
| 73 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 74 | X.ringCatSheaf (SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M) U a (Over.mk (homOfLE hU))) |
| 75 | (SheafCohomology.Projective.Dual.SheafOfModules.restrictOverTrivialization |
| 76 | X.ringCatSheaf (SheafCohomology.Projective.Dual.Scheme.Modules.dualObj M) V b (Over.mk (homOfLE hV))) |
| 77 | (SheafCohomology.Projective.Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf W r) := by |
| 78 | rw [ha, hb] |
| 79 | exact dual M hU hV e f r h |
| 80 | |
| 81 | end Construction.OverFrameTransitions |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OverFrame |