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.Etale.HomogenizationComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.UnramifiedCongruenceNeighborhood |
| 3 | |
| 4 | /-! # Shift Branch -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.ShiftBranch.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Constructing the open branch needed for homogenization comparison. -/ |
| 11 | |
| 12 | variable {σ k R S : Type*} [CommRing k] [CommRing R] [CommRing S] |
| 13 | [Algebra k R] [Algebra k S] |
| 14 | [Algebra (MvPolynomial σ k) R] [IsScalarTower k (MvPolynomial σ k) R] |
| 15 | [DecidableEq σ] |
| 16 | |
| 17 | theorem coordinate_shift_base_congruence (f g : R →ₐ[k] S) (i : σ) (t : S) |
| 18 | (hcoords : ∀ j : σ, g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) = |
| 19 | f (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) + |
| 20 | if i = j then t else 0) (p : MvPolynomial σ k) : |
| 21 | g (algebraMap (MvPolynomial σ k) R p) - |
| 22 | f (algebraMap (MvPolynomial σ k) R p) ∈ Ideal.span {t} := by |
| 23 | let Q := Ideal.Quotient.mkₐ k (Ideal.span {t}) |
| 24 | let α := IsScalarTower.toAlgHom k (MvPolynomial σ k) R |
| 25 | have ht : Q t = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr |
| 26 | (Ideal.mem_span_singleton_self t) |
| 27 | have he : (Q.comp g).comp α = (Q.comp f).comp α := by |
| 28 | apply MvPolynomial.algHom_ext |
| 29 | intro j |
| 30 | change Q (g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j))) = |
| 31 | Q (f (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j))) |
| 32 | rw [hcoords j, map_add] |
| 33 | split_ifs <;> simp [ht] |
| 34 | exact Ideal.Quotient.eq.mp (AlgHom.congr_fun he p) |
| 35 | |
| 36 | variable [Algebra ℚ R] [Algebra ℚ S] |
| 37 | [Algebra.EssFiniteType (MvPolynomial σ k) R] |
| 38 | [Algebra.FormallyUnramified (MvPolynomial σ k) R] |
| 39 | |
| 40 | /-- At a common point of two shifted coordinate charts, construct a principal |
| 41 | open on which the full algebraic homogenization comparison holds. -/ |
| 42 | theorem etale_coordinate_shift_homogenization_neighborhood (D : Derivation k R R) |
| 43 | (f g : R →ₐ[k] S) (J : Ideal R) (i : σ) (t : S) (n : ℕ) |
| 44 | (hD : ∀ j : σ, D (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) = |
| 45 | if i = j then 1 else 0) |
| 46 | (hcoords : ∀ j : σ, g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) = |
| 47 | f (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) + |
| 48 | if i = j then t else 0) |
| 49 | (q : Ideal S) [q.IsPrime] (htq : t ∈ q) |
| 50 | (hq : ∀ x : R, g x - f x ∈ q) |
| 51 | (hT : t ∈ (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n).map f.toRingHom) : |
| 52 | ∃ s : S, s ∉ q ∧ |
| 53 | (J.map g.toRingHom).map (algebraMap S (Localization.Away s)) ≤ |
| 54 | ((Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map f.toRingHom).map |
| 55 | (algebraMap S (Localization.Away s)) := by |
| 56 | obtain ⟨s, hs, hbranch⟩ := UnramifiedCongruenceNeighborhood.Construction.unramified_congruence_principal_open |
| 57 | (P := MvPolynomial σ k) f.toRingHom g.toRingHom (Ideal.span {t}) q |
| 58 | ((Ideal.span_singleton_le_iff_mem q).mpr htq) |
| 59 | (coordinate_shift_base_congruence f g i t hcoords) hq |
| 60 | let α := IsScalarTower.toAlgHom k S (Localization.Away s) |
| 61 | let f' := α.comp f |
| 62 | let g' := α.comp g |
| 63 | have hcoords' : ∀ j : σ, |
| 64 | g' (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) = |
| 65 | f' (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j)) + |
| 66 | if i = j then α t else 0 := by |
| 67 | intro j |
| 68 | change α (g _) = α (f _) + _ |
| 69 | rw [hcoords j, map_add] |
| 70 | split_ifs <;> simp |
| 71 | have hred' : ∀ x : R, g' x - f' x ∈ Ideal.span {α t} := by |
| 72 | intro x |
| 73 | have h := hbranch x |
| 74 | rw [Ideal.map_span, Set.image_singleton] at h |
| 75 | change α (g x - f x) ∈ Ideal.span {α t} at h |
| 76 | rw [map_sub] at h |
| 77 | exact h |
| 78 | have hT' : α t ∈ (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n).map f'.toRingHom := by |
| 79 | change α t ∈ (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n).map |
| 80 | (α.toRingHom.comp f.toRingHom) |
| 81 | rw [← Ideal.map_map] |
| 82 | exact Ideal.mem_map_of_mem α.toRingHom hT |
| 83 | have hc := Etale.HomogenizationComparison.Construction.etale_coordinate_shift_ideal_le_homogenized D f' g' J i (α t) n |
| 84 | hD hcoords' hred' hT' |
| 85 | have hf' : f'.toRingHom = (algebraMap S (Localization.Away s)).comp f.toRingHom := by |
| 86 | ext x |
| 87 | rfl |
| 88 | have hg' : g'.toRingHom = (algebraMap S (Localization.Away s)).comp g.toRingHom := by |
| 89 | ext x |
| 90 | rfl |
| 91 | rw [hf', hg'] at hc |
| 92 | refine ⟨s, hs, ?_⟩ |
| 93 | simpa only [Ideal.map_map] using hc |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.ShiftBranch.Construction |