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.Projective.ModuleLocalBasis |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricProjective.ProjectivePullback |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.ModuleLocalization |
| 4 | import Mathlib.LinearAlgebra.Basis.Prod |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.DeformationProperties |
| 6 | |
| 7 | /-! # Projective Local Property -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.ProjectiveLocalProperty.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Target-local properties of finite free projective spectra extend |
| 14 | to the actual augmented spectrum of a finite projective module. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | |
| 18 | variable {R : Type} [CommRing R] (M : Type) [AddCommGroup M] [Module R M] |
| 19 | [Module.Projective R M] [Module.Finite R M] |
| 20 | (P : MorphismProperty Scheme.{0}) |
| 21 | (hP : ∀ (S N κ : Type) [CommRing S] [AddCommGroup N] [Module S N] [Fintype κ] [Nonempty κ], |
| 22 | Module.Basis κ S N → P (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase S N)) |
| 23 | |
| 24 | include hP in |
| 25 | theorem augmentedProjective_property_pointChart (q : Spec (.of R)) : |
| 26 | ∃ (S : CommRingCat.{0}) (i : Spec S ⟶ Spec (.of R)) (Z : Scheme.{0}) |
| 27 | (j : Z ⟶ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M)) (k : Z ⟶ Spec S), |
| 28 | IsOpenImmersion i ∧ q ∈ Set.range i ∧ IsPullback k j i (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) ∧ P k := by |
| 29 | let : q.asIdeal.IsPrime := q.isPrime |
| 30 | obtain ⟨r, hr, κ, hκ, ⟨b⟩⟩ := LineBundles.Projective.ModuleLocalBasis.BundleCycles.projectiveModule_exists_localBasis M q.asIdeal |
| 31 | let := hκ |
| 32 | let := Fintype.ofFinite κ |
| 33 | let S := Localization.Away r |
| 34 | let N := LocalizedModule.Away r M |
| 35 | let f : M →ₗ[R] N := LocalizedModule.mkLinearMap (Submonoid.powers r) M |
| 36 | let a := ModuleLocalization.BundleCycles.augmentedModuleLocalizationMap (S := S) f |
| 37 | let i := Spec.map (CommRingCat.ofHom (algebraMap R S)) |
| 38 | let j := SymmetricProjective.Localization.BundleCycles.localizedSymmetricProjectiveMap (S := S) (Submonoid.powers r) a |
| 39 | let b' : Module.Basis (Unit ⊕ κ) S (S × N) := (Module.Basis.singleton Unit S).prod b |
| 40 | refine ⟨.of S, i, SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme S (S × N), j, SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase S (S × N), |
| 41 | IsOpenImmersion.of_isLocalization r, ?_, SymmetricProjective.ProjectivePullback.BundleCycles.symmetricProjective_principal_isPullback (S := S) r a, |
| 42 | hP S (S × N) (Unit ⊕ κ) b'⟩ |
| 43 | have he : Set.range i = (PrimeSpectrum.basicOpen r : Set (PrimeSpectrum R)) := |
| 44 | PrimeSpectrum.localization_away_comap_range S r |
| 45 | exact (Set.ext_iff.mp he q).mpr hr |
| 46 | |
| 47 | include hP in |
| 48 | theorem augmentedProjective_property [IsZariskiLocalAtTarget P] : P (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) := by |
| 49 | choose S i Z j k hi hx hs hp using augmentedProjective_property_pointChart (R := R) M P hP |
| 50 | let C : (Spec (.of R)).OpenCover := Scheme.Cover.mkOfCovers _ (fun q => Spec (S q)) i |
| 51 | (fun q => ⟨q, hx q⟩) hi |
| 52 | exact Global.DeformationProperties.BundleCycles.morphismProperty_of_cover_pullbacks P (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R (R × M)) C Z j k hs hp |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Augmented.ProjectiveLocalProperty.BundleCycles |