Notes From CS Undergrad Courses FSU
This project is maintained by awa03
A formal logic system consists of:
Theorems consist of all expressions that can be derived from the axioms and repeated applications of inference rules. It is customary to associate a formal logic system with semantics, which prescribe meaning for the expressions of the language, together with a means for determining if these are true or false.
Soundness/Consistency means that one cannot prove things are not true, and adequacy / completeness means that the axioms and rules are sufficient to prove everything true.
An inference rule is said to be valid in a given semantics if it only allows one to derive true conclusions from true premises.
If a formal system is sound and complete with respect to its semantics, then an inference rule will be formally valid if and only if it is semantically valid.
A proposition using the form '∨', is called a disjunction, and the P and Q are called disjuncts. A proposition using the for '∧' is called a conjunction, and P and Q are called conjunction. In the premise shown above P is the premise, or the antecedent. Q is the conclusion or consequent.
A proposition P is a tautology if v(P) = T for all truth value assignments of v.
Propositions are defined by propositional symbols, and the logical correctives should be able to be correctly applied to them. Nothing else is a proposition.
A proposition using the form $P \lor Q$ is called a disjunction, and P and Q are disjuncts. A proposition using the form $P \land Q$ is called are called conjuncts. In an implication $P \implies Q$, P is the premise or the antecedent and Q is the conclusion or consequence. Propositions may also be refereed to as well-formed formulas.
A proposition is a tautology if no matter the truth values occurring in $v(P) = T$, this means for pT and pF the proposition is true.
If the weather is rainy we can express this through the predicate weather(tuesday, rain)
. Through inference rules we can manipulate predicate calculus expressions, accessing their individual components and inferring new sentences. Predicate calculus can also contain variables. We will adopt the syntax used in prolog.
A term is considered to be closed if it does not contain variable symbols. A term of this kind that involves a function symbol may be called a function expression and the number n is refereed to as the symbols arity. These are also known as first order formulas.
We can overload the likes operation through using the $\forall$ operator. This symbol is known as the universal quantifier. The symbol $\exists$ is known as the existential qualifier.
An interpretation for a first order language L consists of:
Constant symbols are used to represent individual objects in some domain of discourse, variable symbols are taken to a range of subsets.