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.Quotient.CechModelComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PushforwardSections |
| 3 | |
| 4 | /-! # Model Section Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.ModelSectionSurjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A quotient model with a regular first differential gives the actual section tensor surjection for the next pullback. The second quasi-isomorphism is obtained from the original direct comparison, and pushforward sections are identified through their canonical coefficient-linear equivalence. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | universe u |
| 14 | section SectionComparison |
| 15 | variable {X Y Z : Scheme.{u}} {R C : Type u} [CommRing R] [CommRing C] [Algebra R C] |
| 16 | variable (a : X ⟶ Y) (g : Y ⟶ Z) (f : R →+* Γ(Z, ⊤)) (M : Z.Modules) |
| 17 | variable (r : C →+* Γ(X, ⊤)) |
| 18 | variable (hr : r.comp (algebraMap R C) = (a ≫ g).appTop.hom.comp f) |
| 19 | |
| 20 | theorem sectionTensor_surjective_of_refinement (U : Z.Opens) |
| 21 | (h : Function.Surjective (Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp a g f M r hr U)) : |
| 22 | Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (g.appTop.hom.comp f) |
| 23 | ((Scheme.Modules.pullback g).obj M) r |
| 24 | (Iterated.SectionTensorValues.sectionTensor_composite_coefficients a g f r hr) (g ⁻¹ᵁ U)) := by |
| 25 | let N : Y.Modules := (Scheme.Modules.pullback g).obj M |
| 26 | let K : X.Modules := (Scheme.Modules.pullback a).obj N |
| 27 | let L : X.Modules := (Scheme.Modules.pullback (a ≫ g)).obj M |
| 28 | let W := (a ≫ g) ⁻¹ᵁ U |
| 29 | let e : K ≅ L := (Scheme.Modules.pullbackComp a g).app M |
| 30 | let eR := ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ((a ≫ g).appTop.hom.comp f)).mapIso e).app (op W) |
| 31 | let s := Coefficient.PushforwardSections.coefficientPushforwardSectionEquiv g f N U |
| 32 | let β := Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (g.appTop.hom.comp f) N r |
| 33 | (Iterated.SectionTensorValues.sectionTensor_composite_coefficients a g f r hr) (g ⁻¹ᵁ U) |
| 34 | have he (z : C ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward g).obj N)).obj (op U))) : |
| 35 | e.hom.app W (β (s.toLinearMap.lTensor C z)) = |
| 36 | Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp a g f M r hr U z := by |
| 37 | induction z with |
| 38 | | add z w hz hw => |
| 39 | simp only [map_add] |
| 40 | exact ((e.hom.app W).hom.map_add _ _).trans (congrArg₂ (· + ·) hz hw) |
| 41 | | tmul c x => exact (Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp_value a g f M r hr U c x).symm |
| 42 | intro y |
| 43 | let ey : (Coefficient.ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward (a ≫ g)).obj L)).obj (op U) := |
| 44 | e.hom.app W y |
| 45 | obtain ⟨z, hz⟩ := h ey |
| 46 | refine ⟨s.toLinearMap.lTensor C z, ?_⟩ |
| 47 | apply (ConcreteCategory.bijective_of_isIso eR.hom).injective |
| 48 | exact (he z).trans hz |
| 49 | |
| 50 | theorem sectionTensor_top_surjective_of_refinement |
| 51 | (h : Function.Surjective (Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp a g f M r hr ⊤)) : |
| 52 | Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (g.appTop.hom.comp f) |
| 53 | ((Scheme.Modules.pullback g).obj M) r |
| 54 | (Iterated.SectionTensorValues.sectionTensor_composite_coefficients a g f r hr) ⊤) := by |
| 55 | let P (V : Y.Opens) : Prop := Function.Surjective |
| 56 | (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (g.appTop.hom.comp f) |
| 57 | ((Scheme.Modules.pullback g).obj M) r (Iterated.SectionTensorValues.sectionTensor_composite_coefficients a g f r hr) V) |
| 58 | have hp : P (g ⁻¹ᵁ (⊤ : Z.Opens)) = P ⊤ := |
| 59 | congrArg P (Scheme.Hom.preimage_top g) |
| 60 | exact hp.mp (sectionTensor_surjective_of_refinement a g f M r hr ⊤ h) |
| 61 | end SectionComparison |
| 62 | |
| 63 | variable {X Y Z : Scheme.{u}} {R B C : Type u} [CommRing R] [CommRing B] [CommRing C] |
| 64 | variable [Algebra R B] [Algebra R C] [Algebra B C] [IsScalarTower R B C] |
| 65 | variable (h : Function.Surjective (algebraMap R B)) |
| 66 | variable (a : X ⟶ Y) (g : Y ⟶ Z) (f : R →+* Γ(Z, ⊤)) (M : Z.Modules) |
| 67 | variable (q : B →+* Γ(Y, ⊤)) (r : C →+* Γ(X, ⊤)) |
| 68 | variable (hq : q.comp (algebraMap R B) = g.appTop.hom.comp f) |
| 69 | variable (hr : r.comp (algebraMap R C) = (a ≫ g).appTop.hom.comp f) |
| 70 | variable {ι : Type u} [LinearOrder ι] (U : ι → Z.Opens) |
| 71 | |
| 72 | include h in |
| 73 | theorem quotient_model_sectionTensor_surjective |
| 74 | (hU : iSup U = ⊤) (hα : r.comp (algebraMap B C) = a.appTop.hom.comp q) |
| 75 | {D : CochainComplex (ModuleCat.{u} R) ℕ} (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f M U) |
| 76 | [hφB : QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap g f M q hq U) 0] |
| 77 | [QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map C φ ≫ Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap (a ≫ g) f M r hr U) 0] |
| 78 | (d : (Module.TensorFunctor.ModuleTensorFunctor.complex B D).X 1 →ₗ[R] (Module.TensorFunctor.ModuleTensorFunctor.complex B D).X 0) |
| 79 | (hd : ((Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom.comp |
| 80 | (d.comp ((Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom) = |
| 81 | ((Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom) : |
| 82 | Function.Surjective (Module.SectionTensorComparison.moduleSectionTensorComparisonApp a (g.appTop.hom.comp f) |
| 83 | ((Scheme.Modules.pullback g).obj M) r |
| 84 | (Iterated.SectionTensorValues.sectionTensor_composite_coefficients a g f r hr) ⊤) := by |
| 85 | let N : Z.Modules := (Scheme.Modules.pushforward g).obj ((Scheme.Modules.pullback g).obj M) |
| 86 | let P : Z.Modules := (Scheme.Modules.pushforward (a ≫ g)).obj ((Scheme.Modules.pullback (a ≫ g)).obj M) |
| 87 | let φB := Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap g f M q hq U |
| 88 | have hψ : QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map C φB ≫ Iterated.CechTensorPushforward.refinementCechTensorMap a g f M r hr U) 0 := |
| 89 | CechModelComparison.quotientCechModel_quasiIsoAt h a g f M q r hq hr U hα φ 0 |
| 90 | have hs : Function.Surjective (Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp a g f M r hr ⊤) := |
| 91 | Cech.TensorSectionsSurjectivity.CechTensorComparison.sections_surjective_of_kernel_range (hφ := hφB) (hψ := hψ) C f N P U |
| 92 | (Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp a g f M r hr) |
| 93 | (fun _ _ i c x => Iterated.CechTensorPushforward.refinementSectionTensorComparisonApp_natural a g f M r hr i.le c x) |
| 94 | φB hU (Regular.DifferentialTensorKernel.tensor_kernel_range_of_generalizedInverse ((Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom d hd C) |
| 95 | exact sectionTensor_top_surjective_of_refinement a g f M r hr hs |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.ModelSectionSurjectivity |