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.OrderedCech.Homotopy |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Functor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionNaturality |
| 4 | |
| 5 | /-! # Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Naturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Projection and signed-sorting inclusion are natural in coefficient |
| 12 | presheaves. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 15 | |
| 16 | universe u v |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 19 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | {P Q : Cᵒᵖ ⥤ D} (a : P ⟶ Q) |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.TupleRestrictionNaturality.Functor OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Functor.Projection |
| 23 | |
| 24 | theorem projection : Cech.TupleRestrictionNaturality.Functor.coefficientMap U a ≫ Projection.map U Q = |
| 25 | Projection.map U P ≫ Functor.Projection.complexMap U a := by |
| 26 | apply HomologicalComplex.hom_ext |
| 27 | intro n |
| 28 | apply Pi.hom_ext |
| 29 | intro (i : Projection.Index (ι := ι) n) |
| 30 | change ((Cech.TupleRestrictionNaturality.Functor.coefficientMap U a).f n ≫ Projection.mapF U Q n) ≫ |
| 31 | Projection.projection U Q n i = |
| 32 | (Projection.mapF U P n ≫ AugmentedOrdered.CechFunctor.objectMap U a (n + 1)) ≫ |
| 33 | Projection.projection U Q n i |
| 34 | have h := AugmentedOrdered.CechCoordinates.objectMap_comp_pi U P a (n + 1) i |
| 35 | change AugmentedOrdered.CechFunctor.objectMap U a (n + 1) ≫ |
| 36 | Projection.projection U Q n i = |
| 37 | Projection.projection U P n i ≫ a.app _ at h |
| 38 | rw [Category.assoc, Projection.mapF_projection, Cech.TupleRestrictionNaturality.Functor.coefficientMap_projection, |
| 39 | Category.assoc, h, ← Category.assoc, Projection.mapF_projection] |
| 40 | |
| 41 | theorem inclusion : Functor.Projection.complexMap U a ≫ Retraction.inclusion U Q = |
| 42 | Retraction.inclusion U P ≫ Cech.TupleRestrictionNaturality.Functor.coefficientMap U a := by |
| 43 | apply HomologicalComplex.hom_ext |
| 44 | intro n |
| 45 | apply (cancel_epi (Projection.mapF U P n)).mp |
| 46 | change Projection.mapF U P n ≫ (AugmentedOrdered.CechFunctor.objectMap U a (n + 1) ≫ |
| 47 | Retraction.inclusionF U Q n) = |
| 48 | Projection.mapF U P n ≫ (Retraction.inclusionF U P n ≫ (Cech.TupleRestrictionNaturality.Functor.coefficientMap U a).f n) |
| 49 | have h := congrArg (fun z => z.f n) (projection U a) |
| 50 | change (Cech.TupleRestrictionNaturality.Functor.coefficientMap U a).f n ≫ Projection.mapF U Q n = |
| 51 | Projection.mapF U P n ≫ AugmentedOrdered.CechFunctor.objectMap U a (n + 1) at h |
| 52 | rw [← Category.assoc, ← h, Category.assoc, Retraction.mapF_inclusionF, |
| 53 | ← Category.assoc, Retraction.mapF_inclusionF] |
| 54 | exact Cech.TupleRestrictionNaturality.Functor.map_naturality U a _ _ |
| 55 | |
| 56 | def projectionTransformation : NonemptyCechNerve.complexFunctor U (A := D) ⟶ Functor.Projection.functor U (D := D) where |
| 57 | app P := Projection.map U P |
| 58 | naturality _ _ a := projection U a |
| 59 | |
| 60 | def inclusionTransformation : Functor.Projection.functor U (D := D) ⟶ NonemptyCechNerve.complexFunctor U (A := D) where |
| 61 | app P := Retraction.inclusion U P |
| 62 | naturality _ _ a := inclusion U a |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Naturality |