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.ConormalLocalBasis |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.FreeConormalCenterBlowup |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ExtendedQuotient |
| 4 | |
| 5 | /-! # Affine Center Blowup -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.AffineCenterBlowup.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Any smooth closed center in a smooth Noetherian affine ambient scheme has a smooth actual blowup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem free_conormal_ideal_blowup_smooth |
| 18 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 19 | [IsNoetherianRing R] (I : Ideal R) [Algebra.FormallySmooth k (R ⧸ I)] |
| 20 | [Module.Free (R ⧸ I) I.Cotangent] : |
| 21 | Smooth (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R))) := by |
| 22 | classical |
| 23 | let P := Algebra.Extension.ofSurjective (Ideal.Quotient.mkₐ k I) Ideal.Quotient.mk_surjective |
| 24 | let : Algebra.Smooth k P.Ring := inferInstanceAs (Algebra.Smooth k R) |
| 25 | let e := Blowups.Quotient.ConormalProjective.Construction.quotientExtensionCotangentEquiv (k := k) I |
| 26 | let : Module.Free (R ⧸ I) P.Cotangent := Module.Free.of_equiv e.symm |
| 27 | let : Module.Finite (R ⧸ I) I.Cotangent := Blowups.Quotient.ConormalProjective.Construction.smooth_quotient_conormal_finite I |
| 28 | let : Module.Finite (R ⧸ I) P.Cotangent := Module.Finite.equiv e.symm |
| 29 | let ι := Module.Free.ChooseBasisIndex (R ⧸ I) P.Cotangent |
| 30 | let : Fintype ι := Fintype.ofFinite ι |
| 31 | have hfg : P.ker.FG := by |
| 32 | change (RingHom.ker (Ideal.Quotient.mk I)).FG |
| 33 | rw [Ideal.mk_ker] |
| 34 | exact Ideal.fg_of_isNoetherianRing I |
| 35 | have h := FreeConormalCenterBlowup.Construction.free_conormal_center_blowup_smooth P (Module.Free.chooseBasis (R ⧸ I) P.Cotangent) hfg |
| 36 | change Smooth (ReesGrading.Construction.affineBlowupToSpec (RingHom.ker (Ideal.Quotient.mk I)) ≫ |
| 37 | Spec.map (CommRingCat.ofHom (algebraMap k R))) at h |
| 38 | rwa [Ideal.mk_ker] at h |
| 39 | |
| 40 | theorem smooth_affine_center_blowup_smooth |
| 41 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 42 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] : |
| 43 | Smooth (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R))) := by |
| 44 | classical |
| 45 | apply Affine.BlowupSmoothOpenDescent.Construction.affineBlowup_smooth_of_pointed_open_bases k I |
| 46 | intro p |
| 47 | by_cases hIp : I ≤ p.asIdeal |
| 48 | · obtain ⟨r, hr, hfree⟩ := ConormalLocalBasis.Construction.exists_smooth_center_conormal_free_neighborhood (k := k) I p.asIdeal hIp |
| 49 | let S := Localization.Away r |
| 50 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away r |
| 51 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 52 | let : Algebra.Smooth k (S ⧸ I.map (algebraMap R S)) := ExtendedQuotient.Construction.smooth_extended_quotient I |
| 53 | let : Module.Free (S ⧸ I.map (algebraMap R S)) (I.map (algebraMap R S)).Cotangent := hfree |
| 54 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 55 | obtain ⟨Q, hQ⟩ := Etale.RefinementHelpers.Construction.exists_localization_away_prime r p hr |
| 56 | exact ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization r, Q, hQ, |
| 57 | free_conormal_ideal_blowup_smooth (I.map (algebraMap R S))⟩ |
| 58 | · obtain ⟨r, hrI, hrp⟩ := Set.not_subset.mp hIp |
| 59 | let S := Localization.Away r |
| 60 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away r |
| 61 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 62 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 63 | obtain ⟨Q, hQ⟩ := Etale.RefinementHelpers.Construction.exists_localization_away_prime r p hrp |
| 64 | refine ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization r, Q, hQ, ?_⟩ |
| 65 | have ht : I.map f.toRingHom = ⊤ := IdempotentQuotientCenter.Construction.center_map_away_member_eq_top I r hrI |
| 66 | rw [ht] |
| 67 | let : IsIso (ReesGrading.Construction.affineBlowupToSpec (⊤ : Ideal S)) := |
| 68 | PrincipalBlowup.Construction.affineBlowupToSpec_isIso_of_principal (⊤ : Ideal S) ⟨1, trivial⟩ Ideal.span_singleton_one.symm isRegular_one |
| 69 | let : Smooth (Spec.map (CommRingCat.ofHom (algebraMap k S))) := |
| 70 | (HasRingHomProperty.Spec_iff (P := @Smooth) (φ := CommRingCat.ofHom (algebraMap k S))).mpr |
| 71 | (RingHom.smooth_algebraMap.mpr inferInstance) |
| 72 | infer_instance |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.AffineCenterBlowup.Construction |