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.Tensor.ProductDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SpecScalarSections |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimension |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportAffineInclusion |
| 5 | |
| 6 | /-! # Pair Support Dimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PairSupportDimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The tensor-product dimension bound applies to actual reduced |
| 13 | closed supports in the affine product scheme, with its canonical scalar map. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | theorem bound (K A B : Type) [Field K] [CommRing A] [CommRing B] |
| 22 | [IsDomain A] [IsDomain B] [Algebra K A] [Algebra K B] |
| 23 | [Algebra.FiniteType K A] [Algebra.FiniteType K B] |
| 24 | (C : IrreducibleCloseds (Spec (.of (A ⊗[K] B)))) : |
| 25 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension C (Spec.map (CommRingCat.ofHom (algebraMap K (A ⊗[K] B)))) ≤ |
| 26 | (Algebra.trdeg K A).toNat + (Algebra.trdeg K B).toNat := by |
| 27 | let R := A ⊗[K] B |
| 28 | let X := Spec (.of R) |
| 29 | let f := Spec.map (CommRingCat.ofHom (algebraMap K R)) |
| 30 | let U : X.affineOpens := ⟨⊤, isAffineOpen_top X⟩ |
| 31 | let : Nonempty (Foundations.Scheme.SupportAffineQuotient.supportAffineOpen C U) := |
| 32 | (Foundations.Scheme.SupportAffineInclusion.supportAffineOpen_nonempty_iff C U).mpr (by |
| 33 | obtain ⟨x, hx⟩ := C.isIrreducible.nonempty |
| 34 | exact ⟨x, hx, trivial⟩) |
| 35 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f U |
| 36 | let := Foundations.Scheme.SupportAffineQuotient.supportAffineQuotientScalarAlgebra C f U |
| 37 | let := Foundations.Scheme.SupportAffineQuotient.supportAffineIdeal_isPrime C U |
| 38 | let e := SpecScalarSections.equivalence K R |
| 39 | let ψ : R →ₐ[K] Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient C U := |
| 40 | (Ideal.Quotient.mkₐ K ((CycleClass.Geometric.GenericPoint.reducedSupportIdeal C).ideal U)).comp e.toAlgHom |
| 41 | have hψ : Function.Surjective ψ := |
| 42 | (Ideal.Quotient.mk_surjective).comp e.surjective |
| 43 | let Q := RingHom.ker ψ.toRingHom |
| 44 | let : Q.IsPrime := RingHom.ker_isPrime ψ.toRingHom |
| 45 | let eqv : (R ⧸ Q) ≃ₐ[K] Foundations.Scheme.SupportAffineQuotient.supportAffineQuotient C U := |
| 46 | Ideal.quotientKerAlgEquivOfSurjective hψ |
| 47 | rw [Foundations.Scheme.SupportDimension.supportTranscendenceDimension_eq_affineQuotient C f U, |
| 48 | ← eqv.trdeg_eq] |
| 49 | exact Tensor.ProductDimension.quotient_toNat K A B Q |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PairSupportDimension |