Exhaustive and redundant marks don't need to be introduced

They are never generalized
This commit is contained in:
Ayaz Hafiz 2022-06-15 20:37:49 -04:00
parent ef350e4aed
commit 8cb6121fc3
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 1 additions and 22 deletions

View file

@ -801,12 +801,7 @@ pub fn constrain_expr(
let branch_constraints = constraints.and_constraint(total_cons);
constraints.exists(
[
exhaustive.variable_for_introduction(),
branches_cond_var,
real_cond_var,
*expr_var,
],
[branches_cond_var, real_cond_var, *expr_var],
branch_constraints,
)
}