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.HodgeConjecture.DegreeTwo.UniformizerSmooth |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorEquations |
| 3 | |
| 4 | /-! # Divisor Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorSmooth.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: smooth hypersurface neighborhoods for actual divisor parameters |
| 12 | |
| 13 | The affine stalk comparison carries the regular section's uniformizer to |
| 14 | the genuine prime localization. Smoothness of its principal quotient then |
| 15 | gives a neighborhood element which is a unit at the original scheme point. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | /-- The principal hypersurface of an actual regular parameter has a smooth |
| 23 | affine neighborhood through the original codimension-one scheme point. -/ |
| 24 | theorem smooth_uniformizer_section_neighborhood {K : Type u} [Field K] [PerfectField K] |
| 25 | {X : Scheme.{u}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 26 | (f : X ⟶ Spec (.of K)) [Smooth f] (U : X.Opens) (hU : U ∈ X.affineOpens) |
| 27 | (x : X) (hxU : x ∈ U) (hx : coheight x = 1) (p : Γ(X, U)) |
| 28 | (hp : Irreducible (X.presheaf.germ U x hxU p)) : |
| 29 | letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 30 | ∃ b : Γ(X, U), IsUnit (X.presheaf.germ U x hxU b) ∧ |
| 31 | Algebra.Smooth K (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b)) := by |
| 32 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 33 | let := Foundations.Scheme.AffineOpenSmooth.specSectionScalarAlgebra_smooth f U hU |
| 34 | let := X.presheaf.algebra_section_stalk ⟨x, hxU⟩ |
| 35 | let := hU.isLocalization_stalk ⟨x, hxU⟩ |
| 36 | let P := (hU.primeIdealOf ⟨x, hxU⟩).asIdeal |
| 37 | let : IsDiscreteValuationRing (X.presheaf.stalk x) := SmoothDVR.Constructions.smoothScheme_stalk_isDiscreteValuationRing f x hx |
| 38 | let : IsDomain (Localization.AtPrime P) := |
| 39 | Foundations.Scheme.SmoothLocalDomain.isDomain_localizationAtPrime_of_smooth K Γ(X, U) P |
| 40 | let e : (X.presheaf.stalk x) ≃ₐ[Γ(X, U)] Localization.AtPrime P := |
| 41 | IsLocalization.algEquiv P.primeCompl (X.presheaf.stalk x) (Localization.AtPrime P) |
| 42 | let : IsDiscreteValuationRing (Localization.AtPrime P) := |
| 43 | IsDiscreteValuationRing.RingEquivClass.isDiscreteValuationRing e |
| 44 | have hp' := hp.map e.toMulEquiv |
| 45 | change Irreducible (e (algebraMap Γ(X, U) (X.presheaf.stalk x) p)) at hp' |
| 46 | rw [e.commutes] at hp' |
| 47 | obtain ⟨b, hb, hsm⟩ := UniformizerSmooth.Constructions.uniformizer_hypersurface_smooth_neighborhood P K p hp' |
| 48 | exact ⟨b, IsLocalization.map_units (X.presheaf.stalk x) (⟨b, hb⟩ : P.primeCompl), hsm⟩ |
| 49 | |
| 50 | /-- The actual section equation with its algebraic multiplicity can be |
| 51 | chosen together with a smooth hypersurface neighborhood through the point. -/ |
| 52 | theorem rationalSection_smooth_local_equation {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 53 | (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle X) [IsIntegral X.carrier] |
| 54 | (x : X.carrier) (hx : coheight x = 1) (i : X.carrier) (hxi : x ∈ L.trivializingOpen i) : |
| 55 | ∃ (U : X.carrier.Opens) (_ : U ∈ X.carrier.affineOpens) (hxU : x ∈ U) |
| 56 | (_ : U ≤ L.trivializingOpen i) (p : Γ(X.carrier, U)) (v : Γ(X.carrier, U)ˣ) (b : Γ(X.carrier, U)), |
| 57 | Irreducible (X.carrier.presheaf.germ U x hxU p) ∧ |
| 58 | IsUnit (X.carrier.presheaf.germ U x hxU b) ∧ |
| 59 | (letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.structureMap U |
| 60 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) ∧ |
| 61 | letI : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 62 | (L.rationalSectionCoordinate i : X.carrier.functionField) = |
| 63 | X.carrier.germToFunctionField U v * |
| 64 | (X.carrier.germToFunctionField U p) ^ (L.rationalSectionOrder x) := by |
| 65 | let : Smooth X.structureMap := X.smooth |
| 66 | obtain ⟨U, hU, hxU, hUi, p, v, hp, he⟩ := DivisorEquations.Constructions.rationalSection_local_equation L x hx i hxi |
| 67 | obtain ⟨b, hb, hsm⟩ := smooth_uniformizer_section_neighborhood X.structureMap U hU x hxU hx p hp |
| 68 | exact ⟨U, hU, hxU, hUi, p, v, b, hp, hb, hsm, he⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorSmooth.Constructions |