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.ExactSequenceLength |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SubquotientImage |
| 3 | |
| 4 | /-! # Nested Quotient Length -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.NestedQuotientLength.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: length of two nested quotients |
| 14 | |
| 15 | The successive quotient is the actual image of the larger submodule |
| 16 | in the smaller quotient. The third isomorphism theorem identifies the |
| 17 | remaining quotient, and short exact length additivity gives the formula. |
| 18 | -/ |
| 19 | |
| 20 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 21 | |
| 22 | theorem moduleLengthNat_nestedQuotient (P Q : Submodule R M) (hPQ : P ≤ Q) |
| 23 | (hP : Module.length R (M ⧸ P) ≠ ⊤) : |
| 24 | (Module.length R (M ⧸ P)).toNat = |
| 25 | (Module.length R (Q ⧸ P.comap Q.subtype)).toNat + |
| 26 | (Module.length R (M ⧸ Q)).toNat := by |
| 27 | have h := ExactSequenceLength.BundleCycles.moduleLengthNat_shortExact (Q.map P.mkQ).subtype (Q.map P.mkQ).mkQ |
| 28 | (Submodule.subtype_injective _) (Submodule.mkQ_surjective _) |
| 29 | (LinearMap.exact_subtype_mkQ _) hP |
| 30 | rw [← (SubquotientImage.BundleCycles.subquotientImageEquiv P Q).length_eq, |
| 31 | (Submodule.quotientQuotientEquivQuotient P Q hPQ).length_eq] at h |
| 32 | exact h |
| 33 | |
| 34 | end |
| 35 | |
| 36 | /-! |
| 37 | # LineBundleCycles: the length gained by scaling an image |
| 38 | |
| 39 | The image of x times a linear map is x times its original image. |
| 40 | Its successive quotient is therefore the actual multiplication |
| 41 | cokernel on that image. |
| 42 | -/ |
| 43 | |
| 44 | variable {R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 45 | [AddCommGroup N] [Module R N] |
| 46 | |
| 47 | theorem scaledRange_le (x : R) (f : N →ₗ[R] M) : (x • f).range ≤ f.range := by |
| 48 | rintro _ ⟨n, rfl⟩ |
| 49 | exact ⟨x • n, f.map_smul x n⟩ |
| 50 | |
| 51 | theorem scaledRange_comap_rangeSubtype (x : R) (f : N →ₗ[R] M) : |
| 52 | (x • f).range.comap f.range.subtype = (MultiplicationSequence.BundleCycles.equationEndomorphism x f.range).range := by |
| 53 | ext m |
| 54 | constructor |
| 55 | · rintro ⟨n, hn⟩ |
| 56 | exact ⟨⟨f n, ⟨n, rfl⟩⟩, Subtype.ext hn⟩ |
| 57 | · rintro ⟨n, rfl⟩ |
| 58 | obtain ⟨k, hk⟩ := n.2 |
| 59 | exact ⟨k, congrArg (fun m : M => x • m) hk⟩ |
| 60 | |
| 61 | theorem moduleLengthNat_scaledRangeQuotient (x : R) (f : N →ₗ[R] M) |
| 62 | (h : Module.length R (M ⧸ (x • f).range) ≠ ⊤) : |
| 63 | (Module.length R (M ⧸ (x • f).range)).toNat = |
| 64 | (Module.length R (MultiplicationSequence.BundleCycles.equationCokernel x f.range)).toNat + |
| 65 | (Module.length R (M ⧸ f.range)).toNat := by |
| 66 | have he := moduleLengthNat_nestedQuotient (x • f).range f.range (scaledRange_le x f) h |
| 67 | rw [scaledRange_comap_rangeSubtype] at he |
| 68 | exact he |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Divisors.LineBundles.NestedQuotientLength.BundleCycles |