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.RegularHypersurfaceNormal |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterNormalFrame |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.FramedHypersurfaceTransformSmooth |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdempotentBlowupCharts |
| 5 | |
| 6 | /-! # Hypersurface Transform Neighborhoods -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.HypersurfaceTransformNeighborhoods.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual pointed open generating charts make the transform of a smooth regular hypersurface smooth. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra |
| 19 | |
| 20 | theorem unit_center_controlled_quotient_smooth |
| 21 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] |
| 22 | (I J : Ideal R) (hI : I = ⊤) [Algebra.Smooth k (R ⧸ J)] (b : ℕ) (a : I) : |
| 23 | Algebra.Smooth k (Blowup.Charts.Construction.blowupChart I a ⧸ ControlledTransform.Construction.blowupControlledTransform I J b a) := by |
| 24 | subst I |
| 25 | have ht : IsIdempotentElem (⊤ : Ideal R) := by simp [IsIdempotentElem] |
| 26 | rw [IdempotentBlowupCharts.Construction.idempotent_blowup_controlledTransform ⊤ J ht a b] |
| 27 | let : Algebra R (Blowup.Charts.Construction.blowupChart ⊤ a) := (Blowup.Charts.Construction.blowupChartConstants ⊤ a).toAlgebra |
| 28 | let : SMul R (Blowup.Charts.Construction.blowupChart ⊤ a) := (Blowup.Charts.Construction.blowupChartConstants ⊤ a).toAlgebra.toSMul |
| 29 | let : IsScalarTower k R (Blowup.Charts.Construction.blowupChart ⊤ a) := |
| 30 | IsScalarTower.of_algebraMap_eq (R := k) (S := R) (A := Blowup.Charts.Construction.blowupChart ⊤ a) (fun _ => rfl) |
| 31 | let : Algebra.Etale R (Blowup.Charts.Construction.blowupChart ⊤ a) := |
| 32 | RingHom.etale_algebraMap.mp (IdempotentBlowupCharts.Construction.idempotent_blowupChartConstants_etale ⊤ ht a) |
| 33 | exact TransformedCoordinateHypersurface.Construction.smooth_etale_extended_quotient J |
| 34 | |
| 35 | theorem smooth_hypersurface_transform_pointed_generators |
| 36 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 37 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 38 | (z : R) (hz : IsRegular z) [Algebra.Smooth k (R ⧸ Ideal.span {z})] |
| 39 | (hzI : z ∈ I) (p : PrimeSpectrum R) : |
| 40 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (_ : Algebra.Smooth k S) |
| 41 | (f : R →ₐ[k] S), IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 42 | ∃ (q : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom q = p ∧ |
| 43 | ∃ (κ : Type u) (g : κ → I.map f.toRingHom), |
| 44 | Ideal.span (Set.range (fun a => (g a).val)) = I.map f.toRingHom ∧ |
| 45 | ∀ a, Algebra.Smooth k (Blowup.Charts.Construction.blowupChart (I.map f.toRingHom) (g a) ⧸ |
| 46 | ControlledTransform.Construction.blowupControlledTransform (I.map f.toRingHom) ((Ideal.span {z}).map f.toRingHom) 1 (g a)) := by |
| 47 | classical |
| 48 | by_cases hIp : I ≤ p.asIdeal |
| 49 | · obtain ⟨A, aA, hsA, φ, hopen, pA, hpA, E, hE⟩ := |
| 50 | RegularHypersurfaceNormal.Construction.smooth_regular_hypersurface_pointed_open_normal (k := k) z hz p (hIp hzI) |
| 51 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := hopen |
| 52 | have hφ : φ.toRingHom.Etale := |
| 53 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom φ.toRingHom)).mp inferInstance |
| 54 | let : Algebra R A := φ.toRingHom.toAlgebra |
| 55 | let : IsScalarTower k R A := IsScalarTower.of_algebraMap_eq (fun c => (φ.commutes c).symm) |
| 56 | let : Algebra.Etale R A := RingHom.etale_algebraMap.mp hφ |
| 57 | let : IsNoetherianRing A := Algebra.FiniteType.isNoetherianRing R A |
| 58 | let : Algebra.Smooth k (A ⧸ I.map φ.toRingHom) := TransformedCoordinateHypersurface.Construction.smooth_etale_extended_quotient I |
| 59 | have hIA : I.map φ.toRingHom ≤ pA.asIdeal := by |
| 60 | rw [Ideal.map_le_iff_le_comap] |
| 61 | have he : pA.asIdeal.comap φ.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hpA |
| 62 | rwa [he] |
| 63 | obtain ⟨S, aS, hsS, ψ, hopenS, q, hq, ι, hι, hdec, w, D, hD, hw, hgen⟩ := |
| 64 | CenterNormalFrame.Construction.smooth_center_pointed_open_frame_retaining_normal (k := k) (I.map φ.toRingHom) (φ z) |
| 65 | (Ideal.mem_map_of_mem _ hzI) E hE pA hIA |
| 66 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom ψ.toRingHom)) := hopenS |
| 67 | let f := ψ.comp φ |
| 68 | have hf : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := by |
| 69 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom ≫ CommRingCat.ofHom ψ.toRingHom)) |
| 70 | rw [Spec.map_comp] |
| 71 | infer_instance |
| 72 | have hI : I.map f.toRingHom = Ideal.span (Set.range w) := by |
| 73 | change I.map (ψ.toRingHom.comp φ.toRingHom) = _ |
| 74 | rw [← Ideal.map_map] |
| 75 | exact hgen |
| 76 | let g : Option ι → I.map f.toRingHom := fun a => ⟨w a, hI.symm ▸ Ideal.subset_span ⟨a, rfl⟩⟩ |
| 77 | have hg : Ideal.span (Set.range (fun a => (g a).val)) = I.map f.toRingHom := hI.symm |
| 78 | have hnormal : (Ideal.span {z}).map f.toRingHom = Ideal.span {(g none).val} := by |
| 79 | rw [Ideal.map_span, Set.image_singleton] |
| 80 | change Ideal.span {f z} = Ideal.span {w none} |
| 81 | rw [hw] |
| 82 | rfl |
| 83 | refine ⟨S, aS, hsS, f, hf, q, ?_, Option ι, g, hg, ?_⟩ |
| 84 | · apply PrimeSpectrum.ext |
| 85 | change (q.asIdeal.comap ψ.toRingHom).comap φ.toRingHom = p.asIdeal |
| 86 | have he : q.asIdeal.comap ψ.toRingHom = pA.asIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 87 | rw [he] |
| 88 | exact congrArg PrimeSpectrum.asIdeal hpA |
| 89 | · intro a |
| 90 | rw [hnormal] |
| 91 | exact FramedHypersurfaceTransformSmooth.Construction.framed_coordinate_controlled_quotient_smooth (I.map f.toRingHom) g D hD hg a none |
| 92 | · obtain ⟨r, hrI, hrp⟩ := Set.not_subset.mp hIp |
| 93 | let S := Localization.Away r |
| 94 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway r |
| 95 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 96 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 97 | have hI : I.map f.toRingHom = ⊤ := IdempotentQuotientCenter.Construction.center_map_away_member_eq_top I r hrI |
| 98 | let : Algebra.Smooth k (S ⧸ (Ideal.span {z}).map f.toRingHom) := TransformedCoordinateHypersurface.Construction.smooth_etale_extended_quotient (Ideal.span {z}) |
| 99 | obtain ⟨q, hq⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime r p hrp |
| 100 | refine ⟨.of S, inferInstance, inferInstance, f, IsOpenImmersion.of_isLocalization r, |
| 101 | q, hq, I.map f.toRingHom, id, ?_, ?_⟩ |
| 102 | · change Ideal.span (Set.range (Subtype.val : I.map f.toRingHom → S)) = _ |
| 103 | rw [Subtype.range_val, Ideal.span_eq] |
| 104 | · intro a |
| 105 | exact unit_center_controlled_quotient_smooth (I.map f.toRingHom) ((Ideal.span {z}).map f.toRingHom) hI 1 a |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.HypersurfaceTransformNeighborhoods.Construction |