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.DivisorClass.Chern.UniformizerSupport |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportCodimension |
| 3 | |
| 4 | /-! # Scheme Uniformizer Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.SchemeUniformizerSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: the actual section parameter defines the point closure nearby |
| 12 | |
| 13 | The affine prime is the original scheme point's prime. Transport the |
| 14 | uniformizer through its genuine stalk localization, clear denominators, |
| 15 | and translate the resulting support equality back to the original scheme. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | |
| 24 | variable {X : Scheme} |
| 25 | |
| 26 | /-- Membership of the affine prime is the actual failure of a section |
| 27 | germ to be a unit at that scheme point. -/ |
| 28 | theorem mem_affinePointPrime_iff {U : X.Opens} (hU : IsAffineOpen U) |
| 29 | (x : U) (p : Γ(X, U)) : |
| 30 | p ∈ (hU.primeIdealOf x).asIdeal ↔ ¬ IsUnit (X.presheaf.germ U x.val x.property p) := by |
| 31 | rw [hU.primeIdealOf_eq_map_closedPoint] |
| 32 | rfl |
| 33 | |
| 34 | /-- The point closure has its literal prime-specialization description |
| 35 | in the actual affine spectrum chart. -/ |
| 36 | theorem affinePoint_mem_closure_iff {U : X.Opens} (hU : IsAffineOpen U) (x y : U) : |
| 37 | y.val ∈ closure ({x.val} : Set X) ↔ (hU.primeIdealOf x).asIdeal ≤ (hU.primeIdealOf y).asIdeal := by |
| 38 | have hpre : hU.fromSpec ⁻¹' ({x.val} : Set X) = {hU.primeIdealOf x} := by |
| 39 | ext z |
| 40 | simp only [Set.mem_preimage, Set.mem_singleton_iff] |
| 41 | constructor |
| 42 | · intro h |
| 43 | apply hU.fromSpec.isOpenEmbedding.injective |
| 44 | rw [hU.fromSpec_primeIdealOf, h] |
| 45 | · rintro rfl |
| 46 | exact hU.fromSpec_primeIdealOf x |
| 47 | have hcl := hU.fromSpec.isOpenEmbedding.isOpenMap.preimage_closure_eq_closure_preimage |
| 48 | hU.fromSpec.continuous ({x.val} : Set X) |
| 49 | rw [hpre, PrimeSpectrum.closure_singleton] at hcl |
| 50 | have hm := Set.ext_iff.mp hcl (hU.primeIdealOf y) |
| 51 | rw [Set.mem_preimage, hU.fromSpec_primeIdealOf] at hm |
| 52 | exact hm |
| 53 | |
| 54 | /-- On a genuine principal neighborhood, the original regular section's |
| 55 | nonunit locus is exactly the closure of the original codimension-one point. -/ |
| 56 | theorem smooth_uniformizer_section_support_neighborhood [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 57 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 58 | (U : X.Opens) (hU : IsAffineOpen U) (x : X) (hxU : x ∈ U) (hx : Order.coheight x = 1) |
| 59 | (p : Γ(X, U)) (hp : Irreducible (X.presheaf.germ U x hxU p)) : |
| 60 | ∃ b : Γ(X, U), IsUnit (X.presheaf.germ U x hxU b) ∧ |
| 61 | ∀ y : U, IsUnit (X.presheaf.germ U y.val y.property b) → |
| 62 | (¬ IsUnit (X.presheaf.germ U y.val y.property p) ↔ y.val ∈ closure ({x} : Set X)) := by |
| 63 | let P := (hU.primeIdealOf ⟨x, hxU⟩).asIdeal |
| 64 | let := X.presheaf.algebra_section_stalk ⟨x, hxU⟩ |
| 65 | let := hU.isLocalization_stalk ⟨x, hxU⟩ |
| 66 | let : IsDiscreteValuationRing (X.presheaf.stalk x) := |
| 67 | HodgeConjecture.DegreeTwo.SmoothDVR.Constructions.smoothScheme_stalk_isDiscreteValuationRing f x hx |
| 68 | let e : (X.presheaf.stalk x) ≃ₐ[Γ(X, U)] Localization.AtPrime P := |
| 69 | IsLocalization.algEquiv P.primeCompl (X.presheaf.stalk x) (Localization.AtPrime P) |
| 70 | let : IsDomain (Localization.AtPrime P) := Function.Injective.isDomain e.symm.toRingHom e.symm.injective |
| 71 | let : IsDiscreteValuationRing (Localization.AtPrime P) := |
| 72 | IsDiscreteValuationRing.RingEquivClass.isDiscreteValuationRing e |
| 73 | have hp' := hp.map e.toMulEquiv |
| 74 | change Irreducible (e (algebraMap Γ(X, U) (X.presheaf.stalk x) p)) at hp' |
| 75 | rw [e.commutes] at hp' |
| 76 | let : IsNoetherianRing Γ(X, U) := IsLocallyNoetherian.component_noetherian ⟨U, hU⟩ |
| 77 | obtain ⟨b, hb, hmodel⟩ := UniformizerSupport.uniformizer_prime_support_neighborhood P p hp' |
| 78 | refine ⟨b, ?_, ?_⟩ |
| 79 | · exact IsLocalization.map_units (X.presheaf.stalk x) (⟨b, hb⟩ : P.primeCompl) |
| 80 | · intro y hy |
| 81 | rw [← mem_affinePointPrime_iff hU y p, affinePoint_mem_closure_iff hU ⟨x, hxU⟩ y] |
| 82 | exact hmodel (hU.primeIdealOf y).asIdeal inferInstance |
| 83 | (fun hb => (mem_affinePointPrime_iff hU y b).mp hb hy) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.DivisorClass.Chern.SchemeUniformizerSupport |