Skip to content

Commit

Permalink
Merge pull request #2 from JasonGross/more-const-commutative
Browse files Browse the repository at this point in the history
More const commutative
  • Loading branch information
dderjoel committed Feb 10, 2022
2 parents 1ab7d1d + 9a3c223 commit 41f9e6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Assembly/Symbolic.v
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,6 @@ Qed.
Definition consts_commutative :=
fun e => match e with
ExprApp (o, args) =>
(* note: removing the next line makes tests fail *)
if (match o with mul _ => true | _ => false end) then e else
if commutative o then
let csts_exprs := List.partition isCst args in
if associative o
Expand All @@ -1155,7 +1153,6 @@ Proof using Type.
step.
destruct e; trivial.
destruct n.
destruct (match o with mul _ => true | _ => false end); trivial.
destruct commutative eqn:?; trivial.
inversion H; clear H; subst.
epose proof Permutation_partition l isCst.
Expand Down

0 comments on commit 41f9e6a

Please sign in to comment.