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.Cech.ModelSpecifiedSectionCycles |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TensorModelSections |
| 3 | |
| 4 | /-! # Specified Section Tensor Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SpecifiedSectionTensorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The scalar-extended representatives of specified sections map to |
| 11 | the actual tensor comparison of those sections. Consequently their kernel |
| 12 | completeness is equivalent to bijectivity of that section comparison. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open scoped TensorProduct |
| 15 | universe u v |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {X : Scheme.{u}} {R : Type u} [CommRing R] |
| 19 | variable (A : Type u) [AddCommGroup A] [Module R A] |
| 20 | variable (c : R →+* Γ(X, ⊤)) (M N : X.Modules) |
| 21 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 22 | variable {D : CochainComplex (ModuleCat.{u} R) ℕ} |
| 23 | variable (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) [QuasiIsoAt φ 0] |
| 24 | |
| 25 | def tensorSpecifiedSectionCycleComparison {κ : Type v} |
| 26 | (s : κ → (Line.Bundles.structureModule X ⟶ M)) : |
| 27 | (A ⊗[R] (κ →₀ R)) →ₗ[R] ((D.d 0 1).hom.lTensor A).ker := |
| 28 | KernelDimensionCriterion.linearKernelComparison ((Cech.ModelSpecifiedSectionCycles.modelSectionCycleMap c M U hU φ s).lTensor A) |
| 29 | ((D.d 0 1).hom.lTensor A) (by |
| 30 | rw [← LinearMap.lTensor_comp, Cech.ModelSpecifiedSectionCycles.modelSectionCycleMap_cycle] |
| 31 | exact LinearMap.lTensor_zero A) |
| 32 | |
| 33 | variable (β : ∀ V : X.Opens, A ⊗[R] ((Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op V)) →ₗ[R] |
| 34 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).obj (op V)) |
| 35 | variable (hβ : ∀ (V W : X.Opens) (i : V ⟶ W) (a : A) |
| 36 | (x : (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).obj (op W)), |
| 37 | β V (a ⊗ₜ[R] (Coefficient.ModulePresheaf.coefficientModulePresheaf c M).map i.op x) = |
| 38 | (Coefficient.ModulePresheaf.coefficientModulePresheaf c N).map i.op (β W (a ⊗ₜ[R] x))) |
| 39 | variable [QuasiIsoAt (Cech.TensorModelSections.CechTensorComparison.modelMap A c M N U β hβ φ) 0] |
| 40 | |
| 41 | theorem tensorSpecifiedSectionCycleComparison_sections {κ : Type v} |
| 42 | (s : κ → (Line.Bundles.structureModule X ⟶ M)) : |
| 43 | (Cech.ModelGlobalSections.CechModelSections.equiv c N U hU (Cech.TensorModelSections.CechTensorComparison.modelMap A c M N U β hβ φ)).toLinearMap.comp |
| 44 | (tensorSpecifiedSectionCycleComparison A c M U hU φ s) = |
| 45 | (β ⊤).comp ((Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).lTensor A) := by |
| 46 | apply TensorProduct.ext' |
| 47 | intro a x |
| 48 | let e := Cech.ModelGlobalSections.CechModelSections.equiv c M U hU φ |
| 49 | let z := Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s x |
| 50 | have hk : tensorSpecifiedSectionCycleComparison A c M U hU φ s (a ⊗ₜ[R] x) = |
| 51 | Tensor.DifferentialKernels.tensorDifferentialKernelMap A (D.d 0 1) (a ⊗ₜ[R] e.symm z) := Subtype.ext rfl |
| 52 | have ht := Cech.TensorModelSections.CechTensorComparison.modelKernel_tensor_section A c M N U β hβ φ hU a (e.symm z) |
| 53 | change _ = β ⊤ (a ⊗ₜ[R] e (e.symm z)) at ht |
| 54 | rw [LinearEquiv.apply_symm_apply] at ht |
| 55 | exact (congrArg (Cech.ModelGlobalSections.CechModelSections.equiv c N U hU |
| 56 | (Cech.TensorModelSections.CechTensorComparison.modelMap A c M N U β hβ φ)) hk).trans ht |
| 57 | |
| 58 | include hβ in |
| 59 | theorem tensorSpecifiedSectionCycleComparison_bijective_iff {κ : Type v} |
| 60 | (s : κ → (Line.Bundles.structureModule X ⟶ M)) : |
| 61 | Function.Bijective (tensorSpecifiedSectionCycleComparison A c M U hU φ s) ↔ |
| 62 | Function.Bijective ((β ⊤).comp ((Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination c M s).lTensor A)) := by |
| 63 | let e := Cech.ModelGlobalSections.CechModelSections.equiv c N U hU (Cech.TensorModelSections.CechTensorComparison.modelMap A c M N U β hβ φ) |
| 64 | let k := tensorSpecifiedSectionCycleComparison A c M U hU φ s |
| 65 | have he := tensorSpecifiedSectionCycleComparison_sections A c M N U hU φ β hβ s |
| 66 | constructor |
| 67 | · intro h |
| 68 | rw [← he] |
| 69 | exact e.bijective.comp h |
| 70 | · intro h |
| 71 | rw [← he] at h |
| 72 | refine ⟨fun x y hxy => h.injective (congrArg e hxy), ?_⟩ |
| 73 | intro y |
| 74 | obtain ⟨x, hx⟩ := h.surjective (e y) |
| 75 | exact ⟨x, e.injective hx⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SpecifiedSectionTensorComparison |