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
George Pirlea
Iris
Commits
6b1af5f3
Commit
6b1af5f3
authored
Feb 27, 2018
by
Robbert Krebbers
Browse files
Comment about `FromModal`.
parent
1b0c3ebc
Changes
1
Show whitespace changes
Inline
Side-by-side
theories/proofmode/classes.v
View file @
6b1af5f3
...
@@ -229,6 +229,10 @@ Section modality1.
...
@@ -229,6 +229,10 @@ Section modality1.
Qed
.
Qed
.
End
modality1
.
End
modality1
.
(** The [FromModal M P Q] class is used by the [iModIntro] tactic to transform
a goal [P] into a modality [M] and proposition [Q].
The input is [P] and the outputs are [M] and [Q]. *)
Class
FromModal
{
PROP1
PROP2
:
bi
}
Class
FromModal
{
PROP1
PROP2
:
bi
}
(
M
:
modality
PROP1
PROP2
)
(
P
:
PROP2
)
(
Q
:
PROP1
)
:
=
(
M
:
modality
PROP1
PROP2
)
(
P
:
PROP2
)
(
Q
:
PROP1
)
:
=
from_modal
:
M
Q
⊢
P
.
from_modal
:
M
Q
⊢
P
.
...
...
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