Add option for proof direction

This commit is contained in:
2020-05-07 02:53:48 +02:00
parent b4339bfcb3
commit b55bc82b1d
7 changed files with 69 additions and 12 deletions

View File

@@ -340,8 +340,7 @@ where
let is_right_term_arithmetic = crate::is_term_arithmetic(right, self.context)
.expect("could not determine whether term is arithmetic");
match (!is_left_term_arithmetic && !is_right_term_arithmetic,
auxiliary_predicate_name)
match (!is_left_term_arithmetic || !is_right_term_arithmetic, auxiliary_predicate_name)
{
(true, Some(auxiliary_predicate_name)) =>
{