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.Intrinsic.SmoothClosedSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RelativeRank |
| 3 | |
| 4 | /-! # Smooth Relative Rank -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothRelativeRank |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative dimension computes the rank of differentials with the |
| 11 | original coefficient algebra used by the native de Rham construction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] |
| 23 | |
| 24 | theorem locally_standard (X : Over (Spec (CommRingCat.of R))) (g : ℕ) |
| 25 | [SmoothOfRelativeDimension g X.hom] (U : X.left.Opens) (hU : IsAffineOpen U) : |
| 26 | RingHom.Locally (RingHom.IsStandardSmoothOfRelativeDimension g) (algebraMap R (SmoothClosedSections.ring R X U)) := by |
| 27 | have h : SmoothOfRelativeDimension (0 + g) (hU.fromSpec ≫ X.hom) := inferInstance |
| 28 | rw [Nat.zero_add, AffineOpen.SectionBase.overBase R X U hU] at h |
| 29 | exact (HasRingHomProperty.Spec_iff (P := @SmoothOfRelativeDimension g)).mp h |
| 30 | |
| 31 | theorem sections (X : Over (Spec (CommRingCat.of R))) (g : ℕ) |
| 32 | [SmoothOfRelativeDimension g X.hom] (U : X.left.Opens) (hU : IsAffineOpen U) |
| 33 | (p : PrimeSpectrum (SmoothClosedSections.ring R X U)) : Module.rankAtStalk Ω[SmoothClosedSections.ring R X U⁄R] p = g := by |
| 34 | let := SmoothOfRelativeDimension.smooth g X.hom |
| 35 | let := SmoothClosedSections.smooth_sections R X U hU |
| 36 | exact Smooth.RelativeRank.locally_standard_smooth_rank R (SmoothClosedSections.ring R X U) g |
| 37 | (locally_standard R X g U hU) p |
| 38 | |
| 39 | theorem quotient (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 40 | [IsClosedImmersion f.left] (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 41 | (U : Y.left.Opens) (hU : IsAffineOpen U) |
| 42 | (p : PrimeSpectrum (SmoothClosedSections.ring R Y U ⧸ f.left.ker.ideal ⟨U, hU⟩)) : |
| 43 | Module.rankAtStalk Ω[SmoothClosedSections.ring R Y U ⧸ f.left.ker.ideal ⟨U, hU⟩⁄R] p = g := by |
| 44 | let := SmoothOfRelativeDimension.smooth g X.hom |
| 45 | let := SmoothClosedSections.smooth_quotient R X Y f U hU |
| 46 | exact Smooth.RelativeRank.locally_standard_smooth_rank R _ g |
| 47 | (Smooth.RelativeRank.locally_standard_smooth_of_equiv g |
| 48 | (SmoothClosedSections.quotientEquiv R X Y f U hU).symm |
| 49 | (locally_standard R X g (f.left ⁻¹ᵁ U) (hU.preimage f.left))) p |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothRelativeRank |