Gram-conditioned columns and their rank-failure probability
Lax342547.GramColumns · concepts/Lax342547/GramColumns.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
At an injective plus frame, a prescribed Gram matrix has probability exactly 2^(-pq). Its completions are independent affine columns parallel to the plus annihilator. Their failure of injectivity costs at most 2^(p+q-N), uniformly in the prescribed Gram values.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax342547.AffineImages |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Gram-conditioned columns and their rank-failure probability |
| 6 | type: lemma |
| 7 | --- |
| 8 | At an injective plus frame, a prescribed Gram matrix has probability |
| 9 | exactly 2^(-pq). Its completions are independent affine columns parallel |
| 10 | to the plus annihilator. Their failure of injectivity costs at most |
| 11 | 2^(p+q-N), uniformly in the prescribed Gram values. |
| 12 | -/ |
| 13 | |
| 14 | namespace Lax342547.GramColumns |
| 15 | |
| 16 | open Lax342547.MomentSpace |
| 17 | open scoped ENNReal |
| 18 | |
| 19 | variable {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 20 | |
| 21 | def gramMap (A : Matrix N I Binary) : Matrix N J Binary →ₗ[Binary] Matrix I J Binary where |
| 22 | toFun B := A.transpose * B |
| 23 | map_add' B C := by simp [Matrix.mul_add] |
| 24 | map_smul' c B := by simp [Matrix.mul_smul] |
| 25 | |
| 26 | abbrev GramFiber (A : Matrix N I Binary) (G : Matrix I J Binary) := |
| 27 | {B : Matrix N J Binary // A.transpose * B = G} |
| 28 | |
| 29 | noncomputable instance (A : Matrix N I Binary) (G : Matrix I J Binary) : Fintype (GramFiber A G) := by |
| 30 | classical exact Subtype.fintype _ |
| 31 | |
| 32 | axiom gram_uniform [DecidableEq I] [DecidableEq J] [DecidableEq N] |
| 33 | (A : Matrix N I Binary) (hA : Function.Injective A.mulVec) : |
| 34 | (PMF.uniformOfFintype (Matrix N J Binary)).map (gramMap A) = |
| 35 | PMF.uniformOfFintype (Matrix I J Binary) |
| 36 | |
| 37 | axiom gram_probability [DecidableEq I] [DecidableEq J] [DecidableEq N] |
| 38 | (A : Matrix N I Binary) (hA : Function.Injective A.mulVec) (G : Matrix I J Binary) : |
| 39 | (PMF.uniformOfFintype (Matrix N J Binary)).toOuterMeasure {B | A.transpose * B = G} = |
| 40 | 1 / (2 : ℝ≥0∞) ^ (Fintype.card I * Fintype.card J) |
| 41 | |
| 42 | axiom conditional_failure [DecidableEq I] [DecidableEq J] [DecidableEq N] |
| 43 | (A : Matrix N I Binary) (hA : Function.Injective A.mulVec) (G : Matrix I J Binary) |
| 44 | [Nonempty (GramFiber A G)] : |
| 45 | (PMF.uniformOfFintype (GramFiber A G)).toOuterMeasure {B | ¬ Function.Injective B.val.mulVec} ≤ |
| 46 | (2 : ℝ≥0∞) ^ (Fintype.card I + Fintype.card J) / 2 ^ Fintype.card N |
| 47 | |
| 48 | axiom extension_failure {K : Type} [Fintype K] |
| 49 | [DecidableEq I] [DecidableEq J] [DecidableEq N] |
| 50 | (P : Matrix N K Binary) (hP : Function.Injective P.mulVec) |
| 51 | (A : Matrix N I Binary) (hA : Function.Injective A.mulVec) (G : Matrix I J Binary) |
| 52 | [Nonempty (GramFiber A G)] : |
| 53 | (PMF.uniformOfFintype (GramFiber A G)).toOuterMeasure |
| 54 | {X | ¬ Function.Injective (fun z : (K → Binary) × (J → Binary) => |
| 55 | P.mulVec z.1 + X.val.mulVec z.2)} ≤ |
| 56 | (2 : ℝ≥0∞) ^ (Fintype.card K + Fintype.card I + Fintype.card J) / 2 ^ Fintype.card N |
| 57 | |
| 58 | end Lax342547.GramColumns |
| 59 |
Builds on
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments