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 | import Mathlib.RingTheory.Ideal.Quotient.Basic |
| 3 | |
| 4 | /-! # Product Periodic Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ProductPeriodicComplex.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: the exact multiplication complex on R/(ab) |
| 12 | |
| 13 | For two nonzero elements in a domain, the kernel of multiplication by |
| 14 | either factor is the image of the other. This gives the exact periodic |
| 15 | complex used to compare all height-one branches of their product. |
| 16 | -/ |
| 17 | |
| 18 | variable {R : Type*} [CommRing R] |
| 19 | |
| 20 | abbrev productEquationQuotient (a b : R) := R ⧸ Ideal.span ({a * b} : Set R) |
| 21 | |
| 22 | theorem productEquation_comp_zero (a b : R) : |
| 23 | (MultiplicationSequence.BundleCycles.equationEndomorphism b (productEquationQuotient a b)).comp |
| 24 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (productEquationQuotient a b)) = 0 := by |
| 25 | apply LinearMap.ext |
| 26 | intro x |
| 27 | obtain ⟨c, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 28 | change Ideal.Quotient.mk (Ideal.span ({a * b} : Set R)) (b * (a * c)) = 0 |
| 29 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 30 | apply Ideal.mem_span_singleton.mpr |
| 31 | exact ⟨c, by ring⟩ |
| 32 | |
| 33 | theorem productEquation_comp_zero_reverse (a b : R) : |
| 34 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (productEquationQuotient a b)).comp |
| 35 | (MultiplicationSequence.BundleCycles.equationEndomorphism b (productEquationQuotient a b)) = 0 := by |
| 36 | apply LinearMap.ext |
| 37 | intro x |
| 38 | obtain ⟨c, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 39 | change Ideal.Quotient.mk (Ideal.span ({a * b} : Set R)) (a * (b * c)) = 0 |
| 40 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 41 | apply Ideal.mem_span_singleton.mpr |
| 42 | exact ⟨c, by ring⟩ |
| 43 | |
| 44 | def productPeriodicComplex (a b : R) : |
| 45 | HomologicalComplex (ModuleCat R) Periodic.PeriodicComplex.BundleCycles.periodicComplexShape := |
| 46 | Periodic.PeriodicComplex.BundleCycles.endomorphismPeriodicComplex |
| 47 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (productEquationQuotient a b)) |
| 48 | (MultiplicationSequence.BundleCycles.equationEndomorphism b (productEquationQuotient a b)) |
| 49 | (productEquation_comp_zero a b) (productEquation_comp_zero_reverse a b) |
| 50 | |
| 51 | variable [IsDomain R] |
| 52 | |
| 53 | theorem productEquation_exact (a b : R) (hb : b ≠ 0) : |
| 54 | Function.Exact (MultiplicationSequence.BundleCycles.equationEndomorphism a (productEquationQuotient a b)) |
| 55 | (MultiplicationSequence.BundleCycles.equationEndomorphism b (productEquationQuotient a b)) := by |
| 56 | intro x |
| 57 | constructor |
| 58 | · obtain ⟨c, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 59 | intro hx |
| 60 | change Ideal.Quotient.mk (Ideal.span ({a * b} : Set R)) (b * c) = 0 at hx |
| 61 | obtain ⟨d, hd⟩ := Ideal.mem_span_singleton.mp (Ideal.Quotient.eq_zero_iff_mem.mp hx) |
| 62 | have hc : c = a * d := mul_left_cancel₀ hb (hd.trans (by ring)) |
| 63 | refine ⟨Ideal.Quotient.mk _ d, ?_⟩ |
| 64 | change Ideal.Quotient.mk _ (a * d) = Ideal.Quotient.mk _ c |
| 65 | exact congrArg (Ideal.Quotient.mk _) hc.symm |
| 66 | · rintro ⟨y, rfl⟩ |
| 67 | exact LinearMap.congr_fun (productEquation_comp_zero a b) y |
| 68 | |
| 69 | theorem productEquation_exact_reverse (a b : R) (ha : a ≠ 0) : |
| 70 | Function.Exact (MultiplicationSequence.BundleCycles.equationEndomorphism b (productEquationQuotient a b)) |
| 71 | (MultiplicationSequence.BundleCycles.equationEndomorphism a (productEquationQuotient a b)) := by |
| 72 | intro x |
| 73 | constructor |
| 74 | · obtain ⟨c, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 75 | intro hx |
| 76 | change Ideal.Quotient.mk (Ideal.span ({a * b} : Set R)) (a * c) = 0 at hx |
| 77 | obtain ⟨d, hd⟩ := Ideal.mem_span_singleton.mp (Ideal.Quotient.eq_zero_iff_mem.mp hx) |
| 78 | have hc : c = b * d := mul_left_cancel₀ ha (hd.trans (mul_assoc a b d)) |
| 79 | refine ⟨Ideal.Quotient.mk _ d, ?_⟩ |
| 80 | change Ideal.Quotient.mk _ (b * d) = Ideal.Quotient.mk _ c |
| 81 | exact congrArg (Ideal.Quotient.mk _) hc.symm |
| 82 | · rintro ⟨y, rfl⟩ |
| 83 | exact LinearMap.congr_fun (productEquation_comp_zero_reverse a b) y |
| 84 | |
| 85 | theorem productPeriodicComplex_homology_length_zero |
| 86 | (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) (i : Bool) : |
| 87 | Module.length R ((productPeriodicComplex a b).homology i) = 0 := |
| 88 | Periodic.Exact.BundleCycles.endomorphismPeriodicComplex_homology_length_zero_of_exact _ _ _ _ |
| 89 | (productEquation_exact a b hb) (productEquation_exact_reverse a b ha) i |
| 90 | |
| 91 | theorem productPeriodicEulerLength_zero |
| 92 | (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 93 | (h₀ : Module.length R ((productPeriodicComplex a b).homology false) ≠ ⊤) |
| 94 | (h₁ : Module.length R ((productPeriodicComplex a b).homology true) ≠ ⊤) : |
| 95 | Periodic.PeriodicComplex.BundleCycles.periodicEulerLength (productPeriodicComplex a b) h₀ h₁ = 0 := |
| 96 | Periodic.Exact.BundleCycles.endomorphismPeriodicEulerLength_zero_of_exact _ _ _ _ |
| 97 | (productEquation_exact a b hb) (productEquation_exact_reverse a b ha) h₀ h₁ |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ProductPeriodicComplex.BundleCycles |