Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
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
Iris
stdpp
Commits
64df1cb3
Commit
64df1cb3
authored
1 year ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Tweak line breaks.
parent
93b18524
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!524
remove 'wf' alias for the standard 'well_founded'
Pipeline
#91182
passed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
stdpp/well_founded.v
+4
-2
4 additions, 2 deletions
stdpp/well_founded.v
with
4 additions
and
2 deletions
stdpp/well_founded.v
+
4
−
2
View file @
64df1cb3
...
...
@@ -13,7 +13,8 @@ reach implementation limits before running into the opaque [well_founded] proof.
This trick is originally due to Georges Gonthier, see
https://sympa.inria.fr/sympa/arc/coq-club/2007-07/msg00013.html *)
Definition
wf_guard
`{
R
:
relation
A
}
(
n
:
nat
)
(
wfR
:
well_founded
R
)
:
well_founded
R
:=
Definition
wf_guard
`{
R
:
relation
A
}
(
n
:
nat
)
(
wfR
:
well_founded
R
)
:
well_founded
R
:=
Acc_intro_generator
n
wfR
.
(* Generally we do not want [wf_guard] to be expanded (neither by tactics,
...
...
@@ -41,7 +42,8 @@ Lemma Fix_F_proper `{R : relation A} (B : A → Type) (E : ∀ x, relation (B x)
E
_
(
Fix_F
B
F
acc1
)
(
Fix_F
B
F
acc2
)
.
Proof
.
revert
x
acc1
acc2
.
fix
FIX
2
.
intros
x
[
acc1
]
[
acc2
];
simpl
;
auto
.
Qed
.
Lemma
Fix_unfold_rel
`{
R
:
relation
A
}
(
wfR
:
well_founded
R
)
(
B
:
A
→
Type
)
(
E
:
∀
x
,
relation
(
B
x
))
Lemma
Fix_unfold_rel
`{
R
:
relation
A
}
(
wfR
:
well_founded
R
)
(
B
:
A
→
Type
)
(
E
:
∀
x
,
relation
(
B
x
))
(
F
:
∀
x
,
(
∀
y
,
R
y
x
→
B
y
)
→
B
x
)
(
HF
:
∀
(
x
:
A
)
(
f
g
:
∀
y
,
R
y
x
→
B
y
),
(
∀
y
Hy
Hy'
,
E
_
(
f
y
Hy
)
(
g
y
Hy'
))
→
E
_
(
F
x
f
)
(
F
x
g
))
...
...
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