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.Quotients.FiniteDescent.CubeProductSlices |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeRelativeSectionsPullback |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Associator |
| 4 | |
| 5 | /-! # Cube Product Slice Linear -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductSliceLinear.Construction.CubeCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Rational-point slice restriction is the tensor projection defined by point evaluation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {k : Type u} [Field k] {X Y : Scheme.{u}} |
| 19 | (f : X ⟶ Spec (.of k)) (g : Y ⟶ Spec (.of k)) |
| 20 | (s : Spec (.of k) ⟶ Y) (hs : s ≫ g = 𝟙 _) |
| 21 | |
| 22 | theorem productSliceLeft_over : CubeProductSlices.Construction.CubeCech.productSliceLeft f g s hs ≫ (pullback.fst f g ≫ f) = f := by |
| 23 | rw [← Category.assoc, CubeProductSlices.Construction.CubeCech.productSliceLeft_fst, Category.id_comp] |
| 24 | |
| 25 | def productSliceLeftLinearMap (U : X.Opens) (V : Y.Opens) (hV : ⊤ ≤ s ⁻¹ᵁ V) : |
| 26 | (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf (pullback.fst f g ≫ f)).obj.obj |
| 27 | (op (CubeProductSections.Construction.CubeCech.productRectangle f g U V)) →ₗ[k] |
| 28 | (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f).obj.obj (op U) := |
| 29 | (CubeRelativeSectionsPullback.Construction.CubeCech.relativeSectionsCongr (productSliceLeft_over f g s hs) U).toLinearMap.comp |
| 30 | (CubeRelativeSectionsPullback.Construction.CubeCech.relativeSectionsPullback (pullback.fst f g ≫ f) (CubeProductSlices.Construction.CubeCech.productSliceLeft f g s hs) |
| 31 | (CubeProductSections.Construction.CubeCech.productRectangle f g U V) U (CubeProductSlices.Construction.CubeCech.productSliceLeft_rectangle_preimage f g s hs U V hV)) |
| 32 | |
| 33 | theorem productSliceLeftLinearMap_apply (U : X.Opens) (V : Y.Opens) (hV : ⊤ ≤ s ⁻¹ᵁ V) |
| 34 | (x : (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf (pullback.fst f g ≫ f)).obj.obj |
| 35 | (op (CubeProductSections.Construction.CubeCech.productRectangle f g U V))) : |
| 36 | (productSliceLeftLinearMap f g s hs U V hV x : Γ(X, U)) = |
| 37 | CubeProductSlices.Construction.CubeCech.productSliceLeftSectionMap f g s hs U V hV x := by |
| 38 | exact (CubeRelativeSectionsPullback.Construction.CubeCech.relativeSectionsCongr_apply (productSliceLeft_over f g s hs) U _).trans |
| 39 | (CubeRelativeSectionsPullback.Construction.CubeCech.relativeSectionsPullback_apply _ _ _ _ _ x) |
| 40 | |
| 41 | theorem productSliceLeftLinearMap_tensor (U : X.Opens) (V : Y.Opens) |
| 42 | (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hsV : ⊤ ≤ s ⁻¹ᵁ V) |
| 43 | (z : (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f).obj.obj (op U) ⊗[k] |
| 44 | (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g).obj.obj (op V)) : |
| 45 | productSliceLeftLinearMap f g s hs U V hsV |
| 46 | (CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv f g U V hU hV z) = |
| 47 | TensorProduct.rid k _ (TensorProduct.map LinearMap.id (CubePointEvaluation.Construction.CubeCech.pointEvaluationLinearMap g s hs V hsV) z) := by |
| 48 | induction z using TensorProduct.inductionOn with |
| 49 | | add z w hz hw => simp only [map_add, hz, hw] |
| 50 | | tmul x y => |
| 51 | exact (productSliceLeftLinearMap_apply f g s hs U V hsV _).trans |
| 52 | (CubeProductSlices.Construction.CubeCech.productSliceLeftSectionMap_tmul f g s hs U V hU hV hsV x y) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductSliceLinear.Construction.CubeCech |