Operator reference¶
Each logic class implements as many operators that make sense for it as possible. They have standardized names, signatures and semantics as follows.
Note that the symbols shown are the operators as you would invoke them in Python, not the actual operators in logic.
Optional¶
strong_conjunction: Strong conjunction; not (a implies (not b))strong_disjunction: Strong disjunction; (not a) implies bdiamond: Modal diamond; (not a) implies abox: Modal box; not diamond(not a)doubtful: a equivalent to (not a)gullibility: a if a is equivalent to b, uncertain otherwiseconsensus: a if a is equivalent to b; the other input if an input is uncertain, uncertain otherwise
Truth table for boolean logic¶
|
|
|
|
|
|
|
|
|
|
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
T |
T |
T |
T |
F |
T |
T |
F |
F |
F |
T |
F |
T |
F |
F |
T |
F |
F |
F |
F |
T |
T |
T |
F |
F |
T |
F |
T |
T |
T |
F |
F |
T |
F |
F |
T |
F |
F |
F |
F |
T |
T |
T |
T |
T |
F |
T |
F |