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.HilbertScheme.Presentations.Projective.Point |
| 2 | |
| 3 | /-! # Coefficient Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every coefficient homomorphism into a ring determines an actual |
| 10 | point of an affine scheme, with exactly the prescribed coefficient map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable (X : Scheme.{u}) [IsAffine X] {C : Type u} [CommRing C] |
| 16 | (φ : Γ(X, ⊤) →+* C) |
| 17 | |
| 18 | def affineCoefficientPoint : Spec (.of C) ⟶ X := |
| 19 | Spec.map (CommRingCat.ofHom φ) ≫ inv X.toSpecΓ |
| 20 | |
| 21 | theorem affineCoefficientPoint_coefficients : |
| 22 | HilbertScheme.Presentations.PointCoefficients.schemePointCoefficientMap (affineCoefficientPoint X φ) = φ := by |
| 23 | have h : CommRingCat.ofHom (HilbertScheme.Presentations.PointCoefficients.schemePointCoefficientMap (affineCoefficientPoint X φ)) = |
| 24 | CommRingCat.ofHom φ := by |
| 25 | apply Spec.map_injective |
| 26 | rw [HilbertScheme.Presentations.Projective.Point.schemePointCoefficientMap_spec] |
| 27 | change (Spec.map (CommRingCat.ofHom φ) ≫ inv X.toSpecΓ) ≫ X.toSpecΓ = _ |
| 28 | rw [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 29 | exact congrArg CommRingCat.Hom.hom h |
| 30 | |
| 31 | omit [IsAffine X] in |
| 32 | theorem schemePointCoefficientMap_preimage (q : Spec (.of C) ⟶ X) : |
| 33 | (Spec.preimage (q ≫ X.toSpecΓ)).hom = HilbertScheme.Presentations.PointCoefficients.schemePointCoefficientMap q := by |
| 34 | have h : Spec.preimage (q ≫ X.toSpecΓ) = |
| 35 | CommRingCat.ofHom (HilbertScheme.Presentations.PointCoefficients.schemePointCoefficientMap q) := by |
| 36 | apply Spec.map_injective |
| 37 | rw [Spec.map_preimage, HilbertScheme.Presentations.Projective.Point.schemePointCoefficientMap_spec] |
| 38 | exact congrArg CommRingCat.Hom.hom h |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientPoints |