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.TruncatedModel.PointedLocalEquiv |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PointedParameterTransport |
| 3 | |
| 4 | /-! # Pointed Parameters -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PointedParameters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual pointed frame isomorphism transports generators of the section ideal. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 18 | (n : ℕ) |
| 19 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 20 | [Smooth X₁.hom] [Smooth X₂.hom] |
| 21 | (Y : Over (Spec (CommRingCat.of k))) |
| 22 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 23 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 28 | (h : f₁ ⁻¹ᵁ U₁.val = f₂ ⁻¹ᵁ U₂.val) |
| 29 | |
| 30 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n |
| 31 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X₁ U₁.val |
| 32 | local notation "B" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.sourceRing p k n X₂ U₂.val |
| 33 | |
| 34 | local instance sourceAlgebra₁ : Algebra S A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X₁ U₁.val |
| 35 | local instance sourceAlgebra₂ : Algebra S B := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S X₂ U₂.val |
| 36 | |
| 37 | variable |
| 38 | (s₁ : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X₁.left) |
| 39 | (hs₁ : s₁ ≫ X₁.hom = 𝟙 _) |
| 40 | (s₂ : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X₂.left) |
| 41 | (hs₂ : s₂ ≫ X₂.hom = 𝟙 _) |
| 42 | (s₀ : Spec (CommRingCat.of k) ⟶ Y.left) (hs₀ : s₀ ≫ Y.hom = 𝟙 _) |
| 43 | (hred₁ : s₀ ≫ f₁ = Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)) ≫ s₁) |
| 44 | (hred₂ : s₀ ≫ f₂ = Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)) ≫ s₂) |
| 45 | (h₁ : ⊤ ≤ s₁ ⁻¹ᵁ U₁.val) (h₂ : ⊤ ≤ s₂ ⁻¹ᵁ U₂.val) |
| 46 | |
| 47 | local notation "εA" => OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionEvaluation.evaluation S X₁ s₁ hs₁ U₁.val h₁ |
| 48 | local notation "εB" => OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionEvaluation.evaluation S X₂ s₂ hs₂ U₂.val h₂ |
| 49 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PointedLocalEquiv.equiv |
| 50 | p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ h s₁ hs₁ s₂ hs₂ s₀ hs₀ hred₁ hred₂ h₁ h₂ |
| 51 | |
| 52 | variable [IsClosedImmersion s₁] [IsClosedImmersion s₂] |
| 53 | (g : ℕ) (b : Fin g → Γ(X₁.left, U₁.val)) |
| 54 | |
| 55 | def parameters : Fin g → Γ(X₂.left, U₂.val) := fun i => |
| 56 | (PointedLocalEquiv.frameIso |
| 57 | p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ h s₁ hs₁ s₂ hs₂ s₀ hs₀ hred₁ hred₂ h₁ h₂).hom.ambientMap (b i) |
| 58 | |
| 59 | theorem span (hb : Ideal.span (Set.range b) = s₁.ker.ideal U₁) : |
| 60 | Ideal.span (Set.range (parameters |
| 61 | p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ h s₁ hs₁ s₂ hs₂ s₀ hs₀ hred₁ hred₂ h₁ h₂ g b)) = |
| 62 | s₂.ker.ideal U₂ := by |
| 63 | have ha : Ideal.span (Set.range b) = RingHom.ker (εA).toRingHom := |
| 64 | hb.trans (Intrinsic.SectionEvaluation.kernel S X₁ s₁ hs₁ U₁.val h₁ U₁.property).symm |
| 65 | exact (PointedParameterTransport.span e εA εB |
| 66 | (PointedLocalEquiv.section_equiv |
| 67 | p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ h s₁ hs₁ s₂ hs₂ s₀ hs₀ hred₁ hred₂ h₁ h₂) b ha).trans |
| 68 | (Intrinsic.SectionEvaluation.kernel S X₂ s₂ hs₂ U₂.val h₂ U₂.property) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PointedParameters |