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.Ordered.SingleGlobalSource |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.SingleCoefficientCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.RefinementCoefficients |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.InverseSquare |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 6 | |
| 7 | /-! # Single Global Source Coefficients -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ordered.SingleGlobalSourceCoefficients |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Exact coefficient change preserves the literal common-refinement |
| 14 | comparison on ordered Cech cohomology. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | private theorem compose {D : Type*} [Category D] |
| 20 | {A B C A' B' C' : D} (f : A ⟶ B) (g : B ⟶ C) |
| 21 | (f' : A' ⟶ B') (g' : B' ⟶ C') |
| 22 | (eA : A ⟶ A') (eB : B ⟶ B') (eC : C ⟶ C') |
| 23 | (hf : f ≫ eB = eA ≫ f') (hg : g ≫ eC = eB ≫ g') : |
| 24 | (f ≫ g) ≫ eC = eA ≫ (f' ≫ g') := by |
| 25 | rw [Category.assoc, hg, ← Category.assoc, hf, Category.assoc] |
| 26 | |
| 27 | universe u uA vA uB vB |
| 28 | variable {A : Type uA} [Category.{vA} A] [Abelian A] |
| 29 | [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 30 | {B : Type uB} [Category.{vB} B] [Abelian B] |
| 31 | [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 32 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] [PreservesLimitsOfSize.{u,u} G] |
| 33 | |
| 34 | section Refinement |
| 35 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 36 | (P : Cᵒᵖ ⥤ A) |
| 37 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 38 | (U : ι → C) (V : κ → C) |
| 39 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 40 | (q : ℕ) |
| 41 | |
| 42 | abbrev coefficientIso := |
| 43 | OrderedCech.SingleCoefficientCoordinates.coefficientIso U (𝟭 (Cᵒᵖ ⥤ A)) G P q |
| 44 | |
| 45 | omit [HasCoproducts A] [HasCoproducts B] in |
| 46 | theorem refinement : |
| 47 | G.map (homologyMap (OrderedCech.Refinement.map U V r P) q) ≫ |
| 48 | (coefficientIso G P V q).hom = |
| 49 | (coefficientIso G P U q).hom ≫ |
| 50 | homologyMap (OrderedCech.Refinement.map U V r (P ⋙ G)) q := |
| 51 | GeometricComparison.ExactHomology.ExactHomologyComparison.naturality G (.up ℕ) |
| 52 | (OrderedCech.CoefficientChange.complexIso U G P) |
| 53 | (OrderedCech.CoefficientChange.complexIso V G P) |
| 54 | (OrderedCech.Refinement.map U V r P) |
| 55 | (OrderedCech.Refinement.map U V r (P ⋙ G)) |
| 56 | (OrderedCech.RefinementCoefficients.complex_natural U V r G P) q |
| 57 | |
| 58 | omit [HasCoproducts A] [HasCoproducts B] in |
| 59 | theorem refinement_isIso |
| 60 | [IsIso (homologyMap (OrderedCech.Refinement.map U V r P) q)] : |
| 61 | IsIso (homologyMap (OrderedCech.Refinement.map U V r (P ⋙ G)) q) := |
| 62 | Functor.InverseSquare.isIso G (coefficientIso G P U q) (coefficientIso G P V q) |
| 63 | (homologyMap (OrderedCech.Refinement.map U V r P) q) |
| 64 | (homologyMap (OrderedCech.Refinement.map U V r (P ⋙ G)) q) |
| 65 | (refinement G P U V r q) |
| 66 | |
| 67 | end Refinement |
| 68 | |
| 69 | variable {X : TopCat.{u}} (P : (Opens X)ᵒᵖ ⥤ A) |
| 70 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 71 | (U : ι → Opens X) (V : κ → Opens X) (T : ν → Opens X) |
| 72 | (rU : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι U) |
| 73 | (rV : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ V) |
| 74 | (q : ℕ) |
| 75 | [IsIso (homologyMap (OrderedCech.Refinement.map V T rV P) q)] |
| 76 | |
| 77 | omit [HasCoproducts A] [HasCoproducts B] in |
| 78 | theorem comparison : |
| 79 | letI := refinement_isIso G P V T rV q |
| 80 | G.map (SingleGlobalSource.coefficientComparison P q U V T rU rV) ≫ |
| 81 | (coefficientIso G P V q).hom = |
| 82 | (coefficientIso G P U q).hom ≫ |
| 83 | SingleGlobalSource.coefficientComparison (P ⋙ G) q U V T rU rV := by |
| 84 | let := refinement_isIso G P V T rV q |
| 85 | have hi := Functor.InverseSquare.inverse G |
| 86 | (coefficientIso G P V q) (coefficientIso G P T q) |
| 87 | (homologyMap (OrderedCech.Refinement.map V T rV P) q) |
| 88 | (homologyMap (OrderedCech.Refinement.map V T rV (P ⋙ G)) q) |
| 89 | (refinement G P V T rV q) |
| 90 | have h := compose _ _ _ _ _ _ _ (refinement G P U T rU q) hi |
| 91 | simpa only [SingleGlobalSource.coefficientComparison, G.map_comp] using h |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ordered.SingleGlobalSourceCoefficients |