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.Foundations.Scheme.AffineSectionFiniteType |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.StrictTranscendenceDrop |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimension |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportAffineInclusion |
| 5 | |
| 6 | /-! # Support Dimension Drop -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimensionDrop |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Strict dimension drop for irreducible closed supports |
| 14 | |
| 15 | The dimension of a support is computed in its actual function field. On an |
| 16 | ambient affine open this is the transcendence degree of the quotient by its |
| 17 | vanishing ideal. Strict inclusion of these prime ideals therefore gives strict |
| 18 | dimension drop, without substituting order-theoretic codimension for dimension. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 26 | |
| 27 | /-- Strict inclusion of the actual prime ideals on a common nonempty affine |
| 28 | chart gives strict inequality of the dimensions of the two supports. -/ |
| 29 | theorem supportTranscendenceDimension_lt_of_affineIdeal_lt |
| 30 | (Z W : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 31 | (U : X.affineOpens) [Nonempty (SupportAffineQuotient.supportAffineOpen Z U)] |
| 32 | [Nonempty (SupportAffineQuotient.supportAffineOpen W U)] |
| 33 | (h : (CycleClass.Geometric.GenericPoint.reducedSupportIdeal W).ideal U < (CycleClass.Geometric.GenericPoint.reducedSupportIdeal Z).ideal U) : |
| 34 | SupportDimension.supportTranscendenceDimension Z f < SupportDimension.supportTranscendenceDimension W f := by |
| 35 | let := SpecScalarTransport.specSectionScalarAlgebra f U |
| 36 | let := AffineSectionFiniteType.specSectionScalarAlgebra_finiteType f U U.2 |
| 37 | let := SupportAffineQuotient.supportAffineIdeal_isPrime Z U |
| 38 | let := SupportAffineQuotient.supportAffineIdeal_isPrime W U |
| 39 | rw [SupportDimension.supportTranscendenceDimension_eq_affineQuotient Z f U, |
| 40 | SupportDimension.supportTranscendenceDimension_eq_affineQuotient W f U] |
| 41 | exact StrictTranscendenceDrop.trdeg_toNat_quotient_lt_of_prime_lt (k := K) h |
| 42 | |
| 43 | /-- A proper irreducible closed subset of an irreducible closed support has |
| 44 | strictly smaller dimension over the base field. -/ |
| 45 | theorem supportTranscendenceDimension_lt_of_lt |
| 46 | (Z W : IrreducibleCloseds X) (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 47 | (hZW : Z < W) : |
| 48 | SupportDimension.supportTranscendenceDimension Z f < SupportDimension.supportTranscendenceDimension W f := by |
| 49 | obtain ⟨U, hZU, hWU⟩ := SupportAffineInclusion.exists_common_supportAffineOpen Z W hZW.le |
| 50 | let := hZU |
| 51 | let := hWU |
| 52 | exact supportTranscendenceDimension_lt_of_affineIdeal_lt Z W f U |
| 53 | (SupportAffineInclusion.supportAffineIdeal_lt Z W hZW U) |
| 54 | |
| 55 | /-- Dimension is strictly increasing on irreducible closed supports ordered |
| 56 | by inclusion. -/ |
| 57 | theorem supportTranscendenceDimension_strictMono |
| 58 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] : |
| 59 | StrictMono (fun Z : IrreducibleCloseds X => SupportDimension.supportTranscendenceDimension Z f) := by |
| 60 | intro Z W hZW |
| 61 | exact supportTranscendenceDimension_lt_of_lt Z W f hZW |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimensionDrop |