Exact probabilities for independent protected channel images
Lax342547.ProtectedChannels · concepts/Lax342547/ProtectedChannels.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
An actual independent witness tuple has uniform transpose images, giving the exact probability that every image lies in a prescribed protected coefficient space.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax342547.InjectiveFrames |
| 2 | import Lax342547.ChannelColumns |
| 3 | import Lax342547.FiniteLinearLaw |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Exact probabilities for independent protected channel images |
| 8 | type: lemma |
| 9 | --- |
| 10 | An actual independent witness tuple has uniform transpose images, giving the exact probability that every image lies in a prescribed protected coefficient space. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax342547.ProtectedChannels |
| 14 | |
| 15 | open Lax342547.MomentSpace Lax342547.RetainedImages Lax342547.RealCellLaws |
| 16 | open scoped BigOperators ENNReal |
| 17 | |
| 18 | noncomputable def columnSpaceEquiv {I H : Type} [Fintype I] [Fintype H] |
| 19 | (S : Submodule Binary (H → Binary)) : |
| 20 | {Z : Matrix H I Binary // ∀ i,(fun h => Z h i) ∈ S} ≃ (I → S) where |
| 21 | toFun Z := fun i => ⟨fun h => Z.val h i,Z.property i⟩ |
| 22 | invFun v := ⟨fun h i => (v i).val h,fun i => (v i).property⟩ |
| 23 | left_inv _ := rfl |
| 24 | right_inv _ := rfl |
| 25 | |
| 26 | axiom protected_columns_card {I H : Type} [Fintype I] [Fintype H] |
| 27 | (S : Submodule Binary (H → Binary)) : |
| 28 | Nat.card {Z : Matrix H I Binary // ∀ i,(fun h => Z h i) ∈ S} = |
| 29 | 2^(Module.finrank Binary S*Fintype.card I) |
| 30 | |
| 31 | axiom independent_protected_probability {I H N : Type} |
| 32 | [Fintype I] [Fintype H] [Fintype N] [DecidableEq I] [DecidableEq H] [DecidableEq N] |
| 33 | (D : Matrix N I Binary) (hD : Function.Injective D.mulVec) |
| 34 | (S : Submodule Binary (H → Binary)) : |
| 35 | cellMass (weights (PMF.uniformOfFintype (Matrix N H Binary))) |
| 36 | (fun Y => ∀ i,(fun h => (Y.transpose*D) h i) ∈ S) = |
| 37 | (2 : ℝ)^(Module.finrank Binary S*Fintype.card I)/(2 : ℝ)^(Fintype.card H*Fintype.card I) |
| 38 | |
| 39 | axiom protected_probability_rank_bound {I H N : Type} |
| 40 | [Fintype I] [Fintype H] [Fintype N] [DecidableEq I] [DecidableEq H] [DecidableEq N] |
| 41 | (D : Matrix N I Binary) (hD : Function.Injective D.mulVec) |
| 42 | (S : Submodule Binary (H → Binary)) (K : ℕ) (hS : Module.finrank Binary S ≤ K) : |
| 43 | cellMass (weights (PMF.uniformOfFintype (Matrix N H Binary))) |
| 44 | (fun Y => ∀ i,(fun h => (Y.transpose*D) h i) ∈ S) ≤ |
| 45 | (2 : ℝ)^(K*Fintype.card I)/(2 : ℝ)^(Fintype.card H*Fintype.card I) |
| 46 | |
| 47 | end Lax342547.ProtectedChannels |
| 48 |
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments