Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
97
Issues
97
List
Boards
Labels
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
752d27aa
Commit
752d27aa
authored
Jan 16, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hints for reflexivity also on goals that are not identical.
parent
13680b70
Changes
4
Hide whitespace changes
Inline
Sidebyside
Showing
4 changed files
with
5 additions
and
5 deletions
+5
5
modures/cmra.v
modures/cmra.v
+1
1
modures/cofe.v
modures/cofe.v
+1
1
modures/ra.v
modures/ra.v
+1
1
prelude/base.v
prelude/base.v
+2
2
No files found.
modures/cmra.v
View file @
752d27aa
...
@@ 8,7 +8,7 @@ Definition includedN `{Dist A, Op A} (n : nat) (x y : A) := ∃ z, y ={n}= x ⋅
...
@@ 8,7 +8,7 @@ Definition includedN `{Dist A, Op A} (n : nat) (x y : A) := ∃ z, y ={n}= x ⋅
Notation
"x ≼{ n } y"
:
=
(
includedN
n
x
y
)
Notation
"x ≼{ n } y"
:
=
(
includedN
n
x
y
)
(
at
level
70
,
format
"x ≼{ n } y"
)
:
C_scope
.
(
at
level
70
,
format
"x ≼{ n } y"
)
:
C_scope
.
Instance
:
Params
(@
includedN
)
4
.
Instance
:
Params
(@
includedN
)
4
.
Hint
Extern
0
(
?x
≼
{
_
}
?
x
)
=>
reflexivity
.
Hint
Extern
0
(
?x
≼
{
_
}
?
y
)
=>
reflexivity
.
Record
CMRAMixin
A
Record
CMRAMixin
A
`
{
Dist
A
,
Equiv
A
,
Unit
A
,
Op
A
,
Valid
A
,
ValidN
A
,
Minus
A
}
:
=
{
`
{
Dist
A
,
Equiv
A
,
Unit
A
,
Op
A
,
Valid
A
,
ValidN
A
,
Minus
A
}
:
=
{
...
...
modures/cofe.v
View file @
752d27aa
...
@@ 5,7 +5,7 @@ Class Dist A := dist : nat → relation A.
...
@@ 5,7 +5,7 @@ Class Dist A := dist : nat → relation A.
Instance
:
Params
(@
dist
)
3
.
Instance
:
Params
(@
dist
)
3
.
Notation
"x ={ n }= y"
:
=
(
dist
n
x
y
)
Notation
"x ={ n }= y"
:
=
(
dist
n
x
y
)
(
at
level
70
,
n
at
next
level
,
format
"x ={ n }= y"
).
(
at
level
70
,
n
at
next
level
,
format
"x ={ n }= y"
).
Hint
Extern
0
(
?x
={
_
}=
?
x
)
=>
reflexivity
.
Hint
Extern
0
(
?x
={
_
}=
?
y
)
=>
reflexivity
.
Hint
Extern
0
(
_
={
_
}=
_
)
=>
symmetry
;
assumption
.
Hint
Extern
0
(
_
={
_
}=
_
)
=>
symmetry
;
assumption
.
Tactic
Notation
"cofe_subst"
ident
(
x
)
:
=
Tactic
Notation
"cofe_subst"
ident
(
x
)
:
=
...
...
modures/ra.v
View file @
752d27aa
...
@@ 16,7 +16,7 @@ Notation "(⋅)" := op (only parsing) : C_scope.
...
@@ 16,7 +16,7 @@ Notation "(⋅)" := op (only parsing) : C_scope.
Definition
included
`
{
Equiv
A
,
Op
A
}
(
x
y
:
A
)
:
=
∃
z
,
y
≡
x
⋅
z
.
Definition
included
`
{
Equiv
A
,
Op
A
}
(
x
y
:
A
)
:
=
∃
z
,
y
≡
x
⋅
z
.
Infix
"≼"
:
=
included
(
at
level
70
)
:
C_scope
.
Infix
"≼"
:
=
included
(
at
level
70
)
:
C_scope
.
Notation
"(≼)"
:
=
included
(
only
parsing
)
:
C_scope
.
Notation
"(≼)"
:
=
included
(
only
parsing
)
:
C_scope
.
Hint
Extern
0
(
?x
≼
?
x
)
=>
reflexivity
.
Hint
Extern
0
(
?x
≼
?
y
)
=>
reflexivity
.
Instance
:
Params
(@
included
)
3
.
Instance
:
Params
(@
included
)
3
.
Class
Minus
(
A
:
Type
)
:
=
minus
:
A
→
A
→
A
.
Class
Minus
(
A
:
Type
)
:
=
minus
:
A
→
A
→
A
.
...
...
prelude/base.v
View file @
752d27aa
...
@@ 209,9 +209,9 @@ Instance: Params (@equiv) 2.
...
@@ 209,9 +209,9 @@ Instance: Params (@equiv) 2.
(for types that have an [Equiv] instance) rather than the standard Leibniz
(for types that have an [Equiv] instance) rather than the standard Leibniz
equality. *)
equality. *)
Instance
equiv_default_relation
`
{
Equiv
A
}
:
DefaultRelation
(
≡
)

3
.
Instance
equiv_default_relation
`
{
Equiv
A
}
:
DefaultRelation
(
≡
)

3
.
Hint
Extern
0
(
_
≡
_
)
=>
reflexivity
.
Hint
Extern
0
(
?x
≡
?y
)
=>
reflexivity
.
Hint
Extern
0
(
_
≡
_
)
=>
symmetry
;
assumption
.
Hint
Extern
0
(
_
≡
_
)
=>
symmetry
;
assumption
.
Hint
Extern
0
(
_
≡
{
_
}
_
)
=>
reflexivity
.
Hint
Extern
0
(
?x
≡
{
_
}
?y
)
=>
reflexivity
.
Hint
Extern
0
(
_
≡
{
_
}
_
)
=>
symmetry
;
assumption
.
Hint
Extern
0
(
_
≡
{
_
}
_
)
=>
symmetry
;
assumption
.
(** ** Operations on collections *)
(** ** Operations on collections *)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment