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.AlgebraicGeometry.Foundations.Scheme.OpenImmersionPoints |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointUnderlying |
| 4 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 5 | |
| 6 | /-! # Affine Open Lifts -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Local affine factorizations through open immersions |
| 14 | |
| 15 | A map from an affine complex scheme whose selected point lies in an open |
| 16 | subscheme factors through that open subscheme on a principal neighborhood of |
| 17 | the selected point. The factorization is constructed in the category over |
| 18 | `Spec ℂ`, using the actual spectrum localization map and open-immersion lift. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | /-- A selected prime has a principal neighborhood on which the affine map |
| 24 | lifts through the given open immersion, compatibly with the complex base. -/ |
| 25 | theorem SchemePointHomeomorphs.schemeComplexPoints.exists_localizationLift_of_prime_mem |
| 26 | {U X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (i : U ⟶ X) [IsOpenImmersion i.left] |
| 27 | (A : CommAlgCat ℂ) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (p : PrimeSpectrum A) |
| 28 | (hp : g.left p ∈ Set.range i.left) : |
| 29 | ∃ a : A, a ∉ p.asIdeal ∧ |
| 30 | ∃ l : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Localization.Away a) ⟶ U, |
| 31 | l ≫ i = |
| 32 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (Localization.Away a) |
| 33 | (Algebra.algHom ℂ A (Localization.Away a)) ≫ g := by |
| 34 | have hopen : IsOpen (g.left ⁻¹' Set.range i.left) := |
| 35 | (IsOpenImmersion.isOpen_range i.left).preimage g.left.continuous |
| 36 | obtain ⟨V, ⟨a, rfl⟩, ha, hsub⟩ := |
| 37 | (PrimeSpectrum.isTopologicalBasis_basic_opens (R := A)).exists_subset_of_mem_open |
| 38 | hp hopen |
| 39 | let j : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Localization.Away a) ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A := |
| 40 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (Localization.Away a) |
| 41 | (Algebra.algHom ℂ A (Localization.Away a)) |
| 42 | have hfactor : Set.range (j ≫ g).left ⊆ Set.range i.left := by |
| 43 | rintro y ⟨q, rfl⟩ |
| 44 | change g.left (PrimeSpectrum.comap (algebraMap A (Localization.Away a)) q) ∈ |
| 45 | Set.range i.left |
| 46 | apply hsub |
| 47 | exact (PrimeSpectrum.localization_away_comap_range (Localization.Away a) a).le |
| 48 | (Set.mem_range_self q) |
| 49 | refine ⟨a, ha, Foundations.Scheme.OpenImmersionPoints.openImmersion_relativeLift i (j ≫ g) hfactor, ?_⟩ |
| 50 | exact Foundations.Scheme.OpenImmersionPoints.openImmersion_relativeLift_fac i (j ≫ g) hfactor |
| 51 | |
| 52 | /-- A complex point mapping into an open subscheme has an ordinary principal |
| 53 | neighborhood whose entire affine localization map lifts to that open subscheme. -/ |
| 54 | theorem SchemePointHomeomorphs.schemeComplexPoints.exists_localizationLift |
| 55 | {U X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (i : U ⟶ X) [IsOpenImmersion i.left] |
| 56 | (A : CommAlgCat ℂ) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 57 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) |
| 58 | (hx : SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A g x ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.map i)) : |
| 59 | ∃ a : A, x a ≠ 0 ∧ |
| 60 | ∃ l : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Localization.Away a) ⟶ U, |
| 61 | l ≫ i = |
| 62 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (Localization.Away a) |
| 63 | (Algebra.algHom ℂ A (Localization.Away a)) ≫ g := by |
| 64 | have hp : g.left (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (A := A) x) ∈ Set.range i.left := by |
| 65 | obtain ⟨y, hy⟩ := hx |
| 66 | refine ⟨SchemePointHomeomorphs.schemeComplexPoints.underlying y, ?_⟩ |
| 67 | simpa only [SchemePointHomeomorphs.schemeComplexPoints.underlying_map, SchemePointHomeomorphs.schemeComplexPoints.underlying_affinePointMap] using congrArg SchemePointHomeomorphs.schemeComplexPoints.underlying hy |
| 68 | obtain ⟨a, ha, l, hl⟩ := |
| 69 | SchemePointHomeomorphs.schemeComplexPoints.exists_localizationLift_of_prime_mem i A g (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (A := A) x) hp |
| 70 | refine ⟨a, ?_, l, hl⟩ |
| 71 | exact ha |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic |