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.EquationPeriodicSequence |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ExactLengthFiniteness |
| 3 | |
| 4 | /-! # Finite Error -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FiniteError.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: periodic Euler invariance under finite kernel and cokernel |
| 12 | |
| 13 | The two actual module sequences through the image of a map give the |
| 14 | comparison. Their finite error modules have zero periodic Euler length, |
| 15 | and the homology sequence supplies finiteness of the image homology. |
| 16 | -/ |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] {M N : Type v} |
| 21 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 22 | |
| 23 | theorem linearMap_kernel_range_exact (f : M →ₗ[R] N) : |
| 24 | Function.Exact f.ker.subtype f.rangeRestrict := by |
| 25 | intro m |
| 26 | constructor |
| 27 | · intro hm |
| 28 | exact ⟨⟨m, congrArg (fun y : f.range => (y : N)) hm⟩, rfl⟩ |
| 29 | · rintro ⟨m, rfl⟩ |
| 30 | exact Subtype.ext m.2 |
| 31 | |
| 32 | theorem equationPeriodicEulerLength_eq_of_finite_errors |
| 33 | (a b : R) (hM : ∀ m : M, (a * b) • m = 0) (hN : ∀ m : N, (a * b) • m = 0) |
| 34 | (f : M →ₗ[R] N) (hK : Module.length R f.ker ≠ ⊤) |
| 35 | (hQ : Module.length R (N ⧸ f.range) ≠ ⊤) |
| 36 | (hM₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hM).homology false) ≠ ⊤) |
| 37 | (hM₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hM).homology true) ≠ ⊤) |
| 38 | (hN₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hN).homology false) ≠ ⊤) |
| 39 | (hN₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hN).homology true) ≠ ⊤) : |
| 40 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hM) hM₀ hM₁ = |
| 41 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hN) hN₀ hN₁ := by |
| 42 | let hk := EquationPeriodicSequence.BundleCycles.equationPeriodic_kill_submodule a b hM f.ker |
| 43 | let hr := EquationPeriodicSequence.BundleCycles.equationPeriodic_kill_submodule a b hN f.range |
| 44 | let hq := EquationPeriodicSequence.BundleCycles.equationPeriodic_kill_quotient a b hN f.range |
| 45 | let S := EquationPeriodicSequence.BundleCycles.equationPeriodicSequence a b hk hM hr f.ker.subtype f.rangeRestrict |
| 46 | (linearMap_kernel_range_exact f).linearMap_comp_eq_zero |
| 47 | have hS : S.ShortExact := EquationPeriodicSequence.BundleCycles.equationPeriodicSequence_shortExact a b hk hM hr |
| 48 | f.ker.subtype f.rangeRestrict (linearMap_kernel_range_exact f) |
| 49 | f.ker.subtype_injective f.surjective_rangeRestrict |
| 50 | have hKH (i : Bool) : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hk).homology i) ≠ ⊤ := |
| 51 | EquationPeriodicSequence.BundleCycles.equationPeriodic_homology_finite_of_module a b hk hK i |
| 52 | have hMH (i : Bool) : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hM).homology i) ≠ ⊤ := by |
| 53 | cases i |
| 54 | · exact hM₀ |
| 55 | · exact hM₁ |
| 56 | have hRH (i : Bool) : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hr).homology i) ≠ ⊤ := |
| 57 | ExactLengthFiniteness.BundleCycles.periodicShortExact_homology_finite_right S hS hKH hMH i |
| 58 | let T := EquationPeriodicSequence.BundleCycles.equationPeriodicSequence a b hr hN hq f.range.subtype f.range.mkQ |
| 59 | (LinearMap.exact_subtype_mkQ f.range).linearMap_comp_eq_zero |
| 60 | have hT : T.ShortExact := EquationPeriodicSequence.BundleCycles.equationPeriodicSequence_shortExact a b hr hN hq |
| 61 | f.range.subtype f.range.mkQ (LinearMap.exact_subtype_mkQ f.range) |
| 62 | f.range.subtype_injective f.range.mkQ_surjective |
| 63 | have hQH (i : Bool) : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hq).homology i) ≠ ⊤ := |
| 64 | EquationPeriodicSequence.BundleCycles.equationPeriodic_homology_finite_of_module a b hq hQ i |
| 65 | have heS := PeriodicComplex.BundleCycles.periodicEulerLength_additive S hS (hKH false) (hKH true) |
| 66 | hM₀ hM₁ (hRH false) (hRH true) |
| 67 | have heT := PeriodicComplex.BundleCycles.periodicEulerLength_additive T hT (hRH false) (hRH true) |
| 68 | hN₀ hN₁ (hQH false) (hQH true) |
| 69 | have hKzero := EquationPeriodicSequence.BundleCycles.equationPeriodicEuler_zero_of_module a b hk hK (hKH false) (hKH true) |
| 70 | have hQzero := EquationPeriodicSequence.BundleCycles.equationPeriodicEuler_zero_of_module a b hq hQ (hQH false) (hQH true) |
| 71 | change PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hM) hM₀ hM₁ = |
| 72 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hk) (hKH false) (hKH true) + |
| 73 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hr) (hRH false) (hRH true) at heS |
| 74 | change PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hN) hN₀ hN₁ = |
| 75 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hr) (hRH false) (hRH true) + |
| 76 | PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex a b hq) (hQH false) (hQH true) at heT |
| 77 | rw [hKzero, zero_add] at heS |
| 78 | rw [hQzero, add_zero] at heT |
| 79 | exact heS.trans heT.symm |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.FiniteError.BundleCycles |