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.PrincipalTopDegree |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleCoefficients |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrderedInjective |
| 4 | |
| 5 | /-! # Principal Sheaf Value -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSheafValue |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original additive single-sheaf comparison has the native global |
| 12 | top value through its original coefficient coordinate and double lift. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem comparison_square {C D : Type*} [Category C] [Category D] |
| 18 | (G : C ⥤ D) {A B L R : C} {A' B' L' R' Z : D} |
| 19 | (a : A ⟶ B) (b : B ⟶ R) (l : A ⟶ L) (r : L ⟶ R) |
| 20 | (e : G.obj R ⟶ R') (f : G.obj L ⟶ L') |
| 21 | (i : A' ≅ L') (a' : A' ⟶ B') (b' : B' ⟶ R') (r' : L' ⟶ R') |
| 22 | (v : R' ⟶ Z) (ho : a ≫ b = l ≫ r) |
| 23 | (hc : G.map r ≫ e = f ≫ r') (hn : a' ≫ b' = i.hom ≫ r') : |
| 24 | G.map a ≫ G.map b ≫ e ≫ v = G.map l ≫ f ≫ i.inv ≫ a' ≫ b' ≫ v := by |
| 25 | have hi : i.inv ≫ a' ≫ b' = r' := by |
| 26 | rw [hn, Iso.inv_hom_id_assoc] |
| 27 | calc |
| 28 | _ = G.map (a ≫ b) ≫ e ≫ v := by simp only [G.map_comp, Category.assoc] |
| 29 | _ = G.map (l ≫ r) ≫ e ≫ v := by rw [ho] |
| 30 | _ = G.map l ≫ (G.map r ≫ e) ≫ v := by simp only [G.map_comp, Category.assoc] |
| 31 | _ = G.map l ≫ (f ≫ r') ≫ v := by rw [hc] |
| 32 | _ = G.map l ≫ f ≫ (i.inv ≫ a' ≫ b') ≫ v := by rw [hi]; simp only [Category.assoc] |
| 33 | _ = _ := by simp only [Category.assoc] |
| 34 | |
| 35 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 36 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 37 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 38 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 39 | (hp : IsPullback f Y.hom X.hom |
| 40 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 41 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 43 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 44 | (g c : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 45 | |
| 46 | abbrev form := TopCover.form p k n X g |
| 47 | abbrev sheaf := AffinePrincipal.Injective.Comparison.sheaf (form p k n X g) |
| 48 | abbrev coefficients : Sheaf (Opens.grothendieckTopology X.left) AddCommGrpCat ⥤ |
| 49 | X.left.Opensᵒᵖ ⥤ AddCommGrpCat := |
| 50 | sheafToPresheaf (Opens.grothendieckTopology X.left) AddCommGrpCat |
| 51 | abbrev lift := AdditiveTop.Comparison.lift |
| 52 | abbrev original := Principal.MappedSingleCoordinates.source (coefficients p k n X) |
| 53 | (sheaf p k n X g) c |
| 54 | |
| 55 | variable {C : Type} [Preorder C] [HasFiniteProducts C] (F : C ⥤ X.left.Opens) |
| 56 | {ι κ ν μ ρ : Type} |
| 57 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 58 | (W : ι → C) |
| 59 | [∀ (d : ℕ) (a : Fin (d+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 60 | (B : κ → X.left.Opens) (J : ν → X.left.Opens) |
| 61 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 62 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 63 | (V : μ → X.left.Opens) (hV : iSup V = ⊤) (T : ρ → X.left.Opens) |
| 64 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 65 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 66 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 67 | |
| 68 | abbrev localCoordinates := Principal.MappedSingleCoordinates.localCoordinates |
| 69 | (coefficients p k n X) (sheaf p k n X g) c g F W |
| 70 | abbrev globalCoordinates := Principal.MappedSingleCoordinates.globalCoordinates |
| 71 | (coefficients p k n X) (sheaf p k n X g) c g V |
| 72 | abbrev localCoefficientIso := Principal.MappedSingleCoefficients.localCoefficientIso lift |
| 73 | (coefficients p k n X) (sheaf p k n X g) g F W |
| 74 | abbrev globalCoefficientIso := Principal.MappedSingleCoefficients.globalCoefficientIso lift |
| 75 | (coefficients p k n X) (sheaf p k n X g) g V |
| 76 | |
| 77 | def input := lift.map (localCoordinates p k n X g c F W).hom ≫ |
| 78 | (localCoefficientIso p k n X g F W).hom ≫ |
| 79 | (Principal.MappedSingleCoordinates.localCoordinates (TopCover.coefficients p k n X) |
| 80 | (form p k n X g) c g F W).inv |
| 81 | |
| 82 | def globalValue := lift.map (globalCoordinates p k n X g c V).hom ≫ |
| 83 | (globalCoefficientIso p k n X g V).hom ≫ |
| 84 | TopCover.globalMap p k n X Y f hp I g V hV |
| 85 | |
| 86 | variable |
| 87 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s (original p k n X g c) (g+c))] |
| 88 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (original p k n X g c)) (g+c))] |
| 89 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 90 | (PrincipalTopDegree.source p k n X g c) (g+c))] |
| 91 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 92 | (PrincipalTopDegree.source p k n X g c)) (g+c))] |
| 93 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 94 | (PrincipalTopDegree.source p k n X g g) (g+g))] |
| 95 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 96 | (PrincipalTopDegree.source p k n X g g)) (g+g))] |
| 97 | |
| 98 | omit [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s (PrincipalTopDegree.source p k n X g g) (g + g))] [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (PrincipalTopDegree.source p k n X g g)) (g + g))] in |
| 99 | theorem comparison : |
| 100 | lift.map (Principal.PresheafCover.Comparison.comparison F W B J r s V T l t |
| 101 | (original p k n X g c) (g+c)) ≫ globalValue p k n X Y f hp I g c V hV = |
| 102 | input p k n X g c F W ≫ |
| 103 | PrincipalTopDegree.globalValue p k n X Y f hp I g c F W B J r s V hV T l t := by |
| 104 | let := Principal.MappedSingleCoefficients.relative_isIso lift |
| 105 | (coefficients p k n X) (sheaf p k n X g) c g F B J s |
| 106 | let := Principal.MappedSingleCoefficients.ordered_isIso lift |
| 107 | (coefficients p k n X) (sheaf p k n X g) c g V T t |
| 108 | have ho := Principal.MappedSingleCoordinates.comparison |
| 109 | (coefficients p k n X) (sheaf p k n X g) c g F W B J r s V T l t |
| 110 | have hc := Principal.MappedSingleCoefficients.comparison lift |
| 111 | (coefficients p k n X) (sheaf p k n X g) c g F W B J r s V T l t |
| 112 | have hn := Principal.MappedSingleCoordinates.comparison |
| 113 | (TopCover.coefficients p k n X) (form p k n X g) c g F W B J r s V T l t |
| 114 | have h := comparison_square lift _ _ _ _ _ _ _ _ _ _ |
| 115 | (TopCover.globalMap p k n X Y f hp I g V hV) ho hc hn |
| 116 | exact h |
| 117 | |
| 118 | omit [Fintype k] [CharP k p] [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] [SmoothOfRelativeDimension g X.hom] [∀ (d : ℕ) (a : Fin (d + 1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] in |
| 119 | theorem input_coordinates : |
| 120 | input p k n X g c F W ≫ |
| 121 | (Principal.MappedSingleCoordinates.localCoordinates |
| 122 | (TopCover.coefficients p k n X) (form p k n X g) c g F W).hom = |
| 123 | lift.map (localCoordinates p k n X g c F W).hom ≫ |
| 124 | (localCoefficientIso p k n X g F W).hom := by |
| 125 | simp only [input, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSheafValue |