| Copyright | (c) Leon Vatthauer 2026 |
|---|---|
| License | GPL-3 |
| Maintainer | Leon Vatthauer <leon.vatthauer@fau.de> |
| Stability | experimental |
| Portability | non-portable (ghc-wasm-meta) |
| Safe Haskell | None |
| Language | GHC2024 |
Specification.Prop
Description
This module provides the specification of propositional logic, i.e. its operators, rules and some examples.
Documentation
operatorsProp :: [(Text, Text, Int)] Source #
Operators of propositional logic.
Each entry is a triple (alias, operator, arity), where alias is
ASCII text the parser also accepts and the operator is usually a unicode symbol.
rulesProp :: [(Text, RuleSpec)] Source #
The standard Fitch-style natural deduction rules for propositional logic.
exampleProofsProp :: [(Text, Proof)] Source #
A list of example Proofs shown in the sidebar, each paired with a display name.