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.CubeProductCechDifferentials |
| 2 | |
| 3 | /-! # Cube Product Cech Mixed -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductCechMixed.Construction.CubeCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The mixed Cech differentials agree with the tensor differentials in product coordinates. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {k : Type u} [Field k] {X Y : Scheme.{u}} |
| 17 | (f : X ⟶ Spec (.of k)) (g : Y ⟶ Spec (.of k)) |
| 18 | {ι : Type v} {κ : Type w} [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] |
| 19 | (U : ι → X.Opens) (V : κ → Y.Opens) |
| 20 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 21 | (hUU : ∀ i i', IsAffineOpen (U i ⊓ U i')) |
| 22 | |
| 23 | variable (hVV : ∀ j j', IsAffineOpen (V j ⊓ V j')) |
| 24 | |
| 25 | theorem productCech_mixed_vertical_differential |
| 26 | (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U ⊗[k] |
| 27 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g) V) (i i' : ι) (j j' : κ) : |
| 28 | CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv f g U V hUU hVV |
| 29 | (TensorProduct.map LinearMap.id (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g) V) z) i i' j j' = |
| 30 | ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g (𝟙 (U i ⊓ U i')) (homOfLE inf_le_right : V j ⊓ V j' ⟶ V j') |
| 31 | (CubeProductCechOverlaps.Construction.CubeCech.productCech10Equiv f g U V hV hUU z i i' j') - |
| 32 | ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g (𝟙 (U i ⊓ U i')) (homOfLE inf_le_left : V j ⊓ V j' ⟶ V j) |
| 33 | (CubeProductCechOverlaps.Construction.CubeCech.productCech10Equiv f g U V hV hUU z i i' j) := by |
| 34 | induction z using TensorProduct.inductionOn with |
| 35 | | add z w hz hw => |
| 36 | simp only [map_add, Pi.add_apply, hz, hw] |
| 37 | abel |
| 38 | | tmul x y => |
| 39 | rw [TensorProduct.map_tmul, LinearMap.id_apply] |
| 40 | have hleft := (CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv_tmul f g U V hUU hVV |
| 41 | x (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g) V y) i i' j j').trans |
| 42 | (CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i ⊓ U i') (V j ⊓ V j') |
| 43 | (hUU i i') (hVV j j') (x i i') _).symm |
| 44 | refine hleft.trans ?_ |
| 45 | change CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv f g (U i ⊓ U i') (V j ⊓ V j') (hUU i i') (hVV j j') |
| 46 | (x i i' ⊗ₜ[k] ((CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g).obj.map |
| 47 | (homOfLE inf_le_right : V j ⊓ V j' ⟶ V j').op (y j') - |
| 48 | (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g).obj.map |
| 49 | (homOfLE inf_le_left : V j ⊓ V j' ⟶ V j).op (y j))) = _ |
| 50 | rw [TensorProduct.tmul_sub, map_sub] |
| 51 | apply congrArg₂ (fun a b ↦ a - b) |
| 52 | · exact (ProductSectionsOneFactor.Construction.CubeCech.productRectangleModuleSectionsEquiv_restrict_right_tmul f g |
| 53 | (U i ⊓ U i') (homOfLE inf_le_right : V j ⊓ V j' ⟶ V j') (hUU i i') (hV j') (hVV j j') |
| 54 | (x i i') (y j')).trans |
| 55 | (congrArg (ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g (𝟙 (U i ⊓ U i')) |
| 56 | (homOfLE inf_le_right : V j ⊓ V j' ⟶ V j')) |
| 57 | ((CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i ⊓ U i') (V j') (hUU i i') (hV j') |
| 58 | (x i i') (y j')).trans (CubeProductCechOverlaps.Construction.CubeCech.productCech10Equiv_tmul f g U V hV hUU x y i i' j').symm)) |
| 59 | · exact (ProductSectionsOneFactor.Construction.CubeCech.productRectangleModuleSectionsEquiv_restrict_right_tmul f g |
| 60 | (U i ⊓ U i') (homOfLE inf_le_left : V j ⊓ V j' ⟶ V j) (hUU i i') (hV j) (hVV j j') |
| 61 | (x i i') (y j)).trans |
| 62 | (congrArg (ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g (𝟙 (U i ⊓ U i')) |
| 63 | (homOfLE inf_le_left : V j ⊓ V j' ⟶ V j)) |
| 64 | ((CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i ⊓ U i') (V j) (hUU i i') (hV j) |
| 65 | (x i i') (y j)).trans (CubeProductCechOverlaps.Construction.CubeCech.productCech10Equiv_tmul f g U V hV hUU x y i i' j).symm)) |
| 66 | |
| 67 | theorem productCech_mixed_horizontal_differential |
| 68 | (z : OpenCechDegreeZero.Construction.CubeCech.openModuleCechC0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U ⊗[k] |
| 69 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechC1 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf g) V) (i i' : ι) (j j' : κ) : |
| 70 | CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv f g U V hUU hVV |
| 71 | (TensorProduct.map (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U) LinearMap.id z) i i' j j' = |
| 72 | ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g (homOfLE inf_le_right : U i ⊓ U i' ⟶ U i') (𝟙 (V j ⊓ V j')) |
| 73 | (CubeProductCechOverlaps.Construction.CubeCech.productCech01Equiv f g U V hU hVV z i' j j') - |
| 74 | ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g (homOfLE inf_le_left : U i ⊓ U i' ⟶ U i) (𝟙 (V j ⊓ V j')) |
| 75 | (CubeProductCechOverlaps.Construction.CubeCech.productCech01Equiv f g U V hU hVV z i j j') := by |
| 76 | induction z using TensorProduct.inductionOn with |
| 77 | | add z w hz hw => |
| 78 | simp only [map_add, Pi.add_apply, hz, hw] |
| 79 | abel |
| 80 | | tmul x y => |
| 81 | rw [TensorProduct.map_tmul, LinearMap.id_apply] |
| 82 | have hleft := (CubeProductCechOverlaps.Construction.CubeCech.productCech11Equiv_tmul f g U V hUU hVV |
| 83 | (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f) U x) y i i' j j').trans |
| 84 | (CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i ⊓ U i') (V j ⊓ V j') |
| 85 | (hUU i i') (hVV j j') _ (y j j')).symm |
| 86 | refine hleft.trans ?_ |
| 87 | change CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv f g (U i ⊓ U i') (V j ⊓ V j') (hUU i i') (hVV j j') |
| 88 | (((CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f).obj.map |
| 89 | (homOfLE inf_le_right : U i ⊓ U i' ⟶ U i').op (x i') - |
| 90 | (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf f).obj.map |
| 91 | (homOfLE inf_le_left : U i ⊓ U i' ⟶ U i).op (x i)) ⊗ₜ[k] y j j') = _ |
| 92 | rw [TensorProduct.sub_tmul, map_sub] |
| 93 | apply congrArg₂ (fun a b ↦ a - b) |
| 94 | · exact (ProductSectionsOneFactor.Construction.CubeCech.productRectangleModuleSectionsEquiv_restrict_left_tmul f g |
| 95 | (homOfLE inf_le_right : U i ⊓ U i' ⟶ U i') (V j ⊓ V j') (hU i') (hUU i i') (hVV j j') |
| 96 | (x i') (y j j')).trans |
| 97 | (congrArg (ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g |
| 98 | (homOfLE inf_le_right : U i ⊓ U i' ⟶ U i') (𝟙 (V j ⊓ V j'))) |
| 99 | ((CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i') (V j ⊓ V j') (hU i') (hVV j j') |
| 100 | (x i') (y j j')).trans (CubeProductCechOverlaps.Construction.CubeCech.productCech01Equiv_tmul f g U V hU hVV x y i' j j').symm)) |
| 101 | · exact (ProductSectionsOneFactor.Construction.CubeCech.productRectangleModuleSectionsEquiv_restrict_left_tmul f g |
| 102 | (homOfLE inf_le_left : U i ⊓ U i' ⟶ U i) (V j ⊓ V j') (hU i) (hUU i i') (hVV j j') |
| 103 | (x i) (y j j')).trans |
| 104 | (congrArg (ProductSectionsOneFactor.Construction.CubeCech.rectangleSectionRestriction f g |
| 105 | (homOfLE inf_le_left : U i ⊓ U i' ⟶ U i) (𝟙 (V j ⊓ V j'))) |
| 106 | ((CubeProductSections.Construction.CubeCech.productRectangleModuleSectionsEquiv_tmul f g (U i) (V j ⊓ V j') (hU i) (hVV j j') |
| 107 | (x i) (y j j')).trans (CubeProductCechOverlaps.Construction.CubeCech.productCech01Equiv_tmul f g U V hU hVV x y i j j').symm)) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductCechMixed.Construction.CubeCech |