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.EquationPeriodicComplex |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.Submodule |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FiniteLength |
| 4 | |
| 5 | /-! # Equation Periodic Sequence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.EquationPeriodicSequence.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: scalar periodic complexes on actual module sequences |
| 13 | |
| 14 | Linearity supplies the chain-map compatibility for every module map. |
| 15 | An actual short exact module sequence therefore induces a short exact |
| 16 | sequence of scalar periodic complexes. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | |
| 21 | universe u v |
| 22 | |
| 23 | variable {R : Type u} [CommRing R] {A M B : Type v} |
| 24 | [AddCommGroup A] [Module R A] [AddCommGroup M] [Module R M] |
| 25 | [AddCommGroup B] [Module R B] |
| 26 | |
| 27 | def equationPeriodicMap (a b : R) (hM : ∀ m : M, (a * b) • m = 0) |
| 28 | (hB : ∀ m : B, (a * b) • m = 0) (f : M →ₗ[R] B) : |
| 29 | EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hM ⟶ EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hB := |
| 30 | Periodic.Submodule.BundleCycles.endomorphismPeriodicMap _ _ _ _ _ _ _ _ f |
| 31 | (by apply LinearMap.ext; intro m; exact (f.map_smul a m).symm) |
| 32 | (by apply LinearMap.ext; intro m; exact (f.map_smul b m).symm) |
| 33 | |
| 34 | def equationPeriodicSequence (a b : R) |
| 35 | (hA : ∀ m : A, (a * b) • m = 0) (hM : ∀ m : M, (a * b) • m = 0) |
| 36 | (hB : ∀ m : B, (a * b) • m = 0) |
| 37 | (f : A →ₗ[R] M) (g : M →ₗ[R] B) (hfg : g.comp f = 0) : |
| 38 | ShortComplex (HomologicalComplex (ModuleCat R) Periodic.PeriodicComplex.BundleCycles.periodicComplexShape) := |
| 39 | ShortComplex.mk (equationPeriodicMap a b hA hM f) (equationPeriodicMap a b hM hB g) (by |
| 40 | apply HomologicalComplex.hom_ext |
| 41 | intro i |
| 42 | exact ModuleCat.hom_ext hfg) |
| 43 | |
| 44 | theorem equationPeriodicSequence_shortExact (a b : R) |
| 45 | (hA : ∀ m : A, (a * b) • m = 0) (hM : ∀ m : M, (a * b) • m = 0) |
| 46 | (hB : ∀ m : B, (a * b) • m = 0) |
| 47 | (f : A →ₗ[R] M) (g : M →ₗ[R] B) (hfg : Function.Exact f g) |
| 48 | (hf : Function.Injective f) (hg : Function.Surjective g) : |
| 49 | (equationPeriodicSequence a b hA hM hB f g hfg.linearMap_comp_eq_zero).ShortExact := by |
| 50 | apply HomologicalComplex.shortExact_of_degreewise_shortExact |
| 51 | intro i |
| 52 | exact ModuleCat.shortComplex_shortExact _ hfg hf hg |
| 53 | |
| 54 | theorem equationPeriodic_kill_submodule (a b : R) (hM : ∀ m : M, (a * b) • m = 0) |
| 55 | (P : Submodule R M) : ∀ m : P, (a * b) • m = 0 := |
| 56 | fun m => Subtype.ext (hM m.1) |
| 57 | |
| 58 | theorem equationPeriodic_kill_quotient (a b : R) (hM : ∀ m : M, (a * b) • m = 0) |
| 59 | (P : Submodule R M) : ∀ m : M ⧸ P, (a * b) • m = 0 := by |
| 60 | intro m |
| 61 | obtain ⟨m, rfl⟩ := P.mkQ_surjective m |
| 62 | exact (P.mkQ.map_smul (a * b) m).symm.trans ((congrArg P.mkQ (hM m)).trans P.mkQ.map_zero) |
| 63 | |
| 64 | theorem equationPeriodic_homology_finite_of_module (a b : R) (h : ∀ m : M, (a * b) • m = 0) |
| 65 | (hM : Module.length R M ≠ ⊤) (i : Bool) : |
| 66 | Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b h).homology i) ≠ ⊤ := |
| 67 | Periodic.FiniteLength.BundleCycles.endomorphismPeriodicComplex_homology_length_ne_top _ _ _ _ hM i |
| 68 | |
| 69 | theorem equationPeriodicEuler_zero_of_module (a b : R) (h : ∀ m : M, (a * b) • m = 0) |
| 70 | (hM : Module.length R M ≠ ⊤) |
| 71 | (h₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b h).homology false) ≠ ⊤) |
| 72 | (h₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b h).homology true) ≠ ⊤) : |
| 73 | Periodic.PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b h) h₀ h₁ = 0 := |
| 74 | Periodic.FiniteLength.BundleCycles.endomorphismPeriodicEulerLength_zero_of_finite _ _ _ _ h₀ h₁ hM |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Divisors.LineBundles.EquationPeriodicSequence.BundleCycles |