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.Periodic.PeriodicComplex |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 3 | |
| 4 | /-! # Submodule -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.Submodule.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: the periodic complex of an invariant submodule and quotient |
| 12 | |
| 13 | The maps are the actual inclusion and quotient maps, in each degree. |
| 14 | Their short exactness is proved degreewise from the submodule quotient |
| 15 | sequence, allowing periodic Euler additivity to be applied to modules. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {R : Type u} {M : Type v} [CommRing R] [AddCommGroup M] [Module R M] |
| 23 | |
| 24 | def endomorphismPeriodicMap {N : Type v} [AddCommGroup N] [Module R N] |
| 25 | (φ ψ : M →ₗ[R] M) (φ' ψ' : N →ₗ[R] N) |
| 26 | (hφψ : ψ.comp φ = 0) (hψφ : φ.comp ψ = 0) |
| 27 | (hφψ' : ψ'.comp φ' = 0) (hψφ' : φ'.comp ψ' = 0) |
| 28 | (f : M →ₗ[R] N) (hfφ : φ'.comp f = f.comp φ) (hfψ : ψ'.comp f = f.comp ψ) : |
| 29 | PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ ⟶ |
| 30 | PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ' ψ' hφψ' hψφ' where |
| 31 | f _ := ModuleCat.ofHom f |
| 32 | comm' := by |
| 33 | intro i j hij |
| 34 | cases i <;> cases j <;> |
| 35 | simp_all [PeriodicComplex.BundleCycles.periodicComplexShape, PeriodicComplex.BundleCycles.endomorphismPeriodicComplex, ← ModuleCat.ofHom_comp] |
| 36 | |
| 37 | variable (φ ψ : M →ₗ[R] M) (hφψ : ψ.comp φ = 0) (hψφ : φ.comp ψ = 0) |
| 38 | (P : Submodule R M) (hPφ : ∀ x ∈ P, φ x ∈ P) (hPψ : ∀ x ∈ P, ψ x ∈ P) |
| 39 | |
| 40 | include hφψ in |
| 41 | theorem periodicRestriction_comp_zero : (ψ.restrict hPψ).comp (φ.restrict hPφ) = 0 := by |
| 42 | ext x |
| 43 | exact LinearMap.congr_fun hφψ x.1 |
| 44 | |
| 45 | include hφψ in |
| 46 | theorem periodicQuotient_comp_zero : |
| 47 | (P.mapQ P ψ hPψ).comp (P.mapQ P φ hPφ) = 0 := by |
| 48 | apply LinearMap.ext |
| 49 | intro x |
| 50 | obtain ⟨x, rfl⟩ := P.mkQ_surjective x |
| 51 | change P.mkQ (ψ (φ x)) = 0 |
| 52 | exact (congrArg P.mkQ (LinearMap.congr_fun hφψ x)).trans P.mkQ.map_zero |
| 53 | |
| 54 | def periodicSubmoduleComplex : HomologicalComplex (ModuleCat R) PeriodicComplex.BundleCycles.periodicComplexShape := |
| 55 | PeriodicComplex.BundleCycles.endomorphismPeriodicComplex (φ.restrict hPφ) (ψ.restrict hPψ) |
| 56 | (periodicRestriction_comp_zero φ ψ hφψ P hPφ hPψ) |
| 57 | (periodicRestriction_comp_zero ψ φ hψφ P hPψ hPφ) |
| 58 | |
| 59 | def periodicQuotientComplex : HomologicalComplex (ModuleCat R) PeriodicComplex.BundleCycles.periodicComplexShape := |
| 60 | PeriodicComplex.BundleCycles.endomorphismPeriodicComplex (P.mapQ P φ hPφ) (P.mapQ P ψ hPψ) |
| 61 | (periodicQuotient_comp_zero φ ψ hφψ P hPφ hPψ) |
| 62 | (periodicQuotient_comp_zero ψ φ hψφ P hPψ hPφ) |
| 63 | |
| 64 | def periodicSubmoduleInclusion : periodicSubmoduleComplex φ ψ hφψ hψφ P hPφ hPψ ⟶ |
| 65 | PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ := |
| 66 | endomorphismPeriodicMap _ _ _ _ _ _ _ _ P.subtype rfl rfl |
| 67 | |
| 68 | def periodicQuotientProjection : PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ ⟶ |
| 69 | periodicQuotientComplex φ ψ hφψ hψφ P hPφ hPψ := |
| 70 | endomorphismPeriodicMap _ _ _ _ _ _ _ _ P.mkQ |
| 71 | (P.mapQ_mkQ P φ) (P.mapQ_mkQ P ψ) |
| 72 | |
| 73 | def periodicSubmoduleSequence : |
| 74 | ShortComplex (HomologicalComplex (ModuleCat R) PeriodicComplex.BundleCycles.periodicComplexShape) := |
| 75 | ShortComplex.mk (periodicSubmoduleInclusion φ ψ hφψ hψφ P hPφ hPψ) |
| 76 | (periodicQuotientProjection φ ψ hφψ hψφ P hPφ hPψ) (by |
| 77 | ext i x |
| 78 | exact (Submodule.Quotient.mk_eq_zero P).mpr x.2) |
| 79 | |
| 80 | theorem periodicSubmoduleSequence_shortExact : |
| 81 | (periodicSubmoduleSequence φ ψ hφψ hψφ P hPφ hPψ).ShortExact := by |
| 82 | apply HomologicalComplex.shortExact_of_degreewise_shortExact |
| 83 | intro i |
| 84 | apply ModuleCat.shortComplex_shortExact |
| 85 | · exact LinearMap.exact_subtype_mkQ P |
| 86 | · exact P.subtype_injective |
| 87 | · exact P.mkQ_surjective |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.Submodule.BundleCycles |