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.RepresentationTheory.Theta.Geometric.Local.AxisCechChart |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |
| 3 | import Mathlib.RingTheory.LocalRing.RingHom.Basic |
| 4 | |
| 5 | /-! # Closed Point Scalars -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Local.ClosedPointScalars |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A field-valued point over the closed point of an affine local scheme |
| 12 | induces a local map on actual global functions. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | universe u |
| 18 | variable (S : Scheme.{u}) [IsAffine S] [IsLocalRing Γ(S, ⊤)] |
| 19 | |
| 20 | theorem affineLocalClosedPoint_toSpecΓ : |
| 21 | S.toSpecΓ (AxisCechChart.affineLocalClosedPoint S) = IsLocalRing.closedPoint Γ(S, ⊤) := |
| 22 | congrArg (fun f : Spec Γ(S, ⊤) ⟶ Spec Γ(S, ⊤) => f (IsLocalRing.closedPoint Γ(S, ⊤))) |
| 23 | S.isoSpec.inv_hom_id |
| 24 | |
| 25 | theorem fieldPoint_isLocalHom_of_closedPoint {K : Type u} [Field K] |
| 26 | (g : Spec (.of K) ⟶ S) (hg : g (IsLocalRing.closedPoint K) = AxisCechChart.affineLocalClosedPoint S) : |
| 27 | IsLocalHom g.appTop.hom := by |
| 28 | let : Field Γ(Spec (.of K), ⊤) := AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 29 | have hk := AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.kernel g (IsLocalRing.closedPoint K) |
| 30 | rw [hg, affineLocalClosedPoint_toSpecΓ] at hk |
| 31 | refine ⟨fun a ha => ?_⟩ |
| 32 | by_contra hn |
| 33 | have hm : a ∈ (IsLocalRing.closedPoint Γ(S, ⊤)).asIdeal := hn |
| 34 | have hz : a ∈ RingHom.ker g.appTop.hom := hk ▸ hm |
| 35 | exact ha.ne_zero hz |
| 36 | |
| 37 | theorem affineLocalResidue_isLocalHom : |
| 38 | IsLocalHom (S.fromSpecResidueField (AxisCechChart.affineLocalClosedPoint S)).appTop.hom := |
| 39 | fieldPoint_isLocalHom_of_closedPoint S _ (S.fromSpecResidueField_apply _ _) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.RepresentationTheory.Theta.Geometric.Local.ClosedPointScalars |