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.ExteriorPower.Basis |
| 2 | import Mathlib.LinearAlgebra.Dual.Basis |
| 3 | |
| 4 | /-! # Dual Pairing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Exterior.DualPairing.LinearAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical pairing between exterior powers and their duals is perfect in finite dimension. -/ |
| 11 | |
| 12 | variable {K E ι : Type} [Field K] [AddCommGroup E] [Module K E] |
| 13 | [Finite ι] [LinearOrder ι] |
| 14 | |
| 15 | def exteriorDualPairingEquiv (b : Module.Basis ι K E) (n : ℕ) : |
| 16 | (⋀[K]^n (Module.Dual K E)) ≃ₗ[K] Module.Dual K (⋀[K]^n E) := |
| 17 | (b.dualBasis.exteriorPower n).equiv (b.exteriorPower n).dualBasis (Equiv.refl _) |
| 18 | |
| 19 | theorem exteriorDualPairingEquiv_toLinearMap (b : Module.Basis ι K E) (n : ℕ) : |
| 20 | (exteriorDualPairingEquiv b n).toLinearMap = exteriorPower.pairingDual K E n := by |
| 21 | apply (b.dualBasis.exteriorPower n).ext |
| 22 | intro s |
| 23 | change (b.dualBasis.exteriorPower n).equiv (b.exteriorPower n).dualBasis (Equiv.refl _) |
| 24 | ((b.dualBasis.exteriorPower n) s) = _ |
| 25 | rw [Module.Basis.equiv_apply, Equiv.refl_apply] |
| 26 | apply LinearMap.ext |
| 27 | intro v |
| 28 | rw [Module.Basis.dualBasis_apply, exteriorPower.basis_repr_apply, |
| 29 | exteriorPower.basis_apply, Module.Basis.coe_dualBasis] |
| 30 | rfl |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.Comparison.Betti.Exterior.DualPairing.LinearAlgebra |