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.FiniteEtale.PointParameterKernel |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover |
| 3 | |
| 4 | /-! # Point Complements -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.PointComplements |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The selected principal source open meets the full finite fiber in |
| 11 | exactly the original section. Its two actual punctured complements |
| 12 | therefore agree on that open. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | open scoped TensorProduct |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | |
| 20 | section Schemes |
| 21 | variable {X Y T : Scheme.{u}} (f : Y ⟶ X) (s : T ⟶ Y) [IsClosedImmersion s] |
| 22 | |
| 23 | theorem outside_le : |
| 24 | f ⁻¹ᵁ SectionIdealPuncturedCover.outside (s ≫ f).ker ≤ |
| 25 | SectionIdealPuncturedCover.outside s.ker := by |
| 26 | intro y hy |
| 27 | change f y ∉ (s ≫ f).ker.support at hy |
| 28 | change y ∉ s.ker.support |
| 29 | intro hys |
| 30 | change y ∈ (s.ker.support : Set Y) at hys |
| 31 | rw [Scheme.Hom.support_ker, s.isClosedEmbedding.isClosed_range.closure_eq] at hys |
| 32 | obtain ⟨a, rfl⟩ := hys |
| 33 | exact hy ((s ≫ f).range_subset_ker_support ⟨a, rfl⟩) |
| 34 | |
| 35 | variable (I : X.IdealSheafData) (U : X.Opens) (hU : IsAffineOpen U) |
| 36 | {g : ℕ} (t : Fin g → Γ(X,U)) |
| 37 | (ht : Ideal.span (Set.range t) = I.ideal ⟨U,hU⟩) |
| 38 | (z : Γ(Y,f ⁻¹ᵁ U)) |
| 39 | |
| 40 | include ht in |
| 41 | theorem principal_preimage : |
| 42 | Y.basicOpen z ⊓ (f ⁻¹ᵁ SectionIdealPuncturedCover.outside I) = |
| 43 | ⨆ j, Y.basicOpen (IdealSheafPrincipalEquations.sequence (f ⁻¹ᵁ U) z |
| 44 | (fun k => f.app U (t k)) j) := by |
| 45 | apply le_antisymm |
| 46 | · intro y hy |
| 47 | have hyU : f y ∈ U := Y.basicOpen_le z hy.1 |
| 48 | have hyI : f y ∈ U ⊓ SectionIdealPuncturedCover.outside I := ⟨hyU,hy.2⟩ |
| 49 | rw [SectionIdealPuncturedCover.cover I U hU t ht] at hyI |
| 50 | obtain ⟨j,hj⟩ := Opens.mem_iSup.mp hyI |
| 51 | apply Opens.mem_iSup.mpr |
| 52 | refine ⟨j, ?_⟩ |
| 53 | change y ∈ Y.basicOpen (Y.presheaf.map (homOfLE (Y.basicOpen_le z)).op (f.app U (t j))) |
| 54 | rw [Scheme.basicOpen_res] |
| 55 | refine ⟨hy.1, ?_⟩ |
| 56 | rw [← Scheme.preimage_basicOpen] |
| 57 | exact hj |
| 58 | · intro y hy |
| 59 | obtain ⟨j,hj⟩ := Opens.mem_iSup.mp hy |
| 60 | change y ∈ Y.basicOpen (Y.presheaf.map (homOfLE (Y.basicOpen_le z)).op (f.app U (t j))) at hj |
| 61 | rw [Scheme.basicOpen_res] at hj |
| 62 | refine ⟨hj.1, ?_⟩ |
| 63 | have hp : f y ∈ X.basicOpen (t j) := by |
| 64 | change y ∈ f ⁻¹ᵁ X.basicOpen (t j) |
| 65 | rw [Scheme.preimage_basicOpen] |
| 66 | exact hj.2 |
| 67 | exact SectionIdealPuncturedCover.basicOpen_le I U hU t ht j hp |
| 68 | |
| 69 | variable (J : Y.IdealSheafData) (hV : IsAffineOpen (Y.basicOpen z)) |
| 70 | (hj : Ideal.span (Set.range (IdealSheafPrincipalEquations.sequence (f ⁻¹ᵁ U) z |
| 71 | (fun k => f.app U (t k)))) = J.ideal ⟨Y.basicOpen z,hV⟩) |
| 72 | |
| 73 | include ht hj in |
| 74 | theorem from_equations : |
| 75 | Y.basicOpen z ⊓ (f ⁻¹ᵁ SectionIdealPuncturedCover.outside I) = |
| 76 | Y.basicOpen z ⊓ SectionIdealPuncturedCover.outside J := |
| 77 | (principal_preimage f I U hU t ht z).trans |
| 78 | (SectionIdealPuncturedCover.cover J (Y.basicOpen z) hV |
| 79 | (IdealSheafPrincipalEquations.sequence (f ⁻¹ᵁ U) z (fun k => f.app U (t k))) hj).symm |
| 80 | |
| 81 | end Schemes |
| 82 | |
| 83 | variable (R : Type u) [CommRing R] |
| 84 | (X Y : Over (Spec (CommRingCat.of R))) (f : Y ⟶ X) [IsFinite f.left] [Etale f.left] |
| 85 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 86 | (U : X.left.Opens) (hUa : IsAffineOpen U) (hU : ⊤ ≤ (s ≫ f.left) ⁻¹ᵁ U) |
| 87 | (hgood : TraceBasis.Good R Y X f U) |
| 88 | |
| 89 | local instance sourceAlgebra : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) := |
| 90 | AffineOpen.DeRhamTrace.sectionAlgebra R Y X f U |
| 91 | |
| 92 | variable (z : IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) |
| 93 | (hz : letI : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) R := Finite.SectionEvaluation.quotientAlgebra R X Y f s hs U hU |
| 94 | ((1 : R) ⊗ₜ[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U] z : R ⊗[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U] IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) = |
| 95 | PointParameterKernel.component R X Y f s hs U hUa hU) |
| 96 | [IsClosedImmersion s] [IsClosedImmersion (s ≫ f.left)] |
| 97 | {g : ℕ} (t : Fin g → IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) |
| 98 | (ht : Ideal.span (Set.range t) = (s ≫ f.left).ker.ideal ⟨U,hUa⟩) |
| 99 | |
| 100 | include hgood hz ht in |
| 101 | theorem selected_intersection : |
| 102 | Y.left.basicOpen z ⊓ (f.left ⁻¹ᵁ SectionIdealPuncturedCover.outside (s ≫ f.left).ker) = |
| 103 | Y.left.basicOpen z ⊓ SectionIdealPuncturedCover.outside s.ker := by |
| 104 | exact from_equations f.left (s ≫ f.left).ker U hUa t ht z s.ker |
| 105 | ((hUa.preimage f.left).basicOpen z) |
| 106 | (PointParameterKernel.ideal R X Y f s hs U hUa hU hgood z hz t ht) |
| 107 | |
| 108 | include hgood hz in |
| 109 | omit [IsClosedImmersion (s ≫ f.left)] in |
| 110 | theorem selected_global : |
| 111 | Y.left.basicOpen z ⊔ SectionIdealPuncturedCover.outside s.ker = ⊤ := |
| 112 | SectionIdealPuncturedCover.section_global (Y.left.basicOpen z) s |
| 113 | (PointParameterKernel.contains R X Y f s hs U hUa hU hgood z hz) |
| 114 | |
| 115 | include hU in |
| 116 | omit [IsFinite f.left] [Etale f.left] [IsClosedImmersion s] in |
| 117 | theorem fiber_global : |
| 118 | (f.left ⁻¹ᵁ U) ⊔ (f.left ⁻¹ᵁ SectionIdealPuncturedCover.outside (s ≫ f.left).ker) = ⊤ := by |
| 119 | apply top_unique |
| 120 | intro y _ |
| 121 | have hc := SectionIdealPuncturedCover.section_global U (s ≫ f.left) hU |
| 122 | have hy : f.left y ∈ U ⊔ SectionIdealPuncturedCover.outside (s ≫ f.left).ker := by |
| 123 | rw [hc] |
| 124 | trivial |
| 125 | exact hy |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.PointComplements |