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.Smooth.EtaleCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ClosedSections |
| 3 | |
| 4 | /-! # Principal Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.PrincipalRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Principal neighborhoods on a closed subscheme are restrictions of |
| 11 | actual principal neighborhoods in the ambient scheme. Smoothness supplies |
| 12 | such neighborhoods with étale coordinates around each original point. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 22 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 23 | |
| 24 | include hU |
| 25 | |
| 26 | theorem lift (s : Γ(X, f ⁻¹ᵁ U)) : |
| 27 | ∃ r : Γ(Y, U), f.app U r = s ∧ f ⁻¹ᵁ Y.basicOpen r = X.basicOpen s := by |
| 28 | obtain ⟨r, hr⟩ := f.app_surjective U hU s |
| 29 | exact ⟨r, hr, by rw [Scheme.preimage_basicOpen, hr]⟩ |
| 30 | |
| 31 | theorem exists_coordinate_refinement |
| 32 | (k : Type u) [CommRing k] [Algebra k Γ(X, f ⁻¹ᵁ U)] |
| 33 | [Algebra.Smooth k Γ(X, f ⁻¹ᵁ U)] (x : X) (hx : f x ∈ U) : |
| 34 | ∃ r : Γ(Y, U), f x ∈ Y.basicOpen r ∧ |
| 35 | IntegralComparison.Smooth.EtaleCoordinates.HasCoordinates k Γ(X, f ⁻¹ᵁ U) (f.app U r) := by |
| 36 | let V := f ⁻¹ᵁ U |
| 37 | let hV : IsAffineOpen V := hU.preimage f |
| 38 | let q := hV.primeIdealOf ⟨x, hx⟩ |
| 39 | obtain ⟨s, hs, hcoord⟩ := IntegralComparison.Smooth.EtaleCoordinates.exists_at_prime k Γ(X, V) q.asIdeal |
| 40 | have hxs : x ∈ X.basicOpen s := by |
| 41 | have hq : q ∈ hV.fromSpec ⁻¹ᵁ X.basicOpen s := by |
| 42 | rw [hV.fromSpec_preimage_basicOpen] |
| 43 | exact hs |
| 44 | change hV.fromSpec q ∈ X.basicOpen s at hq |
| 45 | simpa only [q, hV.fromSpec_primeIdealOf] using hq |
| 46 | obtain ⟨r, hr, hopen⟩ := lift f U hU s |
| 47 | refine ⟨r, ?_, ?_⟩ |
| 48 | · change x ∈ f ⁻¹ᵁ Y.basicOpen r |
| 49 | rw [hopen] |
| 50 | exact hxs |
| 51 | · rw [hr] |
| 52 | exact hcoord |
| 53 | |
| 54 | theorem exists_smooth_coordinate_refinement {S : Scheme.{u}} [IsAffine S] |
| 55 | (π : Y ⟶ S) [Smooth (f ≫ π)] (x : X) (hx : f x ∈ U) : |
| 56 | letI := IntegralComparison.Smooth.ClosedSections.algebra (f ≫ π) (f ⁻¹ᵁ U) |
| 57 | ∃ r : Γ(Y, U), f x ∈ Y.basicOpen r ∧ |
| 58 | IntegralComparison.Smooth.EtaleCoordinates.HasCoordinates Γ(S, ⊤) Γ(X, f ⁻¹ᵁ U) (f.app U r) := by |
| 59 | let := IntegralComparison.Smooth.ClosedSections.algebra (f ≫ π) (f ⁻¹ᵁ U) |
| 60 | let := IntegralComparison.Smooth.ClosedSections.smooth_sections (f ≫ π) (f ⁻¹ᵁ U) (hU.preimage f) |
| 61 | exact exists_coordinate_refinement f U hU Γ(S, ⊤) x hx |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.PrincipalRefinement |