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.FixedNormalBoundaryOpen |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.AdjoinCoordinate |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.EquationCongruence |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.OpenChartComposition |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalBoundaryProperty |
| 6 | |
| 7 | /-! # Transverse Boundary Adjoin -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The full local boundary admits a transverse hypersurface as an additional labelled component. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | def TransverseBoundaryOpen.Construction.TransverseBoundaryOpenChart.adjoinEquation |
| 20 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 21 | {ι : Type v} {w : ι → R} {z : R} {p : PrimeSpectrum R} |
| 22 | (C : TransverseBoundaryOpen.Construction.TransverseBoundaryOpenChart k R w z p) : |
| 23 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryOpenChart k R (fun j : Option ι => match j with | none => z | some j => w j) p := by |
| 24 | let v : Option ι → R := fun j => match j with | none => z | some j => w j |
| 25 | let N := C.chart.model.adjoinEquation (C.chart.map z) C.normalIndex C.normal_unused C.normal_eq |
| 26 | exact { carrier := C.chart.carrier |
| 27 | algebra := C.chart.algebra |
| 28 | map := C.chart.map |
| 29 | isOpenImmersion := C.chart.isOpenImmersion |
| 30 | point := C.chart.point |
| 31 | point_over := C.chart.point_over |
| 32 | model := N.congrEquations (fun j => C.chart.map (v j)) (by intro j; cases j <;> rfl) } |
| 33 | |
| 34 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.hasEtaleBoundaryCharts_adjoin_transverse |
| 35 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 36 | {ι : Type v} [Fintype ι] {w : ι → R} (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 37 | (z : R) (E : Derivation k R R) (hE : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) (hEz : E z = 1) : |
| 38 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R (fun j : Option ι => match j with | none => z | some j => w j) := by |
| 39 | intro p |
| 40 | obtain ⟨C⟩ := FixedNormalBoundaryOpen.Construction.exists_fixed_normal_boundary_open R w M E hE z hEz p |
| 41 | exact ⟨C.adjoinEquation⟩ |
| 42 | |
| 43 | theorem LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts.adjoin_transverse_equation |
| 44 | {k : Type u} [Field k] {R : CommRingCat.{u}} [Algebra k R] |
| 45 | {ι : Type v} [Fintype ι] {w : ι → R} (h : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R w) |
| 46 | (z : R) (E : Derivation k R R) (hE : E ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k w) (hEz : E z = 1) : |
| 47 | LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts k R (fun j : Option ι => match j with | none => z | some j => w j) := by |
| 48 | intro p |
| 49 | obtain ⟨C⟩ := h p |
| 50 | have hf : C.map.toRingHom.Etale := |
| 51 | (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 52 | (inferInstance : Etale (Spec.map (CommRingCat.ofHom C.map.toRingHom))) |
| 53 | let : Algebra R C.carrier := C.map.toRingHom.toAlgebra |
| 54 | let : IsScalarTower k R C.carrier := |
| 55 | IsScalarTower.of_algebraMap_eq (fun c => (C.map.commutes c).symm) |
| 56 | let : Algebra.Etale R C.carrier := RingHom.etale_algebraMap.mp hf |
| 57 | let D := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := C.carrier) E |
| 58 | have hD : D ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations k (fun j => C.map (w j)) := |
| 59 | Relative.LogarithmicBoundary.Construction.extendEtaleRingDerivation_relative_logarithmic (S := C.carrier) k w ⟨E, hE⟩ |
| 60 | have hDz : D (C.map z) = 1 := by |
| 61 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := C.carrier) E (algebraMap R C.carrier z) = 1 |
| 62 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hEz, map_one] |
| 63 | obtain ⟨A⟩ := C.model.hasEtaleBoundaryCharts_adjoin_transverse (C.map z) D hD hDz C.point |
| 64 | exact ⟨A.comp C.map (fun j : Option ι => match j with | none => z | some j => w j) |
| 65 | (by intro j; cases j <;> rfl) p C.point_over⟩ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Resolution.Blowups |