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.TupleRestrictions |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Tuple Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.TupleSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arbitrary tuples of regular functions on intersections with fixed opens form a sheaf; gluing is performed in each actual section ring. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {ι : Type u} (U : ι → X.Opens) |
| 17 | |
| 18 | def openFrameTuplePresheaf : TopCat.Presheaf (Type u) X where |
| 19 | obj V := SectionModules.OpenFrameLocalTuple U V.unop |
| 20 | map h := TypeCat.ofHom (TupleRestrictions.openFrameTupleRestriction U h.unop.le) |
| 21 | map_id V := by |
| 22 | apply ConcreteCategory.hom_ext |
| 23 | intro s |
| 24 | exact TupleRestrictions.openFrameTupleRestriction_refl U V.unop s |
| 25 | map_comp h k := by |
| 26 | apply ConcreteCategory.hom_ext |
| 27 | intro s |
| 28 | exact (TupleRestrictions.openFrameTupleRestriction_comp U h.unop.le k.unop.le s).symm |
| 29 | |
| 30 | theorem openFrameTuple_components_compatible {α : Type u} (V : α → X.Opens) |
| 31 | (s : ∀ a, SectionModules.OpenFrameLocalTuple U (V a)) |
| 32 | (hs : ∀ a b, TupleRestrictions.openFrameTupleRestriction U (show V a ⊓ V b ≤ V a from inf_le_left) (s a) = |
| 33 | TupleRestrictions.openFrameTupleRestriction U (show V a ⊓ V b ≤ V b from inf_le_right) (s b)) (i : ι) : |
| 34 | X.presheaf.IsCompatible (fun a => V a ⊓ U i) (fun a => s a i) := by |
| 35 | intro a b |
| 36 | let Z := (V a ⊓ U i) ⊓ (V b ⊓ U i) |
| 37 | have hz : Z ≤ (V a ⊓ V b) ⊓ U i := |
| 38 | le_inf (le_inf (inf_le_left.trans inf_le_left) (inf_le_right.trans inf_le_left)) |
| 39 | (inf_le_left.trans inf_le_right) |
| 40 | have he := congrArg (fun t : SectionModules.OpenFrameLocalTuple U (V a ⊓ V b) => t i) (hs a b) |
| 41 | have hr := congrArg (fun z : Γ(X, (V a ⊓ V b) ⊓ U i) => X.presheaf.map (homOfLE hz).op z) he |
| 42 | exact (Relative.OpenFunctionUnits.openFunction_restriction_comp (inf_le_inf (show V a ⊓ V b ≤ V a from inf_le_left) |
| 43 | (le_refl (U i))) hz (s a i)).symm.trans |
| 44 | (hr.trans (Relative.OpenFunctionUnits.openFunction_restriction_comp (inf_le_inf (show V a ⊓ V b ≤ V b from inf_le_right) |
| 45 | (le_refl (U i))) hz (s b i))) |
| 46 | |
| 47 | theorem openFrameTuplePresheaf_isSheaf : (openFrameTuplePresheaf U).IsSheaf := by |
| 48 | apply (TopCat.Presheaf.isSheaf_iff_isSheafUniqueGluing_types _).mpr |
| 49 | intro α V s hs |
| 50 | have hcoord (i : ι) : ∃! t : Γ(X, (iSup V) ⊓ U i), ∀ a, |
| 51 | X.presheaf.map (homOfLE (inf_le_inf (le_iSup V a) (le_refl (U i)))).op t = s a i := by |
| 52 | apply X.sheaf.existsUnique_gluing' (fun a => V a ⊓ U i) ((iSup V) ⊓ U i) |
| 53 | (fun a => homOfLE (inf_le_inf (le_iSup V a) (le_refl (U i)))) |
| 54 | · intro x hx |
| 55 | obtain ⟨a, ha⟩ := Opens.mem_iSup.mp hx.1 |
| 56 | exact Opens.mem_iSup.mpr ⟨a, ha, hx.2⟩ |
| 57 | · exact openFrameTuple_components_compatible U V s hs i |
| 58 | choose t ht hu using hcoord |
| 59 | refine ⟨t, ?_, ?_⟩ |
| 60 | · intro a |
| 61 | funext i |
| 62 | exact ht i a |
| 63 | · intro q hq |
| 64 | funext i |
| 65 | exact hu i (q i) (fun a => congrFun (hq a) i) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.TupleSheaf |