Skip to content

Commit

Permalink
Remove unnecessary GEN_REWRITE_TACs... (SimpLHS is also unnecessary)
Browse files Browse the repository at this point in the history
  • Loading branch information
binghe committed Dec 11, 2023
1 parent 5c2606c commit a93ab8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/coalgebras/ltreeScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ End
Theorem ltree_every_rewrite[simp] :
ltree_every P (Branch a ts) <=> P a ts /\ every (ltree_every P) ts
Proof
GEN_REWRITE_TAC (RATOR_CONV o ONCE_DEPTH_CONV) empty_rewrites [ltree_every_cases]
SIMP_TAC std_ss [Once ltree_every_cases]
>> EQ_TAC >> rw []
QED

Expand Down Expand Up @@ -758,8 +758,7 @@ Theorem ltree_finite_branching_rewrite[simp] :
ltree_finite_branching (Branch a ts) <=>
LFINITE ts /\ every ltree_finite_branching ts
Proof
GEN_REWRITE_TAC (RATOR_CONV o ONCE_DEPTH_CONV) empty_rewrites
[ltree_finite_branching_cases]
SIMP_TAC std_ss [ltree_finite_branching_cases]
>> EQ_TAC >> rw []
>- rw [LFINITE_fromList]
>- rw [every_fromList_EVERY]
Expand Down

0 comments on commit a93ab8a

Please sign in to comment.