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.LocalOrder |
| 2 | |
| 3 | /-! # Tangent Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.TangentCriterion.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinate derivations detect nonzero cotangent vectors after an étale extension. -/ |
| 10 | |
| 11 | variable {A B ι : Type*} [CommRing A] [CommRing B] [Algebra A B] |
| 12 | [Algebra.FormallyEtale A B] [Fintype ι] [DecidableEq ι] |
| 13 | |
| 14 | /-- If a section belongs to the coordinate ideal and all its coordinate |
| 15 | derivatives belong to that ideal, then the section belongs to its square. -/ |
| 16 | theorem mapped_coordinate_mem_square_of_derivatives |
| 17 | (z : ι → A) (D : ι → Derivation ℤ A A) |
| 18 | (hD : ∀ i j, D i (z j) = if i = j then 1 else 0) (p : A) |
| 19 | (hp : algebraMap A B p ∈ Ideal.span (Set.range (fun i => algebraMap A B (z i)))) |
| 20 | (hDp : ∀ i, algebraMap A B (D i p) ∈ |
| 21 | Ideal.span (Set.range (fun j => algebraMap A B (z j)))) : |
| 22 | algebraMap A B p ∈ Ideal.span (Set.range (fun i => algebraMap A B (z i))) ^ 2 := by |
| 23 | let w : ι → B := fun i => algebraMap A B (z i) |
| 24 | let δ : ι → Derivation ℤ B B := fun i => Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := B) (D i) |
| 25 | have hδ : ∀ i j, δ i (w j) = if i = j then 1 else 0 := by |
| 26 | intro i j |
| 27 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD] |
| 28 | split_ifs <;> simp |
| 29 | let E := EulerOrderCriterion.Construction.coordinateEulerDerivation w δ |
| 30 | let M := Ideal.span (Set.range w) |
| 31 | have hE : E (algebraMap A B p) ∈ M ^ 2 := by |
| 32 | rw [EulerOrderCriterion.Construction.coordinateEulerDerivation_apply] |
| 33 | apply Ideal.sum_mem |
| 34 | intro i _ |
| 35 | rw [pow_two, Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 36 | exact Ideal.mul_mem_mul (Ideal.subset_span ⟨i, rfl⟩) (hDp i) |
| 37 | have hcong : E (algebraMap A B p) - algebraMap A B p ∈ M ^ 2 := by |
| 38 | apply EulerOrderCriterion.Construction.euler_span_mod_square E (Set.range w) _ (EulerOrderCriterion.Construction.coordinateEulerDerivation_mem_span w δ) hp |
| 39 | rintro x ⟨i, rfl⟩ |
| 40 | exact EulerOrderCriterion.Construction.coordinateEulerDerivation_coordinate w δ hδ i |
| 41 | simpa only [sub_sub_cancel] using (M ^ 2).sub_mem hE hcong |
| 42 | |
| 43 | variable {σ K S : Type*} [Field K] [CommRing S] [Fintype σ] [DecidableEq σ] |
| 44 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 45 | |
| 46 | /-- A nonzero cotangent vector at a rational point has a nonvanishing |
| 47 | coordinate derivative already on the affine ring. -/ |
| 48 | theorem etale_exists_coordinate_derivative_not_mem (x : σ → K) |
| 49 | (q : Ideal S) [q.IsPrime] [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (p : S) (hp : p ∈ q) |
| 50 | (hp2 : algebraMap S (Localization.AtPrime q) p ∉ |
| 51 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ 2) : |
| 52 | ∃ i : σ, Blowups.Etale.LocalOrder.Construction.etalePolynomialCoordinateDerivation (K := K) i p ∉ q := by |
| 53 | classical |
| 54 | by_contra h |
| 55 | push Not at h |
| 56 | let T := Localization.AtPrime q |
| 57 | let : Algebra.FormallyEtale S T := Algebra.FormallyEtale.of_isLocalization q.primeCompl |
| 58 | let z : σ → S := Blowups.Etale.LocalOrder.Construction.etaleCenteredCoordinate x |
| 59 | let D : σ → Derivation ℤ S S := Blowups.Etale.LocalOrder.Construction.etalePolynomialCoordinateDerivation (K := K) |
| 60 | have hM : Ideal.span (Set.range (fun i => algebraMap S T (z i))) = IsLocalRing.maximalIdeal T := by |
| 61 | rw [Blowups.Etale.LocalCoordinates.Construction.etale_local_maximalIdeal_eq_span_coordinates x q] |
| 62 | apply congrArg (fun f : σ → T => Ideal.span (Set.range f)) |
| 63 | funext i |
| 64 | exact (IsScalarTower.algebraMap_apply (MvPolynomial σ K) S T |
| 65 | (MvPolynomial.X i - MvPolynomial.C (x i))).symm |
| 66 | have hq : (IsLocalRing.maximalIdeal T).comap (algebraMap S T) = q := |
| 67 | Localization.AtPrime.under_maximalIdeal (I := q) |
| 68 | apply hp2 |
| 69 | rw [← hM] |
| 70 | apply mapped_coordinate_mem_square_of_derivatives z D |
| 71 | (Blowups.Etale.LocalOrder.Construction.etalePolynomialCoordinateDerivation_centered x) p |
| 72 | · rw [hM] |
| 73 | exact (show p ∈ (IsLocalRing.maximalIdeal T).comap (algebraMap S T) from hq.symm ▸ hp) |
| 74 | · intro i |
| 75 | rw [hM] |
| 76 | exact (show D i p ∈ (IsLocalRing.maximalIdeal T).comap (algebraMap S T) from hq.symm ▸ h i) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.TangentCriterion.Construction |