[−][src]Struct pocket_prover_set::Set
Conditions that holds for a set in general.
Fields
any: u64
All types, including those who are not defined.
uniq: u64
A unique value.
fin_many: u64
Many but finite number of values.
inf_many: u64
Many but infinite number of values.
Implementations
impl Set
[src]
pub fn rules(&self) -> u64
[src]
Rules for sets.
pub fn none(&self) -> u64
[src]
Returns whether the set is empty.
pub fn some(&self) -> u64
[src]
Returns whether the set is non-empty.
pub fn undefined(&self) -> u64
[src]
Returns whether the set is undefined. This can be a set of higher cardinality.
pub fn multiple(&self) -> u64
[src]
Returns whether the set contains more than one. The set must be well defined.
pub fn count<F: Fn(Set) -> u64>(f: F) -> u32
[src]
Counts the number of true cases.
Trait Implementations
impl Clone for Set
[src]
impl Construct for Set
[src]
impl Copy for Set
[src]
impl CoreRules for Set
[src]
fn core_rules(&self) -> u64
[src]
impl ExtendRules for Set
[src]
Auto Trait Implementations
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnwindSafe for Set
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ExtendRules for T where
T: BaseSystem,
[src]
T: BaseSystem,
type Inner = ()
The inner logical system.
fn inner(&self) -> &()
[src]
fn extend_rules(&self, &<T as ExtendRules>::Inner) -> u64
[src]
fn full_rules(&self) -> u64
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Prove for T where
T: Copy + Construct + ExtendRules,
[src]
T: Copy + Construct + ExtendRules,
fn count<F>(f: F) -> u64 where
F: Fn(T) -> u64,
[src]
F: Fn(T) -> u64,
fn prove<F>(f: F) -> bool where
F: Fn(T) -> u64,
[src]
F: Fn(T) -> u64,
fn does_not_mean<F, G>(assumption: F, conclusion: G) -> bool where
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
[src]
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
fn means<F, G>(assumption: F, conclusion: G) -> bool where
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
[src]
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
fn eq<F, G>(a: F, b: G) -> bool where
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
[src]
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
fn exc<F, G>(a: F, b: G) -> bool where
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
[src]
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
fn imply<F, G>(a: F, b: G) -> bool where
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
[src]
F: Fn(Self) -> u64,
G: Fn(Self) -> u64,
fn prob<F>(f: F) -> Option<f64> where
F: Fn(Self) -> u64,
[src]
F: Fn(Self) -> u64,
fn prob_imply<A, B>(a: A, b: B) -> Option<f64> where
A: Copy + Fn(Self) -> u64,
B: Fn(Self) -> u64,
[src]
A: Copy + Fn(Self) -> u64,
B: Fn(Self) -> u64,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,