title | author | header-includes | |||
---|---|---|---|---|---|
Curious OCaml |
Lukasz Stafiniak |
|
What logical connectives do you know?
truth | falsehood | conjunction | disjunction | implication |
"trivial" | "impossible" |
|
|
|
shouldn't get | got both | got at least one | given |
How can we define them? Think in terms of derivation trees:
To define the connectives, we provide rules for using them: for example, a rule
Introduction rules say how to produce a connective. Elimination rules say how to use it. Text in parentheses is comments. Letters are variables: stand for anything.