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.AbelianModuli.HilbertConstruction.Rational.PointResidue |
| 2 | |
| 3 | /-! # Point Rational Zero -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointRationalZero |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A field-valued point whose underlying point is a rational section equals that section over its actual base map. This supplies scheme-theoretic zero at residue points without assuming algebraic closure. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem fromSpecResidueField_rational_section |
| 14 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 15 | (p : X ⟶ Spec (.of K)) (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) : |
| 16 | let x := z (IsLocalRing.closedPoint K) |
| 17 | X.fromSpecResidueField x = (X.fromSpecResidueField x ≫ p) ≫ z := by |
| 18 | let x := z (IsLocalRing.closedPoint K) |
| 19 | let r := X.fromSpecResidueField x |
| 20 | let e := Rational.PointResidue.rationalPointResidueIso p z hz |
| 21 | let w := Spec.map e.inv |
| 22 | have hcomp : w ≫ Spec.map e.hom = 𝟙 (Spec (X.residueField x)) := |
| 23 | (Spec.map_comp e.hom e.inv).symm.trans |
| 24 | ((congrArg (fun q => Spec.map q) e.hom_inv_id).trans (Spec.map_id _)) |
| 25 | have hf : w ≫ z = r := |
| 26 | (congrArg (fun v => w ≫ v) (Rational.PointResidue.rationalPointResidueIso_factor p z hz).symm).trans |
| 27 | ((Category.assoc w (Spec.map e.hom) r).symm.trans |
| 28 | ((congrArg (fun v => v ≫ r) hcomp).trans (Category.id_comp r))) |
| 29 | have hw : r ≫ p = w := |
| 30 | (congrArg (fun v => v ≫ p) hf).symm.trans |
| 31 | ((Category.assoc w z p).trans |
| 32 | ((congrArg (fun v => w ≫ v) hz).trans (Category.comp_id w))) |
| 33 | exact hf.symm.trans (congrArg (fun v => v ≫ z) hw.symm) |
| 34 | |
| 35 | theorem fieldPoint_eq_rational_section_of_point |
| 36 | {K L : Type u} [Field K] [Field L] {X : Scheme.{u}} |
| 37 | (p : X ⟶ Spec (.of K)) (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 38 | (t : Spec (.of L) ⟶ X) |
| 39 | (ht : t (IsLocalRing.closedPoint L) = z (IsLocalRing.closedPoint K)) : |
| 40 | t = (t ≫ p) ≫ z := by |
| 41 | let x := t (IsLocalRing.closedPoint L) |
| 42 | let r := X.fromSpecResidueField x |
| 43 | let w := Spec.map (X.descResidueField (Scheme.stalkClosedPointTo t)) |
| 44 | have hf : w ≫ r = t := Scheme.descResidueField_stalkClosedPointTo_fromSpecResidueField L X t |
| 45 | have hr : r = (r ≫ p) ≫ z := |
| 46 | (congrArg (fun y : X => X.fromSpecResidueField y = (X.fromSpecResidueField y ≫ p) ≫ z) ht).mpr |
| 47 | (fromSpecResidueField_rational_section p z hz) |
| 48 | calc |
| 49 | t = w ≫ r := hf.symm |
| 50 | _ = w ≫ ((r ≫ p) ≫ z) := congrArg (fun v => w ≫ v) hr |
| 51 | _ = ((w ≫ r) ≫ p) ≫ z := |
| 52 | ((Category.assoc w (r ≫ p) z).symm.trans |
| 53 | (congrArg (fun v => v ≫ z) (Category.assoc w r p).symm)) |
| 54 | _ = (t ≫ p) ≫ z := congrArg (fun v => (v ≫ p) ≫ z) hf |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointRationalZero |