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
ff41b98a
Commit
ff41b98a
authored
6 years ago
by
Dan Frumin
Browse files
Options
Downloads
Patches
Plain Diff
clarify text further
parent
29c117af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/proofmode/modalities.v
+9
-6
9 additions, 6 deletions
theories/proofmode/modalities.v
with
9 additions
and
6 deletions
theories/proofmode/modalities.v
+
9
−
6
View file @
ff41b98a
...
@@ -7,9 +7,9 @@ Import bi.
...
@@ -7,9 +7,9 @@ Import bi.
instantiated with a variety of modalities.
instantiated with a variety of modalities.
For the purpose of MoSeL, a modality is a mapping of propositions
For the purpose of MoSeL, a modality is a mapping of propositions
`M : PROP1 → PROP2` (where `PROP1` and `PROP2` are BI-algebras
)
`M : PROP1 → PROP2` (where `PROP1` and `PROP2` are BI-algebras
, although usually
that is monotone and distributes over finite products.
Specifically,
it is the same algebra)
that is monotone and distributes over finite products.
the following rules have to be satisfied:
Specifically,
the following rules have to be satisfied:
P ⊢ Q emp ⊢ M emp
P ⊢ Q emp ⊢ M emp
----------
----------
...
@@ -41,9 +41,12 @@ To instantiate the modality you have to define: 1) a mixin `modality_mixin`,
...
@@ -41,9 +41,12 @@ To instantiate the modality you have to define: 1) a mixin `modality_mixin`,
For examples consult `modality_id` at the end of this file, or the instances
For examples consult `modality_id` at the end of this file, or the instances
in the `modality_instances.v` file.
in the `modality_instances.v` file.
Note that in MoSeL modality can map the propositions between two different BI-algebras.
Note that in MoSeL modalities can map the propositions between two different
For instance, the <affine> modality maps propositions of an arbitrary BI-algebra into
BI-algebras. Most of the modalities in Iris operate on the same type of
the sub-BI-algebra of affine propositions.
assertions. For example, the <affine> modality can potentially maps propositions
of an arbitrary BI-algebra into the sub-BI-algebra of affine propositions, but
it is implemented as an endomapping. On the other hand, the embedding modality
⎡-⎤ is a mapping between propositions of different BI-algebras.
*)
*)
Inductive
modality_action
(
PROP1
:
bi
)
:
bi
→
Type
:=
Inductive
modality_action
(
PROP1
:
bi
)
:
bi
→
Type
:=
...
...
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