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.Affine.ResidueScalar |
| 2 | |
| 3 | /-! # Residue Prime -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ResiduePrime |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The prime induced by an actual residue-field point is its image under the global-functions map to the spectrum. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | theorem residuePoint_prime_comap (S : Scheme.{u}) (x : S) |
| 14 | (p : PrimeSpectrum Γ(Spec (S.residueField x), ⊤)) : |
| 15 | p.comap (S.fromSpecResidueField x).appTop.hom = S.toSpecΓ x := by |
| 16 | let : Field Γ(Spec (S.residueField x), ⊤) := |
| 17 | ((Scheme.ΓSpecIso (S.residueField x)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 18 | (Field.toIsField (S.residueField x))).toField |
| 19 | let y : Spec (S.residueField x) := default |
| 20 | have hp : (Spec (S.residueField x)).toSpecΓ y = p := by |
| 21 | apply PrimeSpectrum.ext |
| 22 | let q : PrimeSpectrum Γ(Spec (S.residueField x), ⊤) := (Spec (S.residueField x)).toSpecΓ y |
| 23 | have : q.asIdeal.IsPrime := q.isPrime |
| 24 | exact q.asIdeal.eq_bot_of_prime.trans p.asIdeal.eq_bot_of_prime.symm |
| 25 | have h := congrArg (fun k : Spec (S.residueField x) ⟶ Spec Γ(S, ⊤) => k y) |
| 26 | (Scheme.toSpecΓ_naturality (S.fromSpecResidueField x)) |
| 27 | change S.toSpecΓ (S.fromSpecResidueField x y) = |
| 28 | ((Spec (S.residueField x)).toSpecΓ y).comap (S.fromSpecResidueField x).appTop.hom at h |
| 29 | rw [Scheme.fromSpecResidueField_apply, hp] at h |
| 30 | exact h.symm |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ResiduePrime |