\(\newcommand{\footnotename}{footnote}\) \(\def \LWRfootnote {1}\) \(\newcommand {\footnote }[2][\LWRfootnote ]{{}^{\mathrm {#1}}}\) \(\newcommand {\footnotemark }[1][\LWRfootnote ]{{}^{\mathrm {#1}}}\) \(\let \LWRorighspace \hspace \) \(\renewcommand {\hspace }{\ifstar \LWRorighspace \LWRorighspace }\) \(\newcommand {\mathnormal }[1]{{#1}}\) \(\newcommand \ensuremath [1]{#1}\) \(\newcommand {\LWRframebox }[2][]{\fbox {#2}} \newcommand {\framebox }[1][]{\LWRframebox } \) \(\newcommand {\setlength }[2]{}\) \(\newcommand {\addtolength }[2]{}\) \(\newcommand {\setcounter }[2]{}\) \(\newcommand {\addtocounter }[2]{}\) \(\newcommand {\arabic }[1]{}\) \(\newcommand {\number }[1]{}\) \(\newcommand {\noalign }[1]{\text {#1}\notag \\}\) \(\newcommand {\cline }[1]{}\) \(\newcommand {\directlua }[1]{\text {(directlua)}}\) \(\newcommand {\luatexdirectlua }[1]{\text {(directlua)}}\) \(\newcommand {\protect }{}\) \(\def \LWRabsorbnumber #1 {}\) \(\def \LWRabsorbquotenumber "#1 {}\) \(\newcommand {\LWRabsorboption }[1][]{}\) \(\newcommand {\LWRabsorbtwooptions }[1][]{\LWRabsorboption }\) \(\def \mathchar {\ifnextchar "\LWRabsorbquotenumber \LWRabsorbnumber }\) \(\def \mathcode #1={\mathchar }\) \(\let \delcode \mathcode \) \(\let \delimiter \mathchar \) \(\def \oe {\unicode {x0153}}\) \(\def \OE {\unicode {x0152}}\) \(\def \ae {\unicode {x00E6}}\) \(\def \AE {\unicode {x00C6}}\) \(\def \aa {\unicode {x00E5}}\) \(\def \AA {\unicode {x00C5}}\) \(\def \o {\unicode {x00F8}}\) \(\def \O {\unicode {x00D8}}\) \(\def \l {\unicode {x0142}}\) \(\def \L {\unicode {x0141}}\) \(\def \ss {\unicode {x00DF}}\) \(\def \SS {\unicode {x1E9E}}\) \(\def \dag {\unicode {x2020}}\) \(\def \ddag {\unicode {x2021}}\) \(\def \P {\unicode {x00B6}}\) \(\def \copyright {\unicode {x00A9}}\) \(\def \pounds {\unicode {x00A3}}\) \(\let \LWRref \ref \) \(\renewcommand {\ref }{\ifstar \LWRref \LWRref }\) \( \newcommand {\multicolumn }[3]{#3}\) \(\require {textcomp}\) \(\newcommand {\intertext }[1]{\text {#1}\notag \\}\) \(\let \Hat \hat \) \(\let \Check \check \) \(\let \Tilde \tilde \) \(\let \Acute \acute \) \(\let \Grave \grave \) \(\let \Dot \dot \) \(\let \Ddot \ddot \) \(\let \Breve \breve \) \(\let \Bar \bar \) \(\let \Vec \vec \) \(\newcommand {\adeg }[1]{#1^\circ }\)

Hoofdstuk 8 Logica

8.1 Propositielogica

8.1.1 Uitspraken

Axioma’s

  • • Een uitspraak is ofwel waar ofwel vals.

Verklaring symbolen

  • • \(p, q\) : uitspraken

  • • \(\neg p\) : niet \(p\) (negatie)

  • • \(p \wedge q\) : \(p\) en \(q\) (conjunctie)

  • • \(p \vee q\) : \(p\) of \(q\) (disjunctie)

  • • \(p \rightarrow q\) : als \(p\) dan \(q\) (implicatie)

  • • \(p \leftrightarrow q\) : \(p\) als en slechts als \(q\) (equivalentie)

Definities

  • • \(p\) tautologie als \(p\) altijd waar

  • • \(p\) contradictie als \(p\) altijd vals

  • • \(p \Leftrightarrow q\) zijn equivalente uitspraken als \(p \leftrightarrow q\) is een tautologie

8.1.2 Stellingen

  • • \(\neg (\neg p)\:\Leftrightarrow \: p\)

  • • \((p\:\rightarrow \: q) \:\Leftrightarrow \: (\neg p \vee q)\)

  • • \(((p \:\rightarrow \: q)\wedge p)\:\rightarrow \: q\)

  • • \(((p \:\rightarrow \: q)\wedge \neg q)\:\rightarrow \: \neg p\)

  • • \((\neg (p \:\wedge \: q)\wedge p)\:\rightarrow \: \neg q\)

  • • \((p \vee q)\wedge \neg q)\:\rightarrow \:p\)

Contrapositie van de implicatie

\[(p\:\rightarrow \: q) \:\Leftrightarrow \: (\neg q \:\rightarrow \: \neg p)\]

Wetten van De Morgan

\begin{align*} \neg (p\wedge q)\: & \Leftrightarrow \:\neg p \vee \neg q \\ \neg (p \vee q)\: & \Leftrightarrow \:\neg p \wedge \neg q \end{align*}

Commutativiteiten

\begin{align*} p \wedge q & \Leftrightarrow q \wedge p \\ p \vee q & \Leftrightarrow q \vee p \\ (p \:\Leftrightarrow \: q) & \Leftrightarrow (q \:\Leftrightarrow \: p) \end{align*}

Associativiteiten

\begin{align*} (p \wedge q)\wedge r & \Leftrightarrow p \wedge (q \wedge r) \\ (p \vee q) \vee r & \Leftrightarrow p \vee (q \vee r) \\ ((p \:\Leftrightarrow \: q)\: \Leftrightarrow \: r) & \Leftrightarrow (p\:\Leftrightarrow \: (q \:\Leftrightarrow \: r)) \end{align*}

Distributiviteiten

\begin{align*} p \wedge (q\vee r) & \Leftrightarrow (p \wedge q) \vee (p\wedge r) \\ p \vee (q\wedge r) & \Leftrightarrow (p \vee q) \wedge (p\vee r) \end{align*}

Transitiviteiten

\begin{align*} ((p \:\rightarrow \: q) \wedge (q\:\rightarrow \: r)) & \rightarrow (p \:\rightarrow \: r) \\ ((p \:\Leftrightarrow \: q)\wedge (q\:\Leftrightarrow \: r)) & \rightarrow (p \:\Leftrightarrow \: r) \\ \end{align*}

8.1.3 Uitspraken met kwantoren

\begin{align*} \neg (\forall x \in A:p(x)) &\Leftrightarrow \exists \: x \in A: \neg p(x)\\ \neg (\exists x \in A:p(x)) &\Leftrightarrow \forall \: x \in A: \neg p(x) \end{align*}