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.Branch.LocalFiniteness |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.PowerExact |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.NilpotentPeriodic |
| 4 | |
| 5 | /-! # Power Finiteness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.PowerFiniteness.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # LineBundleCycles: finite homology and zero Euler value for actual branch powers |
| 15 | |
| 16 | The computed local quotient makes every complementary power pair |
| 17 | exact at P. The branch support theorem supplies finiteness everywhere, |
| 18 | so the proved nilpotent-power vanishing applies to the actual module. |
| 19 | -/ |
| 20 | |
| 21 | variable {R : Type*} [CommRing R] [IsDomain R] [IsLocalRing R] |
| 22 | [Ring.KrullDimLE 2 R] [IsNoetherianRing R] |
| 23 | |
| 24 | theorem branchPower_homology_finite (a b t : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 25 | (N : ℕ) (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) |
| 26 | (ht : algebraMap R (Localization P.primeCompl) t ≠ 0) |
| 27 | (hI : (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = |
| 28 | Ideal.span {(algebraMap R (Localization P.primeCompl) t) ^ N}) |
| 29 | (hkill : ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, t ^ N • z = 0) : |
| 30 | NilpotentPeriodic.BundleCycles.powerPeriodicHomologyFinite (M := PeriodicComplex.BundleCycles.productBranchModule a b P) t N hkill := by |
| 31 | intro i hi j |
| 32 | cases j |
| 33 | · unfold NilpotentPeriodic.BundleCycles.powerPeriodicComplex EquationPeriodicComplex.BundleCycles.equationPeriodicComplex |
| 34 | rw [(Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_false_iso _ _ _ _).toLinearEquiv.length_eq] |
| 35 | apply LocalFiniteness.BundleCycles.branchPeriodicHomology_length_ne_top a b ha hb P hP _ _ _ |
| 36 | simp only [LocalizedEquationExact.BundleCycles.localizedEndomorphism_equation] |
| 37 | exact PowerExact.BundleCycles.branchPower_local_exact a b t N (N - i) i (Nat.sub_add_cancel hi) P ht hI |
| 38 | · unfold NilpotentPeriodic.BundleCycles.powerPeriodicComplex EquationPeriodicComplex.BundleCycles.equationPeriodicComplex |
| 39 | rw [(Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_true_iso _ _ _ _).toLinearEquiv.length_eq] |
| 40 | apply LocalFiniteness.BundleCycles.branchPeriodicHomology_length_ne_top a b ha hb P hP _ _ _ |
| 41 | simp only [LocalizedEquationExact.BundleCycles.localizedEndomorphism_equation] |
| 42 | exact PowerExact.BundleCycles.branchPower_local_exact a b t N i (N - i) (Nat.add_sub_of_le hi) P ht hI |
| 43 | |
| 44 | theorem branchPower_Euler_zero (a b t : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 45 | (N : ℕ) (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) |
| 46 | (ht : algebraMap R (Localization P.primeCompl) t ≠ 0) |
| 47 | (hI : (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = |
| 48 | Ideal.span {(algebraMap R (Localization P.primeCompl) t) ^ N}) |
| 49 | (hkill : ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, t ^ N • z = 0) (i : ℕ) (hi : i ≤ N) : |
| 50 | NilpotentPeriodic.BundleCycles.powerPeriodicEuler (M := PeriodicComplex.BundleCycles.productBranchModule a b P) t N hkill (branchPower_homology_finite a b t ha hb N P hP ht hI hkill) i hi = 0 := |
| 51 | NilpotentPeriodic.BundleCycles.powerPeriodicEuler_zero (M := PeriodicComplex.BundleCycles.productBranchModule a b P) t N hkill _ i hi |
| 52 | |
| 53 | end |
| 54 | |
| 55 | /-! |
| 56 | # LineBundleCycles: complementary branch powers in two-exponent notation |
| 57 | -/ |
| 58 | |
| 59 | variable {R : Type*} [CommRing R] [IsDomain R] [IsLocalRing R] |
| 60 | [Ring.KrullDimLE 2 R] [IsNoetherianRing R] |
| 61 | |
| 62 | omit [IsDomain R] [IsLocalRing R] [Ring.KrullDimLE 2 R] [IsNoetherianRing R] in |
| 63 | theorem branchPowerPair_kill (a b t : R) (m n : ℕ) (P : Ideal R) [P.IsPrime] |
| 64 | (hkill : ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, t ^ (m + n) • z = 0) : |
| 65 | ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, (t ^ m * t ^ n) • z = 0 := by |
| 66 | simpa only [← pow_add] using hkill |
| 67 | |
| 68 | theorem branchPowerPair_homology_finite (a b t : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 69 | (m n : ℕ) (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) |
| 70 | (ht : algebraMap R (Localization P.primeCompl) t ≠ 0) |
| 71 | (hI : (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = |
| 72 | Ideal.span {(algebraMap R (Localization P.primeCompl) t) ^ (m + n)}) |
| 73 | (hkill : ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, t ^ (m + n) • z = 0) (i : Bool) : |
| 74 | Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (M := PeriodicComplex.BundleCycles.productBranchModule a b P) (t ^ m) (t ^ n) |
| 75 | (branchPowerPair_kill a b t m n P hkill)).homology i) ≠ ⊤ := by |
| 76 | have hf := branchPower_homology_finite a b t ha hb (m + n) P hP ht hI hkill m (Nat.le_add_right m n) i |
| 77 | have he := NilpotentPeriodic.BundleCycles.equationPeriodicHomology_length_congr (M := PeriodicComplex.BundleCycles.productBranchModule a b P) |
| 78 | (t ^ m) (t ^ (m + n - m)) (t ^ m) (t ^ n) rfl |
| 79 | (congrArg (fun k : ℕ => t ^ k) (Nat.add_sub_cancel_left m n)) |
| 80 | (NilpotentPeriodic.BundleCycles.powerPeriodic_kill t (m + n) hkill m (Nat.le_add_right m n)) |
| 81 | (branchPowerPair_kill a b t m n P hkill) i |
| 82 | exact he ▸ hf |
| 83 | |
| 84 | theorem branchPowerPair_Euler_zero (a b t : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 85 | (m n : ℕ) (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {a * b}).minimalPrimes) |
| 86 | (ht : algebraMap R (Localization P.primeCompl) t ≠ 0) |
| 87 | (hI : (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = |
| 88 | Ideal.span {(algebraMap R (Localization P.primeCompl) t) ^ (m + n)}) |
| 89 | (hkill : ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, t ^ (m + n) • z = 0) |
| 90 | (h₀ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (M := PeriodicComplex.BundleCycles.productBranchModule a b P) (t ^ m) (t ^ n) |
| 91 | (branchPowerPair_kill a b t m n P hkill)).homology false) ≠ ⊤) |
| 92 | (h₁ : Module.length R ((EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (M := PeriodicComplex.BundleCycles.productBranchModule a b P) (t ^ m) (t ^ n) |
| 93 | (branchPowerPair_kill a b t m n P hkill)).homology true) ≠ ⊤) : |
| 94 | Periodic.PeriodicComplex.BundleCycles.periodicEulerLength (EquationPeriodicComplex.BundleCycles.equationPeriodicComplex (M := PeriodicComplex.BundleCycles.productBranchModule a b P) (t ^ m) (t ^ n) |
| 95 | (branchPowerPair_kill a b t m n P hkill)) h₀ h₁ = 0 := by |
| 96 | let hf := branchPower_homology_finite a b t ha hb (m + n) P hP ht hI hkill |
| 97 | have he := NilpotentPeriodic.BundleCycles.equationPeriodicEulerLength_congr (M := PeriodicComplex.BundleCycles.productBranchModule a b P) |
| 98 | (t ^ m) (t ^ (m + n - m)) (t ^ m) (t ^ n) rfl |
| 99 | (congrArg (fun k : ℕ => t ^ k) (Nat.add_sub_cancel_left m n)) |
| 100 | (NilpotentPeriodic.BundleCycles.powerPeriodic_kill t (m + n) hkill m (Nat.le_add_right m n)) |
| 101 | (branchPowerPair_kill a b t m n P hkill) |
| 102 | (hf m (Nat.le_add_right m n) false) (hf m (Nat.le_add_right m n) true) h₀ h₁ |
| 103 | exact he.symm.trans (branchPower_Euler_zero a b t ha hb (m + n) P hP ht hI hkill m (Nat.le_add_right m n)) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.PowerFiniteness.BundleCycles |