Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
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
Gaëtan Gilbert
Iris
Commits
f7b4fa56
Commit
f7b4fa56
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix Proof Using warnings
parent
17eb4ec8
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
theories/algebra/ofe.v
+5
-7
5 additions, 7 deletions
theories/algebra/ofe.v
with
5 additions
and
7 deletions
theories/algebra/ofe.v
+
5
−
7
View file @
f7b4fa56
...
@@ -442,13 +442,11 @@ End fixpointK.
...
@@ -442,13 +442,11 @@ End fixpointK.
(** Mutual fixpoints *)
(** Mutual fixpoints *)
Section
fixpointAB
.
Section
fixpointAB
.
Local
Unset
Default
Proof
Using
.
Context
`{
Cofe
A
,
Cofe
B
,
!
Inhabited
A
,
!
Inhabited
B
}
.
Context
`{
Cofe
A
,
Cofe
B
,
!
Inhabited
A
,
!
Inhabited
B
}
.
Context
(
fA
:
A
→
B
→
A
)
.
Context
(
fA
:
A
→
B
→
A
)
.
Context
(
fB
:
A
→
B
→
B
)
.
Context
(
fB
:
A
→
B
→
B
)
.
Context
`
{
∀
n
,
Proper
(
dist_later
n
==>
dist
n
==>
dist
n
)
fA
}
.
Context
{
fA_contractive
:
∀
n
,
Proper
(
dist_later
n
==>
dist
n
==>
dist
n
)
fA
}
.
Context
`
{
∀
n
,
Proper
(
dist_later
n
==>
dist_later
n
==>
dist
n
)
fB
}
.
Context
{
fB_contractive
:
∀
n
,
Proper
(
dist_later
n
==>
dist_later
n
==>
dist
n
)
fB
}
.
Local
Definition
fixpoint_AB
(
x
:
A
)
:
B
:=
fixpoint
(
fB
x
)
.
Local
Definition
fixpoint_AB
(
x
:
A
)
:
B
:=
fixpoint
(
fB
x
)
.
Local
Instance
fixpoint_AB_contractive
:
Contractive
fixpoint_AB
.
Local
Instance
fixpoint_AB_contractive
:
Contractive
fixpoint_AB
.
...
@@ -459,7 +457,7 @@ Section fixpointAB.
...
@@ -459,7 +457,7 @@ Section fixpointAB.
Local
Definition
fixpoint_AA
(
x
:
A
)
:
A
:=
fA
x
(
fixpoint_AB
x
)
.
Local
Definition
fixpoint_AA
(
x
:
A
)
:
A
:=
fA
x
(
fixpoint_AB
x
)
.
Local
Instance
fixpoint_AA_contractive
:
Contractive
fixpoint_AA
.
Local
Instance
fixpoint_AA_contractive
:
Contractive
fixpoint_AA
.
Proof
.
solve_contractive
.
Qed
.
Proof
using
fA_contractive
.
solve_contractive
.
Qed
.
Definition
fixpoint_A
:
A
:=
fixpoint
fixpoint_AA
.
Definition
fixpoint_A
:
A
:=
fixpoint
fixpoint_AA
.
Definition
fixpoint_B
:
B
:=
fixpoint_AB
fixpoint_A
.
Definition
fixpoint_B
:
B
:=
fixpoint_AB
fixpoint_A
.
...
@@ -470,11 +468,11 @@ Section fixpointAB.
...
@@ -470,11 +468,11 @@ Section fixpointAB.
Proof
.
by
rewrite
{
2
}
/
fixpoint_B
/
fixpoint_AB
(
fixpoint_unfold
_)
.
Qed
.
Proof
.
by
rewrite
{
2
}
/
fixpoint_B
/
fixpoint_AB
(
fixpoint_unfold
_)
.
Qed
.
Instance
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
fA
.
Instance
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
fA
.
Proof
.
Proof
using
fA_contractive
.
apply
ne_proper_2
=>
n
x
x'
?
y
y'
?
.
f_contractive
;
auto
using
dist_S
.
apply
ne_proper_2
=>
n
x
x'
?
y
y'
?
.
f_contractive
;
auto
using
dist_S
.
Qed
.
Qed
.
Instance
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
fB
.
Instance
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
))
fB
.
Proof
.
Proof
using
fB_contractive
.
apply
ne_proper_2
=>
n
x
x'
?
y
y'
?
.
f_contractive
;
auto
using
dist_S
.
apply
ne_proper_2
=>
n
x
x'
?
y
y'
?
.
f_contractive
;
auto
using
dist_S
.
Qed
.
Qed
.
...
...
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