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.Affine.QuotientProjection |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.QuotientJacobianFlatness |
| 3 | |
| 4 | /-! # Quotient Spec Projection -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Affine.QuotientSpecProjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quotient projections to Spec R use the literal ring R, through the |
| 11 | canonical global-function map supplied by the spectrum adjunction. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory KaehlerDifferential |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem affineQuotientComposite_toSpec {S : Scheme.{u}} [IsAffine S] |
| 19 | {R : Type u} [CommRing R] (p : S ⟶ Spec (.of R)) (I : Ideal Γ(S, ⊤)) : |
| 20 | (QuotientPoints.affineQuotientScheme S I).hom ≫ p = Spec.map (CommRingCat.ofHom |
| 21 | ((Ideal.Quotient.mk I).comp (AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv S (.of R) p))) := by |
| 22 | let q := (QuotientPoints.affineQuotientScheme S I).hom |
| 23 | calc |
| 24 | q ≫ p = ((q ≫ p) ≫ (Spec (.of R)).toSpecΓ) ≫ Spec.map (Scheme.ΓSpecIso (.of R)).inv := by |
| 25 | rw [Category.assoc, toSpecΓ_SpecMap_ΓSpecIso_inv, Category.comp_id] |
| 26 | _ = Spec.map (CommRingCat.ofHom ((Ideal.Quotient.mk I).comp p.appTop.hom)) ≫ |
| 27 | Spec.map (Scheme.ΓSpecIso (.of R)).inv := by |
| 28 | rw [Category.assoc q p, QuotientProjection.affineQuotientComposite_spec] |
| 29 | _ = _ := (Spec.map_comp (Scheme.ΓSpecIso (.of R)).inv |
| 30 | (CommRingCat.ofHom ((Ideal.Quotient.mk I).comp p.appTop.hom))).symm |
| 31 | |
| 32 | theorem affineQuotientProjection_toSpec_flat {S : Scheme.{u}} [IsAffine S] |
| 33 | [IsLocalRing Γ(S, ⊤)] [IsNoetherianRing Γ(S, ⊤)] |
| 34 | {R : Type u} [CommRing R] (p : S ⟶ Spec (.of R)) (I : Ideal Γ(S, ⊤)) (hI : I ≠ ⊤) |
| 35 | [FormallyUnramified ((QuotientPoints.affineQuotientScheme S I).hom ≫ p)] : |
| 36 | letI : Algebra R Γ(S, ⊤) := (AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv S (.of R) p).toAlgebra |
| 37 | ∀ [Algebra.FormallySmooth R Γ(S, ⊤)] [Module.Flat R Γ(S, ⊤)] |
| 38 | [Module.Free Γ(S, ⊤) Ω[Γ(S, ⊤)⁄R]] [Module.Finite Γ(S, ⊤) Ω[Γ(S, ⊤)⁄R]], |
| 39 | ∀ {n : ℕ} (v : Fin n → Γ(S, ⊤)), Ideal.span (Set.range v) = I → |
| 40 | n ≤ Module.finrank Γ(S, ⊤) Ω[Γ(S, ⊤)⁄R] → |
| 41 | Flat ((QuotientPoints.affineQuotientScheme S I).hom ≫ p) := by |
| 42 | let : Algebra R Γ(S, ⊤) := (AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv S (.of R) p).toAlgebra |
| 43 | intro _ _ _ _ n v hv hn |
| 44 | have he : (QuotientPoints.affineQuotientScheme S I).hom ≫ p = |
| 45 | Spec.map (CommRingCat.ofHom (algebraMap R (Γ(S, ⊤) ⧸ I))) := affineQuotientComposite_toSpec p I |
| 46 | have : FormallyUnramified (Spec.map (CommRingCat.ofHom (algebraMap R (Γ(S, ⊤) ⧸ I)))) := by |
| 47 | rw [← he] |
| 48 | infer_instance |
| 49 | rw [he] |
| 50 | exact QuotientJacobianFlatness.quotientSpec_flat_of_few_equations I hI v hv hn |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.RepresentationTheory.Theta.Geometric.Affine.QuotientSpecProjection |