Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpdt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
research
cpdt
Commits
b5b821de
Commit
b5b821de
authored
Oct 05, 2011
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass over Subset
parent
a39a0883
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
114 additions
and
90 deletions
+114
-90
MoreDep.v
src/MoreDep.v
+1
-1
MoreSpecif.v
src/MoreSpecif.v
+3
-3
Subset.v
src/Subset.v
+110
-86
No files found.
src/MoreDep.v
View file @
b5b821de
...
...
@@ -993,7 +993,7 @@ Lemma substring_suffix_emp : forall s n m,
substring
n
m
s
=
""
->
m
>
0
->
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
.
Hint
Rewrite
substring_stack
substring_stack
'
substring_suffix
...
...
src/MoreSpecif.v
View file @
b5b821de
(
*
Copyright
(
c
)
2008
,
Adam
Chlipala
(
*
Copyright
(
c
)
2008
,
2011
,
Adam
Chlipala
*
*
This
work
is
licensed
under
a
*
Creative
Commons
Attribution
-
Noncommercial
-
No
Derivative
Works
3.0
...
...
@@ -51,7 +51,7 @@ Inductive maybe (A : Set) (P : A -> Prop) : Set :=
Notation
"{{ x | P }}"
:=
(
maybe
(
fun
x
=>
P
))
:
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
|
Unknown
=>
??
...
...
@@ -60,7 +60,7 @@ Notation "x <- e1 ; e2" := (match e1 with
(
right
associativity
,
at
level
60
)
:
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
|
inright
_
=>
!!
...
...
src/Subset.v
View file @
b5b821de
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment