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.BoundaryFactorUniqueness |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.BoundaryModel |
| 3 | |
| 4 | /-! # Local Component Factors -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local boundary component is regular and prime and divides no other actual labelled equation. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.local_component_factor_properties |
| 15 | {k R : Type u} [Field k] [CharZero k] [IsAlgClosed k] [CommRing R] [Algebra k R] |
| 16 | {ι : Type v} {w : ι → R} (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 17 | (q : Ideal R) [q.IsMaximal] (j : ι) (hj : w j ∈ q) : |
| 18 | IsRegular (algebraMap R (Localization.AtPrime q) (w j)) ∧ |
| 19 | (Ideal.span {algebraMap R (Localization.AtPrime q) (w j)}).IsPrime ∧ |
| 20 | ∀ i, i ≠ j → algebraMap R (Localization.AtPrime q) (w i) ∉ |
| 21 | Ideal.span {algebraMap R (Localization.AtPrime q) (w j)} := by |
| 22 | classical |
| 23 | let A := Localization.AtPrime q |
| 24 | let φ : R →+* A := algebraMap R A |
| 25 | obtain ⟨s, hs⟩ : ∃ s, M.coordinate j = some s := by |
| 26 | cases h : M.coordinate j with |
| 27 | | none => |
| 28 | have hu : IsUnit (w j) := by |
| 29 | rw [M.equation j, h, mul_one] |
| 30 | exact M.multiplierUnit j |
| 31 | exact False.elim (q.notMem_of_isUnit hu hj) |
| 32 | | some s => exact ⟨s, rfl⟩ |
| 33 | let : Algebra (MvPolynomial M.indices k) R := M.map.toAlgebra |
| 34 | let : Algebra.Etale (MvPolynomial M.indices k) R := RingHom.etale_algebraMap.mp M.etale |
| 35 | let : IsScalarTower k (MvPolynomial M.indices k) R := |
| 36 | IsScalarTower.of_algebraMap_eq (fun c => (M.ground c).symm) |
| 37 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing (MvPolynomial M.indices k) R |
| 38 | have hzq : M.map (MvPolynomial.X s) ∈ q := by |
| 39 | apply (q.unit_mul_mem_iff_mem (M.multiplierUnit j)).mp |
| 40 | simpa only [M.equation j, hs] using hj |
| 41 | have hsingleton (i : M.indices) (hi : i ∈ ({s} : Finset M.indices)) : |
| 42 | algebraMap (MvPolynomial M.indices k) R (MvPolynomial.X i) ∈ q := by |
| 43 | have hi' : i = s := Finset.mem_singleton.mp hi |
| 44 | subst i |
| 45 | exact hzq |
| 46 | obtain ⟨hreg, hprime, _⟩ := Blowups.Etale.BoundaryFactorUniqueness.Construction.etale_local_boundary_factor_properties (K := k) (S := R) {s} q hsingleton |
| 47 | have hscalar : φ (w j) = φ (M.multiplier j) * φ (M.map (MvPolynomial.X s)) := by |
| 48 | rw [M.equation j, hs, map_mul] |
| 49 | have heq : Ideal.span {φ (w j)} = Ideal.span {φ (M.map (MvPolynomial.X s))} := by |
| 50 | rw [hscalar] |
| 51 | exact Ideal.span_singleton_mul_left_unit ((M.multiplierUnit j).map φ) _ |
| 52 | have hprimej : (Ideal.span {φ (w j)}).IsPrime := by |
| 53 | rw [heq] |
| 54 | exact hprime s (Finset.mem_singleton_self s) |
| 55 | refine ⟨?_, hprimej, ?_⟩ |
| 56 | · rw [hscalar] |
| 57 | exact ((M.multiplierUnit j).map φ).isRegular.mul (hreg s (Finset.mem_singleton_self s)) |
| 58 | · intro i hij |
| 59 | cases hi : M.coordinate i with |
| 60 | | none => |
| 61 | have hui : IsUnit (w i) := by |
| 62 | rw [M.equation i, hi, mul_one] |
| 63 | exact M.multiplierUnit i |
| 64 | let : (Ideal.span {φ (w j)}).IsPrime := hprimej |
| 65 | exact (Ideal.span {φ (w j)}).notMem_of_isUnit (hui.map φ) |
| 66 | | some t => |
| 67 | have hts : t ≠ s := by |
| 68 | intro h |
| 69 | apply hij |
| 70 | exact M.distinct i j t hi (hs.trans (congrArg some h.symm)) |
| 71 | let : Algebra.FormallyEtale R A := Algebra.FormallyEtale.of_isLocalization q.primeCompl |
| 72 | let D := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) t) |
| 73 | have hDs : D (φ (M.map (MvPolynomial.X s))) = 0 := by |
| 74 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) _ |
| 75 | (algebraMap R A (algebraMap (MvPolynomial M.indices k) R (MvPolynomial.X s))) = 0 |
| 76 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, Blowups.Etale.TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X, |
| 77 | ite_eq_right hts, map_zero] |
| 78 | have hDt : D (φ (M.map (MvPolynomial.X t))) = 1 := by |
| 79 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) _ |
| 80 | (algebraMap R A (algebraMap (MvPolynomial M.indices k) R (MvPolynomial.X t))) = 1 |
| 81 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, Blowups.Etale.TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X, |
| 82 | ite_eq_left rfl, map_one] |
| 83 | have hzmax : φ (M.map (MvPolynomial.X s)) ∈ IsLocalRing.maximalIdeal A := by |
| 84 | change M.map (MvPolynomial.X s) ∈ (IsLocalRing.maximalIdeal A).under R |
| 85 | rw [IsLocalization.AtPrime.under_maximalIdeal A q] |
| 86 | exact hzq |
| 87 | have hnot := Boundary.FactorUniqueness.Construction.transverse_coordinate_not_mem_span (k := k) D (φ (M.map (MvPolynomial.X s))) |
| 88 | (φ (M.map (MvPolynomial.X t))) hDs hDt (IsLocalRing.maximalIdeal A) |
| 89 | (IsLocalRing.maximalIdeal.isMaximal A).ne_top hzmax |
| 90 | intro hwi |
| 91 | apply hnot |
| 92 | rw [heq] at hwi |
| 93 | apply (Ideal.unit_mul_mem_iff_mem _ ((M.multiplierUnit i).map φ)).mp |
| 94 | have hsi : φ (w i) = φ (M.multiplier i) * φ (M.map (MvPolynomial.X t)) := by |
| 95 | rw [M.equation i, hi, map_mul] |
| 96 | rwa [← hsi] |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Resolution.Blowups |