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.AbelianModuli.HilbertConstruction.OpenPullback.TensorSource |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorCompositionValues |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorRefinementValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ComparisonBijectivity |
| 5 | |
| 6 | /-! # Tensor Comparison Reduction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.TensorComparisonReduction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Invertibility of the section tensor comparison transports through an open restriction of its source and through an open refinement of its target. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem moduleSectionTensorComparisonApp_bijective_of_open_comp |
| 19 | {X Y Z : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 20 | (a : Z ⟶ Y) (j : Y ⟶ X) [IsOpenImmersion j] (f : R →+* Γ(X, ⊤)) (M : X.Modules) (q : B →+* Γ(Z, ⊤)) |
| 21 | (hq : q.comp (algebraMap R B) = (a ≫ j).appTop.hom.comp f) |
| 22 | (hq' : q.comp (algebraMap R B) = a.appTop.hom.comp (j.appTop.hom.comp f)) |
| 23 | (U : X.Opens) (hU : U ≤ j.opensRange) |
| 24 | (hlocal : Function.Bijective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (j.appTop.hom.comp f) |
| 25 | ((Scheme.Modules.pullback j).obj M) q hq' (j ⁻¹ᵁ U))) : |
| 26 | Function.Bijective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp (a ≫ j) f M q hq U) := by |
| 27 | let F := Module.SectionTensorComparison.moduleSectionTensorComparisonApp (a ≫ j) f M q hq U |
| 28 | let G := Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (j.appTop.hom.comp f) ((Scheme.Modules.pullback j).obj M) q hq' (j ⁻¹ᵁ U) |
| 29 | let e := OpenPullback.TensorSource.coefficientOpenPullbackSectionEquiv j f M U hU |
| 30 | let φ := ((Scheme.Modules.pullbackComp a j).hom.app M).app ((a ≫ j) ⁻¹ᵁ U) |
| 31 | have hφ := (ConcreteCategory.isIso_iff_bijective φ).mp inferInstance |
| 32 | apply Tensor.ComparisonBijectivity.tensorComparison_bijective_of_pure_square F G e φ.hom hφ hlocal |
| 33 | intro b x |
| 34 | exact Module.TensorCompositionValues.moduleSectionTensorComparisonApp_comp a j f M q hq hq' U b x |
| 35 | |
| 36 | theorem moduleSectionTensorComparisonApp_bijective_of_open_refine |
| 37 | {X Y Z : Scheme.{u}} {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 38 | (a : X ⟶ Y) [IsOpenImmersion a] (g : Y ⟶ Z) (f : R →+* Γ(Z, ⊤)) (M : Z.Modules) (q : B →+* Γ(Y, ⊤)) |
| 39 | (hq : q.comp (algebraMap R B) = g.appTop.hom.comp f) (U : Z.Opens) (hU : g ⁻¹ᵁ U ≤ a.opensRange) |
| 40 | (hcomp : Function.Bijective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp (a ≫ g) f M (a.appTop.hom.comp q) |
| 41 | (Coefficient.PullbackRefinement.pullbackCoefficient_compatible_comp a g f q hq) U)) : |
| 42 | Function.Bijective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp g f M q hq U) := by |
| 43 | let ρ := (Coefficient.PullbackRefinement.coefficientPullbackRefinementMap a g f M).app (.op U) |
| 44 | have hρ := (ConcreteCategory.isIso_iff_bijective ρ).mp |
| 45 | (Coefficient.PullbackRefinement.coefficientPullbackRefinementMap_app_isIso a g f M U hU) |
| 46 | have he : ρ.hom.comp (Module.SectionTensorComparison.moduleSectionTensorComparisonApp g f M q hq U) = |
| 47 | Module.SectionTensorComparison.moduleSectionTensorComparisonApp (a ≫ g) f M (a.appTop.hom.comp q) |
| 48 | (Coefficient.PullbackRefinement.pullbackCoefficient_compatible_comp a g f q hq) U := by |
| 49 | apply TensorProduct.ext' |
| 50 | intro b x |
| 51 | exact Module.TensorRefinementValues.moduleSectionTensorComparisonApp_refine a g f M q hq U b x |
| 52 | constructor |
| 53 | · intro x y hxy |
| 54 | apply hcomp.injective |
| 55 | exact (LinearMap.congr_fun he x).symm.trans ((congrArg ρ hxy).trans (LinearMap.congr_fun he y)) |
| 56 | · intro y |
| 57 | obtain ⟨x, hx⟩ := hcomp.surjective (ρ y) |
| 58 | exact ⟨x, hρ.injective ((LinearMap.congr_fun he x).trans hx)⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.TensorComparisonReduction |