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.AbelianModuli.HilbertConstruction.Bilinear.Sheaves |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleSheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.InverseFrameTransitions |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.GlobalTuples |
| 5 | |
| 6 | /-! # Frame Coefficient Tuples -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bilinear.FrameCoefficientTuples |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A bilinear pairing with reciprocal local frames gives a linear tuple of prospective section coefficients. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} {ι : Type u} {U : ι → X.Opens} {D : OpenFrame.Transitions.OpenFrameTransitions U} |
| 19 | variable {M Q : X.Modules} (F : CompatibleSheaf.CompatibleSheafFrames D.reciprocal Q) |
| 20 | variable (β : Sheaves.SheafBilinearMap M Q (Line.Bundles.structureModule X)) |
| 21 | |
| 22 | def pairingFrameCoefficient (s : Γ(M, ⊤)) (i : ι) : Γ(X, U i) := |
| 23 | β.app (U i) (M.presheaf.map (U i).leTop.op s) (F.frame (U i) i le_rfl 1) |
| 24 | |
| 25 | def pairingFrameTupleMap : Γ(M, ⊤) →ₗ[Γ(X, ⊤)] OpenFrame.GlobalTuples.OpenFrameGlobalTuple U where |
| 26 | toFun s i := pairingFrameCoefficient F β s i |
| 27 | map_add' s t := by |
| 28 | ext i |
| 29 | change β.app (U i) (M.presheaf.map (U i).leTop.op (s + t)) (F.frame (U i) i le_rfl 1) = _ |
| 30 | rw [map_add, map_add, LinearMap.add_apply] |
| 31 | rfl |
| 32 | map_smul' r s := by |
| 33 | ext i |
| 34 | change β.app (U i) (M.presheaf.map (U i).leTop.op (r • s)) (F.frame (U i) i le_rfl 1) = |
| 35 | X.presheaf.map (U i).leTop.op r * pairingFrameCoefficient F β s i |
| 36 | rw [M.map_smul, LinearMap.map_smul, LinearMap.smul_apply] |
| 37 | rfl |
| 38 | |
| 39 | theorem pairingFrameCoefficient_restrict (s : Γ(M, ⊤)) (V : X.Opens) (i : ι) (hi : V ≤ U i) : |
| 40 | X.presheaf.map (homOfLE hi).op (pairingFrameCoefficient F β s i) = |
| 41 | β.app V (M.presheaf.map V.leTop.op s) (F.frame V i hi 1) := by |
| 42 | have h := β.naturality (homOfLE hi) (M.presheaf.map (U i).leTop.op s) |
| 43 | (F.frame (U i) i le_rfl 1) |
| 44 | have hf := (F.restrict (U i) V hi i le_rfl 1).trans |
| 45 | (congrArg (F.frame V i hi) ((X.presheaf.map (homOfLE hi).op).hom.map_one)) |
| 46 | have hs : M.presheaf.map (homOfLE hi).op (M.presheaf.map (U i).leTop.op s) = |
| 47 | M.presheaf.map V.leTop.op s := by |
| 48 | rw [← M.presheaf.map_comp_apply] |
| 49 | rfl |
| 50 | exact h.trans (congrArg₂ (fun (a : Γ(M, V)) (b : Γ(Q, V)) => β.app V a b) hs hf) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bilinear.FrameCoefficientTuples |