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.Local.TensorAssociatorValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.OpenIsomorphismGluing |
| 3 | |
| 4 | /-! # Associator Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Associativity of tensor products of line bundles, constructed by gluing frame-independent local isomorphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} |
| 17 | |
| 18 | structure Tensor.AssociatorGluing.TripleTensorFrameOpen (L M N : Line.Bundles.LineBundle X) where |
| 19 | openSet : X.Opens |
| 20 | leftFrame : Line.Bundles.structureModule openSet.toScheme ≅ (Scheme.Modules.pullback openSet.ι).obj L.sheaf |
| 21 | middleFrame : Line.Bundles.structureModule openSet.toScheme ≅ (Scheme.Modules.pullback openSet.ι).obj M.sheaf |
| 22 | rightFrame : Line.Bundles.structureModule openSet.toScheme ≅ (Scheme.Modules.pullback openSet.ι).obj N.sheaf |
| 23 | |
| 24 | def Tensor.AssociatorGluing.tripleTensorFrameCover (L M N : Line.Bundles.LineBundle X) : Tensor.AssociatorGluing.TripleTensorFrameOpen L M N → X.Opens := |
| 25 | Tensor.AssociatorGluing.TripleTensorFrameOpen.openSet |
| 26 | |
| 27 | theorem Tensor.AssociatorGluing.tripleTensorFrameCover_covers (L M N : Line.Bundles.LineBundle X) (x : X) : |
| 28 | ∃ i : Tensor.AssociatorGluing.TripleTensorFrameOpen L M N, x ∈ Tensor.AssociatorGluing.tripleTensorFrameCover L M N i := by |
| 29 | obtain ⟨U, hxU, ⟨e⟩⟩ := L.locallyTrivial x |
| 30 | obtain ⟨V, hxV, ⟨f⟩⟩ := M.locallyTrivial x |
| 31 | obtain ⟨W, hxW, ⟨g⟩⟩ := N.locallyTrivial x |
| 32 | exact ⟨⟨(U ⊓ V) ⊓ W, (L.frameRestrict (inf_le_left.trans inf_le_left) e).symm, |
| 33 | (M.frameRestrict (inf_le_left.trans inf_le_right) f).symm, |
| 34 | (N.frameRestrict inf_le_right g).symm⟩, ⟨hxU, hxV⟩, hxW⟩ |
| 35 | |
| 36 | def Tensor.AssociatorGluing.tensorAssociatorData (L M N : Line.Bundles.LineBundle X) : |
| 37 | Module.OpenMapGluing.OpenCoverModuleMaps (Tensor.AssociatorGluing.tripleTensorFrameCover L M N) |
| 38 | (Tensor.ProductSheaf.tensorModule (Tensor.ProductSheaf.tensorModule L.sheaf M.sheaf) N.sheaf) |
| 39 | (Tensor.ProductSheaf.tensorModule L.sheaf (Tensor.ProductSheaf.tensorModule M.sheaf N.sheaf)) where |
| 40 | localMap i := (Local.TensorAssociator.localTensorAssociatorRestrictionIso i.openSet.ι |
| 41 | i.leftFrame.hom i.middleFrame.hom i.rightFrame.hom).hom |
| 42 | agree i j V hi hj := by |
| 43 | change V ≤ i.openSet at hi |
| 44 | change V ≤ j.openSet at hj |
| 45 | let f : V.toScheme ⟶ i.openSet.toScheme := X.homOfLE hi |
| 46 | let g : V.toScheme ⟶ j.openSet.toScheme := X.homOfLE hj |
| 47 | have : IsOpenImmersion f := inferInstanceAs (IsOpenImmersion (X.homOfLE hi)) |
| 48 | have : IsOpenImmersion g := inferInstanceAs (IsOpenImmersion (X.homOfLE hj)) |
| 49 | have hfi : f ≫ i.openSet.ι = V.ι := X.homOfLE_ι hi |
| 50 | have hgj : g ≫ j.openSet.ι = V.ι := X.homOfLE_ι hj |
| 51 | have hiV : V ≤ (f ≫ i.openSet.ι).opensRange := by |
| 52 | intro x hx |
| 53 | change ∃ y : V.toScheme, (f ≫ i.openSet.ι) y = x |
| 54 | exact ⟨⟨x, hx⟩, congrArg (fun k : V.toScheme ⟶ X => k ⟨x, hx⟩) hfi⟩ |
| 55 | have hjV : V ≤ (g ≫ j.openSet.ι).opensRange := by |
| 56 | intro x hx |
| 57 | change ∃ y : V.toScheme, (g ≫ j.openSet.ι) y = x |
| 58 | exact ⟨⟨x, hx⟩, congrArg (fun k : V.toScheme ⟶ X => k ⟨x, hx⟩) hgj⟩ |
| 59 | have hiR : V ≤ i.openSet.ι.opensRange := by rwa [i.openSet.opensRange_ι] |
| 60 | have hjR : V ≤ j.openSet.ι.opensRange := by rwa [j.openSet.opensRange_ι] |
| 61 | have H : Local.TensorAssociatorValues.localTensorAssociatorValue i.openSet.ι i.leftFrame i.middleFrame i.rightFrame V hiR = |
| 62 | Local.TensorAssociatorValues.localTensorAssociatorValue j.openSet.ι j.leftFrame j.middleFrame j.rightFrame V hjR := |
| 63 | (Local.TensorAssociatorValues.localTensorAssociatorValue_comp f i.openSet.ι i.leftFrame i.middleFrame i.rightFrame V hiV).symm.trans |
| 64 | ((Local.TensorAssociatorValues.localTensorAssociatorValue_congr (hfi.trans hgj.symm) |
| 65 | (Local.TensorPowerValues.refinedPullbackFrame f i.openSet.ι i.leftFrame) (Local.TensorPowerValues.refinedPullbackFrame g j.openSet.ι j.leftFrame) |
| 66 | (Local.TensorPowerValues.refinedPullbackFrame f i.openSet.ι i.middleFrame) (Local.TensorPowerValues.refinedPullbackFrame g j.openSet.ι j.middleFrame) |
| 67 | (Local.TensorPowerValues.refinedPullbackFrame f i.openSet.ι i.rightFrame) (Local.TensorPowerValues.refinedPullbackFrame g j.openSet.ι j.rightFrame) |
| 68 | V hiV hjV).trans |
| 69 | (Local.TensorAssociatorValues.localTensorAssociatorValue_comp g j.openSet.ι j.leftFrame j.middleFrame j.rightFrame V hjV)) |
| 70 | exact (Local.TensorAssociatorValues.localTensorAssociatorValue_restriction i.openSet.ι i.leftFrame i.middleFrame i.rightFrame V hiR).trans |
| 71 | (H.trans (Local.TensorAssociatorValues.localTensorAssociatorValue_restriction j.openSet.ι j.leftFrame j.middleFrame j.rightFrame V hjR).symm) |
| 72 | |
| 73 | def Line.Bundles.LineBundle.tensorAssocIso (L M N : Line.Bundles.LineBundle X) : |
| 74 | ((L.tensor M).tensor N).sheaf ≅ (L.tensor (M.tensor N)).sheaf := |
| 75 | (Tensor.AssociatorGluing.tensorAssociatorData L M N).glueIso (Tensor.AssociatorGluing.tripleTensorFrameCover_covers L M N) |
| 76 | (fun i => inferInstanceAs (IsIso (Local.TensorAssociator.localTensorAssociatorRestrictionIso i.openSet.ι |
| 77 | i.leftFrame.hom i.middleFrame.hom i.rightFrame.hom).hom)) |
| 78 | |
| 79 | theorem Line.Bundles.LineBundle.tensorAssocIso_restrict (L M N : Line.Bundles.LineBundle X) (i : Tensor.AssociatorGluing.TripleTensorFrameOpen L M N) : |
| 80 | (Scheme.Modules.restrictFunctor i.openSet.ι).map (L.tensorAssocIso M N).hom = |
| 81 | (Local.TensorAssociator.localTensorAssociatorRestrictionIso i.openSet.ι |
| 82 | i.leftFrame.hom i.middleFrame.hom i.rightFrame.hom).hom := |
| 83 | (Tensor.AssociatorGluing.tensorAssociatorData L M N).glueIso_restrict (Tensor.AssociatorGluing.tripleTensorFrameCover_covers L M N) _ i |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |