Commit b5b821de authored by Adam Chlipala's avatar Adam Chlipala

Pass over Subset

parent a39a0883
...@@ -993,7 +993,7 @@ Lemma substring_suffix_emp : forall s n m, ...@@ -993,7 +993,7 @@ Lemma substring_suffix_emp : forall s n m,
substring n m s = "" substring n m s = ""
-> m > 0 -> m > 0
-> n >= length s. -> n >= length s.
destruct m as [| m]; [crush | intros; apply substring_suffix_emp' with m; assumption]. destruct m as [ | m]; [crush | intros; apply substring_suffix_emp' with m; assumption].
Qed. Qed.
Hint Rewrite substring_stack substring_stack' substring_suffix Hint Rewrite substring_stack substring_stack' substring_suffix
......
(* Copyright (c) 2008, Adam Chlipala (* Copyright (c) 2008, 2011, Adam Chlipala
* *
* This work is licensed under a * This work is licensed under a
* Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 * Creative Commons Attribution-Noncommercial-No Derivative Works 3.0
...@@ -51,7 +51,7 @@ Inductive maybe (A : Set) (P : A -> Prop) : Set := ...@@ -51,7 +51,7 @@ Inductive maybe (A : Set) (P : A -> Prop) : Set :=
Notation "{{ x | P }}" := (maybe (fun x => P)) : specif_scope. Notation "{{ x | P }}" := (maybe (fun x => P)) : specif_scope.
Notation "??" := (Unknown _) : specif_scope. Notation "??" := (Unknown _) : specif_scope.
Notation "[[ x ]]" := (Found _ x _) : specif_scope. Notation "[| x |]" := (Found _ x _) : specif_scope.
Notation "x <- e1 ; e2" := (match e1 with Notation "x <- e1 ; e2" := (match e1 with
| Unknown => ?? | Unknown => ??
...@@ -60,7 +60,7 @@ Notation "x <- e1 ; e2" := (match e1 with ...@@ -60,7 +60,7 @@ Notation "x <- e1 ; e2" := (match e1 with
(right associativity, at level 60) : specif_scope. (right associativity, at level 60) : specif_scope.
Notation "!!" := (inright _ _) : specif_scope. Notation "!!" := (inright _ _) : specif_scope.
Notation "[[[ x ]]]" := (inleft _ [x]) : specif_scope. Notation "[|| x ||]" := (inleft _ [x]) : specif_scope.
Notation "x <-- e1 ; e2" := (match e1 with Notation "x <-- e1 ; e2" := (match e1 with
| inright _ => !! | inright _ => !!
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment