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.Quotients.FiniteDescent.TwoAxisCycleLift |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ResidueModel |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FiberTensor |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModelOrdinaryBaseChange |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModelFrame |
| 6 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModelSection |
| 7 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionPair |
| 8 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorExtensionQuasi |
| 9 | |
| 10 | /-! # Axis Model -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AxisModel |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! Two axis detectors, compared with a finite projective Cech model, |
| 17 | produce a genuine trivialization near a trivial integral fiber. -/ |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 22 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | namespace Construction.AxisModelFrameNeighborhood |
| 27 | |
| 28 | variable {X S : Scheme.{u}} [IsAffine S] (π : X ⟶ S) [IsProper π] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 29 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 30 | variable {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 31 | variable (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π L.sheaf U) [QuasiIsoAt φ 0] |
| 32 | variable [Module.Finite Γ(S, ⊤) (D.X 0)] [Module.Projective Γ(S, ⊤) (D.X 0)] |
| 33 | variable [Module.Finite Γ(S, ⊤) (D.X 1)] [Module.Projective Γ(S, ⊤) (D.X 1)] |
| 34 | variable [Module.Finite Γ(S, ⊤) (D.X 2)] [Module.Projective Γ(S, ⊤) (D.X 2)] |
| 35 | variable (T₁ T₂ Q₁ Q₂ : ShortComplex (ModuleCat.{u} Γ(S, ⊤))) |
| 36 | variable [Module.Finite Γ(S, ⊤) Q₁.X₂] [Module.Free Γ(S, ⊤) Q₁.X₂] |
| 37 | variable [Module.Finite Γ(S, ⊤) Q₂.X₂] [Module.Free Γ(S, ⊤) Q₂.X₂] |
| 38 | |
| 39 | include hU |
| 40 | |
| 41 | theorem exists_open |
| 42 | (r₁ : CechShort.Construction.CechShortCoordinates.target π L.sheaf U ⟶ T₁) |
| 43 | (r₂ : CechShort.Construction.CechShortCoordinates.target π L.sheaf U ⟶ T₂) |
| 44 | (p₁ : T₁ ⟶ Q₁) (p₂ : T₂ ⟶ Q₂) (h₁ : Q₁.f = 0) (h₂ : Q₂.f = 0) |
| 45 | (hφ : ∀ (B : Type u) [AddCommGroup B] [Module Γ(S, ⊤) B], QuasiIso (ModuleTensor.Construction.ModuleTensorFunctor.map B φ)) |
| 46 | (x : S) [IsIntegral (π.fiber x)] |
| 47 | (he : Nonempty ((L.pullback (π.fiberι x)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π.fiber x))) |
| 48 | (hf : QuasiIsoAt (CechModelBaseChange.Construction.CechBaseChangeMap.modelMap (π.fiberι x) π (π.fiberToSpecResidueField x) |
| 49 | (S.fromSpecResidueField x) (π.fiber_fac x) L.sheaf U φ) 0) |
| 50 | [ShortComplex.QuasiIso ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map p₁)] |
| 51 | [ShortComplex.QuasiIso ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map p₂)] |
| 52 | (hj : CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 53 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map r₁) |
| 54 | ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map r₂)) : |
| 55 | ∃ V : S.Opens, x ∈ V ∧ |
| 56 | Nonempty ((L.pullback (π ⁻¹ᵁ V).ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π ⁻¹ᵁ V).toScheme) := by |
| 57 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 0)) |
| 58 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₁ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 0)) |
| 59 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 1)) |
| 60 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₂ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 1)) |
| 61 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 2)) |
| 62 | have : Module.Projective Γ(S, ⊤) (D.sc' 0 1 2).X₃ := inferInstanceAs (Module.Projective Γ(S, ⊤) (D.X 2)) |
| 63 | have := hf |
| 64 | let F := Over.mk (π.fiberToSpecResidueField x) |
| 65 | have : IsProper F.hom := inferInstanceAs (IsProper (pullback.snd π (S.fromSpecResidueField x))) |
| 66 | have : IsIntegral F.left := inferInstanceAs (IsIntegral (π.fiber x)) |
| 67 | have hn := SectionPair.Construction.SectionPairTriviality.nontrivial_sections_of_trivial F (L.pullback (π.fiberι x)) he.some |
| 68 | have hs₀ := (ModelSection.Construction.ModelSectionSupport.sections_iff (π.fiberι x) π (π.fiberToSpecResidueField x) |
| 69 | (S.fromSpecResidueField x) (π.fiber_fac x) L.sheaf U hU φ |
| 70 | (default : Spec (S.residueField x))).mp hn |
| 71 | have hs : S.toSpecΓ x ∈ Module.support Γ(S, ⊤) (KernelSupportIs.Construction.KernelSupport.dualCokernel (D.d 0 1).hom) := by |
| 72 | have hpoint := S.fromSpecResidueField_apply x (default : Spec (S.residueField x)) |
| 73 | exact hpoint ▸ hs₀ |
| 74 | let A := S.presheaf.stalk x |
| 75 | let : Algebra Γ(S, ⊤) A := (S.presheaf.germ ⊤ x trivial).hom.toAlgebra |
| 76 | have : Module.Flat Γ(S, ⊤) A := FiberScalar.Construction.FiberScalarMaps.stalk_flat S x |
| 77 | obtain ⟨z, hz, hne⟩ := ResidueModel.Construction.ResidueModelCycles.exists_cycle S x (D.sc' 0 1 2) hs |
| 78 | let ψ := OrderedCechShort.Construction.OrderedCechShortComparison.comparison π L.sheaf U φ |
| 79 | have : QuasiIso (((ModuleCat.extendScalars (S.Γevaluation x).hom).mapHomologicalComplex |
| 80 | (ComplexShape.up ℕ)).map φ) := TensorExtensionQuasi.Construction.TensorExtension.quasiIso (S.Γevaluation x).hom φ hφ |
| 81 | have : ShortComplex.QuasiIso ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map ψ) := |
| 82 | ModelOrdinaryBaseChange.Construction.OrderedCechShortComparison.baseChange_quasiIso π L.sheaf U φ (S.Γevaluation x).hom |
| 83 | let a := (algebraMap A (IsLocalRing.ResidueField A)).comp (algebraMap Γ(S, ⊤) A) |
| 84 | have : ShortComplex.QuasiIso ((ModuleCat.extendScalars a).mapShortComplex.map ψ) := |
| 85 | show ShortComplex.QuasiIso ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map ψ) |
| 86 | from inferInstance |
| 87 | have : ShortComplex.QuasiIso ((ModuleCat.extendScalars a).mapShortComplex.map p₁) := |
| 88 | show ShortComplex.QuasiIso ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map p₁) |
| 89 | from inferInstance |
| 90 | have : ShortComplex.QuasiIso ((ModuleCat.extendScalars a).mapShortComplex.map p₂) := |
| 91 | show ShortComplex.QuasiIso ((ModuleCat.extendScalars (S.Γevaluation x).hom).mapShortComplex.map p₂) |
| 92 | from inferInstance |
| 93 | obtain ⟨m, hm, hmn⟩ := TwoAxisCycleLift.Construction.FlatTwoAxisCycleLift.exists_cycle (A := A) (D.sc' 0 1 2) |
| 94 | (CechShort.Construction.CechShortCoordinates.target π L.sheaf U) T₁ T₂ Q₁ Q₂ ψ r₁ r₂ p₁ p₂ h₁ h₂ hj z hz hne |
| 95 | exact ModelFrame.Construction.ModelFrameNeighborhood.exists_open π L U hU φ x he hf ⟨m, hm⟩ |
| 96 | (FiberTensor.Construction.FiberTensorSurvival.nonzero S x (D.X 0) m hmn) |
| 97 | |
| 98 | end Construction.AxisModelFrameNeighborhood |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AxisModel |