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.ScalarGradedCupProjection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.GradedExteriorCup |
| 3 | |
| 4 | /-! # Scalar Intrinsic Endomorphism Determinant -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarIntrinsicEndomorphismDeterminant.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The determinant identity for a scalar-extended graded cup algebra, |
| 11 | proved before specializing its coefficient modules. -/ |
| 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) [Field S] [Algebra R S] |
| 20 | (H : ℕ → Type w) [∀ i, AddCommGroup (H i)] [∀ i, Module R (H i)] |
| 21 | (μ : ∀ i j, H i →ₗ[R] H j →ₗ[R] H (i + j)) (one : H 0) |
| 22 | (hleft : ∀ i (x : S ⊗[R] H i), GradedCupTransport.degreeCast S (fun i => S ⊗[R] H i) (Nat.zero_add i) |
| 23 | (BilinearScalarExtension.map S (μ 0 i) ((1 : S) ⊗ₜ[R] one) x) = x) |
| 24 | (hright : ∀ i (x : S ⊗[R] H i), BilinearScalarExtension.map S (μ i 0) x ((1 : S) ⊗ₜ[R] one) = x) |
| 25 | (hassoc : ∀ i j k (x : S ⊗[R] H i) (y : S ⊗[R] H j) (z : S ⊗[R] H k), |
| 26 | GradedCupTransport.degreeCast S (fun i => S ⊗[R] H i) (Nat.add_assoc i j k) |
| 27 | (BilinearScalarExtension.map S (μ (i + j) k) (BilinearScalarExtension.map S (μ i j) x y) z) = |
| 28 | BilinearScalarExtension.map S (μ i (j + k)) x (BilinearScalarExtension.map S (μ j k) y z)) |
| 29 | (hsquare : ∀ x : S ⊗[R] H 1, BilinearScalarExtension.map S (μ 1 1) x x = 0) |
| 30 | [FiniteDimensional S (S ⊗[R] H 1)] |
| 31 | (f : ∀ n, Module.End S (S ⊗[R] H n)) |
| 32 | (hunit : f 0 ((1 : S) ⊗ₜ[R] one) = (1 : S) ⊗ₜ[R] one) |
| 33 | (hf : ∀ i j (x : S ⊗[R] H i) (y : S ⊗[R] H j), |
| 34 | f (i + j) (BilinearScalarExtension.map S (μ i j) x y) = BilinearScalarExtension.map S (μ i j) (f i x) (f j y)) |
| 35 | |
| 36 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarGradedCupData.data S H μ one hleft hright hassoc hsquare |
| 37 | local notation "N" => Module.finrank S (S ⊗[R] H 1) |
| 38 | |
| 39 | include hunit hf in |
| 40 | theorem det_eq_of_top_scalar (c : S) |
| 41 | (hprod : GradedExteriorCup.exteriorPowerCup D N ≠ 0) |
| 42 | (htop : ∀ x : S ⊗[R] H N, f N x = c • x) : |
| 43 | (f 1).det = c := by |
| 44 | let : FiniteDimensional S ((D).H 1) := inferInstanceAs (FiniteDimensional S (S ⊗[R] H 1)) |
| 45 | exact GradedExteriorCup.det_eq_of_top_scalar D f hunit |
| 46 | (by intro i j x y; exact hf i j x y) |
| 47 | c hprod htop |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarIntrinsicEndomorphismDeterminant.Intrinsic |