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.Resolution.Blowups.Coordinate.Hypersurface |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.CoefficientBaseChange |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Relative.EtaleNaturality |
| 4 | |
| 5 | /-! # Quotient Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.QuotientNaturality.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Étale comparison maps on the actual aligned hypersurface quotients. -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 16 | |
| 17 | /-- A map to a specified hypersurface quotient, with the equation alignment |
| 18 | recorded explicitly. -/ |
| 19 | def alignedHypersurfaceMap (f : R →+* S) (z : R) (w : S) (h : f z = w) : |
| 20 | (R ⧸ Ideal.span {z}) →+* (S ⧸ Ideal.span {w}) := |
| 21 | Ideal.quotientMap (Ideal.span {w}) f |
| 22 | ((Ideal.span_singleton_le_iff_mem _).mpr (by |
| 23 | change f z ∈ Ideal.span {w} |
| 24 | rw [h] |
| 25 | exact Ideal.mem_span_singleton_self w)) |
| 26 | |
| 27 | theorem alignedHypersurfaceMap_mk (f : R →+* S) (z : R) (w : S) (h : f z = w) |
| 28 | (x : R) : |
| 29 | alignedHypersurfaceMap f z w h (Ideal.Quotient.mk (Ideal.span {z}) x) = |
| 30 | Ideal.Quotient.mk (Ideal.span {w}) (f x) := rfl |
| 31 | |
| 32 | /-- Aligned hypersurface comparison maps are étale, by actual quotient |
| 33 | base change and the quotient isomorphism given by the aligned equations. -/ |
| 34 | theorem alignedHypersurfaceMap_etale (f : R →+* S) (hf : f.Etale) |
| 35 | (z : R) (w : S) (h : f z = w) : (alignedHypersurfaceMap f z w h).Etale := by |
| 36 | let : Algebra R S := f.toAlgebra |
| 37 | let : Algebra.Etale R S := hf |
| 38 | let I := Ideal.span {z} |
| 39 | have hI : I.map f = Ideal.span {w} := by |
| 40 | simp only [I, Ideal.map_span, Set.image_singleton, h] |
| 41 | let e := Ideal.quotEquivOfEq hI |
| 42 | let : Algebra.Etale (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := Coordinate.Hypersurface.Construction.etale_quotient_of_etale I |
| 43 | have hquot : (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S))).Etale := |
| 44 | RingHom.etale_algebraMap.mpr inferInstance |
| 45 | have heq : alignedHypersurfaceMap f z w h = |
| 46 | e.toRingHom.comp (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S))) := by |
| 47 | apply RingHom.ext |
| 48 | intro x |
| 49 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 50 | rfl |
| 51 | rw [heq] |
| 52 | exact RingHom.Etale.stableUnderComposition _ e.toRingHom |
| 53 | hquot (RingHom.Etale.of_bijective e.bijective) |
| 54 | |
| 55 | variable {σ k : Type u} [Field k] [Algebra k R] [Algebra k S] |
| 56 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 57 | [IsScalarTower k (MvPolynomial σ k) R] [Fintype σ] [DecidableEq σ] |
| 58 | |
| 59 | include σ in |
| 60 | /-- Intrinsic coefficient ideals commute with a raw étale map into the |
| 61 | aligned hypersurface, without a supplied coordinate presentation on the target. -/ |
| 62 | theorem relativeCoefficientIdeal_map_aligned_etale (f : R →ₐ[k] S) |
| 63 | (hf : f.toRingHom.Etale) (z : R) (w : S) (h : f z = w) (J : Ideal R) (b : ℕ) : |
| 64 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k z J b).map (alignedHypersurfaceMap f.toRingHom z w h) = |
| 65 | Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k w (J.map f.toRingHom) b := by |
| 66 | unfold Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal |
| 67 | rw [WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal_map] |
| 68 | apply congrArg (WeightedCoefficientIdeal.Construction.weightedCoefficientIdeal b) |
| 69 | funext j |
| 70 | rw [Ideal.map_map] |
| 71 | change (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J j.val).map |
| 72 | ((Ideal.Quotient.mk (Ideal.span {w})).comp f.toRingHom) = _ |
| 73 | rw [← Ideal.map_map, Relative.EtaleNaturality.Construction.relativeDifferentialIdeal_map_etale (σ := σ) f hf] |
| 74 | |
| 75 | include σ in |
| 76 | /-- When two ambient ideals and hypersurface equations agree on an étale |
| 77 | comparison chart, their coefficient ideals agree on its actual hypersurface. -/ |
| 78 | theorem relativeCoefficientIdeal_comparison_eq (f g : R →ₐ[k] S) |
| 79 | (hf : f.toRingHom.Etale) (hg : g.toRingHom.Etale) |
| 80 | (z t : R) (heq : f z = g t) (J L : Ideal R) |
| 81 | (hJL : J.map f.toRingHom = L.map g.toRingHom) (b : ℕ) : |
| 82 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k z J b).map (alignedHypersurfaceMap f.toRingHom z (f z) rfl) = |
| 83 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k t L b).map |
| 84 | (alignedHypersurfaceMap g.toRingHom t (f z) heq.symm) := by |
| 85 | rw [relativeCoefficientIdeal_map_aligned_etale (σ := σ) f hf, |
| 86 | relativeCoefficientIdeal_map_aligned_etale (σ := σ) g hg, hJL] |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.QuotientNaturality.Construction |