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.Frame.CosimplicialRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Frame.TupleRefinement |
| 3 | |
| 4 | /-! # Family Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.FamilyRefinement.Family |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refining an actual frame family gives a native cosimplicial coefficient |
| 11 | map for any presheaf, including the original coefficient algebra presheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v t s |
| 16 | |
| 17 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {ι κ : Type v} (F : ι → C) (G : κ → C) (ρ : ι → κ) |
| 19 | (α : ∀ i, F i ⟶ G (ρ i)) |
| 20 | {A : Type t} [Category.{s} A] [HasProducts.{v} A] (H : Cᵒᵖ ⥤ A) |
| 21 | |
| 22 | def coefficient (a : ℕ) (t : Fin (a + 1) → ι) := |
| 23 | H.map (Frame.TupleRefinement.map (𝟭 C) F G ρ α a t).op |
| 24 | |
| 25 | omit [HasProducts A] in |
| 26 | theorem coefficient_naturality (a b : ℕ) (θ : Fin (b + 1) → Fin (a + 1)) (t : Fin (a + 1) → ι) : |
| 27 | coefficient F G ρ α H b (t ∘ θ) ≫ H.map (Presentation.ResolutionFaceMaps.productMap F θ t).op = |
| 28 | H.map (Presentation.ResolutionFaceMaps.productMap G θ (ρ ∘ t)).op ≫ coefficient F G ρ α H a t := |
| 29 | (H.map_comp (Frame.TupleRefinement.map (𝟭 C) F G ρ α b (t ∘ θ)).op |
| 30 | (Presentation.ResolutionFaceMaps.productMap F θ t).op).symm.trans |
| 31 | ((congrArg (fun z => H.map z.op) (Frame.TupleRefinement.naturality (𝟭 C) F G ρ α a b θ t)).trans |
| 32 | (H.map_comp (Presentation.ResolutionFaceMaps.productMap G θ (ρ ∘ t)).op |
| 33 | (Frame.TupleRefinement.map (𝟭 C) F G ρ α a t).op)) |
| 34 | |
| 35 | def map : |
| 36 | (FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve G)).obj H ⟶ |
| 37 | (FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve F)).obj H := |
| 38 | Frame.CosimplicialRefinement.map G F ρ H H |
| 39 | (coefficient F G ρ α H) (coefficient_naturality F G ρ α H) |
| 40 | |
| 41 | variable (K : Cᵒᵖ ⥤ A) (μ : H ⟶ K) |
| 42 | |
| 43 | theorem naturality : |
| 44 | (FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve G)).map μ ≫ |
| 45 | Family.map F G ρ α K = Family.map F G ρ α H ≫ |
| 46 | (FormalCoproduct.cosimplicialObjectFunctor (NonemptyCechNerve.nerve F)).map μ := by |
| 47 | apply NatTrans.ext |
| 48 | funext a |
| 49 | let HG := fun t => H.obj (op (Presentation.TupleProducts.family G a.len t)) |
| 50 | let KG := fun t => K.obj (op (Presentation.TupleProducts.family G a.len t)) |
| 51 | let HF := fun t => H.obj (op (Presentation.TupleProducts.family F a.len t)) |
| 52 | let KF := fun t => K.obj (op (Presentation.TupleProducts.family F a.len t)) |
| 53 | let μG := Limits.Pi.map (fun t => μ.app (op (Presentation.TupleProducts.family G a.len t))) |
| 54 | let μF := Limits.Pi.map (fun t => μ.app (op (Presentation.TupleProducts.family F a.len t))) |
| 55 | let cH := (Family.map F G ρ α H).app a |
| 56 | let cK := (Family.map F G ρ α K).app a |
| 57 | apply Pi.hom_ext |
| 58 | intro t |
| 59 | let U := op (Presentation.TupleProducts.family F a.len t) |
| 60 | let V := op (Presentation.TupleProducts.family G a.len (ρ ∘ t)) |
| 61 | let b := (Frame.TupleRefinement.map (𝟭 C) F G ρ α a.len t).op |
| 62 | have hG : μG ≫ Pi.π KG (ρ ∘ t) = Pi.π HG (ρ ∘ t) ≫ μ.app V := Pi.map_π _ _ |
| 63 | have hF : μF ≫ Pi.π KF t = Pi.π HF t ≫ μ.app U := Pi.map_π _ _ |
| 64 | have hH : cH ≫ Pi.π HF t = Pi.π HG (ρ ∘ t) ≫ H.map b := Pi.lift_comp_π _ _ |
| 65 | have hK : cK ≫ Pi.π KF t = Pi.π KG (ρ ∘ t) ≫ K.map b := Pi.lift_comp_π _ _ |
| 66 | have hl : (μG ≫ cK) ≫ Pi.π KF t = Pi.π HG (ρ ∘ t) ≫ (μ.app V ≫ K.map b) := |
| 67 | (Category.assoc _ _ _).trans |
| 68 | ((congrArg (fun z => μG ≫ z) hK).trans |
| 69 | ((Category.assoc _ _ _).symm.trans |
| 70 | ((congrArg (fun z => z ≫ K.map b) hG).trans (Category.assoc _ _ _)))) |
| 71 | have hr : (cH ≫ μF) ≫ Pi.π KF t = Pi.π HG (ρ ∘ t) ≫ (H.map b ≫ μ.app U) := |
| 72 | (Category.assoc _ _ _).trans |
| 73 | ((congrArg (fun z => cH ≫ z) hF).trans |
| 74 | ((Category.assoc _ _ _).symm.trans |
| 75 | ((congrArg (fun z => z ≫ μ.app U) hH).trans (Category.assoc _ _ _)))) |
| 76 | exact hl.trans ((congrArg (fun z => Pi.π HG (ρ ∘ t) ≫ z) (μ.naturality b).symm).trans hr.symm) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.FamilyRefinement.Family |