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.TruncatedModel.ModelAdditiveTop |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.LinearCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ordered.SingleGlobalSourceCoefficients |
| 4 | |
| 5 | /-! # Top Cover Coefficients -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TopCoverCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal native top-form coefficient input commutes with the |
| 12 | original linear common-cover comparison. Both coefficient changes |
| 13 | and the ordinary-to-ordered projection remain explicit. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem double_square {A B C : Type*} [Category A] [Category B] [Category C] |
| 19 | (F : A ⥤ B) (G : B ⥤ C) |
| 20 | {S T S' T' : A} {S'' T'' : B} {S''' T''' : C} |
| 21 | (a : S ⟶ T) (u : S ⟶ S') (v : T ⟶ T') (b : S' ⟶ T') |
| 22 | (eU : F.obj S' ⟶ S'') (eV : F.obj T' ⟶ T'') (c : S'' ⟶ T'') |
| 23 | (fU : G.obj S'' ⟶ S''') (fV : G.obj T'' ⟶ T''') (d : S''' ⟶ T''') |
| 24 | (hp : a ≫ v = u ≫ b) (hF : F.map b ≫ eV = eU ≫ c) |
| 25 | (hG : G.map c ≫ fV = fU ≫ d) : |
| 26 | G.map (F.map a) ≫ (G.map (F.map v ≫ eV) ≫ fV) = |
| 27 | (G.map (F.map u ≫ eU) ≫ fU) ≫ d := by |
| 28 | calc |
| 29 | _ = G.map (F.map (a ≫ v) ≫ eV) ≫ fV := by |
| 30 | simp only [Functor.map_comp, Category.assoc] |
| 31 | _ = G.map (F.map (u ≫ b) ≫ eV) ≫ fV := by rw [hp] |
| 32 | _ = G.map (F.map u ≫ eU ≫ c) ≫ fV := by |
| 33 | apply congrArg (fun w : F.obj S ⟶ T'' => G.map w ≫ fV) |
| 34 | rw [F.map_comp, Category.assoc, hF] |
| 35 | _ = _ := by |
| 36 | simp only [Functor.map_comp, Category.assoc] |
| 37 | rw [hG] |
| 38 | |
| 39 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 40 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 41 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 42 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 43 | |
| 44 | abbrev first := OrdinarySectionMap.Ordinary.coefficients p k n |
| 45 | abbrev second := AdditiveTop.Comparison.forget p k |
| 46 | abbrev form := GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g |
| 47 | abbrev module := IntrinsicDeRham.TopSingleCoordinates.Intrinsic.module (Truncated.Witt.Ring p k n) X g |
| 48 | |
| 49 | local instance form_qc : (form p k n X g).IsQuasicoherent := |
| 50 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent (Truncated.Witt.Ring p k n) X g |
| 51 | |
| 52 | variable {ι κ ν : Type} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 53 | (U : ι → X.left.Opens) |
| 54 | |
| 55 | abbrev firstIso := Ordered.SingleGlobalSourceCoefficients.coefficientIso |
| 56 | (first p k n) (module p k n X g) U g |
| 57 | abbrev secondIso := Ordered.SingleGlobalSourceCoefficients.coefficientIso |
| 58 | (second p k) (module p k n X g ⋙ first p k n) U g |
| 59 | |
| 60 | def inputMap : |
| 61 | (second p k).obj ((first p k n).obj |
| 62 | ((ModuleCech.DimensionBound.complex (Truncated.Witt.Ring p k n) X (form p k n X g) U).homology g)) ⟶ |
| 63 | (OrderedCech.Projection.complex U ((module p k n X g ⋙ first p k n) ⋙ second p k)).homology g := |
| 64 | (second p k).map ((first p k n).map |
| 65 | (Module.OrderedCoverCoordinates.projection (Truncated.Witt.Ring p k n) X |
| 66 | (form p k n X g) U g) ≫ (firstIso p k n X g U).hom) ≫ |
| 67 | (secondIso p k n X g U).hom |
| 68 | |
| 69 | omit [Fintype k] [CharP k p] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] in |
| 70 | theorem small : inputMap p k n X g (AdditiveTopCoordinates.cover p k n X) = |
| 71 | ModelAdditiveTop.coefficientMorphism p k n X g := rfl |
| 72 | |
| 73 | variable (V : κ → X.left.Opens) (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) |
| 74 | (T : ν → X.left.Opens) |
| 75 | (rU : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι U) |
| 76 | (rV : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ V) |
| 77 | (hT : iSup T = ⊤) (haT : ∀ j, IsAffineOpen (T j)) |
| 78 | |
| 79 | def coefficientComparison := by |
| 80 | letI := Module.OrderedCoverCoordinates.ordered_isIso |
| 81 | (Truncated.Witt.Ring p k n) X (form p k n X g) V T rV hV hT haV haT g |
| 82 | letI := Ordered.SingleGlobalSourceCoefficients.refinement_isIso |
| 83 | (first p k n) (module p k n X g) V T rV g |
| 84 | letI := Ordered.SingleGlobalSourceCoefficients.refinement_isIso |
| 85 | (second p k) (module p k n X g ⋙ first p k n) V T rV g |
| 86 | exact Ordered.SingleGlobalSource.coefficientComparison |
| 87 | ((module p k n X g ⋙ first p k n) ⋙ second p k) g U V T rU rV |
| 88 | |
| 89 | omit [Fintype k] [CharP k p] [SmoothOfRelativeDimension g X.hom] in |
| 90 | theorem comparison : |
| 91 | (second p k).map ((first p k n).map |
| 92 | (ModuleCech.LinearCover.Comparison.comparison (Truncated.Witt.Ring p k n) X |
| 93 | (form p k n X g) U V hV haV T rU rV hT haT g)) ≫ inputMap p k n X g V = |
| 94 | inputMap p k n X g U ≫ coefficientComparison p k n X g U V hV haV T rU rV hT haT := by |
| 95 | let := Module.OrderedCoverCoordinates.ordered_isIso |
| 96 | (Truncated.Witt.Ring p k n) X (form p k n X g) V T rV hV hT haV haT g |
| 97 | let := Ordered.SingleGlobalSourceCoefficients.refinement_isIso |
| 98 | (first p k n) (module p k n X g) V T rV g |
| 99 | let := Ordered.SingleGlobalSourceCoefficients.refinement_isIso |
| 100 | (second p k) (module p k n X g ⋙ first p k n) V T rV g |
| 101 | exact double_square (first p k n) (second p k) _ _ _ _ _ _ _ _ _ _ |
| 102 | (ModuleCech.LinearCover.Comparison.projection_square (Truncated.Witt.Ring p k n) X |
| 103 | (form p k n X g) U V hV haV T rU rV hT haT g).symm |
| 104 | (Ordered.SingleGlobalSourceCoefficients.comparison |
| 105 | (first p k n) (module p k n X g) U V T rU rV g) |
| 106 | (Ordered.SingleGlobalSourceCoefficients.comparison |
| 107 | (second p k) (module p k n X g ⋙ first p k n) U V T rU rV g) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TopCoverCoefficients |