| 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.FOL
Description
This module provides the specification of first-order logic, i.e. its operators, rules and some examples. This module extends Specification.Prop
Synopsis
- operatorsFOL :: [(Text, Text, Int)]
- infixPredsFOL :: [(Text, Text)]
- quantifiersFOL :: [(Text, Text)]
- rulesFOL :: [(Text, RuleSpec)]
- exampleProofsFOL :: [(Text, Proof)]
- initialModelFOL :: URI -> Maybe Proof -> Maybe Bool -> Bool -> Model
Documentation
operatorsFOL :: [(Text, Text, Int)] Source #
Operators of first-order 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.
Operators are inherited from operatorsProp.
infixPredsFOL :: [(Text, Text)] Source #
Infix predicates of first-order logic.
Each entry is a pair (alias, predicate), where alias is ASCII text
the parser also accepts.
quantifiersFOL :: [(Text, Text)] Source #
Quantifiers of first-order logic.
Each entry is a pair (alias, quantifier), where alias is ASCII text
the parser also accepts and quantifier is a unicode symbol.
rulesFOL :: [(Text, RuleSpec)] Source #
The standard Fitch-style natural deduction rules for first-order logic.
Extends rulesProp with rules for ∀, ∃ and =.
exampleProofsFOL :: [(Text, Proof)] Source #
A list of example Proofs shown in the sidebar, each paired with a display name.