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 Mathlib.LinearAlgebra.Quotient.Basic |
| 2 | import Mathlib.LinearAlgebra.BilinearMap |
| 3 | |
| 4 | /-! # Bilinear Quotient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BilinearQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Descent of a bilinear map through two module quotients when it |
| 11 | vanishes on each of the specified submodules. -/ |
| 12 | |
| 13 | variable {R M N L : Type*} [CommRing R] |
| 14 | [AddCommGroup M] [AddCommGroup N] [AddCommGroup L] |
| 15 | [Module R M] [Module R N] [Module R L] |
| 16 | |
| 17 | def liftRight (Q : Submodule R N) (B : M →ₗ[R] N →ₗ[R] L) |
| 18 | (h : ∀ x y, y ∈ Q → B x y = 0) : M →ₗ[R] (N ⧸ Q →ₗ[R] L) where |
| 19 | toFun x := Q.liftQ (B x) (fun y hy => h x y hy) |
| 20 | map_add' x x' := by |
| 21 | apply LinearMap.ext |
| 22 | intro q |
| 23 | obtain ⟨y, rfl⟩ := Q.mkQ_surjective q |
| 24 | change B (x + x') y = B x y + B x' y |
| 25 | exact DFunLike.congr_fun (B.map_add x x') y |
| 26 | map_smul' r x := by |
| 27 | apply LinearMap.ext |
| 28 | intro q |
| 29 | obtain ⟨y, rfl⟩ := Q.mkQ_surjective q |
| 30 | change B (r • x) y = r • B x y |
| 31 | exact DFunLike.congr_fun (B.map_smul r x) y |
| 32 | |
| 33 | def lift₂ (P : Submodule R M) (Q : Submodule R N) (B : M →ₗ[R] N →ₗ[R] L) |
| 34 | (hleft : ∀ x, x ∈ P → ∀ y, B x y = 0) |
| 35 | (hright : ∀ x y, y ∈ Q → B x y = 0) : |
| 36 | (M ⧸ P) →ₗ[R] (N ⧸ Q) →ₗ[R] L := |
| 37 | P.liftQ (liftRight Q B hright) (by |
| 38 | intro x hx |
| 39 | apply LinearMap.ext |
| 40 | intro q |
| 41 | obtain ⟨y, rfl⟩ := Q.mkQ_surjective q |
| 42 | exact hleft x hx y) |
| 43 | |
| 44 | @[simp] |
| 45 | theorem lift₂_mkQ (P : Submodule R M) (Q : Submodule R N) (B : M →ₗ[R] N →ₗ[R] L) |
| 46 | (hleft : ∀ x, x ∈ P → ∀ y, B x y = 0) |
| 47 | (hright : ∀ x y, y ∈ Q → B x y = 0) (x : M) (y : N) : |
| 48 | lift₂ P Q B hleft hright (P.mkQ x) (Q.mkQ y) = B x y := rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BilinearQuotient |