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.Exact |
| 2 | |
| 3 | /-! # Finite Length -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FiniteLength.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: finite modules have zero periodic Euler length |
| 11 | |
| 12 | The two kernel-image sequences and the two homology quotient sequences |
| 13 | cancel. No exactness of the periodic complex is required. |
| 14 | -/ |
| 15 | |
| 16 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 17 | |
| 18 | theorem periodicBoundaryMap_kernel_exact |
| 19 | (φ ψ : M →ₗ[R] M) (hψφ : φ.comp ψ = 0) : |
| 20 | Function.Exact ψ.ker.subtype (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).rangeRestrict := by |
| 21 | intro x |
| 22 | constructor |
| 23 | · intro hx |
| 24 | have hz : ψ x = 0 := congrArg |
| 25 | (fun z : (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).range => (z.1 : M)) hx |
| 26 | exact ⟨⟨x, hz⟩, rfl⟩ |
| 27 | · rintro ⟨x, rfl⟩ |
| 28 | exact Subtype.ext (Subtype.ext x.2) |
| 29 | |
| 30 | theorem periodicHomology_length_eq_of_finite |
| 31 | (φ ψ : M →ₗ[R] M) (hφψ : ψ.comp φ = 0) (hψφ : φ.comp ψ = 0) |
| 32 | (hM : Module.length R M ≠ ⊤) : |
| 33 | (Module.length R (Periodic.Exact.BundleCycles.periodicHomology φ ψ hψφ)).toNat = |
| 34 | (Module.length R (Periodic.Exact.BundleCycles.periodicHomology ψ φ hφψ)).toNat := by |
| 35 | have hKφ : Module.length R φ.ker ≠ ⊤ := |
| 36 | ne_top_of_le_ne_top hM (Module.length_le_of_injective φ.ker.subtype |
| 37 | φ.ker.subtype_injective) |
| 38 | have hKψ : Module.length R ψ.ker ≠ ⊤ := |
| 39 | ne_top_of_le_ne_top hM (Module.length_le_of_injective ψ.ker.subtype |
| 40 | ψ.ker.subtype_injective) |
| 41 | have h₁ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact ψ.ker.subtype |
| 42 | (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).rangeRestrict ψ.ker.subtype_injective |
| 43 | (LinearMap.surjective_rangeRestrict _) (periodicBoundaryMap_kernel_exact φ ψ hψφ) hM |
| 44 | have h₂ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact φ.ker.subtype |
| 45 | (Periodic.Exact.BundleCycles.periodicBoundaryMap ψ φ hφψ).rangeRestrict φ.ker.subtype_injective |
| 46 | (LinearMap.surjective_rangeRestrict _) (periodicBoundaryMap_kernel_exact ψ φ hφψ) hM |
| 47 | have h₃ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).range.subtype |
| 48 | (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).range.mkQ (Submodule.subtype_injective _) |
| 49 | (Submodule.mkQ_surjective _) (LinearMap.exact_subtype_mkQ _) hKφ |
| 50 | have h₄ := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact (Periodic.Exact.BundleCycles.periodicBoundaryMap ψ φ hφψ).range.subtype |
| 51 | (Periodic.Exact.BundleCycles.periodicBoundaryMap ψ φ hφψ).range.mkQ (Submodule.subtype_injective _) |
| 52 | (Submodule.mkQ_surjective _) (LinearMap.exact_subtype_mkQ _) hKψ |
| 53 | change (Module.length R (φ.ker ⧸ (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).range)).toNat = |
| 54 | (Module.length R (ψ.ker ⧸ (Periodic.Exact.BundleCycles.periodicBoundaryMap ψ φ hφψ).range)).toNat |
| 55 | omega |
| 56 | |
| 57 | theorem endomorphismPeriodicComplex_homology_length_ne_top |
| 58 | (φ ψ : M →ₗ[R] M) (hφψ : ψ.comp φ = 0) (hψφ : φ.comp ψ = 0) |
| 59 | (hM : Module.length R M ≠ ⊤) (i : Bool) : |
| 60 | Module.length R ((PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ).homology i) ≠ ⊤ := by |
| 61 | cases i |
| 62 | · rw [(Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_false_iso φ ψ hφψ hψφ).toLinearEquiv.length_eq] |
| 63 | exact Periodic.Exact.BundleCycles.periodicHomology_length_ne_top φ ψ hψφ hM |
| 64 | · rw [(Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_true_iso φ ψ hφψ hψφ).toLinearEquiv.length_eq] |
| 65 | exact Periodic.Exact.BundleCycles.periodicHomology_length_ne_top ψ φ hφψ hM |
| 66 | |
| 67 | theorem endomorphismPeriodicEulerLength_zero_of_finite |
| 68 | (φ ψ : M →ₗ[R] M) (hφψ : ψ.comp φ = 0) (hψφ : φ.comp ψ = 0) |
| 69 | (h₀ : Module.length R ((PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ).homology false) ≠ ⊤) |
| 70 | (h₁ : Module.length R ((PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ).homology true) ≠ ⊤) |
| 71 | (hM : Module.length R M ≠ ⊤) : |
| 72 | PeriodicComplex.BundleCycles.periodicEulerLength (PeriodicComplex.BundleCycles.endomorphismPeriodicComplex φ ψ hφψ hψφ) h₀ h₁ = 0 := by |
| 73 | unfold PeriodicComplex.BundleCycles.periodicEulerLength |
| 74 | rw [(Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_false_iso φ ψ hφψ hψφ).toLinearEquiv.length_eq, |
| 75 | (Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_true_iso φ ψ hφψ hψφ).toLinearEquiv.length_eq] |
| 76 | exact sub_eq_zero.mpr (congrArg (fun n : ℕ => (n : ℤ)) |
| 77 | (periodicHomology_length_eq_of_finite φ ψ hφψ hψφ hM)) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FiniteLength.BundleCycles |