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.PrincipalPoint.PulledIntegerRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CanonicalSupportCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.SupportConditions |
| 4 | |
| 5 | /-! # Canonical Source -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.CanonicalSource |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original point-class comparison agrees with the canonical |
| 12 | source support comparison on its literal pulled projective cover. -/ |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.PulledIntegerRefinement |
| 17 | |
| 18 | variable {Y X Z T S : Scheme.{0}} [X.IsSeparated] [Z.IsSeparated] |
| 19 | (f : Y ⟶ X) [IsAffineHom f] (i : X ⟶ Z) [IsClosedImmersion i] |
| 20 | (s₀ : T ⟶ X) [IsClosedImmersion s₀] |
| 21 | (U : Z.Opens) (hU : IsAffineOpen U) (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 22 | {c g : ℕ} (s : Fin c → Γ(Z,U)) (t : Fin g → Γ(Z,U)) |
| 23 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U,hU⟩) |
| 24 | (hst : Ideal.span (Set.range (Fin.append s t)) = (s₀ ≫ i).ker.ideal ⟨U,hU⟩) |
| 25 | {κ : Type} [LinearOrder κ] (V : κ → Z.Opens) |
| 26 | (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) |
| 27 | (N : Y.Modules) [N.IsQuasicoherent] |
| 28 | |
| 29 | include f in |
| 30 | private theorem source_separated : Y.IsSeparated := ⟨by |
| 31 | rw [← terminal.comp_from f] |
| 32 | infer_instance⟩ |
| 33 | |
| 34 | local instance pushed_quasicoherent : ((Scheme.Modules.pushforward f).obj N).IsQuasicoherent := |
| 35 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 36 | |
| 37 | include hs hst in |
| 38 | private theorem relative_source (q : ℕ) : |
| 39 | IsIso (RelativeCech.Refinement.homology (PulledIntegerRefinement.ambient f i U hU) |
| 40 | (PulledIntegerRefinement.complement f i s₀) (PulledIntegerRefinement.common f i s₀ U hU t) (PulledIntegerRefinement.localRight f i s₀ U hU t) |
| 41 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) q) := by |
| 42 | let := source_separated f |
| 43 | exact Affine.SingleCechRefinement.relative (PulledIntegerRefinement.ambient f i U hU) (PulledIntegerRefinement.ambient_affine f i U hU) |
| 44 | (PulledIntegerRefinement.complement f i s₀) (PulledIntegerRefinement.common f i s₀ U hU t) (PulledIntegerRefinement.localRight f i s₀ U hU t) |
| 45 | (PulledIntegerRefinement.sourceOutside f i s₀ U) (PulledIntegerRefinement.complementary_cover f i s₀ U hU) |
| 46 | (PulledIntegerRefinement.common_cover f i s₀ U hU s t hs hst) |
| 47 | (PulledIntegerRefinement.complement_affine f i s₀) (PulledIntegerRefinement.common_affine f i s₀ U hU t) N c q |
| 48 | |
| 49 | include hcontains hV haV in |
| 50 | private theorem ordered_source (q : ℕ) : |
| 51 | IsIso (homologyMap (OrderedCech.Refinement.totalMap (PulledIntegerRefinement.global f i V) |
| 52 | (PulledIntegerRefinement.globalCommon f i s₀ U hU V) (PulledIntegerRefinement.globalRight f i s₀ U hU V) |
| 53 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) q) := by |
| 54 | let := source_separated f |
| 55 | exact Affine.SingleCechRefinement.ordered (PulledIntegerRefinement.global f i V) (PulledIntegerRefinement.globalCommon f i s₀ U hU V) |
| 56 | (PulledIntegerRefinement.globalRight f i s₀ U hU V) (PulledIntegerRefinement.global_affine f i V haV) |
| 57 | (PulledIntegerRefinement.globalCommon_affine f i s₀ U hU V haV) N c |
| 58 | (PulledIntegerRefinement.global_cover f i V hV) (PulledIntegerRefinement.globalCommon_cover f i s₀ U hU hcontains V hV) q |
| 59 | |
| 60 | variable (G : Principal.SectionPresheaf.Index U ⥤ Y.Opens) (P : Y.Opens) |
| 61 | (H : Principal.InjectiveIntegerRows.SingleSupportedCandidate.Conditions |
| 62 | (PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU) G |
| 63 | (Fraction.family U t) (PulledIntegerRefinement.outside f s₀) P) |
| 64 | [∀ (d : ℕ) (a : Fin (d+1) → ULift (Fin g)), |
| 65 | PreservesLimit (Discrete.functor (Fraction.family U t ∘ a)) G] |
| 66 | |
| 67 | def canonicalComparison : |
| 68 | (AffinePrincipal.Injective.Comparison.source |
| 69 | (PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU) |
| 70 | (Fraction.family U t) N c).homology (g+c) ⟶ |
| 71 | (Affine.OrderedInjective.Comparison.source N c (PulledIntegerRefinement.global f i V)).homology (g+c) := by |
| 72 | letI := source_separated f |
| 73 | exact Principal.CanonicalSupportCover.comparison |
| 74 | (PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU) |
| 75 | (Fraction.family U t) (PulledIntegerRefinement.outside f s₀) |
| 76 | H.wide_affine H.wide_punctured H.wide_cover H.wide_global |
| 77 | N c (PulledIntegerRefinement.global f i V) (PulledIntegerRefinement.global_cover f i V hV) (PulledIntegerRefinement.global_affine f i V haV) (g+c) |
| 78 | |
| 79 | omit [∀ (d : ℕ) (a : Fin (d + 1) → ULift.{0, 0} (Fin g)), PreservesLimit (Discrete.functor (Fraction.family U t ∘ a)) G] in |
| 80 | theorem sourceComparison_eq : |
| 81 | Source.Comparison.sourceComparison f i s₀ U hU hcontains s t hs hst V hV haV N = |
| 82 | canonicalComparison (c := c) f i s₀ U hU t V hV haV N G P H := by |
| 83 | let := source_separated f |
| 84 | let : IsIso (RelativeCech.Refinement.homology |
| 85 | ((PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU).obj (⊤_ _)) |
| 86 | (PulledIntegerRefinement.complement f i s₀) (PulledIntegerRefinement.common f i s₀ U hU t) (PulledIntegerRefinement.localRight f i s₀ U hU t) |
| 87 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) (g+c)) := |
| 88 | relative_source f i s₀ U hU s t hs hst N (g+c) |
| 89 | let := ordered_source (c := c) f i s₀ U hU hcontains V hV haV N (g+c) |
| 90 | let : IsIso (RelativeCech.Refinement.homology |
| 91 | ((PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU).obj (⊤_ _)) |
| 92 | (PulledIntegerRefinement.complement f i s₀) (PulledIntegerRefinement.common f i s₀ U hU t) (PulledIntegerRefinement.localRight f i s₀ U hU t) |
| 93 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) (g+c)) := |
| 94 | PulledIntegerRefinement.relative_integer |
| 95 | f i s₀ U hU s t hs hst N c (g+c) |
| 96 | let := PulledIntegerRefinement.ordered_integer |
| 97 | f i s₀ U hU hcontains V hV haV N c (g+c) |
| 98 | have h := Principal.CanonicalSupportCover.SingleIndependence.comparison |
| 99 | (PrincipalSource.OpenReindex.wideOpens (f ≫ i) U hU) G |
| 100 | (Fraction.family U t) (PulledIntegerRefinement.outside f s₀) P H N c |
| 101 | (PulledIntegerRefinement.global f i V) (PulledIntegerRefinement.global_cover f i V hV) (PulledIntegerRefinement.global_affine f i V haV) (g+c) |
| 102 | (PulledIntegerRefinement.complement f i s₀) (PulledIntegerRefinement.common f i s₀ U hU t) |
| 103 | (RelativeCech.Reindex.mapped (f ≫ i).base |
| 104 | ((Principal.AdditiveSections.opens U hU).obj ∘ Fraction.family U t) |
| 105 | (RelativeGeometry.common i s₀ U hU t) |
| 106 | (RelativeGeometry.left i s₀ U hU t)) |
| 107 | (PulledIntegerRefinement.localRight f i s₀ U hU t) (PulledIntegerRefinement.globalCommon f i s₀ U hU V) |
| 108 | (RelativeCech.ReindexGlobal.leftRefinement (f ≫ i).base (Principal.RelativeConcentration.ambient U hU) |
| 109 | (RelativeGeometry.complementary i s₀) |
| 110 | (PointComplementGlobalCover.common (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) V) |
| 111 | (PointComplementGlobalCover.left (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) V)) |
| 112 | (PulledIntegerRefinement.globalRight f i s₀ U hU V) (PulledIntegerRefinement.complement_below f i s₀) |
| 113 | exact h |
| 114 | |
| 115 | variable (π : Z ⟶ S) |
| 116 | |
| 117 | omit [∀ (d : ℕ) (a : Fin (d + 1) → ULift.{0, 0} (Fin g)), PreservesLimit (Discrete.functor (Fraction.family U t ∘ a)) G] in |
| 118 | theorem comparison_apply |
| 119 | (x : (Source.Comparison.localTotal (c := c) f i U hU t N).homology (c+g)) : |
| 120 | Source.Comparison.sourceOutput (c := c) (g := g) f i π V N |
| 121 | (Source.Comparison.ordinaryMap f i π s₀ U hU hcontains s t hs hst |
| 122 | V hV haV N (c+g) (Nat.add_comm c g) x) = |
| 123 | canonicalComparison (c := c) f i s₀ U hU t V hV haV N G P H |
| 124 | (PrincipalSource.ClassCoordinates.wideClass f i U hU N t c x) := by |
| 125 | have h := Source.Comparison.comparison_apply f i π s₀ U hU hcontains |
| 126 | s t hs hst V hV haV N x |
| 127 | rw [sourceComparison_eq f i s₀ U hU hcontains s t hs hst V hV haV N G P H] at h |
| 128 | exact h |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.CanonicalSource |