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.NumberTheory.PadicHodge.IntegralComparison.GradedCupTransport |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BilinearScalarExtension |
| 3 | |
| 4 | /-! # Scalar Cup Algebra -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarCupAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Associativity and degree-one anticommutativity persist under |
| 11 | scalar extension of a graded bilinear cup product. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupTransport OAI.NumberTheory.PadicHodge.IntegralComparison.BilinearScalarExtension |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] (S : Type v) [CommRing S] [Algebra R S] |
| 20 | (H : ℕ → Type w) [∀ i, AddCommGroup (H i)] [∀ i, Module R (H i)] |
| 21 | |
| 22 | theorem degreeCast_tmul {m n : ℕ} (h : m = n) (a : S) (x : H m) : |
| 23 | GradedCupTransport.degreeCast S (fun i => S ⊗[R] H i) h (a ⊗ₜ[R] x) = |
| 24 | a ⊗ₜ[R] GradedCupTransport.degreeCast R H h x := by |
| 25 | subst n |
| 26 | rfl |
| 27 | |
| 28 | theorem degreeCast_changeRing (T : Type*) [CommRing T] [∀ i, Module T (H i)] |
| 29 | {m n : ℕ} (h : m = n) (x : H m) : GradedCupTransport.degreeCast T H h x = GradedCupTransport.degreeCast R H h x := by |
| 30 | subst n |
| 31 | rfl |
| 32 | |
| 33 | variable (μ : ∀ i j, H i →ₗ[R] H j →ₗ[R] H (i + j)) |
| 34 | |
| 35 | theorem assoc (hμ : ∀ i j k (x : H i) (y : H j) (z : H k), |
| 36 | GradedCupTransport.degreeCast R H (Nat.add_assoc i j k) (μ (i + j) k (μ i j x y) z) = μ i (j + k) x (μ j k y z)) |
| 37 | (i j k : ℕ) (x : S ⊗[R] H i) (y : S ⊗[R] H j) (z : S ⊗[R] H k) : |
| 38 | GradedCupTransport.degreeCast S (fun i => S ⊗[R] H i) (Nat.add_assoc i j k) |
| 39 | (BilinearScalarExtension.map S (μ (i + j) k) (BilinearScalarExtension.map S (μ i j) x y) z) = |
| 40 | BilinearScalarExtension.map S (μ i (j + k)) x (BilinearScalarExtension.map S (μ j k) y z) := by |
| 41 | induction x using TensorProduct.inductionOn with |
| 42 | | add x x' hx hx' => simp only [map_add, LinearMap.add_apply, hx, hx'] |
| 43 | | tmul a x => |
| 44 | induction y using TensorProduct.inductionOn with |
| 45 | | add y y' hy hy' => simp only [map_add, LinearMap.add_apply, hy, hy'] |
| 46 | | tmul b y => |
| 47 | induction z using TensorProduct.inductionOn with |
| 48 | | add z z' hz hz' => simp only [map_add, hz, hz'] |
| 49 | | tmul c z => rw [BilinearScalarExtension.map_tmul, BilinearScalarExtension.map_tmul, BilinearScalarExtension.map_tmul, BilinearScalarExtension.map_tmul, degreeCast_tmul, hμ, mul_assoc] |
| 50 | |
| 51 | theorem one_add_swap (hμ : ∀ x y : H 1, μ 1 1 x y + μ 1 1 y x = 0) |
| 52 | (x y : S ⊗[R] H 1) : BilinearScalarExtension.map S (μ 1 1) x y + BilinearScalarExtension.map S (μ 1 1) y x = 0 := by |
| 53 | induction x using TensorProduct.inductionOn with |
| 54 | | add x z hx hz => |
| 55 | simp only [map_add, LinearMap.add_apply] |
| 56 | calc |
| 57 | _ = (BilinearScalarExtension.map S (μ 1 1) x y + BilinearScalarExtension.map S (μ 1 1) y x) + |
| 58 | (BilinearScalarExtension.map S (μ 1 1) z y + BilinearScalarExtension.map S (μ 1 1) y z) := by abel |
| 59 | _ = 0 := by rw [hx, hz, add_zero] |
| 60 | | tmul a x => |
| 61 | induction y using TensorProduct.inductionOn with |
| 62 | | add y z hy hz => |
| 63 | simp only [map_add, LinearMap.add_apply] |
| 64 | calc |
| 65 | _ = (BilinearScalarExtension.map S (μ 1 1) (a ⊗ₜ[R] x) y + BilinearScalarExtension.map S (μ 1 1) y (a ⊗ₜ[R] x)) + |
| 66 | (BilinearScalarExtension.map S (μ 1 1) (a ⊗ₜ[R] x) z + BilinearScalarExtension.map S (μ 1 1) z (a ⊗ₜ[R] x)) := by abel |
| 67 | _ = 0 := by rw [hy, hz, add_zero] |
| 68 | | tmul b y => rw [BilinearScalarExtension.map_tmul, BilinearScalarExtension.map_tmul, mul_comm b a, ← TensorProduct.tmul_add, hμ, |
| 69 | TensorProduct.tmul_zero] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarCupAlgebra |