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.Smooth.TransformedCoordinateHypersurface |
| 4 | |
| 5 | /-! # Hypersurface Normal Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.HypersurfaceNormalFrames.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual pointed common normal frames for a smooth center contained in a smooth regular hypersurface. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem smooth_hypersurface_center_pointed_normal_frame |
| 18 | {k R : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 19 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 20 | (z : R) (hz : IsRegular z) [Algebra.Smooth k (R ⧸ Ideal.span {z})] |
| 21 | (hzI : z ∈ I) (p : PrimeSpectrum R) (hIp : I ≤ p.asIdeal) : |
| 22 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (_ : Algebra.Smooth k S) |
| 23 | (f : R →ₐ[k] S), IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 24 | ∃ (q : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom q = p ∧ |
| 25 | ∃ (ι : Type u) (_ : Fintype ι) (_ : DecidableEq ι) |
| 26 | (v : Option ι → S) (D : Option ι → Derivation k S S), |
| 27 | (∀ i j, D i (v j) = if i = j then 1 else 0) ∧ |
| 28 | v none = f z ∧ I.map f.toRingHom = Ideal.span (Set.range v) := by |
| 29 | obtain ⟨A, aA, hsA, φ, hopen, pA, hpA, E, hE⟩ := |
| 30 | RegularHypersurfaceNormal.Construction.smooth_regular_hypersurface_pointed_open_normal (k := k) z hz p (hIp hzI) |
| 31 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := hopen |
| 32 | have hφ : φ.toRingHom.Etale := |
| 33 | (HasRingHomProperty.Spec_iff (P := @Etale) (φ := CommRingCat.ofHom φ.toRingHom)).mp inferInstance |
| 34 | let : Algebra R A := φ.toRingHom.toAlgebra |
| 35 | let : IsScalarTower k R A := IsScalarTower.of_algebraMap_eq (fun c => (φ.commutes c).symm) |
| 36 | let : Algebra.Etale R A := RingHom.etale_algebraMap.mp hφ |
| 37 | let : IsNoetherianRing A := Algebra.FiniteType.isNoetherianRing R A |
| 38 | let : Algebra.Smooth k (A ⧸ I.map φ.toRingHom) := TransformedCoordinateHypersurface.Construction.smooth_etale_extended_quotient I |
| 39 | have hIA : I.map φ.toRingHom ≤ pA.asIdeal := by |
| 40 | rw [Ideal.map_le_iff_le_comap] |
| 41 | have he : pA.asIdeal.comap φ.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hpA |
| 42 | rwa [he] |
| 43 | obtain ⟨S, aS, hsS, ψ, hopenS, q, hq, ι, hι, hdec, v, D, hD, hv, hgen⟩ := |
| 44 | CenterNormalFrame.Construction.smooth_center_pointed_open_frame_retaining_normal (k := k) (I.map φ.toRingHom) (φ z) |
| 45 | (Ideal.mem_map_of_mem _ hzI) E hE pA hIA |
| 46 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom ψ.toRingHom)) := hopenS |
| 47 | refine ⟨S, aS, hsS, ψ.comp φ, ?_, q, ?_, ι, hι, hdec, v, D, hD, hv, ?_⟩ |
| 48 | · change IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom ≫ CommRingCat.ofHom ψ.toRingHom)) |
| 49 | rw [Spec.map_comp] |
| 50 | infer_instance |
| 51 | · apply PrimeSpectrum.ext |
| 52 | change (q.asIdeal.comap ψ.toRingHom).comap φ.toRingHom = p.asIdeal |
| 53 | have he : q.asIdeal.comap ψ.toRingHom = pA.asIdeal := congrArg PrimeSpectrum.asIdeal hq |
| 54 | rw [he] |
| 55 | exact congrArg PrimeSpectrum.asIdeal hpA |
| 56 | · change I.map (ψ.toRingHom.comp φ.toRingHom) = _ |
| 57 | rw [← Ideal.map_map] |
| 58 | exact hgen |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.HypersurfaceNormalFrames.Construction |