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.ArithmeticGroups.Lattices.BoundedMonomialBasis |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ExteriorRepresentation |
| 3 | |
| 4 | /-! # Exterior Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ExteriorCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Uniform finite coordinates for the exterior representation. In these |
| 11 | coordinates scalar extension is coefficientwise extension of scalars. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | abbrev BoundedExteriorIndices (n d r : ℕ) := |
| 16 | Set.powersetCard (Fin (BoundedMonomialBasis.Construction.boundedMonomialCount n d)) r |
| 17 | |
| 18 | def boundedExteriorBasis (k : Type) [Field k] (n d r : ℕ) : |
| 19 | Module.Basis (BoundedExteriorIndices n d r) k (⋀[k]^r (BoundedRepresentation.Construction.BoundedPolynomials k n d)) := |
| 20 | (BoundedMonomialBasis.Construction.boundedMonomialBasis k n d).exteriorPower r |
| 21 | |
| 22 | def boundedExteriorCoordinates (k : Type) [Field k] (n d r : ℕ) : |
| 23 | (⋀[k]^r (BoundedRepresentation.Construction.BoundedPolynomials k n d)) ≃ₗ[k] (BoundedExteriorIndices n d r → k) := |
| 24 | (boundedExteriorBasis k n d r).equivFun |
| 25 | |
| 26 | theorem boundedExteriorCoordinates_wedge |
| 27 | {k : Type} [Field k] {n d r : ℕ} (p : Fin r → BoundedRepresentation.Construction.BoundedPolynomials k n d) |
| 28 | (s : BoundedExteriorIndices n d r) : |
| 29 | boundedExteriorCoordinates k n d r (exteriorPower.ιMulti k r p) s = |
| 30 | (Matrix.of (fun i j => (BoundedMonomialBasis.Construction.boundedMonomialBasis k n d).repr (p i) |
| 31 | (Set.powersetCard.ofFinEmbEquiv.symm s j))).det := by |
| 32 | change ((BoundedMonomialBasis.Construction.boundedMonomialBasis k n d).exteriorPower r).repr |
| 33 | (exteriorPower.ιMulti k r p) s = _ |
| 34 | rw [exteriorPower.basis_repr_apply, exteriorPower.ιMultiDual_apply_ιMulti] |
| 35 | rfl |
| 36 | |
| 37 | theorem boundedExteriorCoordinates_wedge_coefficient_map |
| 38 | {k K : Type} [Field k] [Field K] [Algebra k K] {n d r : ℕ} |
| 39 | (p : Fin r → BoundedRepresentation.Construction.BoundedPolynomials k n d) (s : BoundedExteriorIndices n d r) : |
| 40 | boundedExteriorCoordinates K n d r |
| 41 | (exteriorPower.ιMulti K r (fun i => Finite.UniformExteriorLine.Construction.boundedCoefficientMap (K := K) (p i))) s = |
| 42 | algebraMap k K (boundedExteriorCoordinates k n d r (exteriorPower.ιMulti k r p) s) := by |
| 43 | rw [boundedExteriorCoordinates_wedge, boundedExteriorCoordinates_wedge, RingHom.map_det] |
| 44 | congr 1 |
| 45 | |
| 46 | def boundedExteriorCoefficientMap |
| 47 | {k K : Type} [Field k] [Field K] [Algebra k K] (n d r : ℕ) : |
| 48 | (⋀[k]^r (BoundedRepresentation.Construction.BoundedPolynomials k n d)) →ₗ[k] (⋀[K]^r (BoundedRepresentation.Construction.BoundedPolynomials K n d)) := |
| 49 | ((boundedExteriorCoordinates K n d r).symm.toLinearMap.restrictScalars k).comp |
| 50 | ((LinearMap.pi (fun i => (Algebra.linearMap k K).comp (LinearMap.proj i))).comp |
| 51 | (boundedExteriorCoordinates k n d r).toLinearMap) |
| 52 | |
| 53 | theorem boundedExteriorCoefficientMap_wedge |
| 54 | {k K : Type} [Field k] [Field K] [Algebra k K] {n d r : ℕ} |
| 55 | (p : Fin r → BoundedRepresentation.Construction.BoundedPolynomials k n d) : |
| 56 | boundedExteriorCoefficientMap (K := K) n d r (exteriorPower.ιMulti k r p) = |
| 57 | exteriorPower.ιMulti K r (fun i => Finite.UniformExteriorLine.Construction.boundedCoefficientMap (K := K) (p i)) := by |
| 58 | apply (boundedExteriorCoordinates K n d r).injective |
| 59 | ext s |
| 60 | change boundedExteriorCoordinates K n d r |
| 61 | ((boundedExteriorCoordinates K n d r).symm |
| 62 | (fun i => algebraMap k K |
| 63 | (boundedExteriorCoordinates k n d r (exteriorPower.ιMulti k r p) i))) s = _ |
| 64 | rw [LinearEquiv.apply_symm_apply, boundedExteriorCoordinates_wedge_coefficient_map] |
| 65 | |
| 66 | theorem boundedExteriorCoefficientMap_injective |
| 67 | {k K : Type} [Field k] [Field K] [Algebra k K] (n d r : ℕ) : |
| 68 | Function.Injective (boundedExteriorCoefficientMap (k := k) (K := K) n d r) := by |
| 69 | intro x y h |
| 70 | apply (boundedExteriorCoordinates k n d r).injective |
| 71 | ext s |
| 72 | apply (algebraMap k K).injective |
| 73 | have he := congrArg (fun w => boundedExteriorCoordinates K n d r w s) h |
| 74 | simpa only [boundedExteriorCoefficientMap, LinearMap.comp_apply, |
| 75 | LinearMap.restrictScalars_apply, LinearEquiv.coe_coe, LinearEquiv.apply_symm_apply, |
| 76 | LinearMap.pi_apply, LinearMap.proj_apply, Algebra.linearMap_apply] using he |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ExteriorCoordinates.Construction |