Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Simon Spies
examples
Commits
918aa45d
Commit
918aa45d
authored
Aug 14, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more lemmas moved
parent
66d82e37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
opam
opam
+1
-1
theories/logatom/herlihy_wing_queue/hwq.v
theories/logatom/herlihy_wing_queue/hwq.v
+0
-6
No files found.
opam
View file @
918aa45d
...
...
@@ -9,6 +9,6 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-rf" "%{lib}%/coq/user-contrib/iris_examples"]
depends: [
"coq-iris" { (= "dev.2019-08-1
3.5.c1d6ef7f
") | (= "dev") }
"coq-iris" { (= "dev.2019-08-1
4.0.ffccb508
") | (= "dev") }
"coq-autosubst" { = "dev.coq86" }
]
theories/logatom/herlihy_wing_queue/hwq.v
View file @
918aa45d
...
...
@@ -9,12 +9,6 @@ From iris.bi.lib Require Import fractional.
From
iris_examples
.
logatom
.
herlihy_wing_queue
Require
Import
spec
.
Set
Default
Proof
Using
"Type"
.
(** * Some library lemmas ***************************************************)
Lemma
replicate_S_end
{
A
}
(
n
:
nat
)
(
x
:
A
)
:
replicate
(
S
n
)
x
=
replicate
n
x
++
[
x
].
Proof
.
induction
n
as
[|
n
IH
]
;
[
done
|
by
rewrite
/=
-
IH
].
Qed
.
(** * Some array-related notations ******************************************)
Notation
"new_array: sz"
:
=
...
...
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