Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ralf Jung
Iris
Commits
45014bab
Commit
45014bab
authored
May 11, 2021
by
Jacques-Henri Jourdan
Browse files
Merge branch 'patch-dist-functional-notations' into 'master'
Add functional notations for `dist` See merge request
iris/iris!671
parents
98b90f13
0bcf7554
Changes
1
Hide whitespace changes
Inline
Side-by-side
iris/algebra/ofe.v
View file @
45014bab
...
...
@@ -18,6 +18,10 @@ Notation "x ≡{ n }≡ y" := (dist n x y)
(
at
level
70
,
n
at
next
level
,
format
"x ≡{ n }≡ y"
).
Notation
"x ≡{ n }@{ A }≡ y"
:
=
(
dist
(
A
:
=
A
)
n
x
y
)
(
at
level
70
,
n
at
next
level
,
only
parsing
).
Notation
"(≡{ n }≡)"
:
=
(
dist
n
)
(
only
parsing
).
Notation
"(≡{ n }@{ A }≡)"
:
=
(
dist
(
A
:
=
A
)
n
)
(
only
parsing
).
Notation
"( x ≡{ n }≡.)"
:
=
(
dist
n
x
)
(
only
parsing
).
Notation
"(.≡{ n }≡ y )"
:
=
(
λ
x
,
x
≡
{
n
}
≡
y
)
(
only
parsing
).
Global
Hint
Extern
0
(
_
≡
{
_
}
≡
_
)
=>
reflexivity
:
core
.
Global
Hint
Extern
0
(
_
≡
{
_
}
≡
_
)
=>
symmetry
;
assumption
:
core
.
...
...
Write
Preview
Supports
Markdown
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