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
Pierre Roux
Iris
Commits
e4746602
Commit
e4746602
authored
4 years ago
by
Simon Friis Vindum
Browse files
Options
Downloads
Patches
Plain Diff
Enforce fraction naming conventions with implicit types
parent
ef6a2f61
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
iris/algebra/auth.v
+3
-1
3 additions, 1 deletion
iris/algebra/auth.v
iris/algebra/lib/gset_bij.v
+1
-0
1 addition, 0 deletions
iris/algebra/lib/gset_bij.v
iris/algebra/view.v
+5
-3
5 additions, 3 deletions
iris/algebra/view.v
with
9 additions
and
4 deletions
iris/algebra/auth.v
+
3
−
1
View file @
e4746602
From
iris
.
algebra
Require
Export
view
.
From
iris
.
algebra
Require
Export
view
frac
.
From
iris
.
algebra
Require
Import
proofmode_classes
big_op
.
From
iris
.
prelude
Require
Import
options
.
...
...
@@ -86,6 +86,8 @@ Section auth.
Context
{
A
:
ucmra
}
.
Implicit
Types
a
b
:
A
.
Implicit
Types
x
y
:
auth
A
.
Implicit
Types
q
:
frac
.
Implicit
Types
dq
:
dfrac
.
Global
Instance
auth_auth_ne
dq
:
NonExpansive
(
@
auth_auth
A
dq
)
.
Proof
.
rewrite
/
auth_auth
.
apply
_
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/lib/gset_bij.v
+
1
−
0
View file @
e4746602
...
...
@@ -114,6 +114,7 @@ Section gset_bij.
Context
`{
Countable
A
,
Countable
B
}
.
Implicit
Types
(
a
:
A
)
(
b
:
B
)
.
Implicit
Types
(
L
:
gset
(
A
*
B
))
.
Implicit
Types
dq
:
dfrac
.
Global
Instance
gset_bij_elem_core_id
a
b
:
CoreId
(
gset_bij_elem
a
b
)
.
Proof
.
apply
_
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
iris/algebra/view.v
+
5
−
3
View file @
e4746602
From
iris
.
algebra
Require
Export
updates
local_updates
dfrac
agree
.
From
iris
.
algebra
Require
Export
updates
local_updates
frac
dfrac
agree
.
From
iris
.
algebra
Require
Import
proofmode_classes
big_op
.
From
iris
.
prelude
Require
Import
options
.
...
...
@@ -151,6 +151,8 @@ Section cmra.
Implicit
Types
ag
:
option
(
dfrac
*
agree
A
)
.
Implicit
Types
b
:
B
.
Implicit
Types
x
y
:
view
rel
.
Implicit
Types
q
:
frac
.
Implicit
Types
dq
:
dfrac
.
Global
Instance
view_auth_ne
dq
:
NonExpansive
(
@
view_auth
A
B
rel
dq
)
.
Proof
.
solve_proper
.
Qed
.
...
...
@@ -390,9 +392,9 @@ Section cmra.
●
V
{
dq1
}
a1
≼
{
n
}
●
V
{
dq2
}
a2
⋅
◯
V
b
↔
(
dq1
≼
dq2
∨
dq1
=
dq2
)
∧
a1
≡
{
n
}
≡
a2
.
Proof
.
split
.
-
intros
[[[[
qf
agf
]|]
bf
]
-
intros
[[[[
d
qf
agf
]|]
bf
]
[[?
%
(
discrete_iff
_
_)
?]
%
(
inj
Some
)
_]];
simplify_eq
/=.
+
split
;
[
left
;
apply
cmra_included_l
|]
.
apply
to_agree_includedN
.
by
exists
agf
.
+
split
;
[
left
;
apply
(
cmra_included_l
dq1
)
|]
.
apply
to_agree_includedN
.
by
exists
agf
.
+
split
;
[
right
;
done
|]
.
by
apply
(
inj
to_agree
)
.
-
intros
[[[?
->
]|
->
]
->
]
.
+
rewrite
view_auth_dfrac_op
-
assoc
.
apply
cmra_includedN_l
.
...
...
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