diff --git a/content/first-order-logic/axiomatic-deduction/axioms-rules-propositional.tex b/content/first-order-logic/axiomatic-deduction/axioms-rules-propositional.tex index c9e0eb0ce..1143aa58c 100644 --- a/content/first-order-logic/axiomatic-deduction/axioms-rules-propositional.tex +++ b/content/first-order-logic/axiomatic-deduction/axioms-rules-propositional.tex @@ -13,7 +13,7 @@ \olsection{Axioms and Rules for the Propositional Connectives} \begin{defn}[Axioms] -The set of $\PAx$ of \emph{axioms} for the propositional connectives comprises +The set $\PAx$ of \emph{axioms} for the propositional connectives comprises all !!{formula}s of the following forms: \begin{align} & (!A \land !B) \lif !A \ollabel{ax:land1}\\ diff --git a/content/first-order-logic/axiomatic-deduction/axioms-rules-quantifiers.tex b/content/first-order-logic/axiomatic-deduction/axioms-rules-quantifiers.tex index 046dd4b36..6f8ecc3b2 100644 --- a/content/first-order-logic/axiomatic-deduction/axioms-rules-quantifiers.tex +++ b/content/first-order-logic/axiomatic-deduction/axioms-rules-quantifiers.tex @@ -21,12 +21,14 @@ \end{defn} \begin{defn}[Rules for quantifiers] +\begin{enumerate} \item If $!B \lif !A(a)$ already occurs in the !!{derivation} and $a$ does not occur in~$\Gamma$ or~$!B$, then $!B \lif \lforall[x][!A(x)]$ is a correct inference step. \item If $!A(a) \lif !B$ already occurs in the !!{derivation} and $a$ does not occur in~$\Gamma$ or~$!B$, then $\lexists[x][!A(x)] \lif !B$ is a correct inference step. +\end{enumerate} \end{defn} We'll abbreviate either of these by ``\QR.'' diff --git a/content/first-order-logic/axiomatic-deduction/deduction-theorem-quantifiers.tex b/content/first-order-logic/axiomatic-deduction/deduction-theorem-quantifiers.tex index ee8b94137..943cc06f2 100644 --- a/content/first-order-logic/axiomatic-deduction/deduction-theorem-quantifiers.tex +++ b/content/first-order-logic/axiomatic-deduction/deduction-theorem-quantifiers.tex @@ -41,7 +41,7 @@ \intertext{Since the eigenvariable condition still applies, we can add a step to this !!{derivation} justified by \QR, and get} \Gamma & \Proves (!A \land !C) \lif \lforall[x][!D(x)].\\ \intertext{We also have} - & \Proves ((!A \land !C) \lif \lforall[x][!D(x)]) \lif (!A \lif (!C \lif \lforall[x][!D(x)]),\\ + & \Proves ((!A \land !C) \lif \lforall[x][!D(x)]) \lif (!A \lif (!C \lif \lforall[x][!D(x)])),\\ \intertext{so by modus ponens,} \Gamma & \Proves !A \lif (!C \lif \lforall[x][!D(x)]), \end{align*} diff --git a/content/first-order-logic/axiomatic-deduction/deduction-theorem.tex b/content/first-order-logic/axiomatic-deduction/deduction-theorem.tex index 2e2ee0130..e454359d1 100644 --- a/content/first-order-logic/axiomatic-deduction/deduction-theorem.tex +++ b/content/first-order-logic/axiomatic-deduction/deduction-theorem.tex @@ -104,7 +104,7 @@ \ollabel{prop:derivfacts} \begin{enumerate} \item $\Proves (!A \lif !B) \lif ((!B \lif !C) - \lif (!A \lif !C)$; \ollabel{derivfacts:a} + \lif (!A \lif !C))$; \ollabel{derivfacts:a} \item If $\Gamma \cup \{ \lnot !A\} \Proves \lnot !B$ then $\Gamma \cup \{ !B\} \Proves !A$ (Contraposition); \ollabel{derivfacts:b} diff --git a/content/first-order-logic/axiomatic-deduction/identity.tex b/content/first-order-logic/axiomatic-deduction/identity.tex index 82635689d..2a0c415f4 100644 --- a/content/first-order-logic/axiomatic-deduction/identity.tex +++ b/content/first-order-logic/axiomatic-deduction/identity.tex @@ -1,5 +1,5 @@ % Part: first-order-logic -% Chapter: axiomatic-proofs +% Chapter: axiomatic-deduction % Section: identity \documentclass[../../../include/open-logic-section]{subfiles} diff --git a/content/first-order-logic/axiomatic-deduction/provability-propositional.tex b/content/first-order-logic/axiomatic-deduction/provability-propositional.tex index 94086f3bf..db0feda28 100644 --- a/content/first-order-logic/axiomatic-deduction/provability-propositional.tex +++ b/content/first-order-logic/axiomatic-deduction/provability-propositional.tex @@ -30,7 +30,7 @@ \begin{proof} \begin{enumerate} - \item From \olref[prp]{ax:land1} and \olref[prp]{ax:land1} by + \item From \olref[prp]{ax:land1} and \olref[prp]{ax:land2} by modus ponens. \item From \olref[prp]{ax:land3} by two applications of modus ponens. @@ -47,7 +47,7 @@ \begin{proof} \begin{enumerate} - \item From \olref[prp]{ax:lnot1} we get $\Proves \lnot !A \lif (!A + \item From \olref[prp]{ax:lnot2} we get $\Proves \lnot !A \lif (!A \lif \lfalse)$ and $\Proves \lnot !B \lif (!B \lif \lfalse)$. So by the deduction theorem, we have $\{\lnot !A\} \Proves !A \lif \lfalse$ and $\{\lnot !B\} \Proves !B \lif \lfalse$. From @@ -55,7 +55,7 @@ \lor !B) \lif \lfalse$. By the deduction theorem, $\{!A \lor !B, \lnot !A, \lnot !B\} \Proves \lfalse$. \item From \olref[prp]{ax:lor1} and \olref[prp]{ax:lor2} by modus - ponsens. + ponens. \end{enumerate} \end{proof} diff --git a/content/first-order-logic/axiomatic-deduction/provability.tex b/content/first-order-logic/axiomatic-deduction/provability.tex index dced25942..de6d3ab4c 100644 --- a/content/first-order-logic/axiomatic-deduction/provability.tex +++ b/content/first-order-logic/axiomatic-deduction/provability.tex @@ -25,7 +25,7 @@ \begin{prop}\ollabel{prop:provability} $\Gamma \Proves !A$ if and only if $\Gamma\cup \{\lnot!A \}$ is inconsistent. \end{prop} -\begin{prop} \begin{enumerate} +\begin{prop}\ollabel{prop:provability-properties} \begin{enumerate} \item \ollabel{prop:provability-contr} If $\Gamma \Proves !A$ and $\Gamma \cup \{ !A\} \Proves \lfalse$, then $\Gamma$ is inconsistent. @@ -165,7 +165,7 @@ \end{proof} \begin{probtag}{probOr,probAnd,probIf} Complete the proof of -\olref[fol][axd][prv]{prop:provability}. +\olref[fol][axd][prv]{prop:provability-properties}. \end{probtag} \begin{thm}[Generalization] \ollabel{thm:Generalization} If $\Gamma \Proves diff --git a/content/first-order-logic/axiomatic-deduction/rules-and-proofs.tex b/content/first-order-logic/axiomatic-deduction/rules-and-proofs.tex index 29cce9257..18c6098a5 100644 --- a/content/first-order-logic/axiomatic-deduction/rules-and-proofs.tex +++ b/content/first-order-logic/axiomatic-deduction/rules-and-proofs.tex @@ -37,7 +37,7 @@ What counts as a correct !!{derivation} depends on which inference rules we allow (and of course what we take to be axioms). And an inference rule is an if-then statement that tells us that, under -certain conditions, a step~$A_i$ in !!a{derivation} is a correct +certain conditions, a step~$!A_i$ in !!a{derivation} is a correct inference step. \begin{defn}[Rule of inference] diff --git a/content/first-order-logic/axiomatic-deduction/soundness.tex b/content/first-order-logic/axiomatic-deduction/soundness.tex index ff619e701..70f8bb368 100644 --- a/content/first-order-logic/axiomatic-deduction/soundness.tex +++ b/content/first-order-logic/axiomatic-deduction/soundness.tex @@ -77,9 +77,9 @@ {\olref[pl][syn][sem]{thm:sem-deduction}}. \iftag{FOL}{Now suppose the last step is justified by -\QR. Then that step has the form $!C \lif \lforall[x][B(x)]$ and +\QR. Then that step has the form $!C \lif \lforall[x][!B(x)]$ and there is a preceding step $!C \lif !B(c)$ with $c$ not in $\Gamma$, -$!C$, or $\lforall[x][B(x)]$. By induction hypothesis, $\Gamma +$!C$, or $\lforall[x][!B(x)]$. By induction hypothesis, $\Gamma \Entails !C \lif !B(c)$. By \olref[syn][sem]{thm:sem-deduction}, $\Gamma \cup \{!C\} \Entails !B(c)$. @@ -90,11 +90,12 @@ for every variable assignment~$s$, $\Sat{M}{!B(x)}[s]$ (\olref[syn][ass]{prop:sat-quant}). Since $\Gamma \cup \{!C\}$ consists entirely of sentences, $\Sat{M}{!D}[s]$ for all $!D \in -\Gamma$ by \olref[syn][sat]{defn:satisfaction}. Let $\Struct{M'}$ be +\Gamma$ by \olref[syn][ass]{defn:sat} and +\olref[syn][ass]{defn:satisfaction}. Let $\Struct{M'}$ be like $\Struct{M}$ except that $\Assign{c}{M'} = s(x)$. Since $c$ does not occur in~$\Gamma$ or~$!C$, $\Sat{M'}{\Gamma \cup \{!C\}}$ by \olref[syn][ext]{cor:extensionality-sent}. Since $\Gamma \cup \{!C\} -\Entails !B(c)$, $\Sat{M'}{B(c)}$. Since $!B(c)$ is !!a{sentence}, +\Entails !B(c)$, $\Sat{M'}{!B(c)}$. Since $!B(c)$ is !!a{sentence}, $\Sat{M'}{!B(c)}[s]$ by \olref[syn][ass]{prop:sentence-sat-true}. $\Sat{M'}{!B(x)}[s]$ iff $\Sat{M'}{!B(c)}[s]$ by \olref[syn][ext]{prop:ext-formulas} (recall that diff --git a/content/first-order-logic/beyond/intuitionistic-logic.tex b/content/first-order-logic/beyond/intuitionistic-logic.tex index e180ee5b4..45c457bfc 100644 --- a/content/first-order-logic/beyond/intuitionistic-logic.tex +++ b/content/first-order-logic/beyond/intuitionistic-logic.tex @@ -112,7 +112,7 @@ that enable us to see that the corresponding !!{formula} is true. Intuitionistic logic is often thought of as being classical logic -``minus'' the law of the excluded middle. This following theorem makes +``minus'' the law of the excluded middle. The following theorem makes this more precise. \begin{thm} Intuitionistically, the following axiom schemata are equivalent: @@ -134,7 +134,7 @@ The \emph{double-negation translation} describes an important relationship between classical and intuitionist logic. It is defined -inductively follows (think of $!A^N$ as the ``intuitionist'' +inductively as follows (think of $!A^N$ as the ``intuitionist'' translation of the classical !!{formula}~$!A$): \begin{align*} !A^N & \ident \lnot\lnot !A \quad \text{for atomic !!{formula}s $!A$} \\ @@ -199,7 +199,7 @@ A Kripke !!{structure}~$\mModel M = \tuple{W, R, V}$ for a propositional language consists of a set~$W$, partial order~$R$ on~$W$ with a least -!!{element}, and an ``monotone'' assignment of propositional variables to +!!{element}, and a ``monotone'' assignment of propositional variables to the !!{element}s of~$W$. The intuition is that the !!{element}s of $W$ represent ``worlds,'' or ``states of knowledge''; an element $v \geq u$ represents a ``possible future state'' of~$u$; and the diff --git a/content/first-order-logic/beyond/many-sorted-logic.tex b/content/first-order-logic/beyond/many-sorted-logic.tex index a8116d41d..f40f3c3c4 100644 --- a/content/first-order-logic/beyond/many-sorted-logic.tex +++ b/content/first-order-logic/beyond/many-sorted-logic.tex @@ -35,8 +35,8 @@ we use variables $a$, $b$, $c$ to range over French citizens and $x$, $y$, $z$ to range over German citizens, then \[ -\lforall[a][\lforall x][(\Atom{\Obj{MarriedTo}}{a,x} \lif -(\Atom{\Obj{DrinksWine}}{a} \lor \lnot \Atom{\Obj{EatsWurst}}{x})]] +\lforall[a][\lforall[x][(\Atom{\Obj{MarriedTo}}{a,x} \lif +(\Atom{\Obj{DrinksWine}}{a} \lor \lnot \Atom{\Obj{EatsWurst}}{x}))]] \] asserts that if any French person is married to a German, either the French person drinks wine or the German doesn't eat wurst. diff --git a/content/first-order-logic/beyond/modal-logics.tex b/content/first-order-logic/beyond/modal-logics.tex index db401dc5c..1581cd6b2 100644 --- a/content/first-order-logic/beyond/modal-logics.tex +++ b/content/first-order-logic/beyond/modal-logics.tex @@ -51,7 +51,7 @@ to an ``extensional'' one. The intended semantics for an extensional logic, like classical logic, will only refer to a single world, the ``actual'' one; while the semantics for an ``intensional'' logic -relies on a more elaborate ontology. In addition to !!{structure}ing +relies on a more elaborate ontology. In addition to modeling necessity, one can use modality to !!{structure} other linguistic constructions, reinterpreting $\Box$ and $\Diamond$ according to the application. For example: diff --git a/content/first-order-logic/beyond/other-logics.tex b/content/first-order-logic/beyond/other-logics.tex index 0c969c04d..151682dfb 100644 --- a/content/first-order-logic/beyond/other-logics.tex +++ b/content/first-order-logic/beyond/other-logics.tex @@ -11,7 +11,7 @@ \olsection{Other Logics} As you may have gathered by now, it is not hard to design a new logic. -You too can create your own a syntax, make up a deductive system, and +You too can create your own syntax, make up a deductive system, and fashion a semantics to go with it. You might have to be a bit clever if you want the !!{derivation} system to be complete for the semantics, and it might take some effort to convince the world at large that your logic @@ -31,7 +31,7 @@ ``deontic'' logics, which are designed to model reasoning about moral and ethical obligations. Depending on whether the primary motivation for introducing these systems is philosophical, -mathematical, or computational, you may find such creatures studies +mathematical, or computational, you may find such creatures studied under the rubric of mathematical logic, philosophical logic, artificial intelligence, cognitive science, or elsewhere. diff --git a/content/first-order-logic/beyond/second-order-logic.tex b/content/first-order-logic/beyond/second-order-logic.tex index 35869f541..5fcb85854 100644 --- a/content/first-order-logic/beyond/second-order-logic.tex +++ b/content/first-order-logic/beyond/second-order-logic.tex @@ -53,7 +53,7 @@ \] where $\Subst{!A}{\lambd[\vec x][!B(\vec x)]}{R}$ denotes the result of replacing every atomic !!{formula} of the form -$\Obj{R}{t_1,\dots,t_k}$ in~$!A$ by $!B(t_1, \dots, t_k)$. This last +$\Atom{R}{t_1,\dots,t_k}$ in~$!A$ by $!B(t_1, \dots, t_k)$. This last rule is equivalent to having a {\em comprehension schema}, i.e., an axiom of the form \[ diff --git a/content/first-order-logic/completeness/compactness-direct.tex b/content/first-order-logic/completeness/compactness-direct.tex index 19e31ad82..a86e96d27 100644 --- a/content/first-order-logic/completeness/compactness-direct.tex +++ b/content/first-order-logic/completeness/compactness-direct.tex @@ -138,8 +138,8 @@ matter), but just on the fact that $\Struct{M(\Gamma^*)}$ is covered.}{} The proof of the Truth Lemma (\olref[mod]{lem:truth}) goes through if we replace references to \olref[ccs]{prop:ccs}\iftag{FOL}{ and -\olref[hen]{prop:saturated-instances} by references to -\olref{prop:fsat-ccs} and \olref{prop:fsat-instances}}. +\olref[hen]{prop:saturated-instances}}{} by references to +\olref{prop:fsat-ccs}\iftag{FOL}{ and \olref{prop:fsat-instances}, respectively}{}. \end{proof} \tagprob{FOL} diff --git a/content/first-order-logic/completeness/construction-of-model.tex b/content/first-order-logic/completeness/construction-of-model.tex index ed9f84ba5..5121b72db 100644 --- a/content/first-order-logic/completeness/construction-of-model.tex +++ b/content/first-order-logic/completeness/construction-of-model.tex @@ -260,7 +260,7 @@ \end{proof} -\tagprob[FOL]{probOr,probAnd,probIf,probEx,probAll} +\tagprob[FOL]{probOr,probAnd,probIf,probIff,probEx,probAll} \begin{prob} Complete the proof of \olref[fol][com][mod]{lem:truth}. @@ -268,7 +268,7 @@ \tagendprob -\tagprob[notFOL]{probOr,probAnd,probIf} +\tagprob[notFOL]{probOr,probAnd,probIf,probIff} \begin{prob} Complete the proof of \olref[pl][com][mod]{lem:truth}. diff --git a/content/first-order-logic/completeness/henkin-expansions.tex b/content/first-order-logic/completeness/henkin-expansions.tex index 17f6331f8..05a0112f4 100755 --- a/content/first-order-logic/completeness/henkin-expansions.tex +++ b/content/first-order-logic/completeness/henkin-expansions.tex @@ -150,7 +150,7 @@ We'll now show that \emph{complete}, consistent sets which are saturated have the property that \iftag{prvAll}{it contains a universally quantified !!{sentence} iff it contains all its - instances}{}\iftag{defAll,defEx}{}{ and }\iftag{prvAll}{it contains an + instances}{}\iftag{defAll,defEx}{}{ and }\iftag{prvEx}{it contains an existentially quantified !!{sentence} iff it contains at least one instance}{}. We'll use this to show that the !!{structure} we'll generate from a complete, consistent, saturated set makes all its diff --git a/content/first-order-logic/completeness/identity.tex b/content/first-order-logic/completeness/identity.tex index 1534c8576..f3f875b6d 100644 --- a/content/first-order-logic/completeness/identity.tex +++ b/content/first-order-logic/completeness/identity.tex @@ -66,7 +66,7 @@ \item If $\Gamma^* \Proves \eq[t][t']$, then \[ \Gamma^* \Proves -\eq[\Atom{f}{t_1,\dots,t_{i-1},t,t_{i+1},,\dots,t_n}][\Atom{f}{t_1,\dots,t_{i-1},t',t_{i+1},\dots,t_n}] +\eq[\Atom{f}{t_1,\dots,t_{i-1},t,t_{i+1},\dots,t_n}][\Atom{f}{t_1,\dots,t_{i-1},t',t_{i+1},\dots,t_n}] \] for every $n$-place !!{function}~$f$ and closed terms $t_1$, \dots, $t_{i-1}$, $t_{i+1}$, \dots,~$t_n$. diff --git a/content/first-order-logic/completeness/introduction.tex b/content/first-order-logic/completeness/introduction.tex index 3a716099e..5f5166037 100644 --- a/content/first-order-logic/completeness/introduction.tex +++ b/content/first-order-logic/completeness/introduction.tex @@ -27,8 +27,8 @@ !!{derivation} system is unable to produce certain !!{derivation}s. But who's to say that just because there are no !!{derivation}s of a certain sort from~$\Gamma$, it's guaranteed that there is -\iftag{FOL}{!!a{structure}~$\Struct{M}$}{!!{valuation}{~$\pAssign{v}$} -with $\iftag{FOL}{\Sat{M}}{\pSat{v}}{\Gamma}$}? Before the +\iftag{FOL}{!!a{structure}~$\Struct{M}$}{!!a{valuation}~$\pAssign{v}$} +with $\iftag{FOL}{\Sat{M}}{\pSat{v}}{\Gamma}$? Before the completeness theorem was first proved---in fact before we had the !!{derivation} systems we now do---the great German mathematician David Hilbert held the view that consistency of mathematical theories @@ -57,7 +57,7 @@ $\Gamma$ is consistent, then $\Gamma$ itself must be consistent. Although the compactness theorem follows from the completeness theorem -via the detour through !!{derivation}s, it is also possible to use the +via the detour through !!{derivation}s, it is also possible to use \emph{the proof of} the completeness theorem to establish it directly. For what the proof does is take a set of !!{sentence}s with a certain property---consistency---and constructs !!a{structure} out diff --git a/content/first-order-logic/completeness/maximally-consistent-sets.tex b/content/first-order-logic/completeness/maximally-consistent-sets.tex index 8ce29e7d1..88485655b 100755 --- a/content/first-order-logic/completeness/maximally-consistent-sets.tex +++ b/content/first-order-logic/completeness/maximally-consistent-sets.tex @@ -104,14 +104,14 @@ For the forward direction, suppose $(!A \land !B) \in \Gamma$. Then $\Gamma \Proves !A \land !B$. By -\tagrefs{prfSC/{fol:seq:prv:prop:provability-land-left},prfND/{fol:ntd:prv:prop:provability-land-left}}, +\tagrefs{prfSC/{fol:seq:ppr:prop:provability-land-left},prfND/{fol:ntd:ppr:prop:provability-land-left}}, $\Gamma \Proves !A$ and $\Gamma \Proves !B$. By \olref{prop:mcs-prov-in}, $!A \in \Gamma$ and $!B \in \Gamma$, as required. For the reverse direction, let $!A \in \Gamma$ and $!B \in \Gamma$. Then $\Gamma \Proves !A$ and $\Gamma \Proves !B$. By -\tagrefs{prfSC/{fol:seq:prv:prop:provability-land-right},prfND/{fol:ntd:prv:prop:provability-land-right}}, +\tagrefs{prfSC/{fol:seq:ppr:prop:provability-land-right},prfND/{fol:ntd:ppr:prop:provability-land-right}}, $\Gamma \Proves !A \land !B$. By \olref{prop:mcs-prov-in}, $(!A \land !B) \in \Gamma$.}} @@ -130,7 +130,7 @@ For the reverse direction, suppose that $!A \in \Gamma$ or $!B \in \Gamma$. Then $\Gamma \Proves !A$ or $\Gamma \Proves !B$. By -\tagrefs{prfSC/{fol:seq:prv:prop:provability-lor-right},prfND/{fol:ntd:prv:prop:provability-lor-right}}, +\tagrefs{prfSC/{fol:seq:ppr:prop:provability-lor},prfND/{fol:ntd:ppr:prop:provability-lor}}, $\Gamma \Proves !A \lor !B$. By \olref{prop:mcs-prov-in}, $(!A \lor !B) \in \Gamma$, as required.}} @@ -141,20 +141,20 @@ For the forward direction, let $(!A \lif !B) \in \Gamma$, and suppose to the contrary that $!A \in \Gamma$ and $!B \notin \Gamma$. On these assumptions, $\Gamma \Proves !A \lif !B$ and $\Gamma \Proves !A$. By -\tagrefs{prfSC/{fol:seq:prv:prop:provability-mp},prfND/{fol:ntd:prv:prop:provability-mp}}, +\tagrefs{prfSC/{fol:seq:ppr:prop:provability-lif-left},prfND/{fol:ntd:ppr:prop:provability-lif-left}}, $\Gamma \Proves !B$. But then by \olref{prop:mcs-prov-in}, $!B \in \Gamma$, contradicting the assumption that $!B \notin \Gamma$. For the reverse direction, first consider the case where $!A \notin \Gamma$. By \olref{prop:mcs-either-or}, $\lnot !A \in \Gamma$ and hence $\Gamma \Proves \lnot !A$. By -\tagrefs{prfSC/{fol:seq:prv:prop:provability-lif},prfND/{fol:ntd:prv:prop:provability-lif}}, +\tagrefs{prfSC/{fol:seq:ppr:prop:provability-lif-right},prfND/{fol:ntd:ppr:prop:provability-lif-right}}, $\Gamma \Proves !A \lif !B$. Again by \olref{prop:mcs-prov-in}, we get that $(!A \lif !B) \in \Gamma$, as required. Now consider the case where $!B \in \Gamma$. Then $\Gamma \Proves !B$ and by -\tagrefs{prfSC/{fol:seq:prv:prop:provability-lif},prfND/{fol:ntd:prv:prop:provability-lif}}, +\tagrefs{prfSC/{fol:seq:ppr:prop:provability-lif-right},prfND/{fol:ntd:ppr:prop:provability-lif-right}}, $\Gamma \Proves !A \lif !B$. By \olref{prop:mcs-prov-in}, $(!A \lif !B) \in \Gamma$.}} \end{enumerate} diff --git a/content/first-order-logic/completeness/outline.tex b/content/first-order-logic/completeness/outline.tex index 8a593dfad..26d622ee1 100644 --- a/content/first-order-logic/completeness/outline.tex +++ b/content/first-order-logic/completeness/outline.tex @@ -73,7 +73,7 @@ !!{formula}s so added~$\Gamma^*$. Then our construction above would provide us with \iftag{FOL}{!!a{structure}~$\Struct{M}$}{!!a{valuation}~$\pAssign{v}$} for which we could prove, by induction, that it satisfies all sentences -in~$\Gamma^*$, and hence also all sentence in~$\Gamma$ +in~$\Gamma^*$, and hence also all sentences in~$\Gamma$ since $\Gamma \subseteq \Gamma^*$. It turns out that guaranteeing (a) and~(b) is enough. A set of sentences for which (b) holds is called \emph{complete}. So our task will be to extend the consistent diff --git a/content/first-order-logic/introduction/first-order-logic.tex b/content/first-order-logic/introduction/first-order-logic.tex index 2d9e147ca..f48252600 100644 --- a/content/first-order-logic/introduction/first-order-logic.tex +++ b/content/first-order-logic/introduction/first-order-logic.tex @@ -48,8 +48,8 @@ done, we can also give precise definitions of the other semantical terms such as ``follows from'' or ``is logically true.'' These definitions will make it possible to settle, again with mathematical -precision, whether, e.g., $\lforall[x][(!A(x) \lif !B(x)), -\lexists[x][!A(x)] \Entails \lexists[x][!B(x)]]$. The answer will, of +precision, whether, e.g., $\lforall[x][(!A(x) \lif !B(x))], +\lexists[x][!A(x)] \Entails \lexists[x][!B(x)]$. The answer will, of course, be ``yes.'' If you've already been trained to symbolize sentences of English in first-order logic, you will recognize this as, e.g., the symbolizations of, say, ``All ants are insects, there are @@ -66,8 +66,8 @@ ``natural deduction'' or ``truth trees,'' but there are many others. The purpose of !!{derivation} systems is to provide tools using which the logicians' questions above can be answered: e.g., a natural deduction -!!{derivation} in which $\lforall[x][(!A(x) \lif !B(x))$ and -$\lexists[x][!A(x)]$ are premises and $\lexists[x][!B(x)]]$ is the +!!{derivation} in which $\lforall[x][(!A(x) \lif !B(x))]$ and +$\lexists[x][!A(x)]$ are premises and $\lexists[x][!B(x)]$ is the conclusion (last line) \emph{verifies} that $\lexists[x][!B(x)]$ logically follows from $\lforall[x][(!A(x) \lif !B(x))]$ and $\lexists[x][!A(x)]$. @@ -80,8 +80,8 @@ mathematical proof, e.g., that a formal !!{derivation} of $\lexists[x][!B(x)]$ from premises $\lforall[x][(!A(x) \lif !B(x))]$ and $\lexists[x][!A(x)]$ is possible, if, and only if, $\lforall[x][(!A(x) -\lif !B(x))$ and $\lexists[x][!A(x)]$ together -entail~$\lexists[x][!B(x)]]$. Before this can be done, however, a +\lif !B(x))]$ and $\lexists[x][!A(x)]$ together +entail~$\lexists[x][!B(x)]$. Before this can be done, however, a lot of painstaking work has to be carried out to get the definitions of syntax and semantics correct. diff --git a/content/first-order-logic/introduction/substitution.tex b/content/first-order-logic/introduction/substitution.tex index bbae5e773..f29ed655c 100644 --- a/content/first-order-logic/introduction/substitution.tex +++ b/content/first-order-logic/introduction/substitution.tex @@ -14,7 +14,7 @@ how the development of syntax and semantics lays the foundation for our more advanced investigations later. Our !!{derivation} systems should let us !!{derive} $\Atom{\Obj P}{\Obj a}$ from $\lforall[\Obj -v_0][\Atom{\Obj P}]{\Obj v_0}$. Maybe we even want to state this as a +v_0][\Atom{\Obj P}{\Obj v_0}]$. Maybe we even want to state this as a rule of inference. However, to do so, we must be able to state it in the most general terms: not just for $\Obj P$, $\Obj a$, and $\Obj v_0$, but for any !!{formula}~$!A$, and term~$t$, and diff --git a/content/first-order-logic/models-theories/expressing-relations.tex b/content/first-order-logic/models-theories/expressing-relations.tex index 4f4c0a3b3..3ca192fba 100644 --- a/content/first-order-logic/models-theories/expressing-relations.tex +++ b/content/first-order-logic/models-theories/expressing-relations.tex @@ -61,7 +61,7 @@ $\eq[\Obj v_1][\Obj v_2']$ expresses the predecessor relation. The !!{formula}s $\lexists[\Obj v_3][(\eq/[\Obj v_3][\Obj 0] \land \eq[\Obj v_2][(\Obj v_1 + \Obj v_3)])]$ and $\lexists[\Obj - v_3][\eq[(\Obj v_1 + {\Obj v_3}')][v_2]]$ both express the $\Obj <$ + v_3][\eq[(\Obj v_1 + {\Obj v_3}')][\Obj v_2]]$ both express the $\Obj <$ relation. This means that the predicate symbol~$<$ is actually superfluous in the language of arithmetic; it can be defined. \end{ex} diff --git a/content/first-order-logic/models-theories/set-theory.tex b/content/first-order-logic/models-theories/set-theory.tex index b04c16a01..1946075b7 100644 --- a/content/first-order-logic/models-theories/set-theory.tex +++ b/content/first-order-logic/models-theories/set-theory.tex @@ -15,7 +15,7 @@ First, it requires a set of axioms for the relation~$\in$. A number of different axiom systems have been developed, sometimes with conflicting properties of~$\in$. The axiom system known as -$\Log{ZFC}$, Zermelo--Fraenkel set theory with the axiom of choice +$\Log{ZFC}$, Zermelo--Fraenkel set theory with the axiom of choice, stands out: it is by far the most widely used and studied, because it turns out that its axioms suffice to prove almost all the things mathematicians expect to be able to prove. But before that can be @@ -100,7 +100,7 @@ \lforall[v][(v \in u \liff (v = x \lor v = y))]))] \] This says that the !!{element}s~$u$ of~$z$ are exactly those sets which -either have $x$ as its only !!{element} or have $x$ and~$y$ as its +either have $x$ as their only !!{element} or have $x$ and~$y$ as their only !!{element}s (in other words, those sets that are either identical to $\{x\}$ or identical to $\{x, y\}$). Once we have this, we can say further things, e.g., that $X \times Y = Z$: @@ -123,7 +123,7 @@ \lforall[x][(x \in X \lif {}] & (\lexists[y][(y \in Y \land \mathrm{maps}(f, x, y))] \land {}\\ & (\lforall[y][\lforall[y'][((\mathrm{maps}(f, x, y) \land - \mathrm{maps}(f, x, y')) \lif y = y')]])) + \mathrm{maps}(f, x, y')) \lif y = y')]]))) \end{align*} where $\mathrm{maps}(f, x, y)$ abbreviates $\lexists[v][(v \in f \land \tuple{x, y} = v)]$ (this !!{formula} expresses ``$f(x) = y$''). @@ -167,7 +167,7 @@ consistent---version of this principle, the separation principle: \[ \lforall[z][\lexists[y][\lforall[x][(x \in y \liff (x \in z \land - !A(x))]]]. + !A(x)))]]]. \] \begin{prob} diff --git a/content/first-order-logic/natural-deduction/proof-theoretic-notions.tex b/content/first-order-logic/natural-deduction/proof-theoretic-notions.tex index 49589dc77..e19b30686 100644 --- a/content/first-order-logic/natural-deduction/proof-theoretic-notions.tex +++ b/content/first-order-logic/natural-deduction/proof-theoretic-notions.tex @@ -13,7 +13,7 @@ \olsection{Proof-Theoretic Notions} \begin{editorial} -This section collects the definitions the provability relation +This section collects the definitions of the provability relation and consistency for natural deduction. \end{editorial} diff --git a/content/first-order-logic/natural-deduction/rules-and-proofs.tex b/content/first-order-logic/natural-deduction/rules-and-proofs.tex index c963a4273..e709a300e 100644 --- a/content/first-order-logic/natural-deduction/rules-and-proofs.tex +++ b/content/first-order-logic/natural-deduction/rules-and-proofs.tex @@ -42,10 +42,10 @@ also assign labels to both the assumption and the inference. This is indicated by writing the assumption as ``$\Discharge{!A}{n}$.'' -% Only include this sentence is on of \land, lor, lif or lnot is defined. +% Only include this sentence if one of \land, lor, lif or lnot is defined. -\iftag{notprvNot,notprvAnd,notprvOr,notprvIf}{}% - {It is customary to consider rules for all the !!{operator}s $\land$, $\lor$, $\lif$, $\lnot$, and $\lfalse$, even if some of those are defined.} +\iftag{defNot,defAnd,defOr,defIf}% + {It is customary to consider rules for all the !!{operator}s $\land$, $\lor$, $\lif$, $\lnot$, and $\lfalse$, even if some of those are defined.}{} diff --git a/content/first-order-logic/proof-systems/introduction.tex b/content/first-order-logic/proof-systems/introduction.tex index 204ffd6ec..88efc6d9e 100644 --- a/content/first-order-logic/proof-systems/introduction.tex +++ b/content/first-order-logic/proof-systems/introduction.tex @@ -83,7 +83,7 @@ \emph{consistency}. A set of !!{sentence}s is called inconsistent if anything whatsoever can be !!{derive}d from it, and consistent otherwise. Inconsistency is the syntactic counterpart to -unsatisfiablity: like unsatisfiable sets, inconsistent sets of +unsatisfiability: like unsatisfiable sets, inconsistent sets of !!{sentence}s do not make good theories, they are defective in a fundamental way. Consistent sets of !!{sentence}s may not be true or useful, but at least they pass that minimal threshold of logical diff --git a/content/first-order-logic/proof-systems/sequent-calculus.tex b/content/first-order-logic/proof-systems/sequent-calculus.tex index bc1fcf6e1..b65a83f0a 100644 --- a/content/first-order-logic/proof-systems/sequent-calculus.tex +++ b/content/first-order-logic/proof-systems/sequent-calculus.tex @@ -1,6 +1,6 @@ % Part: first-order-logic % Chapter: proof-systems -% Section: seqeunt-calculus +% Section: sequent-calculus \documentclass[../../../include/open-logic-section]{subfiles} @@ -60,7 +60,7 @@ formalism for developing a theory of !!{derivation}s. It is relatively easy to find !!{derivation}s in the sequent calculus, but these !!{derivation}s are often hard to read and their connection to proofs -are sometimes not easy to see. It has proved to be a very elegant +is sometimes not easy to see. It has proved to be a very elegant approach to !!{derivation} systems, however, and many logics have sequent calculus systems. diff --git a/content/first-order-logic/proof-systems/tableaux.tex b/content/first-order-logic/proof-systems/tableaux.tex index 141990c1d..700ed2010 100644 --- a/content/first-order-logic/proof-systems/tableaux.tex +++ b/content/first-order-logic/proof-systems/tableaux.tex @@ -74,8 +74,8 @@ Smullyan. They are very easy to use, since constructing !!a{tableau} is a very systematic procedure. Because of the systematic nature of !!{tableau}s, they also lend themselves to implementation by -computer. However, !!a{tableau} is often hard to read and their -connection to proofs are sometimes not easy to see. The approach is +computer. However, !!a{tableau} is often hard to read and its +connection to proofs is sometimes not easy to see. The approach is also quite general, and many different logics have !!{tableau} systems. !!^{tableau}s also help us to find !!{structure}s that satisfy given (sets of) !!{sentence}s: if the set is satisfiable, it diff --git a/content/first-order-logic/sequent-calculus/sequent-calculus.tex b/content/first-order-logic/sequent-calculus/sequent-calculus.tex index 2a9a7d05d..d79abb6d7 100644 --- a/content/first-order-logic/sequent-calculus/sequent-calculus.tex +++ b/content/first-order-logic/sequent-calculus/sequent-calculus.tex @@ -13,7 +13,7 @@ This chapter presents Gentzen's standard sequent calculus LK for classical first-order logic. It could use more examples and exercises. To include or exclude material relevant to the sequent - calculus as a proof system, use the ``prfLK'' tag. + calculus as a proof system, use the ``prfSC'' tag. \end{editorial} \olimport{rules-and-proofs} diff --git a/content/first-order-logic/sequent-calculus/soundness.tex b/content/first-order-logic/sequent-calculus/soundness.tex index d744de04d..0a0ac1d4e 100644 --- a/content/first-order-logic/sequent-calculus/soundness.tex +++ b/content/first-order-logic/sequent-calculus/soundness.tex @@ -246,7 +246,7 @@ \Gamma$, $\Sat{M}{!C}$, and for all $!C \in \Delta$, $\Sat/{M}{!C}$. We have to show that (a)~holds, i.e., $\Sat{M}{\lforall[x][!A(x)]}$. By - \olref[syn][ass]{prop:sat-quant}, if suffices to show that + \olref[syn][ass]{prop:sat-quant}, it suffices to show that $\Sat{M}{!A(x)}[s]$ for all variable assignments~$s$. So let $s$ be an arbitrary variable assignment. Consider the structure~$\Struct{M'}$ which is just like~$\Struct{M}$ except @@ -322,7 +322,7 @@ $\iftag{FOL}{\Sat/{M}}{\pSat/{v}}{!A \lif !B}$. If \iftag{FOL}{$\Struct{M}$}{$\pAssign{v}$} doesn't satisfy $\Gamma, \Pi \Sequent \Delta, \Lambda$, it satisfies neither $\Gamma \Sequent - \Delta$ nor $\Pi \Sequent \Lambda$. Since, $\Gamma \Sequent \Delta, + \Delta$ nor $\Pi \Sequent \Lambda$. Since $\Gamma \Sequent \Delta, !A$ is valid, we have $\iftag{FOL}{\Sat{M}}{\pSat{v}}{!A}$. Since $!B, \Pi \Sequent \Lambda$ is valid, we have $\iftag{FOL}{\Sat/{M}}{\pSat/{v}}{!B}$. But then diff --git a/content/first-order-logic/syntax-and-semantics/assignments.tex b/content/first-order-logic/syntax-and-semantics/assignments.tex index ed2c6c103..8dd3a320b 100644 --- a/content/first-order-logic/syntax-and-semantics/assignments.tex +++ b/content/first-order-logic/syntax-and-semantics/assignments.tex @@ -238,7 +238,7 @@ \begin{defn} \ollabel{defn:sat} -If $\Gamma$ is a set of !!{sentence}s~$\Gamma$, we say that +If $\Gamma$ is a set of !!{sentence}s, we say that !!a{structure}~$\Struct M$ \emph{satisfies}~$\Gamma$, $\Sat{M}{\Gamma}$, iff $\Sat{M}{!A}$ for all $!A \in \Gamma$. \end{defn} diff --git a/content/first-order-logic/syntax-and-semantics/extensionality.tex b/content/first-order-logic/syntax-and-semantics/extensionality.tex index f1d9999e3..37644b47e 100644 --- a/content/first-order-logic/syntax-and-semantics/extensionality.tex +++ b/content/first-order-logic/syntax-and-semantics/extensionality.tex @@ -1,6 +1,6 @@ % Part: first-order-logic % Chapter: syntax-and-semantics -% Section: substitution +% Section: extensionality \documentclass[../../../include/open-logic-section]{subfiles} diff --git a/content/first-order-logic/syntax-and-semantics/first-order-languages.tex b/content/first-order-logic/syntax-and-semantics/first-order-languages.tex index 35b5b1b56..ebc7a8f3d 100644 --- a/content/first-order-logic/syntax-and-semantics/first-order-languages.tex +++ b/content/first-order-logic/syntax-and-semantics/first-order-languages.tex @@ -101,7 +101,7 @@ \iftag{defAll}{\ycomma $\lforall$ (universal quantifier)}{}% \iftag{defEx}{\ycomma $\lexists$ (existential quantifier)}{}% \iftag{defFalse}{\ycomma !!{falsity}~$\lfalse$}{}% - \iftag{defTrue}{\ycomma !!{truth}~$\ltrue$}}{}. + \iftag{defTrue}{\ycomma !!{truth}~$\ltrue$}{}.}{} \begin{tagblock}{defNot,defOr,defAnd,defIf,defIff,defTrue,defFalse,defEx,defAll} \begin{explain} @@ -127,7 +127,7 @@ or ``(material) equivalence'' are $\leftrightarrow$, $\Leftrightarrow$, and $\equiv$.}{} \iftag{prvFalse,defFalse}{The $\lfalse$ symbol is variously called - ``falsity,'' ``falsum,'', ``absurdity,'' or ``bottom.''}{} + ``falsity,'' ``falsum,'' ``absurdity,'' or ``bottom.''}{} \iftag{prvTrue,defTrue}{The $\ltrue$ symbol is variously called ``truth,'' ``verum,'' or ``top.''}{} diff --git a/content/first-order-logic/syntax-and-semantics/formation-sequences.tex b/content/first-order-logic/syntax-and-semantics/formation-sequences.tex index 64cc604fb..1cbaff4c3 100644 --- a/content/first-order-logic/syntax-and-semantics/formation-sequences.tex +++ b/content/first-order-logic/syntax-and-semantics/formation-sequences.tex @@ -230,7 +230,7 @@ There are two types of ``junk'' that can appear in formation sequences: repeated elements, and elements that are irrelevant -to the construction of the formation or term. We can eliminate +to the construction of the !!{formula} or term. We can eliminate both by looking at minimal formation sequences. \begin{defn}[Minimal formation sequences] diff --git a/content/first-order-logic/syntax-and-semantics/intro-syntax.tex b/content/first-order-logic/syntax-and-semantics/intro-syntax.tex index 948a77a1d..532c00463 100644 --- a/content/first-order-logic/syntax-and-semantics/intro-syntax.tex +++ b/content/first-order-logic/syntax-and-semantics/intro-syntax.tex @@ -19,7 +19,7 @@ from atomic !!{formula}s we can form more complex ones using logical connectives and quantifiers. There are many different ways to set down the formation rules; we give just one possible one. Other systems -will chose different symbols, will select different sets of +will choose different symbols, will select different sets of connectives as primitive, will use parentheses differently (or even not at all, as in the case of so-called Polish notation). What all approaches have in common, though, is that the formation rules define diff --git a/content/first-order-logic/syntax-and-semantics/introduction.tex b/content/first-order-logic/syntax-and-semantics/introduction.tex index 5c30e2c66..019d39863 100644 --- a/content/first-order-logic/syntax-and-semantics/introduction.tex +++ b/content/first-order-logic/syntax-and-semantics/introduction.tex @@ -19,7 +19,7 @@ from atomic !!{formula}s we can form more complex ones using logical connectives and quantifiers. There are many different ways to set down the formation rules; we give just one possible one. Other systems -will chose different symbols, will select different sets of +will choose different symbols, will select different sets of connectives as primitive, will use parentheses differently (or even not at all, as in the case of so-called Polish notation). What all approaches have in common, though, is that the formation rules define diff --git a/content/first-order-logic/syntax-and-semantics/satisfaction.tex b/content/first-order-logic/syntax-and-semantics/satisfaction.tex index 3f0df1d1a..aae54ba56 100644 --- a/content/first-order-logic/syntax-and-semantics/satisfaction.tex +++ b/content/first-order-logic/syntax-and-semantics/satisfaction.tex @@ -12,7 +12,7 @@ in \article{structure} \printtoken{S}{structure}} \begin{explain} -The basic notion that relates expressions such as terms and +The basic notions that relate expressions such as terms and !!{formula}s, on the one hand, and !!{structure}s on the other, are those of \emph{!!{value}} of a term and \emph{satisfaction} of !!a{formula}. Informally, the !!{value} of a term is an !!{element} of diff --git a/content/first-order-logic/syntax-and-semantics/structures.tex b/content/first-order-logic/syntax-and-semantics/structures.tex index 5ffecb882..ddd2f7432 100644 --- a/content/first-order-logic/syntax-and-semantics/structures.tex +++ b/content/first-order-logic/syntax-and-semantics/structures.tex @@ -74,7 +74,7 @@ \begin{ex} A structure~$\Struct M$ for the language~$\Lang L_Z$ of set theory requires -just a set and a single-two place relation. So technically, e.g., the +just a set and a single two-place relation. So technically, e.g., the set of people plus the relation ``$x$ is older than $y$'' could be used as !!a{structure} for $\Lang L_Z$, as well as $\Nat$ together with $n \ge m$ for $n, m \in \Nat$. diff --git a/content/first-order-logic/syntax-and-semantics/terms-formulas.tex b/content/first-order-logic/syntax-and-semantics/terms-formulas.tex index 4e417155e..48502228c 100644 --- a/content/first-order-logic/syntax-and-semantics/terms-formulas.tex +++ b/content/first-order-logic/syntax-and-semantics/terms-formulas.tex @@ -145,7 +145,7 @@ \lnot !B)$}.}{} \tagitem{defIf}{$!A \lif !B$ abbreviates - \iftag{prvOr}{$\lnot !A \lor !B)$}{$\lnot (!A \land \lnot !B)$}.}{} + \iftag{prvOr}{$(\lnot !A \lor !B)$}{$\lnot (!A \land \lnot !B)$}.}{} \tagitem{defIff}{$!A \liff !B$ abbreviates $(!A \lif !B) \land (!B \lif !A)$.}{} diff --git a/content/first-order-logic/syntax-and-semantics/unique-readability.tex b/content/first-order-logic/syntax-and-semantics/unique-readability.tex index d9ecd7279..8b3fb9237 100644 --- a/content/first-order-logic/syntax-and-semantics/unique-readability.tex +++ b/content/first-order-logic/syntax-and-semantics/unique-readability.tex @@ -16,7 +16,7 @@ constructing it according to our formation rules for !!{formula}s and only one way of ``interpreting'' it. If this were not so, we would have ambiguous !!{formula}s, i.e., !!{formula}s that have more than -one reading or intepretation---and that is clearly something we want +one reading or interpretation---and that is clearly something we want to avoid. But more importantly, without this property, most of the definitions and proofs we are going to give will not go through. diff --git a/content/first-order-logic/tableaux/derivations.tex b/content/first-order-logic/tableaux/derivations.tex index 5ed8b3702..390082272 100644 --- a/content/first-order-logic/tableaux/derivations.tex +++ b/content/first-order-logic/tableaux/derivations.tex @@ -46,7 +46,7 @@ $\sFmla{\True}{!A}$ and~$\sFmla{\False}{!A}$.) From !!a{tableau} (open or closed) we can obtain a new, larger one by - applying one of the rules of inference to !!a{signed formula}~$!A$ + applying one of the rules of inference to !!a{signed formula}~$\sFmla{S}{!A}$ in it. The rule will append one or more !!{signed formula}s to the end of any branch containing the occurrence of~$!A$ to which we apply the rule. diff --git a/content/first-order-logic/tableaux/provability-propositional.tex b/content/first-order-logic/tableaux/provability-propositional.tex index 4e50f27bc..ce7f76d89 100644 --- a/content/first-order-logic/tableaux/provability-propositional.tex +++ b/content/first-order-logic/tableaux/provability-propositional.tex @@ -103,8 +103,8 @@ \begin{oltableau}{} [\sFmla{\False}{\formula{A} \lor \formula{B}}, just=\TAss [\sFmla{\True}{\formula{A}}, just=\TAss - [\sFmla{\False{\formula{A}}},just={\TRule{\False}{\lor}[1]} - [\sFmla{\False{\formula{B}}},just={\TRule{\False}{\lor}[1]}, close + [\sFmla{\False}{\formula{A}},just={\TRule{\False}{\lor}[1]} + [\sFmla{\False}{\formula{B}},just={\TRule{\False}{\lor}[1]}, close ] ] ] @@ -113,8 +113,8 @@ \begin{oltableau}{} [\sFmla{\False}{\formula{A} \lor \formula{B}}, just=\TAss [\sFmla{\True}{\formula{B}}, just=\TAss - [\sFmla{\False{\formula{A}}},just={\TRule{\False}{\lor}[1]} - [\sFmla{\False{\formula{B}}},just={\TRule{\False}{\lor}[1]}, close + [\sFmla{\False}{\formula{A}},just={\TRule{\False}{\lor}[1]} + [\sFmla{\False}{\formula{B}},just={\TRule{\False}{\lor}[1]}, close ] ] ] diff --git a/content/first-order-logic/tableaux/provability-quantifiers.tex b/content/first-order-logic/tableaux/provability-quantifiers.tex index bdecf0319..13aa1d9ca 100644 --- a/content/first-order-logic/tableaux/provability-quantifiers.tex +++ b/content/first-order-logic/tableaux/provability-quantifiers.tex @@ -76,7 +76,7 @@ [\sFmla{\False}{\formula{A}(t)}, just = {\TRule{\False}{\lexists}[1]}, close]]] \end{oltableau}}{} \tagitem{prvAll}{A closed !!{tableau} for - $\sFmla{\False}{\formula{A}(t)}, \sFmla{\True}{\lforall[x][!A(x)]}, $ is: + $\sFmla{\False}{\formula{A}(t)}, \sFmla{\True}{\lforall[x][!A(x)]}$ is: \begin{oltableau} [\sFmla{\False}{\formula{A}(t)}, just = \TAss [\sFmla{\True}{\lforall[x][\formula{A}(x)]}, just = \TAss diff --git a/content/first-order-logic/tableaux/proving-things.tex b/content/first-order-logic/tableaux/proving-things.tex index b02d87859..594f5d505 100644 --- a/content/first-order-logic/tableaux/proving-things.tex +++ b/content/first-order-logic/tableaux/proving-things.tex @@ -436,7 +436,7 @@ \item $\sFmla{\False}{\lnot(!A \lif !B) \lif \lnot !B}$. \item $\sFmla{\True}{!A \lif !C}, \sFmla{\False}{\lnot (!A \land \lnot !C)}$. \item $\sFmla{\True}{!A \land \lnot !C}, \sFmla{\False}{\lnot (!A \lif !C)}$. -\item $\sFmla{\True}{!A \lor !B, \lnot !B}, \sFmla{\False}{!A}$. +\item $\sFmla{\True}{!A \lor !B}, \sFmla{\True}{\lnot !B}, \sFmla{\False}{!A}$. \item $\sFmla{\True}{\lnot !A \lor \lnot !B}, \sFmla{\False}{\lnot(!A \land !B)}$. \item $\sFmla{\False}{(\lnot !A \land \lnot !B) \lif\lnot(!A \lor !B)}$. \item $\sFmla{\False}{\lnot(!A \lor !B) \lif (\lnot !A \land \lnot !B)}$. diff --git a/content/first-order-logic/tableaux/soundness-identity.tex b/content/first-order-logic/tableaux/soundness-identity.tex index 4ba3ab30b..ae268813a 100644 --- a/content/first-order-logic/tableaux/soundness-identity.tex +++ b/content/first-order-logic/tableaux/soundness-identity.tex @@ -34,7 +34,7 @@ variable assignment with $s(x) = \Value{t_1}{M}$. By \olref[syn][ass]{prop:sentence-sat-true}, $\Sat{M}{!A(t_1)}[s]$. Since $\varAssign{s}{s}{x}$, by \olref[syn][ext]{prop:ext-formulas}, -$\Sat{M}{!A(x)}[s]$. since $\Sat{M}{\eq[t_1][t_2]}$, we have +$\Sat{M}{!A(x)}[s]$. Since $\Sat{M}{\eq[t_1][t_2]}$, we have $\Value{t_1}{M} = \Value{t_2}{M}$, and hence $s(x) = \Value{t_2}{M}$. By applying \olref[syn][ext]{prop:ext-formulas} again, we also have $\Sat{M}{!A(t_2)}[s]$. By \olref[syn][ass]{prop:sentence-sat-true}, diff --git a/content/propositional-logic/propositional-logic.tex b/content/propositional-logic/propositional-logic.tex index 3bb6a1aa6..9c8240ab5 100644 --- a/content/propositional-logic/propositional-logic.tex +++ b/content/propositional-logic/propositional-logic.tex @@ -9,7 +9,7 @@ \begin{editorial} This part contains material on classical propositional logic. The first chapter is relatively rudimentary and just lists definitions - and results, many proofs are not carried out but are left as + and results; many proofs are not carried out but are left as exercises. The material on proof systems and the completeness theorem is included from the part on first-order logic, with the ``FOL'' tag set to false. This leaves out everything related to diff --git a/content/propositional-logic/syntax-and-semantics/completeness.tex b/content/propositional-logic/syntax-and-semantics/completeness.tex index db0b73d5f..d25a1ca7e 100644 --- a/content/propositional-logic/syntax-and-semantics/completeness.tex +++ b/content/propositional-logic/syntax-and-semantics/completeness.tex @@ -33,7 +33,7 @@ \begin{enumerate} \item Suppose $!A \in \Gamma$. If also $\lnot !A \in \Gamma$, then $\Gamma$ is inconsistent; and if neither $!A$ nor $\lnot!A$ is in - $\Gamma$ then by \olref[axd]{prop:phi} one of $\Gamma\cup\{!A\}$ and + $\Gamma$ then by \olref[pl][axd][prv]{prop:provability-exhaustive} one of $\Gamma\cup\{!A\}$ and $\Gamma \cup \{\lnot !A\}$ is consistent, which means that $\Gamma$ is not maximal. The other direction is proved the same way. \item If $!A \in \Gamma$ then of course $\Gamma \Proves !A$. On the @@ -79,7 +79,7 @@ facts: \begin{enumerate} \item For each $n$, the set $\Gamma_n$ is consistent (by induction on - $n$, using \olref[axd]{prop:phi}); + $n$, using \olref[pl][axd][prv]{prop:provability-exhaustive}); \item $\Gamma^*$ is consistent; \item $\Gamma^*$ is maximal. \end{enumerate} @@ -98,7 +98,7 @@ \begin{proof} If $\Gamma\Proves/ !A$ then $\Gamma \cup \{\lnot !A\}$ is consistent, -by \olref[axd]{prop:prov-incons}. So by the completeness theorem, $\Gamma \cup +by \olref[pl][axd][prv]{prop:prov-incons}. So by the completeness theorem, $\Gamma \cup \{\lnot !A\}$ is satisfiable, and $\Gamma \Entails/ !A$. \end{proof} diff --git a/content/propositional-logic/syntax-and-semantics/formation-sequences.tex b/content/propositional-logic/syntax-and-semantics/formation-sequences.tex index 764226b40..f78989e2d 100644 --- a/content/propositional-logic/syntax-and-semantics/formation-sequences.tex +++ b/content/propositional-logic/syntax-and-semantics/formation-sequences.tex @@ -1,4 +1,4 @@ -% Part: first-order-logic +% Part: propositional-logic % Chapter: syntax-and-semantics % Section: formation-sequences diff --git a/content/propositional-logic/syntax-and-semantics/formulas.tex b/content/propositional-logic/syntax-and-semantics/formulas.tex index 521adafb5..6b7e139f7 100644 --- a/content/propositional-logic/syntax-and-semantics/formulas.tex +++ b/content/propositional-logic/syntax-and-semantics/formulas.tex @@ -14,7 +14,7 @@ \emph{!!{propositional variable}s}\iftag{prvFalse}{\iftag{prvTrue}{,}{ and} the propositional constant~$\lfalse$}{}\iftag{prvTrue}{\iftag{prvFalse}{ - and}{} the propositional constant~$\ltrue$}{} using \emph{logical + and}{ and} the propositional constant~$\ltrue$}{} using \emph{logical connectives}. \begin{enumerate} @@ -44,9 +44,9 @@ \iftag{defIf}{\ycomma $\lif$ (!!{conditional})}{}% \iftag{defIff}{\ycomma $\liff$ (!!{biconditional})}{}% \iftag{defFalse}{\ycomma $\lfalse$ (!!{falsity})}{}% - \iftag{defTrue}{\ycomma $\ltrue$ (!!{truth})}}{}. + \iftag{defTrue}{\ycomma $\ltrue$ (!!{truth})}{}.}{} -\begin{tagblock}{defNot,defOr,defAnd,defIf,defIff,defTrue,defFalse,defEx,defAll} +\begin{tagblock}{defNot,defOr,defAnd,defIf,defIff,defTrue,defFalse} \begin{explain} A defined symbol is not officially part of the language, but is introduced as an informal abbreviation: it allows us to abbreviate @@ -130,12 +130,12 @@ using a two-place connective~$\ast$, we will often leave out the outermost pair of parentheses and write simply~$!B \ast !C$. -\begin{tagblock}{defNot,defOr,defAnd,defIf,defIff,defTrue,defFalse,defEx,defAll} +\begin{tagblock}{defNot,defOr,defAnd,defIf,defIff,defTrue,defFalse} \begin{defn} Formulas constructed using the defined operators are to be understood as follows: -\begin{tagenumerate}{defTrue,defFalse,defNot,defOr,defAnd,defIf,defIff,defEx,defAll} +\begin{tagenumerate}{defTrue,defFalse,defNot,defOr,defAnd,defIf,defIff} \tagitem{defTrue}{$\ltrue$ abbreviates \iftag{prvFalse}{$\lnot\lfalse$}{$(!A \lor \lnot !A)$ for some @@ -156,7 +156,7 @@ \lnot !B)$}.}{} \tagitem{defIf}{$!A \lif !B$ abbreviates - \iftag{prvOr}{$\lnot !A \lor !B)$}{$\lnot (!A \land \lnot !B)$}.}{} + \iftag{prvOr}{$(\lnot !A \lor !B)$}{$\lnot (!A \land \lnot !B)$}.}{} \tagitem{defIff}{$!A \liff !B$ abbreviates $(!A \lif !B) \land (!B \lif !A)$.}{} diff --git a/content/propositional-logic/syntax-and-semantics/preliminaries.tex b/content/propositional-logic/syntax-and-semantics/preliminaries.tex index 6fcfac52c..0bf2837e8 100644 --- a/content/propositional-logic/syntax-and-semantics/preliminaries.tex +++ b/content/propositional-logic/syntax-and-semantics/preliminaries.tex @@ -1,5 +1,5 @@ % Part: propositional-logic -% Chapter: propositional-logic +% Chapter: syntax-and-semantics % Section: preliminaries \documentclass[../../../include/open-logic-section]{subfiles} diff --git a/content/propositional-logic/syntax-and-semantics/semantic-notions.tex b/content/propositional-logic/syntax-and-semantics/semantic-notions.tex index 04dd30d02..84e25271e 100644 --- a/content/propositional-logic/syntax-and-semantics/semantic-notions.tex +++ b/content/propositional-logic/syntax-and-semantics/semantic-notions.tex @@ -33,7 +33,7 @@ \begin{prob} For each of the following four !!{formula}s determine whether it - is (a)~satisfiable, (b)~tautology, and (c)~contingent. + is (a)~satisfiable, (b)~a tautology, and (c)~contingent. \begin{enumerate} \item \( ( \Obj p_0 \lif ( \lnot \Obj p_1 \lif \lnot \Obj p_0 ) ) \). \item \( ( ( \Obj p_0 \land \lnot \Obj p_1 ) \lif ( \lnot \Obj p_0 \land \Obj p_2 )) \liff ( ( \Obj p_2 \lif \Obj p_0 ) \lif ( \Obj p_0 \lif \Obj p_1 )) \).