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.SectionEvaluation |
| 2 | import Mathlib.RingTheory.Artinian.Ring |
| 3 | |
| 4 | /-! # Section Principal Support -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionPrincipalSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A principal neighborhood inside any prescribed neighborhood of an |
| 11 | Artinian section can be cut out by a function whose actual section |
| 12 | evaluation is one. The function stays in the original affine ring. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] (Y : Over (Spec (CommRingCat.of R))) |
| 19 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 20 | (U : Y.left.Opens) (hU : ⊤ ≤ s ⁻¹ᵁ U) |
| 21 | |
| 22 | theorem evaluation_isUnit (a : SmoothClosedSections.ring R Y U) |
| 23 | (ha : ⊤ ≤ s ⁻¹ᵁ Y.left.basicOpen a) : |
| 24 | IsUnit (SectionEvaluation.evaluation R Y s hs U hU a) := by |
| 25 | have hres := Y.left.toRingedSpace.isUnit_res_basicOpen a |
| 26 | have he := hres.map |
| 27 | (SectionEvaluation.evaluation R Y s hs (Y.left.basicOpen a) ha).toRingHom |
| 28 | change IsUnit (SectionEvaluation.evaluation R Y s hs (Y.left.basicOpen a) ha |
| 29 | (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R Y).map |
| 30 | (homOfLE (Y.left.basicOpen_le a)).op).hom a)) at he |
| 31 | rwa [SectionEvaluation.restriction R Y s hs U hU |
| 32 | (Y.left.basicOpen a) (Y.left.basicOpen_le a) ha a] at he |
| 33 | |
| 34 | variable [IsArtinianRing R] [IsLocalRing R] |
| 35 | (hUa : IsAffineOpen U) (W : Y.left.Opens) (hW : ⊤ ≤ s ⁻¹ᵁ W) |
| 36 | |
| 37 | include hUa hW in |
| 38 | theorem exists_normalized : ∃ h : SmoothClosedSections.ring R Y U, |
| 39 | SectionEvaluation.evaluation R Y s hs U hU h = 1 ∧ |
| 40 | Y.left.basicOpen h ≤ W := by |
| 41 | let : Subsingleton (Spec (CommRingCat.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 42 | let p : Spec (CommRingCat.of R) := Classical.ofNonempty |
| 43 | have hpU : s p ∈ U := hU (show p ∈ (⊤ : (Spec (CommRingCat.of R)).Opens) from trivial) |
| 44 | have hpW : s p ∈ W := hW (show p ∈ (⊤ : (Spec (CommRingCat.of R)).Opens) from trivial) |
| 45 | obtain ⟨a, haW, hpa⟩ := hUa.exists_basicOpen_le ⟨s p, hpW⟩ hpU |
| 46 | change SmoothClosedSections.ring R Y U at a |
| 47 | have ha : ⊤ ≤ s ⁻¹ᵁ Y.left.basicOpen a := by |
| 48 | intro q _ |
| 49 | have hqp : q = p := Subsingleton.elim _ _ |
| 50 | subst q |
| 51 | exact hpa |
| 52 | obtain ⟨v, hv⟩ := evaluation_isUnit R Y s hs U hU a ha |
| 53 | refine ⟨a * algebraMap R (SmoothClosedSections.ring R Y U) (↑(v⁻¹) : R), ?_, ?_⟩ |
| 54 | · rw [map_mul, AlgHom.commutes, ← hv] |
| 55 | exact v.mul_inv |
| 56 | · rw [Scheme.basicOpen_mul] |
| 57 | exact inf_le_left.trans haW |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionPrincipalSupport |