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.PresheafReindex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafFunctorCongruence |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenReindex |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Fraction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Products |
| 6 | |
| 7 | /-! # Intrinsic -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.Intrinsic.IntrinsicComparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The selected geometric source diagram and the native principal |
| 14 | diagram on that source open have the same original global comparison. -/ |
| 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 | universe u v |
| 19 | variable {Y Z : Scheme.{u}} (π : Y ⟶ Z) |
| 20 | (U : Z.Opens) (hU : IsAffineOpen U) |
| 21 | (V : Y.Opens) (hV : IsAffineOpen V) (hVU : V ≤ π ⁻¹ᵁ U) |
| 22 | {m : ℕ} (t : Fin m → Γ(Z,U)) |
| 23 | |
| 24 | abbrev geometric := OpenReindex.geometricOpens π U hU V |
| 25 | abbrev native := Principal.AdditiveSections.opens V hV |
| 26 | abbrev reindex := OpenReindex.reindex π U V hVU |
| 27 | abbrev family := PrincipalPoint.Fraction.family U t |
| 28 | |
| 29 | local instance native_tuples : ∀ (d : ℕ) (a : Fin (d+1) → ULift (Fin m)), |
| 30 | PreservesLimit (Discrete.functor (((reindex π U V hVU).obj ∘ family U t) ∘ a)) (native V hV) := |
| 31 | fun _ a => AffinePrincipal.Products.preserves Y V hV (((reindex π U V hVU).obj ∘ family U t) ∘ a) |
| 32 | |
| 33 | local instance intermediate_tuples : ∀ (d : ℕ) (a : Fin (d+1) → ULift (Fin m)), |
| 34 | PreservesLimit (Discrete.functor (family U t ∘ a)) (reindex π U V hVU ⋙ native V hV) := |
| 35 | fun d a => AugmentedCech.AmbientReindex.composite_tuple |
| 36 | (reindex π U V hVU) (native V hV) (family U t) d a |
| 37 | |
| 38 | include hV hVU in |
| 39 | theorem geometric_tuples : ∀ (d : ℕ) (a : Fin (d+1) → ULift (Fin m)), |
| 40 | PreservesLimit (Discrete.functor (family U t ∘ a)) (geometric π U hU V) := |
| 41 | Principal.PresheafFunctorCongruence.tuple_preserves |
| 42 | (reindex π U V hVU ⋙ native V hV) |
| 43 | (OpenReindex.opens_eq π U hU V hV hVU) (family U t) |
| 44 | |
| 45 | variable {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 46 | (K : CochainComplex (Y.Opensᵒᵖ ⥤ A) ℕ) |
| 47 | |
| 48 | def sourceIso := |
| 49 | Principal.PresheafFunctorCongruence.sourceIso (geometric π U hU V) |
| 50 | (OpenReindex.opens_eq π U hU V hV hVU).symm (family U t) K ≪≫ |
| 51 | Principal.PresheafReindex.sourceIso (reindex π U V hVU) (native V hV) (family U t) K |
| 52 | |
| 53 | variable {κ ν μ ρ : Type u} |
| 54 | [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 55 | (B : κ → Y.Opens) (J : ν → Y.Opens) |
| 56 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk (ULift (Fin m)) |
| 57 | ((geometric π U hU V).obj ∘ family U t)) |
| 58 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 59 | (W : μ → Y.Opens) (T : ρ → Y.Opens) |
| 60 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 61 | (RelativeCech.Intersections.cover |
| 62 | ((geometric π U hU V).obj (⊤_ (Principal.SectionPresheaf.Index U))) B)) |
| 63 | (j : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ W) |
| 64 | (q : ℕ) |
| 65 | [hrel : IsIso (RelativeCech.Refinement.homology |
| 66 | ((geometric π U hU V).obj (⊤_ (Principal.SectionPresheaf.Index U))) B J s K q)] |
| 67 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap W T j K) q)] |
| 68 | |
| 69 | abbrev localRefinement := Principal.PresheafFunctorCongruence.localRefinement |
| 70 | (geometric π U hU V) (OpenReindex.opens_eq π U hU V hV hVU).symm |
| 71 | (family U t) J r |
| 72 | |
| 73 | abbrev intermediateRefinement := Principal.PresheafFunctorCongruence.globalRefinement |
| 74 | (geometric π U hU V) (OpenReindex.opens_eq π U hU V hV hVU).symm B T l |
| 75 | |
| 76 | abbrev globalRefinement := Principal.PresheafReindex.targetRefinement |
| 77 | (reindex π U V hVU) (native V hV) B T (intermediateRefinement π U hU V hV hVU B T l) |
| 78 | |
| 79 | include hrel in |
| 80 | theorem intermediate_isIso : IsIso (RelativeCech.Refinement.homology |
| 81 | ((reindex π U V hVU ⋙ native V hV).obj (⊤_ (Principal.SectionPresheaf.Index U))) B J s K q) := |
| 82 | Principal.PresheafFunctorCongruence.relative_isIso (geometric π U hU V) |
| 83 | (OpenReindex.opens_eq π U hU V hV hVU).symm B J s K q |
| 84 | |
| 85 | include hrel hVU in |
| 86 | theorem native_isIso : IsIso (RelativeCech.Refinement.homology |
| 87 | ((native V hV).obj (⊤_ (Principal.SectionPresheaf.Index V))) B J s K q) := by |
| 88 | let := intermediate_isIso π U hU V hV hVU K B J s q |
| 89 | exact Principal.Tail.Comparison.relative_isIso |
| 90 | ((reindex π U V hVU ⋙ native V hV).obj (⊤_ (Principal.SectionPresheaf.Index U))) |
| 91 | B J s K q ((native V hV).obj (⊤_ (Principal.SectionPresheaf.Index V))) |
| 92 | (AugmentedCech.AmbientReindex.terminal_eq (reindex π U V hVU) (native V hV)) |
| 93 | |
| 94 | theorem comparison : |
| 95 | letI := geometric_tuples π U hU V hV hVU t |
| 96 | letI := native_isIso π U hU V hV hVU K B J s q |
| 97 | homologyMap (sourceIso π U hU V hV hVU t K).hom q ≫ |
| 98 | Principal.PresheafCover.Comparison.comparison (native V hV) |
| 99 | ((reindex π U V hVU).obj ∘ family U t) B J |
| 100 | (localRefinement π U hU V hV hVU t J r) s W T |
| 101 | (globalRefinement π U hU V hV hVU B T l) j K q = |
| 102 | Principal.PresheafCover.Comparison.comparison (geometric π U hU V) (family U t) |
| 103 | B J r s W T l j K q := by |
| 104 | let := geometric_tuples π U hU V hV hVU t |
| 105 | let := intermediate_isIso π U hU V hV hVU K B J s q |
| 106 | let := native_isIso π U hU V hV hVU K B J s q |
| 107 | have h₁ := Principal.PresheafFunctorCongruence.comparison (geometric π U hU V) |
| 108 | (OpenReindex.opens_eq π U hU V hV hVU).symm |
| 109 | (family U t) B J r s W T l j K q |
| 110 | let : IsIso (RelativeCech.Refinement.homology |
| 111 | ((native V hV).obj ((reindex π U V hVU).obj |
| 112 | (⊤_ (Principal.SectionPresheaf.Index U)))) B J s K q) := |
| 113 | intermediate_isIso π U hU V hV hVU K B J s q |
| 114 | have h₂ := Principal.PresheafReindex.comparison (reindex π U V hVU) (native V hV) |
| 115 | (family U t) B J (localRefinement π U hU V hV hVU t J r) s W T |
| 116 | (intermediateRefinement π U hU V hV hVU B T l) j K q |
| 117 | simp only [sourceIso, Iso.trans_hom, homologyMap_comp, Category.assoc] |
| 118 | rw [h₂] |
| 119 | exact h₁ |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.Intrinsic.IntrinsicComparison |