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.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionFunctor |
| 2 | |
| 3 | /-! # Tuple Restriction Algebra -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionAlgebra.Functor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Additive identities for the actual restriction maps attached to finite |
| 10 | integral tuple matrices. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 13 | |
| 14 | universe u v w |
| 15 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 16 | {D : Type v} [Category.{w} D] [Preadditive D] [HasProducts.{u} D] |
| 17 | {ι : Type u} (U : ι → C) (P : Cᵒᵖ ⥤ D) |
| 18 | |
| 19 | theorem map_add_eq {n m : ℕ} |
| 20 | (f g : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι m) |
| 21 | (hf : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing f) (hg : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing g) : |
| 22 | TupleRestrictionFunctor.map U P (f + g) (hf.add hg) = TupleRestrictionFunctor.map U P f hf + TupleRestrictionFunctor.map U P g hg := by |
| 23 | apply Pi.hom_ext |
| 24 | intro (i : Fin (n + 1) → ι) |
| 25 | change _ ≫ TupleRestrictionFunctor.projection U P i = _ ≫ TupleRestrictionFunctor.projection U P i |
| 26 | rw [add_comp, TupleRestrictionFunctor.map_projection, TupleRestrictionFunctor.map_projection, TupleRestrictionFunctor.map_projection] |
| 27 | exact (TupleRestrictionFunctor.row U P i).map_add _ _ |
| 28 | |
| 29 | theorem map_neg_eq {n m : ℕ} |
| 30 | (f : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι m) |
| 31 | (hf : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing f) : |
| 32 | TupleRestrictionFunctor.map U P (-f) hf.neg = -TupleRestrictionFunctor.map U P f hf := by |
| 33 | apply Pi.hom_ext |
| 34 | intro (i : Fin (n + 1) → ι) |
| 35 | change _ ≫ TupleRestrictionFunctor.projection U P i = _ ≫ TupleRestrictionFunctor.projection U P i |
| 36 | rw [neg_comp, TupleRestrictionFunctor.map_projection, TupleRestrictionFunctor.map_projection] |
| 37 | exact (TupleRestrictionFunctor.row U P i).map_neg _ |
| 38 | |
| 39 | theorem map_zero_eq (n m : ℕ) |
| 40 | (h : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing (0 : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι m)) : |
| 41 | TupleRestrictionFunctor.map U P 0 h = 0 := by |
| 42 | apply Pi.hom_ext |
| 43 | intro (i : Fin (n + 1) → ι) |
| 44 | change _ ≫ TupleRestrictionFunctor.projection U P i = _ ≫ TupleRestrictionFunctor.projection U P i |
| 45 | rw [TupleRestrictionFunctor.map_projection, zero_comp] |
| 46 | exact (TupleRestrictionFunctor.row U P i).map_zero |
| 47 | |
| 48 | theorem map_id_eq (n : ℕ) : |
| 49 | TupleRestrictionFunctor.map U P (LinearMap.id : AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleChains.CechTupleChain ι n) |
| 50 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SupportFunctoriality.cechTupleSupportNonincreasing_id = 𝟙 _ := by |
| 51 | apply Pi.hom_ext |
| 52 | intro (i : Fin (n + 1) → ι) |
| 53 | change _ ≫ TupleRestrictionFunctor.projection U P i = _ ≫ TupleRestrictionFunctor.projection U P i |
| 54 | rw [TupleRestrictionFunctor.map_projection, Category.id_comp] |
| 55 | change TupleRestrictionFunctor.row U P i (Finsupp.single i 1) = _ |
| 56 | rw [TupleRestrictionFunctor.row_single, one_smul, TupleRestrictionFunctor.rowBasis_of_subset U P i i Set.Subset.rfl, |
| 57 | TupleRestrictionFunctor.restriction_self, Category.comp_id] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionAlgebra.Functor |