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.CycleClass.Thom.Affine.DimensionBridge |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.TranscendenceDimension |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs |
| 4 | |
| 5 | /-! # Product Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductDimension.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Dimensions of actual affine complex products, with scalar compatibility |
| 12 | proved for the canonical tensor-product coordinate isomorphism. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DimensionBridge.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.TranscendenceDimension.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | theorem affineOver_dimension (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [IsIntegral X.left] : |
| 23 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom = (Algebra.trdeg ℂ Γ(X.left, ⊤)).toNat := by |
| 24 | let : IsIntegral (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ Γ(X.left, ⊤)).left := |
| 25 | inferInstanceAs (IsIntegral (Spec (CommRingCat.of Γ(X.left, ⊤)))) |
| 26 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv.left X.hom |
| 27 | rw [(Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv.w] at h |
| 28 | exact h.symm.trans (DimensionBridge.Constructions.schemeTranscendenceDimension_spec_algebra ℂ Γ(X.left, ⊤)) |
| 29 | |
| 30 | @[reassoc] |
| 31 | theorem affineProductCoordinateIso_base (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 32 | [IsAffine X.left] [IsAffine Y.left] : |
| 33 | (ProductIs.Constructions.affineProductCoordinateIso X Y).hom ≫ |
| 34 | Spec.map (CommRingCat.ofHom (algebraMap ℂ (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤)))) = |
| 35 | pullback.fst X.hom Y.hom ≫ X.hom := by |
| 36 | let a := Spec.map (CommRingCat.ofHom (algebraMap ℂ Γ(X.left, ⊤))) |
| 37 | let b := Spec.map (CommRingCat.ofHom (algebraMap ℂ Γ(Y.left, ⊤))) |
| 38 | let t := pullback.map X.hom Y.hom a b |
| 39 | (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.left (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso Y).hom.left (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) |
| 40 | (by rw [Category.comp_id]; exact (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.w.symm) |
| 41 | (by rw [Category.comp_id]; exact (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso Y).hom.w.symm) |
| 42 | have ht : t ≫ pullback.fst a b = pullback.fst X.hom Y.hom ≫ (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.left := |
| 43 | pullback.lift_fst _ _ _ |
| 44 | change (t ≫ (pullbackSpecIso ℂ Γ(X.left, ⊤) Γ(Y.left, ⊤)).hom) ≫ _ = _ |
| 45 | rw [Category.assoc, pullbackSpecIso_hom_base] |
| 46 | change t ≫ (pullback.fst a b ≫ a) = _ |
| 47 | rw [← Category.assoc, ht, Category.assoc] |
| 48 | exact congrArg (fun f => pullback.fst X.hom Y.hom ≫ f) (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.w |
| 49 | |
| 50 | theorem affineProduct_dimension (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 51 | [IsAffine X.left] [IsAffine Y.left] [IsIntegral X.left] [IsIntegral Y.left] |
| 52 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] : |
| 53 | letI := ProductIs.Constructions.affineProduct_isIntegral X Y |
| 54 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (pullback.fst X.hom Y.hom ≫ X.hom) = |
| 55 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom + Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := by |
| 56 | let := ProductIs.Constructions.affineProduct_isIntegral X Y |
| 57 | let : Algebra.FiniteType ℂ Γ(X.left, ⊤) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.affineOverGamma_finiteType X |
| 58 | let : Algebra.FiniteType ℂ Γ(Y.left, ⊤) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.affineOverGamma_finiteType Y |
| 59 | let : IsDomain (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤)) := |
| 60 | Tensor.ProductDomain.Constructions.tensorProduct_isDomain |
| 61 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion (ProductIs.Constructions.affineProductCoordinateIso X Y).hom |
| 62 | (Spec.map (CommRingCat.ofHom (algebraMap ℂ (Γ(X.left, ⊤) ⊗[ℂ] Γ(Y.left, ⊤))))) |
| 63 | rw [affineProductCoordinateIso_base] at h |
| 64 | rw [h, DimensionBridge.Constructions.schemeTranscendenceDimension_spec_algebra, Tensor.TranscendenceDimension.Constructions.tensorProduct_trdeg, |
| 65 | Cardinal.toNat_add (trdeg_lt_aleph0_of_finiteType (R := ℂ) (S := Γ(X.left, ⊤))) |
| 66 | (trdeg_lt_aleph0_of_finiteType (R := ℂ) (S := Γ(Y.left, ⊤))), |
| 67 | affineOver_dimension X, affineOver_dimension Y] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductDimension.Constructions |