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.Curve.CenterLocalFrame |
| 2 | |
| 3 | /-! # Center Pointed Frame -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CenterPointedFrame.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every point of an intrinsic smooth-curve center has an actual open coordinate neighborhood. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | section Derivative |
| 16 | |
| 17 | variable (k : Type u) {R : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 18 | |
| 19 | theorem exists_derivative_outside_center_prime |
| 20 | (I q : Ideal R) [q.IsPrime] (hIq : I ≤ q) |
| 21 | (hI : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k I = ⊤) : |
| 22 | ∃ (D : Derivation k R R) (z : I), D z.val ∉ q := by |
| 23 | by_contra! h |
| 24 | have hle : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k I ≤ q := by |
| 25 | apply sup_le hIq |
| 26 | apply Ideal.span_le.mpr |
| 27 | rintro _ ⟨⟨D, z⟩, rfl⟩ |
| 28 | exact h D z |
| 29 | rw [hI] at hle |
| 30 | exact (inferInstance : q.IsPrime).ne_top (top_le_iff.mp hle) |
| 31 | |
| 32 | end Derivative |
| 33 | |
| 34 | variable (k : Type u) {R : Type u} [Field k] [IsAlgClosed k] [CommRing R] |
| 35 | [Algebra k R] [Algebra.Smooth k R] [Algebra ℚ R] [IsNoetherianRing R] |
| 36 | |
| 37 | /-- At every prime in a curve center with unit first differential ideal, |
| 38 | an actual affine open immersion preserves that point and turns the original |
| 39 | center into a principal ideal with a dual relative derivation. -/ |
| 40 | theorem curve_center_pointed_coordinate_neighborhood |
| 41 | (hd : ringKrullDim R ≤ 1) (I q : Ideal R) [q.IsPrime] |
| 42 | (hIq : I ≤ q) (hI : Relative.DifferentialBlowup.Construction.firstRelativeDifferentialIdeal k I = ⊤) : |
| 43 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (φ : R →ₐ[k] S) (Q : Ideal S), |
| 44 | Q.IsPrime ∧ Q.comap φ.toRingHom = q ∧ |
| 45 | IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) ∧ Algebra.Smooth k S ∧ |
| 46 | ∃ (g : S) (E : Derivation k S S), I.map φ.toRingHom = Ideal.span {g} ∧ E g = 1 := by |
| 47 | obtain ⟨D, z, hz⟩ := exists_derivative_outside_center_prime k I q hIq hI |
| 48 | let A := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z.val |
| 49 | let qA := q.map (algebraMap R A) |
| 50 | have hdis : Disjoint (Submonoid.powers (D z.val) : Set R) q := |
| 51 | (Ideal.disjoint_powers_iff_notMem_of_isPrime (D z.val)).mpr hz |
| 52 | let : qA.IsPrime := IsLocalization.isPrime_of_isPrime_disjoint |
| 53 | (Submonoid.powers (D z.val)) A q inferInstance hdis |
| 54 | have hqA : qA.comap (algebraMap R A) = q := |
| 55 | IsLocalization.under_map_of_isPrime_disjoint (Submonoid.powers (D z.val)) A inferInstance hdis |
| 56 | obtain ⟨r, hr, _, hgen, E, hE⟩ := CenterLocalFrame.Construction.curve_center_derivative_local_frame k hd I D z |
| 57 | have hrq : r ∈ qA := Ideal.map_mono hIq hr |
| 58 | have hcomp : 1 - r ∉ qA := by |
| 59 | intro h |
| 60 | have hone := qA.add_mem h hrq |
| 61 | rw [sub_add_cancel] at hone |
| 62 | exact (inferInstance : qA.IsPrime).ne_top (Ideal.eq_top_of_isUnit_mem _ hone isUnit_one) |
| 63 | let S := Localization.Away (1 - r) |
| 64 | let Q := qA.map (algebraMap A S) |
| 65 | have hdis' : Disjoint (Submonoid.powers (1 - r) : Set A) qA := |
| 66 | (Ideal.disjoint_powers_iff_notMem_of_isPrime (1 - r)).mpr hcomp |
| 67 | have hQ : Q.IsPrime := IsLocalization.isPrime_of_isPrime_disjoint |
| 68 | (Submonoid.powers (1 - r)) S qA inferInstance hdis' |
| 69 | have hQA : Q.comap (algebraMap A S) = qA := |
| 70 | IsLocalization.under_map_of_isPrime_disjoint (Submonoid.powers (1 - r)) S inferInstance hdis' |
| 71 | let φ : R →ₐ[k] S := (IsScalarTower.toAlgHom k A S).comp (IsScalarTower.toAlgHom k R A) |
| 72 | let : Algebra.Smooth R A := Algebra.Smooth.of_isLocalization_Away (D z.val) |
| 73 | let : Algebra.Smooth k A := Algebra.Smooth.comp k R A |
| 74 | let : Algebra.Smooth A S := Algebra.Smooth.of_isLocalization_Away (1 - r) |
| 75 | let : Algebra.Smooth k S := Algebra.Smooth.comp k A S |
| 76 | refine ⟨.of S, inferInstance, φ, Q, hQ, ?_, ?_, inferInstance, |
| 77 | algebraMap A S (algebraMap R A z.val), E, ?_, hE⟩ |
| 78 | · change Q.comap ((algebraMap A S).comp (algebraMap R A)) = q |
| 79 | rw [← Ideal.comap_comap, hQA, hqA] |
| 80 | · let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap R A))) := |
| 81 | IsOpenImmersion.of_isLocalization (D z.val) |
| 82 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap A S))) := |
| 83 | IsOpenImmersion.of_isLocalization (1 - r) |
| 84 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap R A) ≫ |
| 85 | CommRingCat.ofHom (algebraMap A S))) |
| 86 | rw [Spec.map_comp] |
| 87 | infer_instance |
| 88 | · change I.map ((algebraMap A S).comp (algebraMap R A)) = _ |
| 89 | rw [← Ideal.map_map] |
| 90 | exact hgen |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CenterPointedFrame.Construction |