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.IntersectionTheory.ProjectionFormula.Affine.ParameterFiber |
| 2 | |
| 3 | /-! # Parameter Fiber -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.ParameterFiber |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A prime in an ambient stalk contains the parameter germ exactly |
| 10 | when its actual image point lies in the corresponding scalar fiber. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.Polynomial |
| 17 | |
| 18 | variable {Z : Scheme} (t : Z ⟶ Spec (.of ℂ[X])) (x : Z) |
| 19 | |
| 20 | theorem mem_iff (p : Spec (Z.presheaf.stalk x)) (a : ℂ) : |
| 21 | Affine.ParameterFiber.germ ℂ t x a ∈ p.asIdeal ↔ |
| 22 | t (Z.fromSpecStalk x p) = Affine.ParameterFiber.point ℂ a := by |
| 23 | have he := congrArg (fun g : Spec (Z.presheaf.stalk x) ⟶ Spec (.of ℂ[X]) => g p) |
| 24 | (Scheme.SpecMap_stalkMap_fromSpecStalk t (x := x)) |
| 25 | change (Spec (.of ℂ[X])).fromSpecStalk (t x) ((Spec.map (t.stalkMap x)) p) = |
| 26 | t (Z.fromSpecStalk x p) at he |
| 27 | have hp : t (Z.fromSpecStalk x p) = |
| 28 | PrimeSpectrum.comap ((t.stalkMap x).hom.comp (StructureSheaf.toStalk ℂ[X] (t x)).hom) p := by |
| 29 | rw [← he, Spec.fromSpecStalk_eq'] |
| 30 | rfl |
| 31 | calc |
| 32 | _ ↔ Polynomial.X - Polynomial.C a ∈ (t (Z.fromSpecStalk x p)).asIdeal := by rw [hp]; rfl |
| 33 | _ ↔ _ := Affine.ParameterFiber.mem_iff _ _ _ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.ParameterFiber |