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.SubmoduleAnnihilator |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.EquationFiniteness |
| 3 | |
| 4 | /-! # Submodule Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.SubmoduleEuler.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: one-equation Euler coefficients on actual branch submodules |
| 12 | |
| 13 | This applies to the images of the two periodic differentials. The |
| 14 | zero submodule is included; every nonzero submodule has the already |
| 15 | computed branch annihilator radical, which supplies both finiteness |
| 16 | and the local-length coefficient formula. |
| 17 | -/ |
| 18 | |
| 19 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] [IsDomain R] [IsLocalRing R] |
| 20 | |
| 21 | abbrev principalBranchImage (r : R) (P : Ideal R) [P.IsPrime] := |
| 22 | LocalizationImage.BundleCycles.localizationImage P.primeCompl (R ⧸ (Ideal.span ({r} : Set R))) |
| 23 | |
| 24 | local instance branchEulerSubmoduleAddCommGroup (r : R) (P : Ideal R) [P.IsPrime] |
| 25 | (N : Submodule R (principalBranchImage r P)) : AddCommGroup N := N.addCommGroup |
| 26 | |
| 27 | local instance branchEulerSubmoduleModule (r : R) (P : Ideal R) [P.IsPrime] |
| 28 | (N : Submodule R (principalBranchImage r P)) : Module R N := N.module |
| 29 | |
| 30 | theorem branchSubmodule_equation_lengths_finite (r x : R) (hr : r ≠ 0) |
| 31 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 32 | (hP : P ∈ (Ideal.span {r}).minimalPrimes) (hxP : x ∉ P) |
| 33 | (N : Submodule R (principalBranchImage r P)) : |
| 34 | Module.length R (MultiplicationSequence.BundleCycles.equationKernel x N) ≠ ⊤ ∧ Module.length R (MultiplicationSequence.BundleCycles.equationCokernel x N) ≠ ⊤ := by |
| 35 | by_cases hN : Subsingleton N |
| 36 | · let branchEquationTrivialSubmodule : Subsingleton N := hN |
| 37 | have hlen : Module.length R N ≠ ⊤ := by rw [Module.length_eq_zero]; exact ENat.zero_ne_top |
| 38 | exact ⟨EquationEulerLength.BundleCycles.equationKernel_length_ne_top x N hlen, EquationEulerLength.BundleCycles.equationCokernel_length_ne_top x N hlen⟩ |
| 39 | · let branchEquationNontrivialSubmodule : Nontrivial N := not_subsingleton_iff_nontrivial.mp hN |
| 40 | exact EquationFiniteness.BundleCycles.branchEquation_lengths_finite (M := N) r x hr hdim P hP |
| 41 | (SubmoduleAnnihilator.BundleCycles.localizationImage_submodule_annihilator_radical (Ideal.span {r}) P hP N) hxP |
| 42 | |
| 43 | def branchSubmoduleEquationEuler (r x : R) (hr : r ≠ 0) |
| 44 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 45 | (hP : P ∈ (Ideal.span {r}).minimalPrimes) (hxP : x ∉ P) |
| 46 | (N : Submodule R (principalBranchImage r P)) : ℤ := |
| 47 | EquationEulerLength.BundleCycles.equationEulerLength x N |
| 48 | (branchSubmodule_equation_lengths_finite r x hr hdim P hP hxP N).1 |
| 49 | (branchSubmodule_equation_lengths_finite r x hr hdim P hP hxP N).2 |
| 50 | |
| 51 | theorem branchSubmoduleEquationEuler_eq_local_length (r x : R) (hr : r ≠ 0) |
| 52 | (hdim : ringKrullDim R = 2) (P : Ideal R) [P.IsPrime] |
| 53 | (hP : P ∈ (Ideal.span {r}).minimalPrimes) (hxP : x ∉ P) |
| 54 | (N : Submodule R (principalBranchImage r P)) : |
| 55 | branchSubmoduleEquationEuler r x hr hdim P hP hxP N = |
| 56 | ((Module.length (Localization P.primeCompl) (LocalizedModule P.primeCompl N)).toNat : ℤ) * |
| 57 | PrimeIntersectionLength.BundleCycles.primeIntersectionQuotientLength x P := by |
| 58 | by_cases hN : Subsingleton N |
| 59 | · let branchEulerTrivialSubmodule : Subsingleton N := hN |
| 60 | let branchEulerTrivialLocalization : Subsingleton (LocalizedModule P.primeCompl N) := |
| 61 | LocalizedModule.subsingleton_iff.mpr (fun m => |
| 62 | ⟨1, P.primeCompl.one_mem, (one_smul R m).trans (hN.elim m 0)⟩) |
| 63 | have hlen : Module.length R N ≠ ⊤ := by rw [Module.length_eq_zero]; exact ENat.zero_ne_top |
| 64 | calc |
| 65 | branchSubmoduleEquationEuler r x hr hdim P hP hxP N = 0 := |
| 66 | EquationEulerLength.BundleCycles.equationEulerLength_zero_of_finite x N _ _ hlen |
| 67 | _ = _ := by rw [Module.length_eq_zero, ENat.toNat_zero, Nat.cast_zero, zero_mul] |
| 68 | · let branchEulerNontrivialSubmodule : Nontrivial N := not_subsingleton_iff_nontrivial.mp hN |
| 69 | exact EquationEuler.BundleCycles.equationEulerLength_branch_formula (M := N) r x hr hdim P hP |
| 70 | (SubmoduleAnnihilator.BundleCycles.localizationImage_submodule_annihilator_radical (Ideal.span {r}) P hP N) hxP _ _ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.SubmoduleEuler.BundleCycles |