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.AffineOpen.ParameterRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CommonSectionPrincipalNeighborhood |
| 4 | |
| 5 | /-! # Common Parameter Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.CommonParameterNeighborhood |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual finite-source parameters admit pointed affine neighborhoods |
| 12 | with the same reduced open as a target neighborhood. The parameters |
| 13 | remain the literal restriction of the original finite pullback. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped TensorProduct |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | variable (R : Type u) [CommRing R] |
| 21 | (X Y : Over (Spec (CommRingCat.of R))) (f : Y ⟶ X) [IsFinite f.left] [Etale f.left] |
| 22 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 23 | (U : X.left.Opens) (hUa : IsAffineOpen U) (hU : ⊤ ≤ (s ≫ f.left) ⁻¹ᵁ U) |
| 24 | (hgood : TraceBasis.Good R Y X f U) |
| 25 | {g : ℕ} (t : Fin g → IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) |
| 26 | |
| 27 | local instance sourceAlgebra : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) := |
| 28 | AffineOpen.DeRhamTrace.sectionAlgebra R Y X f U |
| 29 | |
| 30 | def parameters (V : Y.left.Opens) (hV : V ≤ f.left ⁻¹ᵁ U) : Fin g → IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y V := |
| 31 | AffineOpen.ParameterRestriction.parameters R Y (f.left ⁻¹ᵁ U) V hV |
| 32 | (ParameterDifferentials.pullback R X Y f U t) |
| 33 | |
| 34 | variable (Z : Scheme.{u}) (j₁ : Z ⟶ Y.left) (j₂ : Z ⟶ X.left) |
| 35 | |
| 36 | structure Data where |
| 37 | source : Y.left.affineOpens |
| 38 | target : X.left.affineOpens |
| 39 | source_le : source.val ≤ f.left ⁻¹ᵁ U |
| 40 | target_le : target.val ≤ U |
| 41 | source_contains : ⊤ ≤ s ⁻¹ᵁ source.val |
| 42 | target_contains : ⊤ ≤ (s ≫ f.left) ⁻¹ᵁ target.val |
| 43 | reduction : j₁ ⁻¹ᵁ source.val = j₂ ⁻¹ᵁ target.val |
| 44 | ideal : Ideal.span (Set.range (parameters R X Y f U t source.val source_le)) = s.ker.ideal source |
| 45 | regular : RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y source.val) |
| 46 | (List.ofFn (parameters R X Y f U t source.val source_le)) |
| 47 | basis : Module.Basis (Fin g) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y source.val) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y source.val⁄R] |
| 48 | basis_apply : ∀ a, basis a = KaehlerDifferential.D R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y source.val) |
| 49 | (parameters R X Y f U t source.val source_le a) |
| 50 | |
| 51 | variable [IsClosedImmersion s] [IsClosedImmersion (s ≫ f.left)] |
| 52 | (ht : Ideal.span (Set.range t) = (s ≫ f.left).ker.ideal ⟨U,hUa⟩) |
| 53 | (hreg : RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (List.ofFn t)) |
| 54 | (b : Module.Basis (Fin g) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U⁄R]) |
| 55 | (hb : ∀ a, b a = KaehlerDifferential.D R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (t a)) |
| 56 | {T₀ : Scheme.{u}} [Subsingleton T₀] [Nonempty T₀] |
| 57 | (r : T₀ ⟶ Spec (CommRingCat.of R)) (hr : Function.Surjective r) |
| 58 | (s₀ : T₀ ⟶ Z) [IsClosedImmersion j₁] [IsClosedImmersion j₂] |
| 59 | (h₁ : s₀ ≫ j₁ = r ≫ s) (h₂ : s₀ ≫ j₂ = r ≫ (s ≫ f.left)) |
| 60 | |
| 61 | include hs hUa hU hgood ht hreg hb hr h₁ h₂ in |
| 62 | theorem exists_data : Nonempty (Data R X Y f s U t Z j₁ j₂) := by |
| 63 | let : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) R := IntegralComparison.Finite.SectionEvaluation.quotientAlgebra R X Y f s hs U hU |
| 64 | let : Module.Free (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) := hgood.2.2 |
| 65 | let : Module.Finite (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) := f.left.finite_app U hUa |
| 66 | let : Algebra.Etale (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) := |
| 67 | AffineOpen.DeRhamTrace.sectionEtale R Y X f U hUa |
| 68 | let ε : IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U) →ₐ[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U] R := |
| 69 | IntegralComparison.Finite.SectionEvaluation.evaluation R X Y f s hs U hU |
| 70 | obtain ⟨z,hz,_,_⟩ := FiberSectionTrace.exists_lift |
| 71 | (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) R ε |
| 72 | (IntegralComparison.Finite.SectionEvaluation.surjective R X Y f s hs U hU) |
| 73 | have hc := PointParameterKernel.contains R X Y f s hs U hUa hU hgood z hz |
| 74 | have hi := PointParameterKernel.ideal R X Y f s hs U hUa hU hgood z hz t ht |
| 75 | obtain ⟨a₁,a₂,ha₁,ha₂,he⟩ := CommonSectionPrincipalNeighborhood.exists_principal |
| 76 | r hr s₀ j₁ j₂ s (s ≫ f.left) h₁ h₂ (Y.left.basicOpen z) U |
| 77 | ((hUa.preimage f.left).basicOpen z) hUa hc hU |
| 78 | let V₁ : Y.left.affineOpens := ⟨Y.left.basicOpen a₁,((hUa.preimage f.left).basicOpen z).basicOpen a₁⟩ |
| 79 | let V₂ : X.left.affineOpens := ⟨X.left.basicOpen a₂,hUa.basicOpen a₂⟩ |
| 80 | have hV : V₁.val ≤ f.left ⁻¹ᵁ U := (Y.left.basicOpen_le a₁).trans (Y.left.basicOpen_le z) |
| 81 | have hp : parameters R X Y f U t V₁.val hV = |
| 82 | AffineOpen.ParameterRestriction.parameters R Y (Y.left.basicOpen z) V₁.val |
| 83 | (Y.left.basicOpen_le a₁) (ParameterDifferentials.parameters R X Y f U t z) := by |
| 84 | funext a |
| 85 | exact ConcreteCategory.congr_hom |
| 86 | (Y.left.presheaf.map_comp (homOfLE (Y.left.basicOpen_le z)).op |
| 87 | (homOfLE (Y.left.basicOpen_le a₁)).op) (f.left.app U (t a)) |
| 88 | have hfull : RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) |
| 89 | (List.ofFn (ParameterDifferentials.pullback R X Y f U t)) := by |
| 90 | change RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) |
| 91 | (List.ofFn (fun a => algebraMap (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) (t a))) |
| 92 | simpa only [List.map_ofFn, Function.comp_def] using hreg.of_flat (S := IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ U)) |
| 93 | refine ⟨{ |
| 94 | source := V₁ |
| 95 | target := V₂ |
| 96 | source_le := hV |
| 97 | target_le := X.left.basicOpen_le a₂ |
| 98 | source_contains := ha₁ |
| 99 | target_contains := ha₂ |
| 100 | reduction := he |
| 101 | ideal := ?_ |
| 102 | regular := AffineOpen.ParameterRestriction.regular R Y (f.left ⁻¹ᵁ U) V₁.val |
| 103 | (hUa.preimage f.left) V₁.property hV _ hfull |
| 104 | basis := AffineOpen.ParameterRestriction.basis R Y (f.left ⁻¹ᵁ U) V₁.val |
| 105 | (hUa.preimage f.left) V₁.property hV (ParameterDifferentials.fullBasis R X Y f U hUa b) |
| 106 | basis_apply := ?_ }⟩ |
| 107 | · rw [hp] |
| 108 | exact AffineOpen.ParameterRestriction.span R Y (Y.left.basicOpen z) V₁.val |
| 109 | ((hUa.preimage f.left).basicOpen z) V₁.property (Y.left.basicOpen_le a₁) _ s.ker hi |
| 110 | · intro a |
| 111 | exact AffineOpen.ParameterRestriction.basis_apply R Y (f.left ⁻¹ᵁ U) V₁.val |
| 112 | (hUa.preimage f.left) V₁.property hV _ |
| 113 | (ParameterDifferentials.fullBasis R X Y f U hUa b) |
| 114 | (ParameterDifferentials.fullBasis_apply R X Y f U hUa t b hb) a |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.CommonParameterNeighborhood |