You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+85-1Lines changed: 85 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,90 @@ problem, suitable parameters are given as properties to the logic specification:
37
37
|`$$pal`|_none_||
38
38
|`$$ddl`|`$$system`| Selects which DDL logic system is employed: Carmo and Jones or Åqvist's system E.<br><br>Accepted values: `$$carmoJones` or `$$aqvistE`|
39
39
40
+
### Examples
41
+
42
+
#### Logic `$modal`
43
+
The so-called Barcan formula is a modal logic formula that is valid if and only if the quantification domain of the underlying first-order
This example encodes that (a1) you ought to go and help your neighbor, (a2) if you go then you ought to tell him/her that you are coming,
93
+
and (a3) if you don't go, then you ought not tell him/her. It can consistently be inferred that, if you actually don't go, then you ought not
94
+
tell.
95
+
96
+
### Extended specifications
97
+
98
+
#### Modal logic `$modal`
99
+
100
+
Multiple modal operators are defined like ...
101
+
```
102
+
thf(advanced,logic,(
103
+
$modal ==
104
+
[ $constants == $rigid,
105
+
$quantification == $cumulative,
106
+
$modalities ==
107
+
[ $modal_system_S5,
108
+
[#a] == $modal_system_KB,
109
+
[#b] == $modal_system_K ] ] )).
110
+
```
111
+
Here box operator a is system KB, box operator b is K. Of course, also lists of axiom schemes can be used. All further modal operators are S5 (if existent).
112
+
113
+
Distinct quantification semantics for each type are defined like ...
114
+
```
115
+
thf(quantification,logic,(
116
+
$modal ==
117
+
[ $constants == $rigid,
118
+
$quantification ==
119
+
[ $constant,
120
+
human_type == $varying ],
121
+
$modalities == $modal_system_S5 ] )).
122
+
```
123
+
Here, every quantification over variables of type `human_type` are varying domain, all others constant domain.
0 commit comments