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.Affine.OrderedInjective |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InjectiveIntegerRows |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedCover |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CoverCoefficients |
| 5 | |
| 6 | /-! # Single Supported Cover -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleSupportedCover |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The canonical support extension has its original global Cech image. |
| 13 | All coordinate changes use the actual single-sheaf augmentation to its |
| 14 | chosen injective resolution, including on the original global cover. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | private theorem conjugate {D : Type*} [Category D] {A B C E F G : D} |
| 20 | (eL : A ≅ B) (eG : C ≅ E) (fL : F ≅ B) (fG : G ≅ E) |
| 21 | (a : A ⟶ C) (b : B ⟶ E) (c : F ⟶ G) |
| 22 | (h₁ : a ≫ eG.hom = eL.hom ≫ b) (h₂ : fL.hom ≫ b = c ≫ fG.hom) : |
| 23 | c = (eL ≪≫ fL.symm).inv ≫ a ≫ (eG ≪≫ fG.symm).hom := by |
| 24 | apply (cancel_mono fG.hom).mp |
| 25 | simp only [Iso.trans_inv, Iso.symm_inv, Iso.trans_hom, Iso.symm_hom, |
| 26 | Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 27 | rw [h₁, Iso.inv_hom_id_assoc] |
| 28 | exact h₂.symm |
| 29 | |
| 30 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InjectiveIntegerCoordinates |
| 31 | variable {X : Scheme.{0}} [X.IsSeparated] {C : Type} [Preorder C] [HasFiniteProducts C] |
| 32 | (F₁ F₂ : C ⥤ X.Opens) {ι κ ν μ ρ : Type} |
| 33 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 34 | (W : ι → C) |
| 35 | [∀ (n : ℕ) (z : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F₁] |
| 36 | [∀ (n : ℕ) (z : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F₂] |
| 37 | (O₁ O₂ : X.Opens) (H : InjectiveIntegerRows.SingleSupportedCandidate.Conditions F₁ F₂ W O₁ O₂) |
| 38 | (N : X.Modules) [N.IsQuasicoherent] (c : ℕ) |
| 39 | (B : κ → X.Opens) (J : ν → X.Opens) |
| 40 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F₁.obj ∘ W)) |
| 41 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 42 | (V : μ → X.Opens) (hV : ∀ j, IsAffineOpen (V j)) (T : ρ → X.Opens) |
| 43 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 44 | (RelativeCech.Intersections.cover (F₁.obj (⊤_ C)) B)) |
| 45 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 46 | (hB : ∀ j, B j ≤ O₁) (q : ℕ) |
| 47 | [IsIso (RelativeCech.Refinement.homology (F₁.obj (⊤_ C)) B J s |
| 48 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) q)] |
| 49 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 50 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) q)] |
| 51 | [IsIso (RelativeCech.Refinement.homology (F₁.obj (⊤_ C)) B J s |
| 52 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) q)] |
| 53 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 54 | (Affine.OrderedInjective.Comparison.integerPresheaf N c)) q)] |
| 55 | |
| 56 | def originalComparison : |
| 57 | (AffinePrincipal.Injective.Comparison.source F₁ W N c).homology q ⟶ |
| 58 | (Affine.OrderedInjective.Comparison.source N c V).homology q := |
| 59 | PresheafCover.Comparison.comparison F₁ W B J r s V T l t |
| 60 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) q |
| 61 | |
| 62 | omit [∀ (n : ℕ) (z : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F₂] in |
| 63 | private theorem coordinates : |
| 64 | originalComparison F₁ W N c B J r s V T l t q = |
| 65 | (InjectiveIntegerCoordinates.bridge F₁ W N c H.wide_affine q).inv ≫ |
| 66 | InjectiveIntegerCoordinates.forget.map (PresheafCover.Comparison.comparison F₁ W B J r s V T l t |
| 67 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) q) ≫ |
| 68 | (Affine.OrderedInjective.Comparison.bridge N c V hV q).hom := by |
| 69 | let : IsIso (RelativeCech.Refinement.homology (F₁.obj (⊤_ C)) B J s |
| 70 | (Affine.OrderedInjective.Comparison.targetPresheaf N c) q) := |
| 71 | Presheaf.CoverCoefficients.relative_isIso InjectiveIntegerCoordinates.forget |
| 72 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) (F₁.obj (⊤_ C)) B J s q |
| 73 | let : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 74 | (Affine.OrderedInjective.Comparison.targetPresheaf N c)) q) := |
| 75 | Presheaf.CoverCoefficients.ordered_isIso InjectiveIntegerCoordinates.forget |
| 76 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) V T t q |
| 77 | have hc := Presheaf.CoverCoefficients.principal InjectiveIntegerCoordinates.forget |
| 78 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) F₁ W B J r s V T l t q |
| 79 | have hn := PresheafCover.Comparison.naturality F₁ W B J r s V T l t |
| 80 | (Affine.OrderedInjective.Comparison.augmentation N c) q |
| 81 | exact conjugate (InjectiveIntegerCoordinates.coefficientIso F₁ W N c q) |
| 82 | (Affine.OrderedInjective.Comparison.coefficientIso N c V q) |
| 83 | (AffinePrincipal.Injective.Comparison.homologyIso F₁ W N c H.wide_affine q) |
| 84 | (Affine.OrderedInjective.Comparison.homologyIso N c V hV q) |
| 85 | _ _ _ hc hn |
| 86 | |
| 87 | include hB in |
| 88 | omit [X.IsSeparated] [∀ (n : ℕ) (z : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F₂] [N.IsQuasicoherent] [IsIso (RelativeCech.Refinement.homology (F₁.obj (⊤_ C)) B J s (Affine.OrderedInjective.Comparison.sourcePresheaf N c) q)] [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) q)] in |
| 89 | private theorem integer_comparison : |
| 90 | PresheafCover.Comparison.comparison F₁ W B J r s V T l t |
| 91 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) q = |
| 92 | H.moduleForget N c q ≫ homologyMap (Presheaf.OrderedCechEdge.edge V |
| 93 | (Affine.OrderedInjective.Comparison.integerPresheaf N c)) q := by |
| 94 | let : IsIso (RelativeCech.Refinement.homology (F₁.obj (⊤_ C)) B J s |
| 95 | (Relative.SupportedExtension.underlying ℤ X (InjectiveIntegerCoordinates.complex N c)) q) := |
| 96 | (inferInstance : IsIso (RelativeCech.Refinement.homology (F₁.obj (⊤_ C)) B J s |
| 97 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) q)) |
| 98 | let : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 99 | (Relative.SupportedExtension.underlying ℤ X (InjectiveIntegerCoordinates.complex N c))) q) := |
| 100 | (inferInstance : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 101 | (Affine.OrderedInjective.Comparison.integerPresheaf N c)) q)) |
| 102 | exact SupportedCover.Comparison.comparison ℤ X (InjectiveIntegerCoordinates.complex N c) F₁ W B J r s V T l t O₁ |
| 103 | H.wide_punctured hB H.wide_global q H.wide_cover |
| 104 | (InjectiveIntegerRows.exactAt_succ F₁ W N c) |
| 105 | |
| 106 | include hB in |
| 107 | omit [∀ (n : ℕ) (z : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F₂] in |
| 108 | theorem comparison : |
| 109 | originalComparison F₁ W N c B J r s V T l t q = |
| 110 | H.forgetSupport N c q ≫ Affine.OrderedInjective.Comparison.coverOutput N c V hV q := by |
| 111 | have h := coordinates F₁ F₂ W O₁ O₂ H N c B J r s V hV T l t q |
| 112 | rw [integer_comparison F₁ F₂ W O₁ O₂ H N c B J r s V T l t hB q, |
| 113 | CategoryTheory.Functor.map_comp] at h |
| 114 | simpa only [InjectiveIntegerRows.SingleSupportedCandidate.Conditions.forgetSupport, |
| 115 | Affine.OrderedInjective.Comparison.coverOutput, Category.assoc, Iso.hom_inv_id_assoc] using h |
| 116 | |
| 117 | include hB in |
| 118 | theorem candidate_global : |
| 119 | H.candidate N c q ≫ originalComparison F₁ W N c B J r s V T l t q = |
| 120 | H.selectedExtension N c q ≫ Affine.OrderedInjective.Comparison.coverOutput N c V hV q := by |
| 121 | rw [comparison F₁ F₂ W O₁ O₂ H N c B J r s V hV T l t hB q, |
| 122 | ← Category.assoc, H.candidate_global] |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleSupportedCover |