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.RegularFactorization |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.Diagonal |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizedEquationExact |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LocalizedEquationLength |
| 5 | |
| 6 | /-! # Power Exact -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.PowerExact.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | # LineBundleCycles: the branch product is a uniformizer power |
| 16 | |
| 17 | Cleared factorizations of a and b identify the actual localized |
| 18 | product ideal with (t^(m+n)). Injectivity of the unit numerators |
| 19 | then proves that this power annihilates the original branch image. |
| 20 | -/ |
| 21 | |
| 22 | variable {R : Type*} [CommRing R] |
| 23 | |
| 24 | theorem branchFactor_product_identity (a b t u s v w : R) (m n : ℕ) |
| 25 | (ha : s * a = u * t ^ m) (hb : w * b = v * t ^ n) : |
| 26 | (s * w) * (a * b) = (u * v) * t ^ (m + n) := by |
| 27 | calc |
| 28 | (s * w) * (a * b) = (s * a) * (w * b) := by ring |
| 29 | _ = (u * v) * t ^ (m + n) := by rw [ha, hb, pow_add]; ring |
| 30 | |
| 31 | theorem branchUniformizerPower_annihilates (a b t u s v w : R) (m n : ℕ) |
| 32 | (P : Ideal R) [P.IsPrime] (hu : u ∉ P) (hv : v ∉ P) |
| 33 | (ha : s * a = u * t ^ m) (hb : w * b = v * t ^ n) : |
| 34 | ∀ z : PeriodicComplex.BundleCycles.productBranchModule a b P, t ^ (m + n) • z = 0 := by |
| 35 | intro z |
| 36 | apply PeriodicComplex.BundleCycles.productBranch_denominator_injective a b P (u * v) (P.primeCompl.mul_mem hu hv) |
| 37 | change (u * v) • (t ^ (m + n) • z) = (u * v) • 0 |
| 38 | calc |
| 39 | (u * v) • (t ^ (m + n) • z) = ((s * w) * (a * b)) • z := |
| 40 | (mul_smul (u * v) (t ^ (m + n)) z).symm.trans |
| 41 | (congrArg (fun c : R => c • z) (branchFactor_product_identity a b t u s v w m n ha hb).symm) |
| 42 | _ = (s * w) • ((a * b) • z) := mul_smul _ _ _ |
| 43 | _ = 0 := by rw [Diagonal.BundleCycles.productBranch_annihilated, smul_zero] |
| 44 | _ = (u * v) • 0 := (smul_zero _).symm |
| 45 | |
| 46 | theorem branchUniformizer_localized_product_ideal (a b t u s v w : R) (m n : ℕ) |
| 47 | (P : Ideal R) [P.IsPrime] (hu : u ∉ P) (hs : s ∉ P) (hv : v ∉ P) (hw : w ∉ P) |
| 48 | (ha : s * a = u * t ^ m) (hb : w * b = v * t ^ n) : |
| 49 | (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = |
| 50 | Ideal.span {(algebraMap R (Localization P.primeCompl) t) ^ (m + n)} := by |
| 51 | let A := Localization P.primeCompl |
| 52 | let f := algebraMap R A |
| 53 | have hsw : IsUnit (f (s * w)) := IsLocalization.map_units A ⟨s * w, P.primeCompl.mul_mem hs hw⟩ |
| 54 | have huv : IsUnit (f (u * v)) := IsLocalization.map_units A ⟨u * v, P.primeCompl.mul_mem hu hv⟩ |
| 55 | have he : f (s * w) * f (a * b) = f (u * v) * (f t) ^ (m + n) := by |
| 56 | rw [← map_mul, branchFactor_product_identity a b t u s v w m n ha hb, map_mul, map_pow] |
| 57 | rw [Ideal.map_span, Set.image_singleton] |
| 58 | change Ideal.span {f (a * b)} = Ideal.span {(f t) ^ (m + n)} |
| 59 | calc |
| 60 | Ideal.span {f (a * b)} = Ideal.span {f (s * w) * f (a * b)} := |
| 61 | (Ideal.span_singleton_mul_left_unit hsw _).symm |
| 62 | _ = Ideal.span {f (u * v) * (f t) ^ (m + n)} := congrArg (fun z : A => Ideal.span {z}) he |
| 63 | _ = Ideal.span {(f t) ^ (m + n)} := Ideal.span_singleton_mul_left_unit huv _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! |
| 68 | # LineBundleCycles: actual local exactness for complementary uniformizer powers |
| 69 | |
| 70 | The localized branch is identified with the quotient by its computed |
| 71 | product ideal. Once that ideal is (t^N), complementary powers are the |
| 72 | two factors of this actual quotient, whose multiplication complex is exact. |
| 73 | -/ |
| 74 | |
| 75 | theorem equationEndomorphism_restrictScalars |
| 76 | {R A M : Type*} [CommRing R] [CommRing A] [Algebra R A] |
| 77 | [AddCommGroup M] [Module R M] [Module A M] [IsScalarTower R A M] (x : R) : |
| 78 | (MultiplicationSequence.BundleCycles.equationEndomorphism (algebraMap R A x) M).restrictScalars R = MultiplicationSequence.BundleCycles.equationEndomorphism x M := by |
| 79 | apply LinearMap.ext |
| 80 | intro m |
| 81 | exact IsScalarTower.algebraMap_smul A x m |
| 82 | |
| 83 | variable {R : Type*} [CommRing R] |
| 84 | |
| 85 | def branchQuotientLocalEquiv (a b : R) (P : Ideal R) [P.IsPrime] |
| 86 | (J : Ideal (Localization P.primeCompl)) |
| 87 | (hJ : (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = J) : |
| 88 | LocalizedModule P.primeCompl (PeriodicComplex.BundleCycles.productBranchModule a b P) ≃ₗ[R] (Localization P.primeCompl) ⧸ J := |
| 89 | (PeriodicComplex.BundleCycles.productBranchLocalEquiv a b P).trans |
| 90 | (((LocalizedEquationLength.BundleCycles.localizedIdealQuotientEquiv P.primeCompl (Ideal.span {a * b})).trans |
| 91 | (Submodule.quotEquivOfEq _ _ hJ)).restrictScalars R) |
| 92 | |
| 93 | theorem branchPower_local_exact [IsDomain R] |
| 94 | (a b t : R) (N i j : ℕ) (hij : i + j = N) (P : Ideal R) [P.IsPrime] |
| 95 | (ht : algebraMap R (Localization P.primeCompl) t ≠ 0) |
| 96 | (hI : (Ideal.span {a * b}).map (algebraMap R (Localization P.primeCompl)) = |
| 97 | Ideal.span {(algebraMap R (Localization P.primeCompl) t) ^ N}) : |
| 98 | Function.Exact |
| 99 | (MultiplicationSequence.BundleCycles.equationEndomorphism (t ^ i) (LocalizedModule P.primeCompl (PeriodicComplex.BundleCycles.productBranchModule a b P))) |
| 100 | (MultiplicationSequence.BundleCycles.equationEndomorphism (t ^ j) (LocalizedModule P.primeCompl (PeriodicComplex.BundleCycles.productBranchModule a b P))) := by |
| 101 | let A := Localization P.primeCompl |
| 102 | let α := algebraMap R A (t ^ i) |
| 103 | let β := algebraMap R A (t ^ j) |
| 104 | have hprod : α * β = (algebraMap R A t) ^ N := by |
| 105 | dsimp only [α, β] |
| 106 | rw [map_pow, map_pow, ← pow_add, hij] |
| 107 | have hβ : β ≠ 0 := by |
| 108 | dsimp only [β] |
| 109 | rw [map_pow] |
| 110 | exact pow_ne_zero j ht |
| 111 | have hJ : (Ideal.span {a * b}).map (algebraMap R A) = Ideal.span {α * β} := |
| 112 | hI.trans (congrArg (fun z : A => Ideal.span {z}) hprod.symm) |
| 113 | let e : LocalizedModule P.primeCompl (PeriodicComplex.BundleCycles.productBranchModule a b P) ≃ₗ[R] |
| 114 | ProductPeriodicComplex.BundleCycles.productEquationQuotient α β := branchQuotientLocalEquiv a b P _ hJ |
| 115 | have hex : Function.Exact (MultiplicationSequence.BundleCycles.equationEndomorphism (t ^ i) (ProductPeriodicComplex.BundleCycles.productEquationQuotient α β)) |
| 116 | (MultiplicationSequence.BundleCycles.equationEndomorphism (t ^ j) (ProductPeriodicComplex.BundleCycles.productEquationQuotient α β)) := by |
| 117 | rw [← equationEndomorphism_restrictScalars (A := A) (t ^ i), |
| 118 | ← equationEndomorphism_restrictScalars (A := A) (t ^ j)] |
| 119 | exact ProductPeriodicComplex.BundleCycles.productEquation_exact α β hβ |
| 120 | exact LocalizedEquationExact.BundleCycles.equationEndomorphism_exact_equiv (t ^ i) (t ^ j) e.symm hex |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.PowerExact.BundleCycles |