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.CubeProductRightSlice |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductCechOverlaps |
| 3 | |
| 4 | /-! # Cube Product Cech Slices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductCechSlices.Construction.CubeCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational-point slices in the tensor coordinates of a finite product cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {k : Type u} [Field k] {X Y : Scheme.{u}} |
| 18 | (f : X ⟶ Spec (.of k)) (g : Y ⟶ Spec (.of k)) |
| 19 | {ι : Type v} {κ : Type w} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] |
| 20 | (U : ι → X.Opens) (V : κ → Y.Opens) |
| 21 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 22 | (hUU : ∀ i i', IsAffineOpen (U i ⊓ U i')) |
| 23 | (hVV : ∀ j j', IsAffineOpen (V j ⊓ V j')) |
| 24 | |
| 25 | theorem productCech10_slice |
| 26 | (s : Spec (.of k) ⟶ Y) (hs : s ≫ g = 𝟙 _) (j : κ) (hj : ⊤ ≤ s ⁻¹ᵁ V j) |
| 27 | (a : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U ⊗[k] |
| 28 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g) V) (i i' : ι) : |
| 29 | CubeProductSliceLinear.Construction.CubeCech.productSliceLeftLinearMap f g s hs (U i ⊓ U i') (V j) hj |
| 30 | (CubeProductCechOverlaps.Construction.CubeCech.productCech10Equiv f g U V hV hUU a i i' j) = |
| 31 | (TensorProduct.rid k _ |
| 32 | (TensorProduct.map LinearMap.id (CubePointEvaluation.Construction.CubeCech.pointCechRetraction g s hs V j hj) a)) i i' := by |
| 33 | induction a using TensorProduct.inductionOn with |
| 34 | | add a b ha hb => simp only [map_add, Pi.add_apply, ha, hb] |
| 35 | | tmul x y => |
| 36 | have he := (CubeProductCechOverlaps.Construction.CubeCech.productCech10Equiv_tmul f g U V hV hUU x y i i' j).trans |
| 37 | (CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i ⊓ U i') (V j) |
| 38 | (hUU i i') (hV j) (x i i') (y j)).symm |
| 39 | refine (congrArg (CubeProductSliceLinear.Construction.CubeCech.productSliceLeftLinearMap f g s hs (U i ⊓ U i') (V j) hj) he).trans ?_ |
| 40 | exact CubeProductSliceLinear.Construction.CubeCech.productSliceLeftLinearMap_tensor f g s hs (U i ⊓ U i') (V j) |
| 41 | (hUU i i') (hV j) hj (x i i' ⊗ₜ[k] y j) |
| 42 | |
| 43 | theorem productCech01_slice |
| 44 | (s : Spec (.of k) ⟶ X) (hs : s ≫ f = 𝟙 _) (i : ι) (hi : ⊤ ≤ s ⁻¹ᵁ U i) |
| 45 | (b : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U ⊗[k] |
| 46 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g) V) (j j' : κ) : |
| 47 | CubeProductRightSlice.Construction.CubeCech.productSliceRightLinearMap f g s hs (U i) (V j ⊓ V j') hi |
| 48 | (CubeProductCechOverlaps.Construction.CubeCech.productCech01Equiv f g U V hU hVV b i j j') = |
| 49 | (TensorProduct.lid k _ |
| 50 | (TensorProduct.map (CubePointEvaluation.Construction.CubeCech.pointCechRetraction f s hs U i hi) LinearMap.id b)) j j' := by |
| 51 | induction b using TensorProduct.inductionOn with |
| 52 | | add a b ha hb => simp only [map_add, Pi.add_apply, ha, hb] |
| 53 | | tmul x y => |
| 54 | have he := (CubeProductCechOverlaps.Construction.CubeCech.productCech01Equiv_tmul f g U V hU hVV x y i j j').trans |
| 55 | (CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i) (V j ⊓ V j') |
| 56 | (hU i) (hVV j j') (x i) (y j j')).symm |
| 57 | refine (congrArg (CubeProductRightSlice.Construction.CubeCech.productSliceRightLinearMap f g s hs (U i) (V j ⊓ V j') hi) he).trans ?_ |
| 58 | exact CubeProductRightSlice.Construction.CubeCech.productSliceRightLinearMap_tensor f g s hs (U i) (V j ⊓ V j') |
| 59 | (hU i) (hVV j j') hi (x i ⊗ₜ[k] y j j') |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductCechSlices.Construction.CubeCech |