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.GradedCupDetection |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarCupAlgebra |
| 4 | |
| 5 | /-! # Graded Cup Unit -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupUnit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Unit identities under degreewise equivalence, jointly injective |
| 12 | cohomology coordinates, and scalar extension. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupTransport |
| 16 | |
| 17 | universe u v w z |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (H : ℕ → Type v) |
| 20 | [∀ i, AddCommGroup (H i)] [∀ i, Module R (H i)] |
| 21 | (G : ℕ → Type w) [∀ i, AddCommGroup (G i)] [∀ i, Module R (G i)] |
| 22 | (e : ∀ i, H i ≃ₗ[R] G i) |
| 23 | (μ : ∀ i j, H i →ₗ[R] H j →ₗ[R] H (i + j)) (one : H 0) |
| 24 | |
| 25 | theorem transported_left (h : ∀ i x, GradedCupTransport.degreeCast R H (Nat.zero_add i) (μ 0 i one x) = x) |
| 26 | (i : ℕ) (x : G i) : |
| 27 | GradedCupTransport.degreeCast R G (Nat.zero_add i) (GradedCupTransport.cup R H G e μ 0 i (e 0 one) x) = x := by |
| 28 | obtain ⟨x, rfl⟩ := (e i).surjective x |
| 29 | rw [GradedCupTransport.cup_apply] |
| 30 | exact (GradedCupTransport.degreeCast_map R H G (fun n => (e n).toLinearMap) (Nat.zero_add i) _).trans |
| 31 | (congrArg (e i) (h i x)) |
| 32 | |
| 33 | theorem transported_right (h : ∀ i x, μ i 0 x one = x) (i : ℕ) (x : G i) : |
| 34 | GradedCupTransport.cup R H G e μ i 0 x (e 0 one) = x := by |
| 35 | obtain ⟨x, rfl⟩ := (e i).surjective x |
| 36 | rw [GradedCupTransport.cup_apply R H G e μ i 0, h] |
| 37 | rfl |
| 38 | |
| 39 | section Detection |
| 40 | |
| 41 | variable {ι : Type z} (B : ι → ℕ → Type w) |
| 42 | [∀ n i, AddCommGroup (B n i)] [∀ n i, Module R (B n i)] |
| 43 | (f : ∀ n i, H i →ₗ[R] B n i) |
| 44 | (hf : ∀ i {x y : H i}, (∀ n, f n i x = f n i y) → x = y) |
| 45 | (ν : ∀ n i j, B n i →ₗ[R] B n j →ₗ[R] B n (i + j)) |
| 46 | (hμ : ∀ n i j x y, f n (i + j) (μ i j x y) = ν n i j (f n i x) (f n j y)) |
| 47 | (b : ∀ n, B n 0) (hb : ∀ n, f n 0 one = b n) |
| 48 | |
| 49 | include hf hμ hb in |
| 50 | theorem detected_left (h : ∀ n i x, GradedCupTransport.degreeCast R (B n) (Nat.zero_add i) (ν n 0 i (b n) x) = x) |
| 51 | (i : ℕ) (x : H i) : GradedCupTransport.degreeCast R H (Nat.zero_add i) (μ 0 i one x) = x := by |
| 52 | apply hf i |
| 53 | intro n |
| 54 | refine (GradedCupTransport.degreeCast_map R H (B n) (f n) (Nat.zero_add i) _).symm.trans ?_ |
| 55 | rw [hμ n 0 i, hb, h] |
| 56 | |
| 57 | include hf hμ hb in |
| 58 | theorem detected_right (h : ∀ n i x, ν n i 0 x (b n) = x) (i : ℕ) (x : H i) : |
| 59 | μ i 0 x one = x := by |
| 60 | apply hf i |
| 61 | intro n |
| 62 | exact (hμ n i 0 x one).trans |
| 63 | ((congrArg (ν n i 0 (f n i x)) (hb n)).trans (h n i (f n i x))) |
| 64 | |
| 65 | end Detection |
| 66 | |
| 67 | variable (S : Type z) [CommRing S] [Algebra R S] |
| 68 | |
| 69 | theorem scalar_left (h : ∀ i x, GradedCupTransport.degreeCast R H (Nat.zero_add i) (μ 0 i one x) = x) |
| 70 | (i : ℕ) (x : S ⊗[R] H i) : |
| 71 | GradedCupTransport.degreeCast S (fun i => S ⊗[R] H i) (Nat.zero_add i) |
| 72 | (BilinearScalarExtension.map S (μ 0 i) ((1 : S) ⊗ₜ[R] one) x) = x := by |
| 73 | induction x using TensorProduct.inductionOn with |
| 74 | | add x y hx hy => simp only [map_add, hx, hy] |
| 75 | | tmul a x => rw [BilinearScalarExtension.map_tmul, ScalarCupAlgebra.degreeCast_tmul, h, one_mul] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GradedCupUnit |