Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tej Chajed
iris
Commits
6eab58d9
Commit
6eab58d9
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make coqchk happy with prelude.pretty
parent
ebb51092
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
prelude/pretty.v
+6
-1
6 additions, 1 deletion
prelude/pretty.v
with
6 additions
and
1 deletion
prelude/pretty.v
+
6
−
1
View file @
6eab58d9
...
...
@@ -37,6 +37,9 @@ Proof.
by
destruct
(
decide
(
0
<
x
)
%
N
);
auto
using
pretty_N_go_help_irrel
.
Qed
.
Instance
pretty_N
:
Pretty
N
:=
λ
x
,
pretty_N_go
x
""
%
string
.
Lemma
pretty_N_unfold
x
:
pretty
x
=
pretty_N_go
x
""
.
Proof
.
done
.
Qed
.
Instance
pretty_N_inj
:
Inj
(
@
eq
N
)
(
=
)
pretty
.
Proof
.
assert
(
∀
x
y
,
x
<
10
→
y
<
10
→
...
...
@@ -44,7 +47,9 @@ Proof.
{
compute
;
intros
.
by
repeat
(
discriminate
||
case_match
)
.
}
cut
(
∀
x
y
s
s'
,
pretty_N_go
x
s
=
pretty_N_go
y
s'
→
String
.
length
s
=
String
.
length
s'
→
x
=
y
∧
s
=
s'
)
.
{
intros
help
x
y
?
.
eapply
help
;
eauto
.
}
{
intros
help
x
y
Hp
.
eapply
(
help
x
y
""
""
);
[
by
rewrite
<-!
pretty_N_unfold
|]
.
eauto
.
}
assert
(
∀
x
s
,
¬
String
.
length
(
pretty_N_go
x
s
)
<
String
.
length
s
)
as
help
.
{
setoid_rewrite
<-
Nat
.
le_ngt
.
intros
x
;
induction
(
N
.
lt_wf_0
x
)
as
[
x
_
IH
];
intros
s
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment