fn try_prove(&mut self, dnf: &Dnf) -> Validity {
        if dnf
            .0
            .iter()
            .any(|cj| cj.iter().all(|c| self.constraint_holds(c)))
        {
            Validity::Trivial
        } else {
            let mut progress = false;
            for &constraint in dnf.0.iter().flatten() {
                progress |= self.push(constraint);
            }

            if progress {
                Validity::Progress
            } else {
                Validity::NoProgress
            }
        }
    }
/// Attempt to prove that a DNF holds. If it can not yet be shown to be true, insert its atomic
/// constraints so they can be proven in the future, potentially.
Attempt to prove that a DNF holds. If it can not yet be shown to be true, insert its atomic
constraints so they can be proven in the future, potentially.
Attempt to prove that a DNF holds . If it can not yet be shown to be true insert its atomic constraints so they can be proven in the future potentially .
fn try_prove(&mut self, dnf: &Dnf) -> Validity {
        if dnf
            .0
            .iter()
            .any(|cj| cj.iter().all(|c| self.constraint_holds(c)))
        {
            Validity::Trivial
        } else {
            let mut progress = false;
            for &constraint in dnf.0.iter().flatten() {
                progress |= self.push(constraint);
            }
            if progress {
                Validity::Progress
            } else {
                Validity::NoProgress
            }
        }
    }
fn try_prove ( & mut self , dnf : & Dnf ) -> Validity { if dnf . 0 . iter ( ) . any ( | cj | cj . iter ( ) . all ( | c | self . constraint_holds ( c ) ) ) { Validity :: Trivial } else { let mut progress = false ; for & constraint in dnf . 0 . iter ( ) . flatten ( ) { progress |= self . push ( constraint ) ; } if progress { Validity :: Progress } else { Validity :: NoProgress } } }
Attempt to prove that a DNF holds.
Attempt to prove that a DNF holds .
&mut self
dnf
&Dnf