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.NormalQuotientDualPair |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.BlowupSmoothOpenDescent |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.PrincipalBlowup |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdempotentQuotientCenter |
| 6 | |
| 7 | /-! # Quotient Pair Blowup -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.QuotientPairBlowup.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An ambient normal and a smooth quotient coordinate give a smooth actual two-equation blowup. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem normal_quotient_coordinate_blowup_smooth |
| 20 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 21 | (z g : R) (D : Derivation k R R) (hDz : D z = 1) |
| 22 | (δ : Derivation k (R ⧸ Ideal.span {z}) (R ⧸ Ideal.span {z})) |
| 23 | (hδ : δ (Ideal.Quotient.mk (Ideal.span {z}) g) = 1) : |
| 24 | Smooth (ReesGrading.Construction.affineBlowupToSpec (Ideal.span {z, g}) ≫ |
| 25 | Spec.map (CommRingCat.ofHom (algebraMap k R))) := by |
| 26 | let q := Ideal.Quotient.mkₐ k (Ideal.span {z}) |
| 27 | have hqz : q z = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_span_singleton_self z) |
| 28 | obtain ⟨E, hEz, hE⟩ := ConormalDerivationLift.Construction.exists_quotient_derivation_lift_annihilating_normal k q |
| 29 | Ideal.Quotient.mk_surjective δ z hqz D hDz |
| 30 | let a := E g |
| 31 | have hqa : Ideal.Quotient.mk (Ideal.span {z}) a = 1 := (hE g).trans hδ |
| 32 | have hza : Ideal.span {z, a} = ⊤ := NormalQuotientDualPair.Construction.span_normal_pair_eq_top_of_quotient_one z a hqa |
| 33 | apply Affine.BlowupSmoothOpenDescent.Construction.affineBlowup_smooth_of_pointed_open_bases k (Ideal.span {z, g}) |
| 34 | intro p |
| 35 | by_cases hz : z ∈ p.asIdeal |
| 36 | · have ha : a ∉ p.asIdeal := by |
| 37 | intro ha |
| 38 | have hle : Ideal.span {z, a} ≤ p.asIdeal := Ideal.span_le.mpr (by |
| 39 | intro x hx |
| 40 | rcases Set.mem_insert_iff.mp hx with rfl | hx |
| 41 | · exact hz |
| 42 | · exact Set.mem_singleton_iff.mp hx ▸ ha) |
| 43 | rw [hza] at hle |
| 44 | exact p.isPrime.ne_top (top_le_iff.mp hle) |
| 45 | let S := Localization.Away a |
| 46 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away a |
| 47 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 48 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway a |
| 49 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 50 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime a p ha |
| 51 | let D' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D |
| 52 | let E' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E |
| 53 | have hD'z : D' (f z) = 1 := by |
| 54 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D (algebraMap R S z) = 1 |
| 55 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hDz, map_one] |
| 56 | have hE'z : E' (f z) = 0 := by |
| 57 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E (algebraMap R S z) = 0 |
| 58 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hEz, map_zero] |
| 59 | have hE'g : IsUnit (E' (f g)) := by |
| 60 | change IsUnit (Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E (algebraMap R S g)) |
| 61 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 62 | exact IsLocalization.Away.algebraMap_isUnit a |
| 63 | obtain ⟨D'', E'', hDz', hDg', hEz', hEg'⟩ := NormalQuotientDualPair.Construction.exists_dual_pair_of_transverse_unit |
| 64 | (f z) (f g) D' E' hD'z hE'z hE'g |
| 65 | refine ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization a, Q, hQ, ?_⟩ |
| 66 | rw [Ideal.map_span, Set.image_insert_eq, Set.image_singleton] |
| 67 | exact DualPairBlowupSmooth.Construction.dual_pair_blowup_smooth (f z) (f g) D'' E'' hDz' hDg' hEz' hEg' |
| 68 | · let S := Localization.Away z |
| 69 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away z |
| 70 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 71 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 72 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime z p hz |
| 73 | refine ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization z, Q, hQ, ?_⟩ |
| 74 | have htop : (Ideal.span {z, g}).map f.toRingHom = ⊤ := |
| 75 | IdempotentQuotientCenter.Construction.center_map_away_member_eq_top (Ideal.span {z, g}) z (Ideal.subset_span (by simp)) |
| 76 | rw [htop] |
| 77 | let : IsIso (ReesGrading.Construction.affineBlowupToSpec (⊤ : Ideal S)) := |
| 78 | PrincipalBlowup.Construction.affineBlowupToSpec_isIso_of_principal (⊤ : Ideal S) ⟨1, trivial⟩ Ideal.span_singleton_one.symm isRegular_one |
| 79 | let : Smooth (Spec.map (CommRingCat.ofHom (algebraMap k S))) := |
| 80 | (HasRingHomProperty.Spec_iff (P := @Smooth) (φ := CommRingCat.ofHom (algebraMap k S))).mpr |
| 81 | (RingHom.smooth_algebraMap.mpr inferInstance) |
| 82 | infer_instance |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.QuotientPairBlowup.Construction |