Linear maps vanishing at independent vectors #
For linearly independent v : Fin r → V, the map A ↦ (A (v i))ᵢ from V →ₗ[K] W to
Fin r → W is surjective. Hence the linear maps that vanish at v 0, …, v (r - 1) form a
proportion 1 / Nat.card W ^ r of all linear maps. A uniformly random linear map A stands in for
the random subspace of Fox and Lovász: its kernel contains r given independent vectors with
probability Nat.card W ^ (-r).
Main statements #
LinearMap.finite_of_finite: there are finitely many linear maps between finite modules.LinearIndependent.exists_linearMap_apply_eq: prescribing the values of a linear map at linearly independent vectors.LinearIndependent.surjective_pi_applyₗ: the mapA ↦ (A (v i))ᵢis surjective.LinearIndependent.natCard_mul_pow_eq_natCard: the count of linear maps vanishing atrlinearly independent vectors.
instance
LinearMap.finite_of_finite
{K : Type u_1}
{V : Type u_2}
{W : Type u_3}
[Field K]
[AddCommGroup V]
[Module K V]
[AddCommGroup W]
[Module K W]
[Finite V]
[Finite W]
:
There are finitely many linear maps between finite modules.
theorem
LinearIndependent.natCard_mul_pow_eq_natCard
{K : Type u_1}
{V : Type u_2}
{W : Type u_3}
[Field K]
[AddCommGroup V]
[Module K V]
[AddCommGroup W]
[Module K W]
{r : ℕ}
{v : Fin r → V}
(hv : LinearIndependent K v)
:
The linear maps vanishing at r linearly independent vectors form a proportion
1 / Nat.card W ^ r of all linear maps.