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.Smooth.CenterPointedFrame |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterReplacementFrame |
| 3 | |
| 4 | /-! # Center Normal Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterNormalFrame.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual local frames of arbitrary smooth centers can retain a prescribed smooth normal equation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem smooth_center_pointed_open_frame_retaining_normal |
| 17 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 18 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 19 | (z : R) (hzI : z ∈ I) (E : Derivation k R R) (hEz : E z = 1) |
| 20 | (p : PrimeSpectrum R) (hIp : I ≤ p.asIdeal) : |
| 21 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (_ : Algebra.Smooth k S) |
| 22 | (f : R →ₐ[k] S), IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 23 | ∃ (q : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom q = p ∧ |
| 24 | ∃ (ι : Type u) (_ : Fintype ι) (_ : DecidableEq ι) |
| 25 | (v : Option ι → S) (D : Option ι → Derivation k S S), |
| 26 | (∀ i j, D i (v j) = if i = j then 1 else 0) ∧ |
| 27 | v none = f z ∧ I.map f.toRingHom = Ideal.span (Set.range v) := by |
| 28 | classical |
| 29 | obtain ⟨A, hAk, hAs, g, hgOpen, pA, hpA, ι, hι, hdec, v, D, hD, hI⟩ := |
| 30 | CenterPointedFrame.Construction.smooth_center_pointed_open_frame (k := k) I p hIp |
| 31 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom g.toRingHom)) := hgOpen |
| 32 | have hg : g.toRingHom.Etale := |
| 33 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom g.toRingHom)).mp inferInstance |
| 34 | let : Algebra R A := g.toRingHom.toAlgebra |
| 35 | let : IsScalarTower k R A := IsScalarTower.of_algebraMap_eq (fun c => (g.commutes c).symm) |
| 36 | let : Algebra.Etale R A := RingHom.etale_algebraMap.mp hg |
| 37 | let EA : Derivation k A A := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) E |
| 38 | have hEA : EA (g z) = 1 := by |
| 39 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) E (algebraMap R A z) = 1 |
| 40 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hEz, map_one] |
| 41 | have hvp (i : ι) : v i ∈ pA.asIdeal := by |
| 42 | have hi : I.map g.toRingHom ≤ pA.asIdeal := by |
| 43 | rw [Ideal.map_le_iff_le_comap] |
| 44 | have he : pA.asIdeal.comap g.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hpA |
| 45 | rwa [he] |
| 46 | apply hi |
| 47 | rw [hI] |
| 48 | exact Ideal.subset_span ⟨i, rfl⟩ |
| 49 | have hzv : g z ∈ Ideal.span (Set.range v) := hI ▸ Ideal.mem_map_of_mem g.toRingHom hzI |
| 50 | obtain ⟨c, i, hc, hci, hDi⟩ := Boundary.CenterPivot.Construction.exists_boundary_center_pivot v D hD (g z) hzv EA pA.asIdeal hvp |
| 51 | (by rw [hEA]; exact pA.isPrime.one_notMem) |
| 52 | let r : A := c i * D i (g z) |
| 53 | have hr : r ∉ pA.asIdeal := pA.asIdeal.primeCompl.mul_mem hci hDi |
| 54 | let S := Localization.Away r |
| 55 | let : Algebra.Etale A S := Algebra.Etale.of_isLocalizationAway r |
| 56 | let : Algebra.Smooth k S := Algebra.Smooth.comp k A S |
| 57 | let a : A →ₐ[k] S := IsScalarTower.toAlgHom k A S |
| 58 | let f : R →ₐ[k] S := a.comp g |
| 59 | let vS : ι → S := fun j => a (v j) |
| 60 | let DS : ι → Derivation k S S := fun j => Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) (D j) |
| 61 | have hDS : ∀ j l, DS j (vS l) = if j = l then 1 else 0 := by |
| 62 | intro j l |
| 63 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) (D j) (algebraMap A S (v l)) = _ |
| 64 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD] |
| 65 | split_ifs <;> simp |
| 66 | have hu : IsUnit (a (c i) * a (D i (g z))) := by |
| 67 | rw [← map_mul] |
| 68 | exact IsLocalization.Away.algebraMap_isUnit r |
| 69 | have hdu : IsUnit (DS i (f z)) := by |
| 70 | change IsUnit (Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) (D i) (algebraMap A S (g z))) |
| 71 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 72 | exact isUnit_of_mul_isUnit_right hu |
| 73 | obtain ⟨F, hF⟩ := Boundary.CenterReplacementFrame.Construction.exists_centerReplacement_dual_frame vS DS hDS i (f z) hdu |
| 74 | have hcoeff : (∑ j, a (c j) * vS j) = f z := by |
| 75 | simpa only [map_sum, map_mul, vS, f, AlgHom.comp_apply] using congrArg a hc |
| 76 | have hspan := CenterGeneratorReplacement.Construction.centerReplacementFamily_span vS (fun j => a (c j)) i (f z) hcoeff |
| 77 | (isUnit_of_mul_isUnit_left hu) |
| 78 | obtain ⟨q, hq⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime r pA hr |
| 79 | refine ⟨.of S, inferInstance, inferInstance, f, |
| 80 | ?_, |
| 81 | q, ?_, {j : ι // i ≠ j}, inferInstance, inferInstance, |
| 82 | CenterGeneratorReplacement.Construction.centerReplacementFamily vS i (f z), F, hF, rfl, ?_⟩ |
| 83 | · let : IsOpenImmersion (Spec.map (CommRingCat.ofHom a.toRingHom)) := |
| 84 | IsOpenImmersion.of_isLocalization r |
| 85 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom g.toRingHom ≫ CommRingCat.ofHom a.toRingHom)) |
| 86 | rw [Spec.map_comp] |
| 87 | infer_instance |
| 88 | · apply PrimeSpectrum.ext |
| 89 | change (q.asIdeal.comap a.toRingHom).comap g.toRingHom = p.asIdeal |
| 90 | have he : q.asIdeal.comap a.toRingHom = pA.asIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 91 | rw [he] |
| 92 | exact congrArg PrimeSpectrum.asIdeal hpA |
| 93 | · rw [hspan] |
| 94 | change I.map (a.toRingHom.comp g.toRingHom) = _ |
| 95 | rw [← Ideal.map_map, hI, Ideal.map_span, ← Set.range_comp] |
| 96 | rfl |
| 97 | |
| 98 | theorem smooth_center_pointed_frame_retaining_normal |
| 99 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 100 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 101 | (z : R) (hzI : z ∈ I) (E : Derivation k R R) (hEz : E z = 1) |
| 102 | (p : PrimeSpectrum R) (hIp : I ≤ p.asIdeal) : |
| 103 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (_ : Algebra.Smooth k S) |
| 104 | (f : R →ₐ[k] S), f.toRingHom.Etale ∧ |
| 105 | ∃ (q : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom q = p ∧ |
| 106 | ∃ (ι : Type u) (_ : Fintype ι) (_ : DecidableEq ι) |
| 107 | (v : Option ι → S) (D : Option ι → Derivation k S S), |
| 108 | (∀ i j, D i (v j) = if i = j then 1 else 0) ∧ |
| 109 | v none = f z ∧ I.map f.toRingHom = Ideal.span (Set.range v) := by |
| 110 | obtain ⟨S, hSk, hSs, f, hf, rest⟩ := smooth_center_pointed_open_frame_retaining_normal (k := k) I z hzI E hEz p hIp |
| 111 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := hf |
| 112 | exact ⟨S, hSk, hSs, f, |
| 113 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom f.toRingHom)).mp inferInstance, |
| 114 | rest⟩ |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterNormalFrame.Construction |