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.Divisors.LineBundles.Affine.DimensionBridge |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.Projection |
| 3 | |
| 4 | /-! # Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.Dimension.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual polynomial charts raise the support transcendence dimension by one -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem polynomial_trdeg_toNat (k R : Type u) [Field k] [CommRing R] [IsDomain R] |
| 17 | [Algebra k R] [Algebra.FiniteType k R] : |
| 18 | (Algebra.trdeg k (Polynomial R)).toNat = (Algebra.trdeg k R).toNat + 1 := by |
| 19 | have ht := trdeg_add_eq k R (A := Polynomial R) |
| 20 | have hfin : Algebra.trdeg k R < Cardinal.aleph0 := trdeg_lt_aleph0_of_finiteType |
| 21 | rw [Polynomial.trdeg_of_isDomain] at ht |
| 22 | rw [← ht, Cardinal.toNat_add hfin (by simp)] |
| 23 | simp |
| 24 | |
| 25 | /-- An actual polynomial chart determines the global dimension increase. -/ |
| 26 | theorem polynomial_dimension_of_chart (k : Type u) [Field k] |
| 27 | {R : Type u} [CommRing R] [IsDomain R] |
| 28 | {A B : Scheme.{u}} [IsIntegral A] [IsIntegral B] |
| 29 | (a : Spec (CommRingCat.of R) ⟶ A) [IsOpenImmersion a] |
| 30 | (b : Spec (CommRingCat.of (Polynomial R)) ⟶ B) [IsOpenImmersion b] |
| 31 | (g : B ⟶ A) |
| 32 | (h : b ≫ g = Spec.map (CommRingCat.ofHom (algebraMap R (Polynomial R))) ≫ a) |
| 33 | (f : A ⟶ Spec (CommRingCat.of k)) [LocallyOfFiniteType f] : |
| 34 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (g ≫ f) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f + 1 := by |
| 35 | let α : CommRingCat.of k ⟶ CommRingCat.of R := Spec.preimage (a ≫ f) |
| 36 | let : Algebra k R := α.hom.toAlgebra |
| 37 | have hα : Spec.map α = a ≫ f := Spec.map_preimage _ |
| 38 | have hfα : LocallyOfFiniteType (Spec.map α) := |
| 39 | (congrArg (fun q => LocallyOfFiniteType q) hα).mpr inferInstance |
| 40 | have : Algebra.FiniteType k R := |
| 41 | (HasRingHomProperty.Spec_iff (P := @LocallyOfFiniteType)).mp hfα |
| 42 | let c : CommRingCat.of R ⟶ CommRingCat.of (Polynomial R) := |
| 43 | CommRingCat.ofHom (algebraMap R (Polynomial R)) |
| 44 | have hαc : α ≫ c = CommRingCat.ofHom (algebraMap k (Polynomial R)) := rfl |
| 45 | have hspec : Spec.map (CommRingCat.ofHom (algebraMap k (Polynomial R))) = |
| 46 | Spec.map c ≫ (a ≫ f) := |
| 47 | (congrArg Spec.map hαc.symm).trans |
| 48 | ((Spec.map_comp α c).trans (congrArg (fun q => Spec.map c ≫ q) hα)) |
| 49 | have hb : b ≫ (g ≫ f) = Spec.map (CommRingCat.ofHom (algebraMap k (Polynomial R))) := |
| 50 | (Category.assoc _ _ _).symm.trans |
| 51 | ((congrArg (fun q => q ≫ f) h).trans ((Category.assoc _ _ _).trans hspec.symm)) |
| 52 | have haDim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = (Algebra.trdeg k R).toNat := |
| 53 | (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion a f).symm.trans |
| 54 | ((congrArg (fun q => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension q) hα.symm).trans |
| 55 | (Affine.DimensionBridge.BundleCycles.schemeTranscendenceDimension_spec_algebra k R)) |
| 56 | exact (Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion b (g ≫ f)).symm.trans |
| 57 | ((congrArg (fun q => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension q) hb).trans |
| 58 | ((Affine.DimensionBridge.BundleCycles.schemeTranscendenceDimension_spec_algebra k (Polynomial R)).trans |
| 59 | ((polynomial_trdeg_toNat k R).trans (congrArg (fun n => n + 1) haDim.symm)))) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Polynomial.Dimension.BundleCycles |