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.NamedContainedCenter |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.CenterComposition |
| 3 | |
| 4 | /-! # Local Contained Hypersurface Center -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Adjoin a contained transverse hypersurface to an actual local common-coordinate center chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart.adjoin_contained_hypersurface |
| 17 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 18 | {ι : Type v} [Fintype ι] [DecidableEq ι] {w : ι → R} {I : Ideal R} {F : Finset ι} |
| 19 | {p : PrimeSpectrum R} (C : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I w F p) |
| 20 | (hIp : I ≤ p.asIdeal) (z : R) (hz : z ∈ I) |
| 21 | (E : Derivation k R R) (hE : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) (hEz : E z ∉ p.asIdeal) : |
| 22 | Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I |
| 23 | (fun j : Option ι => match j with | none => z | some j => w j) |
| 24 | (insert none (F.image some)) p) := by |
| 25 | classical |
| 26 | have hf : C.chart.map.toRingHom.Etale := |
| 27 | (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 28 | (inferInstance : Etale (Spec.map (CommRingCat.ofHom C.chart.map.toRingHom))) |
| 29 | let : Algebra R C.chart.carrier := C.chart.map.toRingHom.toAlgebra |
| 30 | let : IsScalarTower k R C.chart.carrier := |
| 31 | IsScalarTower.of_algebraMap_eq (fun c => (C.chart.map.commutes c).symm) |
| 32 | let : Algebra.Etale R C.chart.carrier := RingHom.etale_algebraMap.mp hf |
| 33 | have hpoint : C.chart.point.asIdeal.comap C.chart.map.toRingHom = p.asIdeal := |
| 34 | congrArg PrimeSpectrum.asIdeal C.chart.point_over |
| 35 | have hcenter : I.map C.chart.map.toRingHom ≤ C.chart.point.asIdeal := by |
| 36 | rw [Ideal.map_le_iff_le_comap, hpoint] |
| 37 | exact hIp |
| 38 | have hzmap : C.chart.map z ∈ I.map C.chart.map.toRingHom := |
| 39 | Ideal.mem_map_of_mem C.chart.map.toRingHom hz |
| 40 | let D := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := C.chart.carrier) E |
| 41 | have hD : D ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun j => C.chart.map (w j)) := |
| 42 | Relative.LogarithmicBoundary.Construction.extendEtaleRingDerivation_relative_logarithmic (S := C.chart.carrier) k w ⟨E, hE⟩ |
| 43 | have hDz : D (C.chart.map z) ∉ C.chart.point.asIdeal := by |
| 44 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := C.chart.carrier) E |
| 45 | (algebraMap R C.chart.carrier z) ∉ C.chart.point.asIdeal |
| 46 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap] |
| 47 | intro h |
| 48 | apply hEz |
| 49 | have h' : E z ∈ C.chart.point.asIdeal.comap C.chart.map.toRingHom := h |
| 50 | rwa [hpoint] at h' |
| 51 | obtain ⟨O⟩ := Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel.named_contained_hypersurface_center_chart |
| 52 | (R := C.chart.carrier) C.chart.model (I.map C.chart.map.toRingHom) C.coordinates C.center_eq |
| 53 | F C.divided_iff C.chart.point hcenter (C.chart.map z) hzmap D hD hDz |
| 54 | let v : Option ι → R := fun j => match j with | none => z | some j => w j |
| 55 | have O' : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k C.chart.carrier (I.map C.chart.map.toRingHom) |
| 56 | (fun j => C.chart.map (v j)) (insert none (F.image some)) C.chart.point := by |
| 57 | convert O using 1 |
| 58 | funext j |
| 59 | cases j <;> rfl |
| 60 | exact ⟨MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart.comp (R := R) (S := C.chart.carrier) |
| 61 | I v (insert none (F.image some)) C.chart.map O' p C.chart.point_over⟩ |
| 62 | |
| 63 | theorem MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts.adjoin_contained_hypersurface |
| 64 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 65 | {ι : Type v} [Fintype ι] [DecidableEq ι] {w : ι → R} {I : Ideal R} {F : Finset ι} |
| 66 | (h : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k R I w F) (z : R) (hz : z ∈ I) |
| 67 | (E : Derivation k R R) (hE : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) (hEz : E z = 1) : |
| 68 | MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts k R I |
| 69 | (fun j : Option ι => match j with | none => z | some j => w j) |
| 70 | (insert none (F.image some)) := by |
| 71 | intro p hp |
| 72 | obtain ⟨C⟩ := h p hp |
| 73 | apply C.adjoin_contained_hypersurface hp z hz E hE |
| 74 | rw [hEz] |
| 75 | exact p.isPrime.one_notMem |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Resolution.Blowups |