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
Abhishek Anand
Iris
Commits
00b874ce
Commit
00b874ce
authored
6 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
ofe_funC_ofe_discrete and ofe_funR_cmra_discrete.
parent
43416360
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/algebra/functions.v
+8
-0
8 additions, 0 deletions
theories/algebra/functions.v
with
8 additions
and
0 deletions
theories/algebra/functions.v
+
8
−
0
View file @
00b874ce
...
...
@@ -17,6 +17,10 @@ Section ofe.
Implicit
Types
x
:
A
.
Implicit
Types
f
g
:
ofe_fun
B
.
Global
Instance
ofe_funC_ofe_discrete
:
(
∀
i
,
OfeDiscrete
(
B
i
))
→
OfeDiscrete
(
ofe_funC
B
)
.
Proof
.
intros
HB
f
f'
Heq
i
.
apply
HB
,
Heq
.
Qed
.
(** Properties of ofe_fun_insert. *)
Global
Instance
ofe_fun_insert_ne
x
:
NonExpansive2
(
ofe_fun_insert
(
B
:=
B
)
x
)
.
...
...
@@ -52,6 +56,10 @@ Section cmra.
Implicit
Types
x
:
A
.
Implicit
Types
f
g
:
ofe_fun
B
.
Global
Instance
ofe_funR_cmra_discrete
:
(
∀
i
,
CmraDiscrete
(
B
i
))
→
CmraDiscrete
(
ofe_funR
B
)
.
Proof
.
intros
HB
.
split
;
[
apply
_|]
.
intros
x
Hv
i
.
apply
HB
,
Hv
.
Qed
.
Global
Instance
ofe_fun_singleton_ne
x
:
NonExpansive
(
ofe_fun_singleton
x
:
B
x
→
_)
.
Proof
.
intros
n
y1
y2
?;
apply
ofe_fun_insert_ne
.
done
.
by
apply
equiv_dist
.
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