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.PrincipalSource.SupportedCandidate |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SelectedSupportCover |
| 3 | |
| 4 | /-! # Supported Cover -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.SupportedCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original nested-pushforward principal class and its selected |
| 11 | restriction have the same genuine global Cech image. The only source |
| 12 | coordinate changes are the actual wide and local coefficient isomorphisms. -/ |
| 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 after_candidate {A B C : AddCommGrpCat} |
| 18 | (s : B ⟶ A) (f : A ⟶ C) (g : B ⟶ C) (h : s ≫ f = g) |
| 19 | (x : A) (y : B) (hx : x = s y) : f x = g y := by |
| 20 | rw [hx] |
| 21 | exact ConcreteCategory.congr_hom h y |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenReindex |
| 24 | variable {Y X Z : Scheme.{0}} [Y.IsSeparated] (f : Y ⟶ X) (i : X ⟶ Z) |
| 25 | [IsAffineHom (f ≫ i)] (U : Z.Opens) (hU : IsAffineOpen U) |
| 26 | {g : ℕ} (t : Fin g → Γ(Z,U)) (N : Y.Modules) [N.IsQuasicoherent] |
| 27 | (z : Γ(Y,(f ≫ i) ⁻¹ᵁ U)) (O₁ O₂ : Y.Opens) |
| 28 | (H : Principal.InjectiveIntegerRows.SingleSupportedCandidate.Conditions |
| 29 | (OpenReindex.wideOpens (f ≫ i) U hU) (OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)) |
| 30 | (PrincipalPoint.Fraction.family U t) O₁ O₂) |
| 31 | (c n : ℕ) |
| 32 | {κ₁ ν₁ ρ₁ κ₂ ν₂ ρ₂ μ : Type} |
| 33 | [LinearOrder κ₁] [LinearOrder ν₁] [LinearOrder ρ₁] |
| 34 | [LinearOrder κ₂] [LinearOrder ν₂] [LinearOrder ρ₂] [LinearOrder μ] |
| 35 | (B₁ : κ₁ → Y.Opens) (J₁ : ν₁ → Y.Opens) |
| 36 | (r₁ : FormalCoproduct.mk ν₁ J₁ ⟶ FormalCoproduct.mk (ULift (Fin g)) |
| 37 | ((OpenReindex.wideOpens (f ≫ i) U hU).obj ∘ PrincipalPoint.Fraction.family U t)) |
| 38 | (s₁ : FormalCoproduct.mk ν₁ J₁ ⟶ FormalCoproduct.mk κ₁ B₁) |
| 39 | (B₂ : κ₂ → Y.Opens) (J₂ : ν₂ → Y.Opens) |
| 40 | (r₂ : FormalCoproduct.mk ν₂ J₂ ⟶ FormalCoproduct.mk (ULift (Fin g)) |
| 41 | ((OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)).obj ∘ PrincipalPoint.Fraction.family U t)) |
| 42 | (s₂ : FormalCoproduct.mk ν₂ J₂ ⟶ FormalCoproduct.mk κ₂ B₂) |
| 43 | (V : μ → Y.Opens) (hV : ∀ j, IsAffineOpen (V j)) |
| 44 | (T₁ : ρ₁ → Y.Opens) |
| 45 | (l₁ : FormalCoproduct.mk ρ₁ T₁ ⟶ FormalCoproduct.mk (WithBot κ₁) |
| 46 | (RelativeCech.Intersections.cover ((OpenReindex.wideOpens (f ≫ i) U hU).obj (⊤_ _)) B₁)) |
| 47 | (t₁ : FormalCoproduct.mk ρ₁ T₁ ⟶ FormalCoproduct.mk μ V) |
| 48 | (T₂ : ρ₂ → Y.Opens) |
| 49 | (l₂ : FormalCoproduct.mk ρ₂ T₂ ⟶ FormalCoproduct.mk (WithBot κ₂) |
| 50 | (RelativeCech.Intersections.cover |
| 51 | ((OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)).obj (⊤_ _)) B₂)) |
| 52 | (t₂ : FormalCoproduct.mk ρ₂ T₂ ⟶ FormalCoproduct.mk μ V) |
| 53 | (hB₁ : ∀ j, B₁ j ≤ O₁) (hB₂ : ∀ j, B₂ j ≤ O₂) |
| 54 | [IsIso (RelativeCech.Refinement.homology ((OpenReindex.wideOpens (f ≫ i) U hU).obj (⊤_ _)) B₁ J₁ s₁ |
| 55 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) (n+c))] |
| 56 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T₁ t₁ |
| 57 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) (n+c))] |
| 58 | [IsIso (RelativeCech.Refinement.homology ((OpenReindex.wideOpens (f ≫ i) U hU).obj (⊤_ _)) B₁ J₁ s₁ |
| 59 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) (n+c))] |
| 60 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T₁ t₁ |
| 61 | (Affine.OrderedInjective.Comparison.integerPresheaf N c)) (n+c))] |
| 62 | [IsIso (RelativeCech.Refinement.homology |
| 63 | ((OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)).obj (⊤_ _)) B₂ J₂ s₂ |
| 64 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c) (n+c))] |
| 65 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T₂ t₂ |
| 66 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) (n+c))] |
| 67 | [IsIso (RelativeCech.Refinement.homology |
| 68 | ((OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)).obj (⊤_ _)) B₂ J₂ s₂ |
| 69 | (Affine.OrderedInjective.Comparison.integerPresheaf N c) (n+c))] |
| 70 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T₂ t₂ |
| 71 | (Affine.OrderedInjective.Comparison.integerPresheaf N c)) (n+c))] |
| 72 | |
| 73 | private abbrev family := PrincipalPoint.Fraction.family U t |
| 74 | private abbrev forgetScalars : ModuleCat.{0} Γ(Z,U) ⥤ AddCommGrpCat := forget₂ _ _ |
| 75 | private abbrev group := (OpenRestriction.supportedFunctor U (family U t) c (n+c)).obj |
| 76 | (OpenFixedClass.source f i U hU N) |
| 77 | |
| 78 | def wideComparison : |
| 79 | (forgetScalars U).obj (group f i U hU t N c n) ⟶ |
| 80 | (Affine.OrderedInjective.Comparison.source N c V).homology (n+c) := |
| 81 | (SupportedCoordinates.wideIso f i U hU (family U t) N c (n+c)).hom ≫ |
| 82 | Principal.SingleSupportedCover.originalComparison (OpenReindex.wideOpens (f ≫ i) U hU) |
| 83 | (family U t) N c B₁ J₁ r₁ s₁ V T₁ l₁ t₁ (n+c) |
| 84 | |
| 85 | def localComparison : |
| 86 | (forgetScalars U).obj (group f i U hU t (OpenRestriction.extension (Y.basicOpen z) N) c n) ⟶ |
| 87 | (Affine.OrderedInjective.Comparison.source N c V).homology (n+c) := |
| 88 | (SupportedCoordinates.localIso |
| 89 | f i U hU (family U t) N c (n+c) (Y.basicOpen z)).hom ≫ |
| 90 | Principal.SingleSupportedCover.originalComparison |
| 91 | (OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)) |
| 92 | (family U t) N c B₂ J₂ r₂ s₂ V T₂ l₂ t₂ (n+c) |
| 93 | |
| 94 | include hV hB₁ hB₂ in |
| 95 | omit [IsAffineHom (f ≫ i)] in |
| 96 | theorem candidate_comparison : |
| 97 | SupportedCandidate.candidate f i U hU t N z O₁ O₂ H c (n+c) ≫ |
| 98 | wideComparison f i U hU t N c n B₁ J₁ r₁ s₁ V T₁ l₁ t₁ = |
| 99 | localComparison f i U hU t N z c n B₂ J₂ r₂ s₂ V T₂ l₂ t₂ := by |
| 100 | have h := Principal.SelectedSupportCover.comparison |
| 101 | (OpenReindex.wideOpens (f ≫ i) U hU) (OpenReindex.geometricOpens (f ≫ i) U hU (Y.basicOpen z)) |
| 102 | (family U t) O₁ O₂ H N c B₁ J₁ r₁ s₁ B₂ J₂ r₂ s₂ V hV T₁ l₁ t₁ T₂ l₂ t₂ hB₁ hB₂ (n+c) |
| 103 | simpa only [SupportedCandidate.candidate, wideComparison, localComparison, |
| 104 | Category.assoc, Iso.inv_hom_id_assoc] using |
| 105 | congrArg (fun a => (SupportedCoordinates.localIso |
| 106 | f i U hU (family U t) N c (n+c) (Y.basicOpen z)).hom ≫ a) h |
| 107 | |
| 108 | include H hV hB₁ hB₂ in |
| 109 | theorem recovery (x : group f i U hU t N c n) |
| 110 | (hx : (OpenRestriction.supportedFunctor U (family U t) c (n+c)).map |
| 111 | (OpenFixedClass.scalar f i U hU N z) x = x) : |
| 112 | wideComparison f i U hU t N c n B₁ J₁ r₁ s₁ V T₁ l₁ t₁ x = |
| 113 | localComparison f i U hU t N z c n B₂ J₂ r₂ s₂ V T₂ l₂ t₂ |
| 114 | (OpenRestriction.supportedMap f i U hU (Y.basicOpen z) N (family U t) c (n+c) x) := |
| 115 | after_candidate (SupportedCandidate.candidate f i U hU t N z O₁ O₂ H c (n+c)) |
| 116 | (wideComparison f i U hU t N c n B₁ J₁ r₁ s₁ V T₁ l₁ t₁) |
| 117 | (localComparison f i U hU t N z c n B₂ J₂ r₂ s₂ V T₂ l₂ t₂) |
| 118 | (candidate_comparison f i U hU t N z O₁ O₂ H c n B₁ J₁ r₁ s₁ B₂ J₂ r₂ s₂ |
| 119 | V hV T₁ l₁ t₁ T₂ l₂ t₂ hB₁ hB₂) x |
| 120 | (OpenRestriction.supportedMap f i U hU (Y.basicOpen z) N (family U t) c (n+c) x) |
| 121 | (SupportedCandidate.recovery f i U hU t N z O₁ O₂ H c n x hx) |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.SupportedCover |