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.Principal.CanonicalRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SelectedSupportCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SingleSupportedCover |
| 4 | |
| 5 | /-! # Canonical Support Cover -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover |
| 12 | |
| 13 | /-! The selected-support comparison on canonical complementary and common |
| 14 | affine covers. Every refinement isomorphism is derived from the geometric |
| 15 | conditions and the actual chosen-resolution augmentation. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.HomologicalComplex |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalCover OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalRefinement |
| 21 | variable {X : Scheme.{0}} [X.IsSeparated] {C : Type} [Preorder C] [HasFiniteProducts C] |
| 22 | (F : C ⥤ X.Opens) {ι : Type} [LinearOrder ι] (W : ι → C) |
| 23 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 24 | (O : X.Opens) (hF : ∀ r, IsAffineOpen (F.obj r)) |
| 25 | (hpunct : ∀ j, F.obj (W j) ≤ O) |
| 26 | (hcover : F.obj (⊤_ C) ⊓ O ≤ ⨆ j, F.obj (W j)) |
| 27 | (hglobal : F.obj (⊤_ C) ⊔ O = ⊤) |
| 28 | (N : X.Modules) [N.IsQuasicoherent] (c : ℕ) |
| 29 | {μ : Type} [LinearOrder μ] (V : μ → X.Opens) |
| 30 | (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) (q : ℕ) |
| 31 | |
| 32 | def comparison : |
| 33 | (AffinePrincipal.Injective.Comparison.source F W N c).homology q ⟶ |
| 34 | (Affine.OrderedInjective.Comparison.source N c V).homology q := by |
| 35 | letI := CanonicalRefinement.relative_source F W O hF hpunct hcover N c q |
| 36 | letI := CanonicalRefinement.ordered_source F O hF hglobal V hV haV N c q |
| 37 | exact SingleSupportedCover.originalComparison F W N c |
| 38 | (CanonicalCover.complementary O) (CanonicalCover.localCover F W O) (CanonicalCover.localLeft F W O) (CanonicalCover.localRight F W O) |
| 39 | V (CanonicalCover.globalCover F O V) (CanonicalCover.globalLeft F O V) (CanonicalCover.globalRight F O V) q |
| 40 | |
| 41 | variable (G : C ⥤ X.Opens) |
| 42 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) G] |
| 43 | (P : X.Opens) (H : InjectiveIntegerRows.SingleSupportedCandidate.Conditions F G W O P) |
| 44 | |
| 45 | include H hV haV in |
| 46 | theorem candidate_comparison : |
| 47 | H.candidate N c q ≫ |
| 48 | comparison F W O H.wide_affine H.wide_punctured H.wide_cover H.wide_global N c V hV haV q = |
| 49 | comparison G W P H.selected.wide_affine H.selected.wide_punctured |
| 50 | H.selected.wide_cover H.selected.wide_global N c V hV haV q := by |
| 51 | let := CanonicalRefinement.relative_source F W O H.wide_affine H.wide_punctured H.wide_cover N c q |
| 52 | let := CanonicalRefinement.ordered_source F O H.wide_affine H.wide_global V hV haV N c q |
| 53 | let := CanonicalRefinement.relative_integer F W O H.wide_affine H.wide_punctured H.wide_cover N c q |
| 54 | let := CanonicalRefinement.ordered_integer F O H.wide_affine H.wide_global V hV haV N c q |
| 55 | let := CanonicalRefinement.relative_source G W P H.selected.wide_affine H.selected.wide_punctured |
| 56 | H.selected.wide_cover N c q |
| 57 | let := CanonicalRefinement.ordered_source G P H.selected.wide_affine H.selected.wide_global V hV haV N c q |
| 58 | let := CanonicalRefinement.relative_integer G W P H.selected.wide_affine H.selected.wide_punctured |
| 59 | H.selected.wide_cover N c q |
| 60 | let := CanonicalRefinement.ordered_integer G P H.selected.wide_affine H.selected.wide_global V hV haV N c q |
| 61 | exact SelectedSupportCover.comparison F G W O P H N c |
| 62 | (CanonicalCover.complementary O) (CanonicalCover.localCover F W O) (CanonicalCover.localLeft F W O) (CanonicalCover.localRight F W O) |
| 63 | (CanonicalCover.complementary P) (CanonicalCover.localCover G W P) (CanonicalCover.localLeft G W P) (CanonicalCover.localRight G W P) |
| 64 | V haV (CanonicalCover.globalCover F O V) (CanonicalCover.globalLeft F O V) (CanonicalCover.globalRight F O V) |
| 65 | (CanonicalCover.globalCover G P V) (CanonicalCover.globalLeft G P V) (CanonicalCover.globalRight G P V) |
| 66 | (ComplementaryAffineCover.le O) (ComplementaryAffineCover.le P) q |
| 67 | |
| 68 | end NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover |
| 69 | |
| 70 | namespace NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover.SingleIndependence |
| 71 | |
| 72 | /-! The original single-sheaf comparison is independent of the auxiliary |
| 73 | complementary and common covers, with its specified global cover retained. -/ |
| 74 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.HomologicalComplex |
| 75 | set_option backward.isDefEq.respectTransparency false |
| 76 | set_option backward.isDefEq.respectTransparency.types false |
| 77 | |
| 78 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalCover OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalRefinement |
| 79 | variable {X : Scheme.{0}} [X.IsSeparated] {C : Type} [Preorder C] [HasFiniteProducts C] |
| 80 | (F G : C ⥤ X.Opens) {ι : Type} [LinearOrder ι] (W : ι → C) |
| 81 | [∀ (d : ℕ) (a : Fin (d+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 82 | [∀ (d : ℕ) (a : Fin (d+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) G] |
| 83 | (O P : X.Opens) (H : InjectiveIntegerRows.SingleSupportedCandidate.Conditions F G W O P) |
| 84 | (N : X.Modules) [N.IsQuasicoherent] (c : ℕ) |
| 85 | {μ : Type} [LinearOrder μ] (V : μ → X.Opens) |
| 86 | (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) (q : ℕ) |
| 87 | |
| 88 | omit [∀ (d : ℕ) (a : Fin (d + 1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) G] in |
| 89 | theorem canonical_comparison : |
| 90 | CanonicalSupportCover.comparison F W O H.wide_affine H.wide_punctured |
| 91 | H.wide_cover H.wide_global N c V hV haV q = |
| 92 | H.forgetSupport N c q ≫ Affine.OrderedInjective.Comparison.coverOutput N c V haV q := by |
| 93 | let := CanonicalRefinement.relative_source F W O H.wide_affine H.wide_punctured H.wide_cover N c q |
| 94 | let := CanonicalRefinement.ordered_source F O H.wide_affine H.wide_global V hV haV N c q |
| 95 | let := CanonicalRefinement.relative_integer F W O H.wide_affine H.wide_punctured H.wide_cover N c q |
| 96 | let := CanonicalRefinement.ordered_integer F O H.wide_affine H.wide_global V hV haV N c q |
| 97 | exact SingleSupportedCover.comparison F G W O P H N c |
| 98 | (CanonicalCover.complementary O) (CanonicalCover.localCover F W O) (CanonicalCover.localLeft F W O) (CanonicalCover.localRight F W O) |
| 99 | V haV (CanonicalCover.globalCover F O V) (CanonicalCover.globalLeft F O V) (CanonicalCover.globalRight F O V) |
| 100 | (ComplementaryAffineCover.le O) q |
| 101 | |
| 102 | variable {κ ν ρ : Type} [LinearOrder κ] [LinearOrder ν] [LinearOrder ρ] |
| 103 | (B : κ → X.Opens) (J : ν → X.Opens) |
| 104 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 105 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 106 | (T : ρ → X.Opens) |
| 107 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 108 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 109 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 110 | (hB : ∀ j, B j ≤ O) |
| 111 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 112 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) q)] |
| 113 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 114 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) q)] |
| 115 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 116 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) q)] |
| 117 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 118 | (Affine.OrderedInjective.Comparison.integerPresheaf N c)) q)] |
| 119 | |
| 120 | include hB in |
| 121 | omit [∀ (d : ℕ) (a : Fin (d + 1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) G] in |
| 122 | theorem comparison : |
| 123 | SingleSupportedCover.originalComparison F W N c B J r s V T l t q = |
| 124 | CanonicalSupportCover.comparison F W O H.wide_affine H.wide_punctured |
| 125 | H.wide_cover H.wide_global N c V hV haV q := |
| 126 | (SingleSupportedCover.comparison F G W O P H N c B J r s V haV T l t hB q).trans |
| 127 | (canonical_comparison F G W O P H N c V hV haV q).symm |
| 128 | |
| 129 | end NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover.SingleIndependence |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI |