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.Source |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ResolutionCechRefinement |
| 3 | |
| 4 | /-! # Pulled Integer Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.PulledIntegerRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original point-comparison covers, pulled to an affine source, |
| 11 | satisfy the chosen integer-resolution refinement hypotheses. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | variable {Y X Z T : Scheme.{0}} [X.IsSeparated] [Z.IsSeparated] |
| 17 | (f : Y ⟶ X) [IsAffineHom f] (i : X ⟶ Z) [IsClosedImmersion i] |
| 18 | (s₀ : T ⟶ X) [IsClosedImmersion s₀] |
| 19 | (U : Z.Opens) (hU : IsAffineOpen U) (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 20 | {c g : ℕ} (s : Fin c → Γ(Z,U)) (t : Fin g → Γ(Z,U)) |
| 21 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U,hU⟩) |
| 22 | (hst : Ideal.span (Set.range (Fin.append s t)) = (s₀ ≫ i).ker.ideal ⟨U,hU⟩) |
| 23 | {κ : Type} [LinearOrder κ] (V : κ → Z.Opens) |
| 24 | (hV : iSup V = ⊤) (haV : ∀ j, IsAffineOpen (V j)) |
| 25 | |
| 26 | include f in |
| 27 | private theorem source_separated : Y.IsSeparated := ⟨by |
| 28 | rw [← terminal.comp_from f] |
| 29 | infer_instance⟩ |
| 30 | |
| 31 | abbrev ambient := (RelativeCech.ReindexData.preimage (f ≫ i).base).obj (Principal.RelativeConcentration.ambient U hU) |
| 32 | abbrev complement := (RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ RelativeGeometry.complementary i s₀ |
| 33 | abbrev common := (RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ RelativeGeometry.common i s₀ U hU t |
| 34 | abbrev localRight := RelativeCech.Reindex.mapped (f ≫ i).base (RelativeGeometry.complementary i s₀) |
| 35 | (RelativeGeometry.common i s₀ U hU t) |
| 36 | (RelativeGeometry.right i s₀ U hU t) |
| 37 | abbrev outside := f ⁻¹ᵁ SectionIdealPuncturedCover.outside s₀.ker |
| 38 | abbrev sourceOutside := f ⁻¹ᵁ RelativeGeometry.sourceOutside i s₀ U |
| 39 | abbrev global := (RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V |
| 40 | abbrev globalCommon := (RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ |
| 41 | PointComplementGlobalCover.common (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) V |
| 42 | abbrev globalRight := RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V |
| 43 | (PointComplementGlobalCover.common (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) V) |
| 44 | (PointComplementGlobalCover.right (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) V) |
| 45 | |
| 46 | omit [X.IsSeparated] [Z.IsSeparated] in |
| 47 | theorem ambient_affine : IsAffineOpen (ambient f i U hU) := |
| 48 | (Principal.RelativeConcentration.ambient_affine U hU).preimage (f ≫ i) |
| 49 | |
| 50 | omit [X.IsSeparated] [Z.IsSeparated] [IsClosedImmersion s₀] in |
| 51 | theorem complement_affine (j : ComplementaryAffineCover.Index |
| 52 | (RelativeGeometry.outside i s₀)) : IsAffineOpen (complement f i s₀ j) := |
| 53 | (RelativeGeometry.complementary_affine i s₀ j).preimage (f ≫ i) |
| 54 | |
| 55 | omit [X.IsSeparated] [IsClosedImmersion s₀] in |
| 56 | theorem common_affine (j : RelativeGeometry.CommonIndex (g := g) i s₀) : |
| 57 | IsAffineOpen (common f i s₀ U hU t j) := |
| 58 | (RelativeGeometry.common_affine i s₀ U hU t j).preimage (f ≫ i) |
| 59 | |
| 60 | omit [X.IsSeparated] [Z.IsSeparated] [IsAffineHom f] in |
| 61 | theorem complement_below (j : ComplementaryAffineCover.Index |
| 62 | (RelativeGeometry.outside i s₀)) : complement f i s₀ j ≤ outside f s₀ := by |
| 63 | have h := (Opens.map (f ≫ i).base).monotone |
| 64 | (RelativeGeometry.complementary_outside i s₀ j) |
| 65 | simpa only [complement, outside, Function.comp_apply, RelativeCech.ReindexData.preimage, |
| 66 | Scheme.Hom.comp_preimage, Closed.PointParameterCover.outside] using h |
| 67 | |
| 68 | omit [X.IsSeparated] [Z.IsSeparated] [IsAffineHom f] in |
| 69 | theorem complementary_cover : |
| 70 | (⨆ j, ambient f i U hU ⊓ complement f i s₀ j) = sourceOutside f i s₀ U := by |
| 71 | have h := congrArg (fun A : X.Opens => f ⁻¹ᵁ A) |
| 72 | (RelativeGeometry.complementary_cover i s₀ U hU) |
| 73 | change (⨆ j, (f ≫ i) ⁻¹ᵁ (Principal.RelativeConcentration.ambient U hU) ⊓ |
| 74 | (f ≫ i) ⁻¹ᵁ (RelativeGeometry.complementary i s₀ j)) = _ |
| 75 | simpa only [sourceOutside, Scheme.Hom.comp_preimage, |
| 76 | Scheme.Hom.preimage_iSup, Scheme.Hom.preimage_inf] using h |
| 77 | |
| 78 | include hs hst in |
| 79 | omit [X.IsSeparated] [Z.IsSeparated] [IsAffineHom f] in |
| 80 | theorem common_cover : |
| 81 | (⨆ j, ambient f i U hU ⊓ common f i s₀ U hU t j) = sourceOutside f i s₀ U := by |
| 82 | have h := congrArg (fun A : X.Opens => f ⁻¹ᵁ A) |
| 83 | (RelativeGeometry.common_cover i s₀ U hU s t hs hst) |
| 84 | change (⨆ j, (f ≫ i) ⁻¹ᵁ (Principal.RelativeConcentration.ambient U hU) ⊓ |
| 85 | (f ≫ i) ⁻¹ᵁ (RelativeGeometry.common i s₀ U hU t j)) = _ |
| 86 | simpa only [sourceOutside, Scheme.Hom.comp_preimage, |
| 87 | Scheme.Hom.preimage_iSup, Scheme.Hom.preimage_inf] using h |
| 88 | |
| 89 | include hV in |
| 90 | omit [X.IsSeparated] [Z.IsSeparated] [IsAffineHom f] [IsClosedImmersion i] [LinearOrder κ] in |
| 91 | theorem global_cover : iSup (global f i V) = ⊤ := by |
| 92 | change (⨆ j, (f ≫ i) ⁻¹ᵁ V j) = ⊤ |
| 93 | rw [← Scheme.Hom.preimage_iSup, hV] |
| 94 | rfl |
| 95 | |
| 96 | include haV in |
| 97 | omit [X.IsSeparated] [Z.IsSeparated] [LinearOrder κ] in |
| 98 | theorem global_affine (j : κ) : IsAffineOpen (global f i V j) := (haV j).preimage (f ≫ i) |
| 99 | |
| 100 | include hcontains hV in |
| 101 | omit [X.IsSeparated] [Z.IsSeparated] [IsAffineHom f] [LinearOrder κ] in |
| 102 | theorem globalCommon_cover : iSup (globalCommon f i s₀ U hU V) = ⊤ := by |
| 103 | change (⨆ j, (f ≫ i) ⁻¹ᵁ |
| 104 | PointComplementGlobalCover.common (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) V j) = ⊤ |
| 105 | rw [← Scheme.Hom.preimage_iSup, |
| 106 | PointComplementGlobalCover.common_covers (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) |
| 107 | (PrincipalReference.CoverTransfer.Reference.contains U hU (s₀ ≫ i) hcontains) V hV] |
| 108 | rfl |
| 109 | |
| 110 | include haV in |
| 111 | omit [X.IsSeparated] [IsClosedImmersion s₀] [LinearOrder κ] in |
| 112 | theorem globalCommon_affine (j : PointComplementGlobalCover.CommonIndex (ι := κ) (s₀ ≫ i)) : |
| 113 | IsAffineOpen (globalCommon f i s₀ U hU V j) := |
| 114 | (PointComplementGlobalCover.common_affine (s₀ ≫ i) (Principal.RelativeConcentration.ambient U hU) |
| 115 | (Principal.RelativeConcentration.ambient_affine U hU) V haV j).preimage (f ≫ i) |
| 116 | |
| 117 | variable (N : Y.Modules) [N.IsQuasicoherent] (d q : ℕ) |
| 118 | |
| 119 | include hs hst in |
| 120 | theorem relative_integer : IsIso (RelativeCech.Refinement.homology (ambient f i U hU) |
| 121 | (complement f i s₀) (common f i s₀ U hU t) (localRight f i s₀ U hU t) |
| 122 | (Affine.OrderedInjective.Comparison.integerPresheaf N d) q) := by |
| 123 | let := source_separated f |
| 124 | exact Affine.ResolutionCechRefinement.relative_integer (ambient f i U hU) (ambient_affine f i U hU) |
| 125 | (complement f i s₀) (common f i s₀ U hU t) (localRight f i s₀ U hU t) |
| 126 | (sourceOutside f i s₀ U) (complementary_cover f i s₀ U hU) (common_cover f i s₀ U hU s t hs hst) |
| 127 | (complement_affine f i s₀) (common_affine f i s₀ U hU t) N d q |
| 128 | |
| 129 | include hcontains hV haV in |
| 130 | theorem ordered_integer : IsIso (homologyMap (OrderedCech.Refinement.totalMap (global f i V) |
| 131 | (globalCommon f i s₀ U hU V) (globalRight f i s₀ U hU V) |
| 132 | (Affine.OrderedInjective.Comparison.integerPresheaf N d)) q) := by |
| 133 | let := source_separated f |
| 134 | exact Affine.ResolutionCechRefinement.ordered_integer (global f i V) |
| 135 | (globalCommon f i s₀ U hU V) (globalRight f i s₀ U hU V) |
| 136 | (global_affine f i V haV) (globalCommon_affine f i s₀ U hU V haV) N d |
| 137 | (global_cover f i V hV) (globalCommon_cover f i s₀ U hU hcontains V hV) q |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.PulledIntegerRefinement |