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
stdpp
Commits
bfebb1e6
Commit
bfebb1e6
authored
Jun 25, 2019
by
Simon Spies
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Notation in seqZ definition
parent
3d6ed210
Pipeline
#17943
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
theories/list.v
theories/list.v
+1
-1
No files found.
theories/list.v
View file @
bfebb1e6
...
...
@@ -396,7 +396,7 @@ Definition positives_unflatten (p : positive) : option (list positive) :=
(** [seqZ m n] generates the sequence [m], [m + 1], ..., [m + n - 1] over integers, provided [n >= 0]. If n < 0, then the range is empty. **)
Definition seqZ (m len: Z) :
= (fun
x: nat
=>
Z.add x m) <$> (seq 0 (Z.to_nat len)).
Definition seqZ (m len: Z) :
list Z := (λ
x: nat
,
Z.add x m) <$> (seq 0 (Z.to_nat len)).
Arguments seqZ : simpl never.
...
...
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