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.TopExteriorDeterminant |
| 2 | |
| 3 | /-! # Top Exterior Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite basis gives exact coordinates on the top exterior power. |
| 10 | These coordinates use its determinant form and its actual wedge generator. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] |
| 15 | {n : ℕ} (b : Module.Basis (Fin n) R V) |
| 16 | |
| 17 | def coordinate : (⋀[R]^n V) →ₗ[R] R := exteriorPower.alternatingMapLinearEquiv b.det |
| 18 | |
| 19 | def generator : ⋀[R]^n V := exteriorPower.ιMulti R n b |
| 20 | |
| 21 | theorem coordinate_wedge (v : Fin n → V) : |
| 22 | coordinate b (exteriorPower.ιMulti R n v) = b.det v := |
| 23 | exteriorPower.alternatingMapLinearEquiv_apply_ιMulti _ _ |
| 24 | |
| 25 | theorem coordinate_generator : coordinate b (generator b) = 1 := by |
| 26 | rw [generator, coordinate_wedge, Module.Basis.det_self] |
| 27 | |
| 28 | theorem reconstruct (x : ⋀[R]^n V) : coordinate b x • generator b = x := by |
| 29 | have h : (LinearMap.toSpanSingleton R (⋀[R]^n V) (generator b)).comp (coordinate b) = |
| 30 | LinearMap.id := by |
| 31 | apply LinearMap.ext_on (exteriorPower.ιMulti_span R n V) |
| 32 | rintro x ⟨v, rfl⟩ |
| 33 | change coordinate b (exteriorPower.ιMulti R n v) • generator b = exteriorPower.ιMulti R n v |
| 34 | rw [coordinate_wedge] |
| 35 | exact (TopExteriorDeterminant.alternating_apply_eq_det_smul b |
| 36 | (exteriorPower.ιMulti R n) v).symm |
| 37 | exact LinearMap.congr_fun h x |
| 38 | |
| 39 | def equiv : (⋀[R]^n V) ≃ₗ[R] R where |
| 40 | __ := coordinate b |
| 41 | invFun r := r • generator b |
| 42 | left_inv := reconstruct b |
| 43 | right_inv r := by |
| 44 | change coordinate b (r • generator b) = r |
| 45 | rw [map_smul, coordinate_generator, smul_eq_mul, mul_one] |
| 46 | |
| 47 | @[simp] theorem equiv_apply (x : ⋀[R]^n V) : equiv b x = coordinate b x := rfl |
| 48 | |
| 49 | @[simp] theorem equiv_symm_apply (r : R) : (equiv b).symm r = r • generator b := rfl |
| 50 | |
| 51 | theorem coordinate_eq {b' : Module.Basis (Fin n) R V} (h : b.det = b'.det) : |
| 52 | coordinate b = coordinate b' := congrArg exteriorPower.alternatingMapLinearEquiv h |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |