pub enum ForallStrategy {
DualOfExists,
Product,
Min,
MeanThreshold {
threshold_times_100: u8,
},
}Expand description
Strategy for compiling universal quantifiers (∀).
Variants§
DualOfExists
Dual of exists via double negation: NOT(EXISTS(NOT(P)))
- Inherits properties from NOT and EXISTS strategies
Product
Product reduction: product(P, axis)
- Direct product semantics
- Differentiable
Min
Min reduction: min(P, axis)
- Hard semantics (true if all instances satisfy)
- Not differentiable at unique minimum
MeanThreshold
Mean reduction with threshold: mean(P, axis) >= threshold
- Soft semantics with configurable strictness
Trait Implementations§
Source§impl Clone for ForallStrategy
impl Clone for ForallStrategy
Source§fn clone(&self) -> ForallStrategy
fn clone(&self) -> ForallStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForallStrategy
impl Debug for ForallStrategy
Source§impl PartialEq for ForallStrategy
impl PartialEq for ForallStrategy
impl Copy for ForallStrategy
impl Eq for ForallStrategy
impl StructuralPartialEq for ForallStrategy
Auto Trait Implementations§
impl Freeze for ForallStrategy
impl RefUnwindSafe for ForallStrategy
impl Send for ForallStrategy
impl Sync for ForallStrategy
impl Unpin for ForallStrategy
impl UnwindSafe for ForallStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.