Reference · Finite types, distributions and Markov chains
rainbow.math.finite.set-fiber
Constructive finite fibers inside finite source sets.
set/fiber-within
set/fiber-within.{u, v} :
(A : Type u) (B : Type v) (mapping : A → B) (source : set/Set A) (target : B)
→ set/Set Aset/fiber-within-subset
set/fiber-within-subset.{u, v} :
(A : Type u) (B : Type v) (mapping : A → B) (source : set/Set A) (target : B)
→ set/subset A (within) source
where within := set/fiber-within A B mapping source targetset/fiber-within-member-source
set/fiber-within-member-source.{u, v} :
(A : Type u) (B : Type v) (mapping : A → B) (source : set/Set A) (target : B)
(value : A) (member : set/fiber-within A B mapping source target value)
→ source valueset/fiber-within-mapping-equals
set/fiber-within-mapping-equals.{u, v} :
(A : Type u) (B : Type v) (mapping : A → B) (source : set/Set A) (target : B)
(value : A) (member : set/fiber-within A B mapping source target value)
→ mapping value = target= = equality/Eq
set/finite-fiber-within
set/finite-fiber-within.{u, v} :
(A : Type u) (B : Type v) (mapping : A → B) (source : set/Set A) (target : B)
(source-finite : set/finite A source)
→ set/finite A (within)
where within := set/fiber-within A B mapping source target