| ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
First-Order FormulasFormulas are built from tokens: variables, function symbols and predicate symbols, with the help of the propositional connectives, quantifiers and parentheses. You can also use Church's dot to group subformulas. We adopt the following notation (in parentheses, alternative names for connectives are shown):
Every token is an arbitrary sequence of latin letters, digits and underscores. Case is significant. Every token that occurs in some term and is not bound by a quantifier is considered as a constant. Here are examples of well-formed formulas:
First-Order TextsFirst-order texts accepted by SAD are sequences of dot-terminated first-order formulas. Note that we use the same character for Church's dot as this is unambiguous for well-formed formulas. Formulas preceded by colon are goals and verifier tries to deduce them from the precedent formulas. If a goal is verified, it becomes an assumption for the following goals. Otherwise, the system stops. If a text ends with a colon, falsum is taken as a final goal. This can be used to search for a refutation of a set of formulas. Note that one-goal first-order sequents are thus valid texts. If you want to prove a sequent P1, P2, P3 -> G write P1. P2. P3. : G. One-line comments starting with '#' can be used. Here is an example of a well-formed first-order text:
ForTheL texts
A ForTheL text is a sequence of sections, phrases, and special constructs
like pattern introductors. Phrases are either assumptions (then they begin
with "let" or "assume") or affirmations. Sections may be
composed from sections of a lower level and phrases. Top-level sections
are axioms, definitions, and propositions. Any top-level section is a sequence
of assumptions finished by an affirmation. The affirmation of a proposition
or an axiom may be an arbitrary ForTheL statement, whereas the affirmation
of a definition must have one of several fixed forms. Low-level sections are
proofs, proof blocks and proof cases. Any low-level section is a sequence of
assumptions, low-level sections, and affirmations, finished by an affirmation.
The grammar of a ForTheL-phrase imitates the grammar of an English sentence.
Phrases are built with nouns which denote notions (classes) or functions,
with verbs and adjectives which denote predicates, with prepositions and
conjunctions which define the logical meaning of a complex sentence.
Here is a simple ForTheL-affirmation:
"Every closed subset of every compact set is compact."
To know more about ForTheL, see the Reference Manual
(gzipped PS or
PDF) and
examples of theorems and
texts.
One of those texts is given below
(try this example).
| ||||||||||||||||||||||||
|