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.OpenFrame.SectionModules |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionUnits |
| 3 | |
| 4 | /-! # Tuple Restrictions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.TupleRestrictions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate tuples restrict semilinearly along inclusions of opens, with the actual restriction homomorphism on coefficient rings. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type u} (U : ι → X.Opens) |
| 17 | |
| 18 | def openFrameTupleRestriction {V W : X.Opens} (h : W ≤ V) : |
| 19 | SectionModules.OpenFrameLocalTuple U V →ₛₗ[(X.presheaf.map (homOfLE h).op).hom] SectionModules.OpenFrameLocalTuple U W where |
| 20 | toFun s i := X.presheaf.map (homOfLE (inf_le_inf h (le_refl (U i)))).op (s i) |
| 21 | map_add' s t := funext (fun i => (X.presheaf.map (homOfLE (inf_le_inf h (le_refl (U i)))).op).hom.map_add (s i) (t i)) |
| 22 | map_smul' r s := by |
| 23 | funext i |
| 24 | let a : W ⊓ U i ≤ V ⊓ U i := inf_le_inf h (le_refl (U i)) |
| 25 | change X.presheaf.map (homOfLE a).op |
| 26 | (@Mul.mul Γ(X, V ⊓ U i) inferInstance |
| 27 | (X.presheaf.map (homOfLE (show V ⊓ U i ≤ V from inf_le_left)).op r) (s i)) = |
| 28 | @Mul.mul Γ(X, W ⊓ U i) inferInstance |
| 29 | (X.presheaf.map (homOfLE (show W ⊓ U i ≤ W from inf_le_left)).op |
| 30 | (X.presheaf.map (homOfLE h).op r)) |
| 31 | (X.presheaf.map (homOfLE a).op (s i)) |
| 32 | have hc := (Relative.OpenFunctionUnits.openFunction_restriction_comp (show V ⊓ U i ≤ V from inf_le_left) a r).trans |
| 33 | (Relative.OpenFunctionUnits.openFunction_restriction_comp h (show W ⊓ U i ≤ W from inf_le_left) r).symm |
| 34 | exact ((X.presheaf.map (homOfLE a).op).hom.map_mul _ _).trans |
| 35 | (congrArg (fun z : Γ(X, W ⊓ U i) => z * (X.presheaf.map (homOfLE a).op (s i))) hc) |
| 36 | |
| 37 | theorem openFrameTupleRestriction_refl (V : X.Opens) (s : SectionModules.OpenFrameLocalTuple U V) : |
| 38 | openFrameTupleRestriction U (le_refl V) s = s := by |
| 39 | funext i |
| 40 | exact ConcreteCategory.congr_hom (X.presheaf.map_id (.op (V ⊓ U i))) (s i) |
| 41 | |
| 42 | theorem openFrameTupleRestriction_comp {V W Z : X.Opens} (h : W ≤ V) (k : Z ≤ W) |
| 43 | (s : SectionModules.OpenFrameLocalTuple U V) : |
| 44 | openFrameTupleRestriction U k (openFrameTupleRestriction U h s) = |
| 45 | openFrameTupleRestriction U (k.trans h) s := by |
| 46 | funext i |
| 47 | exact Relative.OpenFunctionUnits.openFunction_restriction_comp (inf_le_inf h (le_refl (U i))) (inf_le_inf k (le_refl (U i))) (s i) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.TupleRestrictions |