Skip to content
Snippets Groups Projects
Commit cb0a20de authored by Ralf Jung's avatar Ralf Jung
Browse files

slight simpl tuning

parent 0ce42920
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ Notation "de1 # de2" := (de1 ∩ de2 == de_emp) (at level 70) : de_scope. ...@@ -95,7 +95,7 @@ Notation "de1 # de2" := (de1 ∩ de2 == de_emp) (at level 70) : de_scope.
in the context that also occurs in one of the <de>s. In this case, it can help to in the context that also occurs in one of the <de>s. In this case, it can help to
do the specialization manually, and call de_tauto directly. do the specialization manually, and call de_tauto directly.
*) *)
Ltac de_unfold := unfold de_cap, de_cup, de_minus, de_compl, const; unlock; simpl. Ltac de_unfold := unfold de_cap, de_cup, de_minus, de_compl; unlock; simpl.
Ltac de_in_destr := simpl; Ltac de_in_destr := simpl;
repeat (match goal with repeat (match goal with
| [ |- context[dec_eq ?i ?j] ] => destruct (dec_eq i j); first try subst j; try contradiction_eq; simpl | [ |- context[dec_eq ?i ?j] ] => destruct (dec_eq i j); first try subst j; try contradiction_eq; simpl
......
...@@ -20,6 +20,7 @@ Section Props. ...@@ -20,6 +20,7 @@ Section Props.
fun n => match n with fun n => match n with
| O => True | O => True
| S _ => P end. | S _ => P end.
Global Arguments sp_constF _ !n /.
Program Definition sp_const P := Program Definition sp_const P :=
p[(sp_constF P)]. p[(sp_constF P)].
Next Obligation. Next Obligation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment