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 | /-! # Sorted Projection -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.SortedProjection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Signed sorting acts as an actual cochain endomorphism on native |
| 10 | Čech cochains of any presheaf on a preorder. -/ |
| 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} [LinearOrder ι] (U : ι → C) (P : Cᵒᵖ ⥤ D) |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionFunctor |
| 20 | |
| 21 | def component (n : ℕ) : (TupleRestrictionFunctor.complex U P).X n ⟶ (TupleRestrictionFunctor.complex U P).X n := |
| 22 | TupleRestrictionFunctor.map U P (AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjection n) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) |
| 23 | |
| 24 | theorem comm (n : ℕ) : component U P n ≫ (TupleRestrictionFunctor.complex U P).d n (n + 1) = |
| 25 | (TupleRestrictionFunctor.complex U P).d n (n + 1) ≫ component U P (n + 1) := by |
| 26 | rw [← TupleRestrictionFunctor.map_boundary U P n] |
| 27 | unfold component |
| 28 | rw [← TupleRestrictionFunctor.map_comp, ← TupleRestrictionFunctor.map_comp] |
| 29 | congr 1 |
| 30 | apply LinearMap.ext |
| 31 | intro x |
| 32 | exact (AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternatingChainMap.cechTupleAlternatingProjection_boundary n x).symm |
| 33 | |
| 34 | def endomorphism : TupleRestrictionFunctor.complex U P ⟶ TupleRestrictionFunctor.complex U P := |
| 35 | CochainComplex.ofHom (component U P) (comm U P) |
| 36 | |
| 37 | theorem projection_injective (n : ℕ) (a : Fin (n + 1) → ι) (ha : Function.Injective a) : |
| 38 | component U P n ≫ TupleRestrictionFunctor.projection U P a = |
| 39 | (Equiv.Perm.sign (Tuple.sort a) : ℤ) • |
| 40 | TupleRestrictionFunctor.rowBasis U P a (a ∘ Tuple.sort a) := by |
| 41 | rw [component, TupleRestrictionFunctor.map_projection, AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjection_single, |
| 42 | one_smul, AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis_of_injective a ha, TupleRestrictionFunctor.row_single] |
| 43 | |
| 44 | theorem projection_not_injective (n : ℕ) (a : Fin (n + 1) → ι) (ha : ¬ Function.Injective a) : |
| 45 | component U P n ≫ TupleRestrictionFunctor.projection U P a = 0 := by |
| 46 | rw [component, TupleRestrictionFunctor.map_projection, AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjection_single, |
| 47 | one_smul, AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis_of_not_injective a ha, map_zero] |
| 48 | |
| 49 | theorem projection_strictMono (n : ℕ) (a : Fin (n + 1) → ι) (ha : StrictMono a) : |
| 50 | component U P n ≫ TupleRestrictionFunctor.projection U P a = TupleRestrictionFunctor.projection U P a := by |
| 51 | rw [component, TupleRestrictionFunctor.map_projection, AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjection_single, one_smul, |
| 52 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis_of_strictMono a ha, TupleRestrictionFunctor.row_single, one_smul, |
| 53 | TupleRestrictionFunctor.rowBasis_of_subset U P a a Set.Subset.rfl, TupleRestrictionFunctor.restriction_self, Category.comp_id] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.SortedProjection |