Anki Deck Changes

Commit: 0d85d5ca - chapter 6 cards

Author: obrhubr <obrhubr@gmail.com>

Date: 2025-12-22T16:42:45+01:00

Changes: 143 note(s) changed (140 added, 3 modified, 0 deleted)

ℹ️ Cosmetic Changes Hidden: 3 note(s) had formatting-only changes and are not shown below

Note 1: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: d7Vy2Qw5Hn
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::2._Introduction::3._Discussion
A proof system is always restricted to a certain type of mathematical statement.

Back

ETH::1._Semester::DiskMat::6._Logic::2._Introduction::3._Discussion
A proof system is always restricted to a certain type of mathematical statement.
Field-by-field Comparison
Field Before After
Text A proof system is always {{c1::restricted to a certain type of mathematical statement}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::2._Introduction::3._Discussion

Note 2: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pk2Wn8Yv4L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::1._Introduction
The goal of logic is to provide a specific proof system with which we can express a very large class of mathematical statements in \(\mathcal{S}\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::1._Introduction
The goal of logic is to provide a specific proof system with which we can express a very large class of mathematical statements in \(\mathcal{S}\).

However, it's never possible to create a proof system that captures all such statements, especially self-referential statements.
Field-by-field Comparison
Field Before After
Text The goal of logic is to provide a {{c1::specific proof system}} with which we can express {{c2::a very large class of mathematical statements}} in&nbsp;\(\mathcal{S}\).
Extra However, it's never possible to create a proof system that captures <i>all</i> such statements, especially self-referential statements.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::1._Introduction

Note 3: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Hq7Bm3Xc9T
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::1._Introduction
A logic is defined by the syntax and semantics.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::1._Introduction
A logic is defined by the syntax and semantics.
Field-by-field Comparison
Field Before After
Text A <i>logic</i> is defined by the {{c1::syntax}} and {{c2::semantics}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::1._Introduction

Note 4: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Mn5Cx7Rp2J
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::2._Syntax
The syntax of a logic defines an alphabet \(\Lambda\) (of allowed symbols) and specifies which strings in \(\Lambda^*\) are formulas (i.e. syntactically correct).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::2._Syntax
The syntax of a logic defines an alphabet \(\Lambda\) (of allowed symbols) and specifies which strings in \(\Lambda^*\) are formulas (i.e. syntactically correct).
Field-by-field Comparison
Field Before After
Text The {{c1::<i>syntax</i>}} of a logic defines {{c2::an alphabet&nbsp;\(\Lambda\)&nbsp;(of allowed symbols)}} and specifies {{c2::which strings in&nbsp;\(\Lambda^*\)&nbsp;are formulas (i.e. syntactically correct)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::2._Syntax

Note 5: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Fb9Yx1Dk3Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::2._Syntax
What does the syntax of a logic define?

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::2._Syntax
What does the syntax of a logic define?

The syntax defines:
1. An alphabet \(\Lambda\) of allowed symbols
2. Which strings in \(\Lambda^*\) are valid formulas (syntactically correct)
Field-by-field Comparison
Field Before After
Front What does the syntax of a logic define?
Back The syntax defines:<br>1. An alphabet&nbsp;\(\Lambda\)&nbsp;of allowed symbols<br>2. Which strings in&nbsp;\(\Lambda^*\)&nbsp;are valid formulas (syntactically correct)
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::2._Syntax

Note 6: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Gv8Tm4Np5W
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics
The semantics of a logic defines a function \(free\) which {{c2::assigns to each formula \(F = (f_1, f_2, \dots, f_k) \in \Lambda^*\) a subset \(free(F) \subseteq \{1, \dots, k\}\) of the indices}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics
The semantics of a logic defines a function \(free\) which {{c2::assigns to each formula \(F = (f_1, f_2, \dots, f_k) \in \Lambda^*\) a subset \(free(F) \subseteq \{1, \dots, k\}\) of the indices}}.

If \(i \in free(F)\), then the symbol is said to occur free in \(F\).
Field-by-field Comparison
Field Before After
Text The {{c3::<i>semantics</i>}} of a logic defines a function {{c1::\(free\)}} which {{c2::assigns to each formula&nbsp;\(F = (f_1, f_2, \dots, f_k) \in \Lambda^*\)&nbsp;a subset&nbsp;\(free(F) \subseteq \{1, \dots, k\}\)&nbsp;of the indices}}.
Extra If&nbsp;\(i \in free(F)\), then the symbol is said to occur <i>free</i> in&nbsp;\(F\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics

Note 7: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Lp6Jy9Ht2V
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics
The same symbol can occur free in one place and unfree (bound) in another.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics
The same symbol can occur free in one place and unfree (bound) in another.
Field-by-field Comparison
Field Before After
Text The same symbol can occur {{c1::free}} in one place and {{c2::unfree (bound)}} in another.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics

Note 8: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Wr3Zk5Bq8M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics MEANINGFUL_DUPLICATE
What does the semantics of a logic define?

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics MEANINGFUL_DUPLICATE
What does the semantics of a logic define?

The semantics defines:
1. A function \(free\) that assigns to each formula which symbols occur free
2. A function \(\sigma\) that assigns truth values to formulas under interpretations
3. The meaning and behavior of logical operators
Field-by-field Comparison
Field Before After
Front What does the semantics of a logic define?
Back The semantics defines:<br>1. A function&nbsp;\(free\)&nbsp;that assigns to each formula which symbols occur free<br>2. A function&nbsp;\(\sigma\)&nbsp;that assigns truth values to formulas under interpretations<br>3. The meaning and behavior of logical operators
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics MEANINGFUL_DUPLICATE

Note 9: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Qn4Vs7Ck2H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
An interpretation consists of {{c1::a set \(\mathcal{Z} \subseteq \Lambda\) of \(\Lambda\)}}, {{c2::a domain (a set of possible values) for each symbol in \(\mathcal{Z}\)}}, and {{c3::a function that assigns to each symbol in \(\mathcal{Z}\) a value in the associated domain}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
An interpretation consists of {{c1::a set \(\mathcal{Z} \subseteq \Lambda\) of \(\Lambda\)}}, {{c2::a domain (a set of possible values) for each symbol in \(\mathcal{Z}\)}}, and {{c3::a function that assigns to each symbol in \(\mathcal{Z}\) a value in the associated domain}}.

Often the domain is defined in terms of the universe \(U\) where a symbol can be a function, predicate or element of \(U\).
Field-by-field Comparison
Field Before After
Text An <i>interpretation</i> consists of {{c1::a set&nbsp;\(\mathcal{Z} \subseteq \Lambda\)&nbsp;of&nbsp;\(\Lambda\)}}, {{c2::a domain (a set of possible values) for each symbol in&nbsp;\(\mathcal{Z}\)}}, and {{c3::a function that assigns to each symbol in&nbsp;\(\mathcal{Z}\)&nbsp;a value in the associated domain}}.
Extra Often the domain is defined in terms of the <i>universe</i>&nbsp;\(U\)&nbsp;where a symbol can be a function, predicate or element of&nbsp;\(U\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation

Note 10: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Jt5Wm9Nq3R
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
Restrictions on the universe \(U\)

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
Restrictions on the universe \(U\)

  • cannot be empty
  • not necessarily a set
Field-by-field Comparison
Field Before After
Front Restrictions on the universe&nbsp;\(U\)
Back <ul><li><b>cannot be empty</b></li><li>not necessarily a&nbsp;<i>set</i></li></ul>
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation

Note 11: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Bq7Kx4Mp9L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
An interpretation is suitable for a formula \(F\) if it assigns a value to all symbols \(\beta \in \Lambda\) occurring free in \(F\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
An interpretation is suitable for a formula \(F\) if it assigns a value to all symbols \(\beta \in \Lambda\) occurring free in \(F\).
Field-by-field Comparison
Field Before After
Text An interpretation is {{c1::<i>suitable</i>}} for a formula&nbsp;\(F\)&nbsp;if it {{c2::assigns a value to all symbols&nbsp;\(\beta \in \Lambda\)&nbsp;occurring free in&nbsp;\(F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation

Note 12: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Yv3Tn8Zw5C
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
The semantics of a logic defines a function \(\sigma\) {{c1::assigning to each formula \(F\) and each interpretation \(\mathcal{A}\) suitable for \(F\) a truth value\(\sigma(F, \mathcal{A})\)in \(\{0, 1\}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
The semantics of a logic defines a function \(\sigma\) {{c1::assigning to each formula \(F\) and each interpretation \(\mathcal{A}\) suitable for \(F\) a truth value\(\sigma(F, \mathcal{A})\)in \(\{0, 1\}\)}}.
Field-by-field Comparison
Field Before After
Text The <i>semantics</i> of a logic defines a function \(\sigma\)&nbsp;{{c1::assigning to each formula&nbsp;\(F\)&nbsp;and each interpretation \(\mathcal{A}\)&nbsp;suitable for&nbsp;\(F\)&nbsp;a truth value\(\sigma(F, \mathcal{A})\)in&nbsp;\(\{0, 1\}\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation

Note 13: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Kw9Rh6Pn2D
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
What is the relationship between \(\sigma(F, \mathcal{A})\) and \(\mathcal{A}(F)\)?

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation
What is the relationship between \(\sigma(F, \mathcal{A})\) and \(\mathcal{A}(F)\)?

They are the same! In logic, one often writes \(\mathcal{A}(F)\) instead of \(\sigma(F, \mathcal{A})\) and calls \(\mathcal{A}(F)\) the truth value of \(F\) under interpretation \(\mathcal{A}\).
Field-by-field Comparison
Field Before After
Front What is the relationship between&nbsp;\(\sigma(F, \mathcal{A})\)&nbsp;and&nbsp;\(\mathcal{A}(F)\)?
Back They are the same! In logic, one often writes&nbsp;\(\mathcal{A}(F)\)&nbsp;instead of&nbsp;\(\sigma(F, \mathcal{A})\)&nbsp;and calls&nbsp;\(\mathcal{A}(F)\)&nbsp;the <i>truth value of&nbsp;\(F\)&nbsp;under interpretation&nbsp;\(\mathcal{A}\)</i>.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Interpretation

Note 14: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Xm7Lt4Vq9P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
A {{c2:: (suitable) interpretation \(\mathcal{A}\) for which a formula \(F\) is true (i.e. \(\mathcal{A}(F) = 1\))}} is called a model for \(F\) and one also writes {{c1::\(\mathcal{A} \models F\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
A {{c2:: (suitable) interpretation \(\mathcal{A}\) for which a formula \(F\) is true (i.e. \(\mathcal{A}(F) = 1\))}} is called a model for \(F\) and one also writes {{c1::\(\mathcal{A} \models F\)}}.
Field-by-field Comparison
Field Before After
Text A {{c2:: (suitable) interpretation&nbsp;\(\mathcal{A}\)&nbsp;for which a formula&nbsp;\(F\)&nbsp;is true (i.e.&nbsp;\(\mathcal{A}(F) = 1\))}} is called a {{c1::<i>model</i>}} for&nbsp;\(F\)&nbsp;and one also writes {{c1::\(\mathcal{A} \models F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model

Note 15: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Cz5Pn8Jt3Y
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
The notation {{c1::\(\mathcal{A} \models F\)}} means that {{c2::\(\mathcal{A}\) is a model for \(F\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
The notation {{c1::\(\mathcal{A} \models F\)}} means that {{c2::\(\mathcal{A}\) is a model for \(F\)}}.
Field-by-field Comparison
Field Before After
Text The notation {{c1::\(\mathcal{A} \models F\)}} means that {{c2::\(\mathcal{A}\)&nbsp;is a model for&nbsp;\(F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model

Note 16: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Vq2Wr7Km4H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
For a set \(M\) of formulas, a (suitable) interpretation for which all formulas are true is called a model for \(M\) denoted as {{c2::\(\mathcal{A} \models M\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
For a set \(M\) of formulas, a (suitable) interpretation for which all formulas are true is called a model for \(M\) denoted as {{c2::\(\mathcal{A} \models M\)}}.

If \(\mathcal{A}\) is not a model for \(M\) one writes \(\mathcal{A} \not\models M\).
Field-by-field Comparison
Field Before After
Text For a set&nbsp;\(M\)&nbsp;of formulas, a {{c3:: (suitable) interpretation for which all formulas are true}} is called a {{c2::<i>model</i> for&nbsp;\(M\)}} denoted as {{c2::\(\mathcal{A} \models M\)}}.
Extra If&nbsp;\(\mathcal{A}\)&nbsp;is not a model for&nbsp;\(M\)&nbsp;one writes&nbsp;\(\mathcal{A} \not\models M\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model

Note 17: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pw8Zq3Bn5V
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A formula \(F\) (or a set \(M\)) is called satisfiable if there exists a model for \(F\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A formula \(F\) (or a set \(M\)) is called satisfiable if there exists a model for \(F\).

It's unsatisfiable otherwise: denoted \(\perp\).
Field-by-field Comparison
Field Before After
Text A formula&nbsp;\(F\)&nbsp;(or a set&nbsp;\(M\)) is called {{c1::<i>satisfiable</i>}} if {{c2::there exists a model for&nbsp;\(F\)}}.
Extra It's <b>unsatisfiable</b> otherwise: denoted&nbsp;\(\perp\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 18: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Dm5Ty7Wn2K
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A formula \(F\) is called a tautology or valid if it is true for every suitable interpretation.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A formula \(F\) is called a tautology or valid if it is true for every suitable interpretation.

Symbol: \(\top\)
Also written as \(\models F\)
Field-by-field Comparison
Field Before After
Text A formula&nbsp;\(F\)&nbsp;is called a {{c1::<i>tautology</i>&nbsp;or&nbsp;<i>valid</i>}} if it is {{c2::true for every suitable interpretation}}.
Extra Symbol:&nbsp;\(\top\)<br>Also written as&nbsp;\(\models F\)
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 19: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Rt6Kv4Nx8Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A formula \(G\) is a logical consequence of a formula \(F\) (or a set \(M\)), denoted \(F \models G\), if every interpretation suitable for both \(F\) and \(G\) which is a model for \(F\) is also a model for \(G\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A formula \(G\) is a logical consequence of a formula \(F\) (or a set \(M\)), denoted \(F \models G\), if every interpretation suitable for both \(F\) and \(G\) which is a model for \(F\) is also a model for \(G\).

\(F\) model for \(G\) means:  \(\mathcal{A} \models F \implies \mathcal{A} \models G\).
Field-by-field Comparison
Field Before After
Text A formula&nbsp;\(G\)&nbsp;is a {{c1::<i>logical consequence</i>}} of a formula&nbsp;\(F\)&nbsp;(or a set&nbsp;\(M\)), denoted {{c1::\(F \models G\)}}, if {{c2::every interpretation suitable for both&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;which is a model for&nbsp;\(F\)&nbsp;is also a model for&nbsp;\(G\)}}.
Extra \(F\)&nbsp;model for&nbsp;\(G\)&nbsp;means:&nbsp;&nbsp;\(\mathcal{A} \models F \implies \mathcal{A} \models G\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 20: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Zv3Ht8Lp2N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
Two formulas \(F\) and \(G\) are equivalent, denoted \(F \equiv G\), if every interpretation suitable for both \(F\) and \(G\) yields the same truth value.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
Two formulas \(F\) and \(G\) are equivalent, denoted \(F \equiv G\), if every interpretation suitable for both \(F\) and \(G\) yields the same truth value.

Each one is a logical consequence of the other: \(F \models G\) and \(G \models F\).
Field-by-field Comparison
Field Before After
Text Two formulas&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;are {{c1::<i>equivalent</i>}}, denoted {{c1::\(F \equiv G\)}}, if {{c2::every interpretation suitable for both&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;yields the same truth value}}.
Extra Each one is a logical consequence of the other:&nbsp;\(F \models G\)&nbsp;and&nbsp;\(G \models F\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 21: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Lm6Pv9Ty4W
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A set of formulas \(M\) can be interpreted as the conjunction (AND) of all formulas in \(M\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
A set of formulas \(M\) can be interpreted as the conjunction (AND) of all formulas in \(M\).

Thus \(\{F_1, \dots, F_n\}\) is equivalent to \(F_1 \land \dots \land F_n\).
Field-by-field Comparison
Field Before After
Text A set of formulas&nbsp;\(M\)&nbsp;can be interpreted as the {{c1::<i>conjunction</i> (AND) of all formulas in&nbsp;\(M\)}}.
Extra Thus&nbsp;\(\{F_1, \dots, F_n\}\)&nbsp;is equivalent to&nbsp;\(F_1 \land \dots \land F_n\).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 22: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Kq8Nx5Rm3J
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
If \(F\) is a tautology one also writes \(\models F\). If it's unsatisfiable it can be written as \(F \models \perp\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
If \(F\) is a tautology one also writes \(\models F\). If it's unsatisfiable it can be written as \(F \models \perp\).
Field-by-field Comparison
Field Before After
Text If&nbsp;\(F\)&nbsp;is a tautology one also writes {{c1::\(\models F\)}}. If it's unsatisfiable it can be written as {{c2::\(F \models \perp\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 23: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Ht7Vw2Cz9Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
What does \(F \models \emptyset\) mean?

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
What does \(F \models \emptyset\) mean?

\(F \models \emptyset\) means that \(F\) is unsatisfiable, as the empty set cannot be made true under any interpretation (it has no literals to set to true).
Field-by-field Comparison
Field Before After
Front What does&nbsp;\(F \models \emptyset\)&nbsp;mean?
Back \(F \models \emptyset\)&nbsp;means that&nbsp;\(F\)&nbsp;is <b>unsatisfiable</b>, as the empty set cannot be made true under any interpretation (it has no literals to set to true).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 24: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Bn4Qy6Kl8M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
If \(F\) and \(G\) are formulas, then:
  •  \(\lnot F\)
  • \((F \land G)\)
  • \((F \lor G)\)
are formulas.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
If \(F\) and \(G\) are formulas, then:
  •  \(\lnot F\)
  • \((F \land G)\)
  • \((F \lor G)\)
are formulas.
Field-by-field Comparison
Field Before After
Text If&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;are formulas, then:<br><ul><li>&nbsp;{{c1::\(\lnot F\)}}</li><li>{{c2::\((F \land G)\)}}</li><li>{{c3::\((F \lor G)\)}}</li></ul>are formulas.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 25: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Jv8Hm2Ny4P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \rightarrow G\) stands for \(\lnot F \lor G\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \rightarrow G\) stands for \(\lnot F \lor G\).

This is a notational convention.
Field-by-field Comparison
Field Before After
Text \(F \rightarrow G\)&nbsp;stands for {{c1::\(\lnot F \lor G\)}}.
Extra This is a notational convention.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 26: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Dz7Kx9Tn5L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \leftrightarrow G\) stands for \((F \land G) \lor (\lnot F \land \lnot G)\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \leftrightarrow G\) stands for \((F \land G) \lor (\lnot F \land \lnot G)\).
Field-by-field Comparison
Field Before After
Text \(F \leftrightarrow G\)&nbsp;stands for {{c1::\((F \land G) \lor (\lnot F \land \lnot G)\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 27: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Qm3Pv6Wt8N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Semantics Prop. Logic: {{c2::\(\mathcal{A}((F \land G)) = 1\) }} if and only if {{c1::\(\mathcal{A}(F) = 1\) and \(\mathcal{A}(G) = 1\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Semantics Prop. Logic: {{c2::\(\mathcal{A}((F \land G)) = 1\) }} if and only if {{c1::\(\mathcal{A}(F) = 1\) and \(\mathcal{A}(G) = 1\)}}.
Field-by-field Comparison
Field Before After
Text Semantics Prop. Logic:&nbsp;{{c2::\(\mathcal{A}((F \land G)) = 1\)&nbsp;}} if and only if {{c1::\(\mathcal{A}(F) = 1\)&nbsp;<i>and</i> \(\mathcal{A}(G) = 1\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 28: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Rn8Lt4Cv2K
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Semantics Prop. Logic: {{c2:: \(\mathcal{A}((F \lor G)) = 1\)}} if and only if {{c1::\(\mathcal{A}(F) = 1\) or \(\mathcal{A}(G) = 1\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Semantics Prop. Logic: {{c2:: \(\mathcal{A}((F \lor G)) = 1\)}} if and only if {{c1::\(\mathcal{A}(F) = 1\) or \(\mathcal{A}(G) = 1\)}}.
Field-by-field Comparison
Field Before After
Text Semantics Prop. Logic: {{c2::&nbsp;\(\mathcal{A}((F \lor G)) = 1\)}}&nbsp;if and only if {{c1::\(\mathcal{A}(F) = 1\)&nbsp;<i>or</i> \(\mathcal{A}(G) = 1\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 29: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Sv5Wz7Jq9Y
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Semantics Prop. Logic: {{c2::\(\mathcal{A}(\lnot F) = 1\)}} if and only if {{c1::\(\mathcal{A}(F) = 0\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Semantics Prop. Logic: {{c2::\(\mathcal{A}(\lnot F) = 1\)}} if and only if {{c1::\(\mathcal{A}(F) = 0\)}}.
Field-by-field Comparison
Field Before After
Text Semantics Prop. Logic:&nbsp;{{c2::\(\mathcal{A}(\lnot F) = 1\)}}&nbsp;if and only if {{c1::\(\mathcal{A}(F) = 0\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 30: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Tn2Bx6Km4H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \land F\) \(\equiv\)  \( F\) and \(F \lor F\) \(\equiv\)  \( F\) (idempotence).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \land F\) \(\equiv\)  \( F\) and \(F \lor F\) \(\equiv\)  \( F\) (idempotence).
Field-by-field Comparison
Field Before After
Text {{c1::\(F \land F\)}}&nbsp;\(\equiv\)&nbsp;{{c2::&nbsp;\( F\)}}&nbsp;and {{c1::\(F \lor F\)}}&nbsp;\(\equiv\)&nbsp;{{c2::&nbsp;\( F\)}}&nbsp;(idempotence).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 31: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Cw4Jx2Tn6L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \lor \top\) \(\equiv\) \( \top\) and \(F \land \top\)\(\equiv\)\(F\) (tautology rules).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \lor \top\) \(\equiv\) \( \top\) and \(F \land \top\)\(\equiv\)\(F\) (tautology rules).
Field-by-field Comparison
Field Before After
Text {{c1::\(F \lor \top\)}}&nbsp;\(\equiv\){{c2::&nbsp;\( \top\)}}&nbsp;and {{c1::\(F \land \top\)}}\(\equiv\){{c2::\(F\)}}&nbsp;(tautology rules).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 32: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Dx9Pv7Wm3K
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \lor \bot\) \(\equiv\) \(F\) and \(F \land \bot\) \(\equiv\) \(\bot\) (unsatisfiability rules).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \lor \bot\) \(\equiv\) \(F\) and \(F \land \bot\) \(\equiv\) \(\bot\) (unsatisfiability rules).
Field-by-field Comparison
Field Before After
Text {{c1::\(F \lor \bot\)}}&nbsp;\(\equiv\){{c2::&nbsp;\(F\)}}&nbsp;and {{c1::\(F \land \bot\)}}&nbsp;\(\equiv\){{c2::&nbsp;\(\bot\)}}&nbsp;(unsatisfiability rules).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 33: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ey5Ht8Nq4M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \lor \neg F\) \(\equiv\) \( \top\) and \(F \land \neg F\) \(\equiv\) \( \bot\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
\(F \lor \neg F\) \(\equiv\) \( \top\) and \(F \land \neg F\) \(\equiv\) \( \bot\).
Field-by-field Comparison
Field Before After
Text {{c1::\(F \lor \neg F\)}}&nbsp;\(\equiv\){{c2::&nbsp;\( \top\)}}&nbsp;and {{c1::\(F \land \neg F\)}}&nbsp;\(\equiv\){{c2::&nbsp;\( \bot\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 34: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Fz2Lv6Km9P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability
A formula \(F\) is a tautology if and only if \(\lnot F\) is unsatisfiable.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability
A formula \(F\) is a tautology if and only if \(\lnot F\) is unsatisfiable.
Field-by-field Comparison
Field Before After
Text A formula&nbsp;{{c1::\(F\)&nbsp;is a tautology}} if and only if {{c2::\(\lnot F\)&nbsp;is unsatisfiable}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability

Note 35: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ga7Wx4Cv5Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability
The following three statements are equivalent:
1. {{c1::\(\{F_1, \dots, F_k\} \models G\)}}
2. \((F_1 \land F_2 \land \dots F_k) \rightarrow G\) is a tautology
3. {{c3::\(\{F_1, F_2, \dots, F_k, \lnot G\}\) is unsatisfiable}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability
The following three statements are equivalent:
1. {{c1::\(\{F_1, \dots, F_k\} \models G\)}}
2. \((F_1 \land F_2 \land \dots F_k) \rightarrow G\) is a tautology
3. {{c3::\(\{F_1, F_2, \dots, F_k, \lnot G\}\) is unsatisfiable}}.

This is important for resolution calculus!
Field-by-field Comparison
Field Before After
Text The following three statements are equivalent:<br>1. {{c1::\(\{F_1, \dots, F_k\} \models G\)}}<br>2. {{c2::\((F_1 \land F_2 \land \dots F_k) \rightarrow G\)&nbsp;is a tautology}}<br>3. {{c3::\(\{F_1, F_2, \dots, F_k, \lnot G\}\)&nbsp;is unsatisfiable}}.
Extra This is important for resolution calculus!
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability

Note 36: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Hb8Ny2Pl6R
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability
Why is Lemma 6.3 (the equivalence between \(F \models G\) and unsatisfiability of \(\{F, \lnot G\}\)) important for the resolution calculus?

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability
Why is Lemma 6.3 (the equivalence between \(F \models G\) and unsatisfiability of \(\{F, \lnot G\}\)) important for the resolution calculus?

The fact that \(F \models G\) is equivalent to \(\{F, \lnot G\}\) being unsatisfiable makes the resolution calculus powerful enough to also show implications, not just unsatisfiability.
Field-by-field Comparison
Field Before After
Front Why is Lemma 6.3 (the equivalence between&nbsp;\(F \models G\)&nbsp;and unsatisfiability of&nbsp;\(\{F, \lnot G\}\)) important for the resolution calculus?
Back The fact that&nbsp;\(F \models G\)&nbsp;is equivalent to&nbsp;\(\{F, \lnot G\}\)&nbsp;being unsatisfiable makes the resolution calculus powerful enough to also show implications, not just unsatisfiability.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::7._Logical_Consequences_vs_Unsatisfiability

Note 37: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ic5Kv9Wm3S
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories
An axiom \(A\) is a statement taken as true in a theory. Theorems are the statements which follow from these axioms (\(A \models T\)).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories
An axiom \(A\) is a statement taken as true in a theory. Theorems are the statements which follow from these axioms (\(A \models T\)).
Field-by-field Comparison
Field Before After
Text An {{c1::<i>axiom</i>&nbsp;\(A\)}} is a {{c2::statement taken as true in a theory}}. {{c3::<i>Theorems</i>}} are the statements which {{c4::follow from these axioms}} (\(A \models T\)).
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories

Note 38: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Jd9Rx7Tn4T
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories
A theorem is a statement that follows from axioms \(A\): \(A \models T\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories
A theorem is a statement that follows from axioms \(A\): \(A \models T\).
Field-by-field Comparison
Field Before After
Text A theorem is a statement that {{c1::follows from axioms&nbsp;\(A\):&nbsp;\(A \models T\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories

Note 39: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ke6Tz2Pv8U
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories
If a theorem follows from the empty set of axioms \(\emptyset\), then it's a tautology. This means that it's a theorem in any theory!

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories
If a theorem follows from the empty set of axioms \(\emptyset\), then it's a tautology. This means that it's a theorem in any theory!
Field-by-field Comparison
Field Before After
Text If a theorem follows from the {{c1::empty set}} of axioms&nbsp;\(\emptyset\), then it's a {{c2::<i>tautology</i>}}. This means that {{c3::it's a theorem in any theory!}}
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::8._Theorems_and_Theories

Note 40: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Lf4Wq7Zn9B
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::1._Calculus_Concept
A well defined set of rules for manipulating formulas (the syntactic objects) is called a calculus.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::1._Calculus_Concept
A well defined set of rules for manipulating formulas (the syntactic objects) is called a calculus.

There are also calculi in which more complex objects are manipulated.
Field-by-field Comparison
Field Before After
Text A well defined {{c1::<i>set of rules</i>&nbsp;for manipulating formulas (the syntactic objects)}}&nbsp;is called a {{c2::<i>calculus</i>}}.
Extra There are also calculi in which more complex objects are manipulated.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::1._Calculus_Concept

Note 41: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Mg8Vt2Kp5X
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::1._Calculus_Concept
There is a trade-off in calculi between simplicity (which makes proving soundness easier) and versatility (which makes the calculus more complete).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::1._Calculus_Concept
There is a trade-off in calculi between simplicity (which makes proving soundness easier) and versatility (which makes the calculus more complete).
Field-by-field Comparison
Field Before After
Text There is a trade-off in calculi between {{c1::simplicity (which makes proving soundness easier)}} and {{c1::versatility (which makes the calculus more complete)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::1._Calculus_Concept

Note 42: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Oi6Kx4Tn8L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
Derivation or inference rule: 
{{c1::\(\{F_1, \dots, F_k\} \vdash_R G\)}} if {{c2:: \(G\) can be derived from the set \(\{F_1, \dots, F_k\}\) by rule \(R\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
Derivation or inference rule: 
{{c1::\(\{F_1, \dots, F_k\} \vdash_R G\)}} if {{c2:: \(G\) can be derived from the set \(\{F_1, \dots, F_k\}\) by rule \(R\)}}.

Formally, a derivation rule \(R\) is a relation from the power set of the set of formulas to the set of formulas.
Field-by-field Comparison
Field Before After
Text <i>Derivation&nbsp;</i>or&nbsp;<i>inference</i>&nbsp;rule:&nbsp;<br>{{c1::\(\{F_1, \dots, F_k\} \vdash_R G\)}} if {{c2::&nbsp;\(G\)&nbsp;can be derived from the set&nbsp;\(\{F_1, \dots, F_k\}\)&nbsp;by rule&nbsp;\(R\)}}.
Extra Formally, a derivation rule&nbsp;\(R\)&nbsp;is a relation from the power set of the set of formulas to the set of formulas.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 43: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Qk9Nz5Bw4H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
The application of a derivation rule \(R\) to a set \(M\) of formulas means:
1. Select a subset \(N\) of \(M\) such that \(N \vdash_R G\) for some formula \(G\)
2. {{c2::Add \(G\) to the set \(M\) (i.e., replace \(M\) by \(M \cup \{G\}\))}}

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
The application of a derivation rule \(R\) to a set \(M\) of formulas means:
1. Select a subset \(N\) of \(M\) such that \(N \vdash_R G\) for some formula \(G\)
2. {{c2::Add \(G\) to the set \(M\) (i.e., replace \(M\) by \(M \cup \{G\}\))}}
Field-by-field Comparison
Field Before After
Text The <i>application of a derivation rule</i>&nbsp;\(R\)&nbsp;to a set&nbsp;\(M\)&nbsp;of formulas means:<br>1. {{c1::Select a subset&nbsp;\(N\)&nbsp;of&nbsp;\(M\)&nbsp;such that&nbsp;\(N \vdash_R G\)&nbsp;for some formula&nbsp;\(G\)}}<br>2. {{c2::Add&nbsp;\(G\)&nbsp;to the set&nbsp;\(M\)&nbsp;(i.e., replace&nbsp;\(M\)&nbsp;by&nbsp;\(M \cup \{G\}\))}}
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 44: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Rl7Hx3Cp6T
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
A (logical) calculus \(K\) is a {{c2::finite set of derivation rules: \(K = \{R_1, \dots, R_m\}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
A (logical) calculus \(K\) is a {{c2::finite set of derivation rules: \(K = \{R_1, \dots, R_m\}\)}}.
Field-by-field Comparison
Field Before After
Text A (logical) {{c1::<i>calculus</i>&nbsp;\(K\)}} is a {{c2::finite set of derivation rules: \(K = \{R_1, \dots, R_m\}\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 45: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Sm4Wv8Ry9M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
A derivation of a formula \(G\) from a set \(M\) of formulas in a calculus \(K\) is a finite sequence (of some length \(n\)) of applications of rules in \(K\), leading to \(G\) denoted  \(M \vdash_K G\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
A derivation of a formula \(G\) from a set \(M\) of formulas in a calculus \(K\) is a finite sequence (of some length \(n\)) of applications of rules in \(K\), leading to \(G\) denoted  \(M \vdash_K G\).

More precisely: \(M_0 := M\), \(M_i := M_{i-1} \cup \{G_i\}\) for \(1 \leq i \leq n\), where \(N \vdash_R G_i\) for some \(N \subseteq M_{i-1}\) and for some \(R_j \in K\), and where \(G_n = G\).
Field-by-field Comparison
Field Before After
Text A <i>derivation</i> of a formula&nbsp;\(G\)&nbsp;from a set&nbsp;\(M\)&nbsp;of formulas in a calculus&nbsp;\(K\)&nbsp;is a {{c1::finite sequence (of some length&nbsp;\(n\)) of applications of rules in&nbsp;\(K\), leading to&nbsp;\(G\)}} denoted {{c2::&nbsp;\(M \vdash_K G\)}}.
Extra More precisely: \(M_0 := M\), \(M_i := M_{i-1} \cup \{G_i\}\)&nbsp;for&nbsp;\(1 \leq i \leq n\), where&nbsp;\(N \vdash_R G_i\)&nbsp;for some&nbsp;\(N \subseteq M_{i-1}\)&nbsp;and for some&nbsp;\(R_j \in K\), and where&nbsp;\(G_n = G\).
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 46: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Tn5Zq2Lw7P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
We write \(M \vdash_K G\) if there is a derivation of \(G\) from \(M\) in the calculus \(K\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
We write \(M \vdash_K G\) if there is a derivation of \(G\) from \(M\) in the calculus \(K\).
Field-by-field Comparison
Field Before After
Text We write {{c1::\(M \vdash_K G\)}} if there is a {{c2::<i>derivation</i> of&nbsp;\(G\)&nbsp;from&nbsp;\(M\)&nbsp;in the calculus&nbsp;\(K\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 47: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Uo6Xt9Km4N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
Rule: \(\{F \land G\} \vdash_R F\) can be instantiated with ... in a derivation rule:

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
Rule: \(\{F \land G\} \vdash_R F\) can be instantiated with ... in a derivation rule:

more complex formulas, ex: \(\{(A \lor B) \land (C \lor B)\} \vdash_R A \lor B\)
Field-by-field Comparison
Field Before After
Front Rule:&nbsp;\(\{F \land G\} \vdash_R F\)&nbsp;can be instantiated with ... in a derivation rule:
Back more&nbsp;<b>complex formulas</b>, ex:&nbsp;\(\{(A \lor B) \land (C \lor B)\} \vdash_R A \lor B\)
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 48: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Wq8Bz5Tm2V
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness
A derivation rule \(R\) is correct if for every set \(M\) of formulas and every formula \(F\), \(M \vdash_R F\) implies \(M \models F\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness
A derivation rule \(R\) is correct if for every set \(M\) of formulas and every formula \(F\), \(M \vdash_R F\) implies \(M \models F\).
Field-by-field Comparison
Field Before After
Text A derivation rule&nbsp;\(R\)&nbsp;is {{c1::<i>correct</i>}} if for every set&nbsp;\(M\)&nbsp;of formulas and every formula&nbsp;\(F\), {{c2::\(M \vdash_R F\)&nbsp;implies&nbsp;\(M \models F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness

Note 49: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Xr4Hv6Pn9W
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness
A calculus \(K\) is
  • sound or correct if \(M \vdash_K F\) implies \(M \models F\).
  • complete if \(M \models F\) implies \(M \vdash_K F\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness
A calculus \(K\) is
  • sound or correct if \(M \vdash_K F\) implies \(M \models F\).
  • complete if \(M \models F\) implies \(M \vdash_K F\).

Hence, it's sound and complete if \(M \vdash_K F \Leftrightarrow M \models F\).
Field-by-field Comparison
Field Before After
Text A calculus&nbsp;\(K\)&nbsp;is <br><ul><li>{{c1::<i>sound</i>&nbsp;or&nbsp;<i>correct</i>}} if {{c2::\(M \vdash_K F\)&nbsp;implies&nbsp;\(M \models F\)}}.</li><li>{{c3::<i>complete</i>}} if {{c4::\(M \models F\)&nbsp;implies&nbsp;\(M \vdash_K F\)}}.</li></ul>
Extra Hence, it's <b>sound and complete</b> if&nbsp;\(M \vdash_K F \Leftrightarrow M \models F\).
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness

Note 50: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ys9Lw3Kq7C
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness
A calculus is sound if and only if every rule itself is correct.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness
A calculus is sound if and only if every rule itself is correct.
Field-by-field Comparison
Field Before After
Text A calculus is {{c1::sound}} if and only if {{c2::every <i>rule</i> itself is correct}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::3._Soundness_and_Completeness

Note 51: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Au5Kz9Rp2H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
\(F\)\(\vdash\)\( \vdash F \lor G\) and \(F \vdash G \lor F\) are valid derivation rules.

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
\(F\)\(\vdash\)\( \vdash F \lor G\) and \(F \vdash G \lor F\) are valid derivation rules.
Field-by-field Comparison
Field Before After
Text {{c1::\(F\)}}\(\vdash\){{c2::\( \vdash F \lor G\)}}&nbsp;and {{c2::\(F \vdash G \lor F\)}} are valid derivation rules.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules

Note 52: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Bv6Pw3Tn8L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F, F \rightarrow G\}\)}}\( \vdash\)  \( G\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F, F \rightarrow G\}\)}}\( \vdash\)  \( G\).

(modus ponens)
Field-by-field Comparison
Field Before After
Text Prop. Logic Dervation rules:&nbsp;{{c1::\(\{F, F \rightarrow G\}\)}}\( \vdash\)&nbsp;{{c2::&nbsp;\( G\)}}.
Extra (modus ponens)
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules

Note 53: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Cw7Qx4Vm9M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}\(\vdash\)\( \vdash H\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules
Prop. Logic Dervation rules: {{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}\(\vdash\)\( \vdash H\).

(case distinction)
Field-by-field Comparison
Field Before After
Text Prop. Logic Dervation rules: {{c1::\(\{F \lor G, F \rightarrow H, G \rightarrow H\}\)}}\(\vdash\){{c2::\( \vdash H\)}}.
Extra (case distinction)
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::4._Some_Derivation_Rules

Note 54: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Dx8Ry5Wn3P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::5._Derivations_from_Assumptions
If in a sound calculus \(K\) one can derive \(G\) from the set of formulas \(F\) (\(F \vdash_K G\)), then one has proved that \(F \rightarrow G\) is a tautology and thus that \(F \models G\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::5._Derivations_from_Assumptions
If in a sound calculus \(K\) one can derive \(G\) from the set of formulas \(F\) (\(F \vdash_K G\)), then one has proved that \(F \rightarrow G\) is a tautology and thus that \(F \models G\).
Field-by-field Comparison
Field Before After
Text If in a sound calculus&nbsp;\(K\)&nbsp;one can <i>derive</i>&nbsp;\(G\)&nbsp;from the set of formulas&nbsp;\(F\)&nbsp;(\(F \vdash_K G\)), then one has proved that {{c1::\(F \rightarrow G\)&nbsp;is a <i>tautology</i>&nbsp;and thus that&nbsp;\(F \models G\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::5._Derivations_from_Assumptions

Note 55: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ey9Sz2Kp7Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::5._Derivations_from_Assumptions
If \(F \vdash_K G\) in a calculus \(K\), one could extend the calculus by the new derivation \(F \rightarrow G\).

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::5._Derivations_from_Assumptions
If \(F \vdash_K G\) in a calculus \(K\), one could extend the calculus by the new derivation \(F \rightarrow G\).
Field-by-field Comparison
Field Before After
Text If&nbsp;\(F \vdash_K G\)&nbsp;in a calculus&nbsp;\(K\), one could {{c1::<i>extend the calculus</i> by the new derivation&nbsp;\(F \rightarrow G\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::5._Derivations_from_Assumptions

Note 56: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Fz3Wv7Kn2B
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
In propositional logic, an atomic formula is {{c2::a symbol of the form \(A_i\), with \(i \in \mathbb{N}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
In propositional logic, an atomic formula is {{c2::a symbol of the form \(A_i\), with \(i \in \mathbb{N}\)}}.
Field-by-field Comparison
Field Before After
Text In propositional logic, an {{c1::<i>atomic</i> formula}} is {{c2::a symbol of the form \(A_i\), with&nbsp;\(i \in \mathbb{N}\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax

Note 57: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ga8Ty4Rl9M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
A formula in propositional logic is defined recursively:
- An atomic formula is a formula
- If \(F\) and \(G\) are formulas, then also \(\lnot F\), \(F \lor G\), \(F \land G\).

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax
A formula in propositional logic is defined recursively:
- An atomic formula is a formula
- If \(F\) and \(G\) are formulas, then also \(\lnot F\), \(F \lor G\), \(F \land G\).
Field-by-field Comparison
Field Before After
Text A formula in propositional logic is defined recursively:<br>- {{c2::An atomic formula is a formula}}<br>- If&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;are formulas, then also {{c3::\(\lnot F\), \(F \lor G\), \(F \land G\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::1._Syntax

Note 58: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ic9Vx7Wn4Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
In propositional logic, the free symbols of a formula are all the atomic formulas.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
In propositional logic, the free symbols of a formula are all the atomic formulas.
Field-by-field Comparison
Field Before After
Text In propositional logic, the {{c1::<i>free symbols</i>&nbsp;of a formula}}&nbsp;are {{c2::all the <i>atomic formulas</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics

Note 59: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Jd6Wy2Kp8H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
In propositional logic an interpretation is called a truth assignment.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
In propositional logic an interpretation is called a truth assignment.
Field-by-field Comparison
Field Before After
Text In {{c2::propositional logic}} an interpretation is called a {{c1::<b>truth assignment</b>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics

Note 60: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ke4Xz9Rl3T
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
For a set \(Z\) of atomic formulas, a {{c1::truth assignment \(\mathcal{A}\)}} is {{c2::a function \(\mathcal{A}: Z \rightarrow \{0, 1\}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
For a set \(Z\) of atomic formulas, a {{c1::truth assignment \(\mathcal{A}\)}} is {{c2::a function \(\mathcal{A}: Z \rightarrow \{0, 1\}\)}}.

A truth assignment \(\mathcal{A}\) is suitable for a formula \(F\) if it contains all atomic formulas appearing in \(F\).
Field-by-field Comparison
Field Before After
Text For a set&nbsp;\(Z\)&nbsp;of atomic formulas, a {{c1::<i>truth assignment</i>&nbsp;\(\mathcal{A}\)}} is {{c2::a function \(\mathcal{A}: Z \rightarrow \{0, 1\}\)}}.
Extra A truth assignment&nbsp;\(\mathcal{A}\)&nbsp;is suitable for a formula&nbsp;\(F\)&nbsp;if it contains all atomic formulas appearing in&nbsp;\(F\).
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics

Note 61: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Lf7Yw5Vn2P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
The semantics of propositional logic are defined as:
  1. {{c1::\(\mathcal{A}(F) = \mathcal{A}(A_i)\) for any atomic formula \(A_i\)}}
for \(\land, \lor, \lnot\) the semantics are identical to before.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics
The semantics of propositional logic are defined as:
  1. {{c1::\(\mathcal{A}(F) = \mathcal{A}(A_i)\) for any atomic formula \(A_i\)}}
for \(\land, \lor, \lnot\) the semantics are identical to before.
Field-by-field Comparison
Field Before After
Text The semantics of propositional logic are defined as:<br><ol><li>{{c1::\(\mathcal{A}(F) = \mathcal{A}(A_i)\)&nbsp;for any atomic formula&nbsp;\(A_i\)}}</li></ol>for&nbsp;\(\land, \lor, \lnot\)&nbsp;the semantics are identical to before.<br>
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::2._Semantics

Note 62: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Mg4Zv3Tp9K
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::3._Brief_Discussion
Two formulas \(F\) and \(G\) are equivalent if their truth tables (function tables) are equivalent.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::3._Brief_Discussion
Two formulas \(F\) and \(G\) are equivalent if their truth tables (function tables) are equivalent.
Field-by-field Comparison
Field Before After
Text Two formulas&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;are {{c1::equivalent}} if their {{c2::<i>truth tables</i> (function tables) are equivalent}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::3._Brief_Discussion

Note 63: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Nh8Wx6Kn4L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::3._Brief_Discussion
\(F \models G\) in propositional logic means that the function table (truth table) of \(G\) contains a \(1\) for at least all arguments for which the function table of \(F\) contains a \(1\).

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::3._Brief_Discussion
\(F \models G\) in propositional logic means that the function table (truth table) of \(G\) contains a \(1\) for at least all arguments for which the function table of \(F\) contains a \(1\).
Field-by-field Comparison
Field Before After
Text {{c2::\(F \models G\)}}&nbsp;in propositional logic means that {{c1::the function table (truth table) of&nbsp;\(G\)&nbsp;contains a&nbsp;\(1\)&nbsp;for at least all arguments for which the function table of&nbsp;\(F\)&nbsp;contains a&nbsp;\(1\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::3._Brief_Discussion

Note 64: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Oi5Ty2Rp7M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
A literal is an atomic formula or the negation of an atomic formula.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
A literal is an atomic formula or the negation of an atomic formula.
Field-by-field Comparison
Field Before After
Text A {{c1::<i>literal</i>}} is {{c2::an atomic formula or the negation of an atomic formula}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 65: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pj9Uz7Wm3N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
A formula is in conjunctive normal form (CNF) if it is a {{c2::conjunction of disjunctions of literals: \[(L_{11} \lor \dots \lor L_{1m_1}) \land \dots \land (L_{n1} \lor \dots \lor L_{nm_n})\]}}

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
A formula is in conjunctive normal form (CNF) if it is a {{c2::conjunction of disjunctions of literals: \[(L_{11} \lor \dots \lor L_{1m_1}) \land \dots \land (L_{n1} \lor \dots \lor L_{nm_n})\]}}
Field-by-field Comparison
Field Before After
Text A formula is in {{c1::<i>conjunctive normal form</i> (CNF)}} if it is a {{c2::conjunction of disjunctions of literals: \[(L_{11} \lor \dots \lor L_{1m_1}) \land \dots \land (L_{n1} \lor \dots \lor L_{nm_n})\]}}
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 66: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Qk6Vx4Tn8O
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
A formula is in disjunctive normal form (DNF) if it is a {{c2::disjunction of conjunctions of literals: \[(L_{11} \land \dots \land L_{1m_1}) \lor \dots \lor (L_{n1} \land \dots \land L_{nm_n})\]}}

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
A formula is in disjunctive normal form (DNF) if it is a {{c2::disjunction of conjunctions of literals: \[(L_{11} \land \dots \land L_{1m_1}) \lor \dots \lor (L_{n1} \land \dots \land L_{nm_n})\]}}
Field-by-field Comparison
Field Before After
Text A formula is in {{c1::<i>disjunctive normal form</i> (DNF)}} if it is a {{c2::disjunction of conjunctions of literals: \[(L_{11} \land \dots \land L_{1m_1}) \lor \dots \lor (L_{n1} \land \dots \land L_{nm_n})\]}}
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 67: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Rl3Wy9Kp5P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
Every formula is equivalent to a formula in CNF and also to a formula in DNF.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
Every formula is equivalent to a formula in CNF and also to a formula in DNF.
Field-by-field Comparison
Field Before After
Text Every formula is {{c1::equivalent}} to a formula in {{c2::CNF and also to a formula in DNF}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 68: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Sm8Xz2Vn4Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms MEANINGFUL_DUPLICATE
How do you construct a CNF formula from a truth table?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms MEANINGFUL_DUPLICATE
How do you construct a CNF formula from a truth table?

For every row evaluating to 0:
1. Take the disjunction of \(n\) literals
2. If \(A_i = 0\) in the row, take \(A_i\)
3. If \(A_i = 1\) in the row, take \(\lnot A_i\)
4. Then take the conjunction of all these rows

This works because \(F\) is \(0\) exactly if every single disjunction is true, which is the case by construction.
Field-by-field Comparison
Field Before After
Front How do you construct a CNF formula from a truth table?
Back For every row evaluating to <b>0</b>:<br>1. Take the <i>disjunction</i> of&nbsp;\(n\)&nbsp;literals<br>2. If&nbsp;\(A_i = 0\)&nbsp;in the row, take&nbsp;\(A_i\)<br>3. If&nbsp;\(A_i = 1\)&nbsp;in the row, take&nbsp;\(\lnot A_i\)<br>4. Then take the <i>conjunction</i> of all these rows<br><br>This works because&nbsp;\(F\)&nbsp;is&nbsp;\(0\)&nbsp;exactly if every single disjunction is true, which is the case by construction.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms MEANINGFUL_DUPLICATE

Note 69: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Tn5Yw7Rp3R
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For CNF construction from truth table, which rows do you use?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For CNF construction from truth table, which rows do you use?

Rows evaluating to 0.
Field-by-field Comparison
Field Before After
Front For CNF construction from truth table, which rows do you use?
Back Rows evaluating to <b>0</b>.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 70: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Uo9Xv4Km8S
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For CNF construction, how do you form literals from a row?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For CNF construction, how do you form literals from a row?

- If \(A_i = 0\) in the row, take \(A_i\)
- If \(A_i = 1\) in the row, take \(\lnot A_i\)
Field-by-field Comparison
Field Before After
Front For CNF construction, how do you form literals from a row?
Back - If&nbsp;\(A_i = 0\)&nbsp;in the row, take&nbsp;\(A_i\)<br>- If&nbsp;\(A_i = 1\)&nbsp;in the row, take&nbsp;\(\lnot A_i\)
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 71: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Vp6Yw9Tn5T
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For CNF construction, how do you combine literals within and across rows?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For CNF construction, how do you combine literals within and across rows?

- Within a row: disjunction (\(\lor\))
- Across rows: conjunction (\(\land\))
Field-by-field Comparison
Field Before After
Front For CNF construction, how do you combine literals within and across rows?
Back - Within a row: <i>disjunction</i> (\(\lor\))<br>- Across rows: <i>conjunction</i> (\(\land\))
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 72: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Wq3Zx7Vp2U
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms MEANINGFUL_DUPLICATE
How do you construct a DNF formula from a truth table?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms MEANINGFUL_DUPLICATE
How do you construct a DNF formula from a truth table?

For every row evaluating to 1:
1. Take the conjunction of \(n\) literals
2. If \(A_i = 0\) in the row, take \(\lnot A_i\)
3. If \(A_i = 1\) in the row, take \(A_i\)
4. Then take the disjunction of all these rows

This works because \(F\) is \(1\) exactly if one of the rows is \(1\), which is the case by construction.
Field-by-field Comparison
Field Before After
Front How do you construct a DNF formula from a truth table?
Back For every row evaluating to <b>1</b>:<br>1. Take the <i>conjunction</i> of&nbsp;\(n\)&nbsp;literals<br>2. If&nbsp;\(A_i = 0\)&nbsp;in the row, take&nbsp;\(\lnot A_i\)<br>3. If&nbsp;\(A_i = 1\)&nbsp;in the row, take&nbsp;\(A_i\)<br>4. Then take the <i>disjunction</i> of all these rows<br><br>This works because&nbsp;\(F\)&nbsp;is&nbsp;\(1\)&nbsp;exactly if one of the rows is&nbsp;\(1\), which is the case by construction.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms MEANINGFUL_DUPLICATE

Note 73: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Xr8Yw4Kn9V
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For DNF construction from truth table, which rows do you use?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For DNF construction from truth table, which rows do you use?

Rows evaluating to 1.
Field-by-field Comparison
Field Before After
Front For DNF construction from truth table, which rows do you use?
Back Rows evaluating to <b>1</b>.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 74: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Ys5Zv2Rp6W
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For DNF construction, how do you form literals from a row?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For DNF construction, how do you form literals from a row?

- If \(A_i = 0\) in the row, take \(\lnot A_i\)
- If \(A_i = 1\) in the row, take \(A_i\)
Field-by-field Comparison
Field Before After
Front For DNF construction, how do you form literals from a row?
Back - If&nbsp;\(A_i = 0\)&nbsp;in the row, take&nbsp;\(\lnot A_i\)<br>- If&nbsp;\(A_i = 1\)&nbsp;in the row, take&nbsp;\(A_i\)
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 75: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Zt9Ww7Tn3X
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For DNF construction, how do you combine literals within and across rows?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
For DNF construction, how do you combine literals within and across rows?

- Within a row: conjunction (\(\land\))
- Across rows: disjunction (\(\lor\))
Field-by-field Comparison
Field Before After
Front For DNF construction, how do you combine literals within and across rows?
Back - Within a row: <i>conjunction</i> (\(\land\))<br>- Across rows: <i>disjunction</i> (\(\lor\))
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 76: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Bv3Yw9Rn5Z
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
The CNF or DNF forms are NOT unique!

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms
The CNF or DNF forms are NOT unique!

We can construct many equivalent ones.
Field-by-field Comparison
Field Before After
Text The CNF or DNF forms are {{c1::<b>NOT</b>}}&nbsp;unique!
Extra We can construct many equivalent ones.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::4._Normal_Forms

Note 77: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Dx5Yw7Kn9B
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A clause is a set of literals.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A clause is a set of literals.

Example: \(\{A, \lnot B, \lnot D\}\) is a clause. The empty set \(\emptyset\) is also a clause.
Field-by-field Comparison
Field Before After
Text A {{c1::<i>clause</i>}} is a {{c2::set of literals}}.
Extra Example:&nbsp;\(\{A, \lnot B, \lnot D\}\)&nbsp;is a clause. The empty set&nbsp;\(\emptyset\)&nbsp;is also a clause.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 78: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ey9Zv4Rp6C
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The empty set \(\emptyset\) is a clause.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The empty set \(\emptyset\) is a clause.
Field-by-field Comparison
Field Before After
Text The {{c1::empty set&nbsp;\(\emptyset\)}} is a {{c2::clause}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 79: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Fz6Ww3Tn2D
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The set of clauses associated with a formula \[F = (L_{11} \lor \dots \lor L_{1m_1}) \land \dots \land (L_{n1} \lor \dots \lor L_{nm_n})\] in CNF, denoted as {{c1::\(\mathcal{K}(F)\)}}, is the set {{c2::\[\mathcal{K}(F) = \{\{L_{11}, \dots, L_{1m_1}\}, \dots, \{L_{n1}, \dots, L_{nm_n}\}\}\]}}

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The set of clauses associated with a formula \[F = (L_{11} \lor \dots \lor L_{1m_1}) \land \dots \land (L_{n1} \lor \dots \lor L_{nm_n})\] in CNF, denoted as {{c1::\(\mathcal{K}(F)\)}}, is the set {{c2::\[\mathcal{K}(F) = \{\{L_{11}, \dots, L_{1m_1}\}, \dots, \{L_{n1}, \dots, L_{nm_n}\}\}\]}}
Field-by-field Comparison
Field Before After
Text The set of clauses associated with a formula \[F = (L_{11} \lor \dots \lor L_{1m_1}) \land \dots \land (L_{n1} \lor \dots \lor L_{nm_n})\] in CNF, denoted as {{c1::\(\mathcal{K}(F)\)}}, is the set {{c2::\[\mathcal{K}(F) = \{\{L_{11}, \dots, L_{1m_1}\}, \dots, \{L_{n1}, \dots, L_{nm_n}\}\}\]}}
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 80: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ga3Xy8Kp9E
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The set of clauses associated with a set \(M = \{F_1, \dots, F_k\}\) of formulas is {{c1::\[\mathcal{K}(M) = \bigcup_{i=1}^k \mathcal{K}(F_i)\]}} (the union of their clause sets).

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The set of clauses associated with a set \(M = \{F_1, \dots, F_k\}\) of formulas is {{c1::\[\mathcal{K}(M) = \bigcup_{i=1}^k \mathcal{K}(F_i)\]}} (the union of their clause sets).
Field-by-field Comparison
Field Before After
Text The set of clauses associated with a set&nbsp;\(M = \{F_1, \dots, F_k\}\)&nbsp;of formulas is {{c1::\[\mathcal{K}(M) = \bigcup_{i=1}^k \mathcal{K}(F_i)\]}} (the {{c2::union of their clause sets}}).
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 81: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Hb8Zv5Rn4F
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A clause stands for the disjunction of its literals. It's thus only satisfied if one of its literals evaluates to true.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A clause stands for the disjunction of its literals. It's thus only satisfied if one of its literals evaluates to true.
Field-by-field Comparison
Field Before After
Text A clause stands for the {{c1::<i>disjunction</i> of its literals}}. It's thus only satisfied if {{c2::one of its literals evaluates to true}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 82: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ic5Ww2Tp7G
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The set of clauses is the conjunction, it's only satisfied if every clause within is satisfied.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The set of clauses is the conjunction, it's only satisfied if every clause within is satisfied.
Field-by-field Comparison
Field Before After
Text The set of clauses is the {{c1::<i>conjunction</i>}}, it's only satisfied if {{c2::every clause within is satisfied}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 83: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Jd9Xy7Kn3H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The empty clause \(\emptyset\) (formula with no literals) corresponds to an unsatisfiable formula.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The empty clause \(\emptyset\) (formula with no literals) corresponds to an unsatisfiable formula.
Field-by-field Comparison
Field Before After
Text The {{c1::empty clause&nbsp;\(\emptyset\)&nbsp;(formula with no literals)}}&nbsp;corresponds to an {{c2::<i>unsatisfiable formula</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 84: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ke6Zv4Rp8I
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The {{c1::empty clause set \(\{\}\) (or \(\emptyset\))}} corresponds to a tautology.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The {{c1::empty clause set \(\{\}\) (or \(\emptyset\))}} corresponds to a tautology.
Field-by-field Comparison
Field Before After
Text The {{c1::empty clause set&nbsp;\(\{\}\)&nbsp;(or&nbsp;\(\emptyset\))}} corresponds to a {{c2::<i>tautology</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 85: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Mg8Xy2Kp6K
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A clause \(K\) is resolvent of clauses \(K_1\) and \(K_2\) if there is a literal \(L\) such that \(L \in K_1\), \(\lnot L \in K_2\).

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A clause \(K\) is resolvent of clauses \(K_1\) and \(K_2\) if there is a literal \(L\) such that \(L \in K_1\), \(\lnot L \in K_2\).

 \[K = (K_1 \setminus \{L\}) \cup (K_2 \setminus \{\lnot L\})\]
Field-by-field Comparison
Field Before After
Text A clause&nbsp;\(K\)&nbsp;is {{c1::<i>resolvent</i>}} of clauses&nbsp;\(K_1\)&nbsp;and&nbsp;\(K_2\)&nbsp;if {{c2::there is a literal&nbsp;\(L\)&nbsp;such that \(L \in K_1\), \(\lnot L \in K_2\)}}.
Extra &nbsp;\[K = (K_1 \setminus \{L\}) \cup (K_2 \setminus \{\lnot L\})\]<br>
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 86: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Nh5Zv7Rn9L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
Can the resolution calculus remove two complementary literals at once?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
Can the resolution calculus remove two complementary literals at once?

NO! The resolution calculus doesn't allow removing two complementary literals at once.

The derivation \(\{A, \lnot B\}, \{\lnot A, B\} \vdash_{\text{res}} \emptyset\) is wrong and illegal!

For \(A = 1\), \(B = 1\) both clauses are true, so this would derive unsatisfiability from satisfiable clauses.
Field-by-field Comparison
Field Before After
Front Can the resolution calculus remove two complementary literals at once?
Back <b>NO!</b> The resolution calculus <b>doesn't allow</b> removing two complementary literals at once.<br><br>The derivation&nbsp;\(\{A, \lnot B\}, \{\lnot A, B\} \vdash_{\text{res}} \emptyset\)&nbsp;is <b>wrong and illegal!</b><br><br>For&nbsp;\(A = 1\),&nbsp;\(B = 1\)&nbsp;both clauses are true, so this would derive unsatisfiability from satisfiable clauses.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 87: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pj6Xy8Kn7N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The resolution calculus is sound, i.e. if {{c2::\(\mathcal{K} \vdash_{\textbf{Res}} K\)}}, then {{c2::\(\mathcal{K} \models K\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
The resolution calculus is sound, i.e. if {{c2::\(\mathcal{K} \vdash_{\textbf{Res}} K\)}}, then {{c2::\(\mathcal{K} \models K\)}}.
Field-by-field Comparison
Field Before After
Text The resolution calculus is {{c1::<i>sound</i>}}, i.e. if {{c2::\(\mathcal{K} \vdash_{\textbf{Res}} K\)}}, then {{c2::\(\mathcal{K} \models K\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 88: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Qk3Zv5Rp4O
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
What is the proof idea for the soundness of the resolution calculus (Lemma 6.5)?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
What is the proof idea for the soundness of the resolution calculus (Lemma 6.5)?

If \(\mathcal{A}\) models the set \(K_1, K_2\) then it makes at least one literal in both true. Case distinction:
- If \(\mathcal{A}(L) = 1\), then \(K_2\) (which has \(\lnot L\)) must have at least one other literal that evaluates to true, so the union (resolvent) is also true
- Similarly for \(\mathcal{A}(L) = 0\)
Field-by-field Comparison
Field Before After
Front What is the proof idea for the soundness of the resolution calculus (Lemma 6.5)?
Back If&nbsp;\(\mathcal{A}\)&nbsp;models the set&nbsp;\(K_1, K_2\)&nbsp;then it makes at least one literal in both true. Case distinction:<br>- If&nbsp;\(\mathcal{A}(L) = 1\), then&nbsp;\(K_2\)&nbsp;(which has&nbsp;\(\lnot L\)) must have at least one other literal that evaluates to true, so the union (resolvent) is also true<br>- Similarly for&nbsp;\(\mathcal{A}(L) = 0\)
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 89: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Rl8Ww2Tn9P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A set \(M\) of formulas is unsatisfiable if and only if {{c2::\(\mathcal{K}(M) \vdash_{\textbf{Res}} \emptyset\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
A set \(M\) of formulas is unsatisfiable if and only if {{c2::\(\mathcal{K}(M) \vdash_{\textbf{Res}} \emptyset\)}}.
Field-by-field Comparison
Field Before After
Text A set&nbsp;\(M\)&nbsp;of formulas is {{c1::unsatisfiable}} if and only if {{c2::\(\mathcal{K}(M) \vdash_{\textbf{Res}} \emptyset\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 90: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Sm5Xy7Kp3Q
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
Proof Idea Resolution Calculus complete (regard to unsatisfiability):

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
Proof Idea Resolution Calculus complete (regard to unsatisfiability):

Proof by induction on \(n\) literals:
  • Base case (n=1): Only one unsatisfiable set for 1 literal: \(\{\{A_1\}, \{\lnot A_1\}\}\)
  • Inductive step: Remove \(A_{n+1}\)/\(\lnot A_{n+1}\) from all formulas, producing two sets \(\mathcal{K}_1\)/\(\mathcal{K}_0\)
  • Apply I.H. to derive \(\emptyset\) in each (if unsatisfiable)
  • Add literals back: get derivations for \(\{A_{n+1}\}\) and \(\{\lnot A_{n+1}\}\), which resolve to \(\emptyset\)
  • (It could also be that we didn't use the literals in the derivations, then we're done immediately)

Field-by-field Comparison
Field Before After
Front Proof Idea Resolution Calculus complete (regard to unsatisfiability):
Back <b>Proof by induction on&nbsp;\(n\)&nbsp;literals:</b><br><ul><li><b>Base case (n=1):</b> Only one unsatisfiable set for 1 literal:&nbsp;\(\{\{A_1\}, \{\lnot A_1\}\}\)</li><li><b>Inductive step:</b> Remove&nbsp;\(A_{n+1}\)/\(\lnot A_{n+1}\)&nbsp;from all formulas, producing two sets&nbsp;\(\mathcal{K}_1\)/\(\mathcal{K}_0\)</li><li>Apply I.H. to derive&nbsp;\(\emptyset\)&nbsp;in each (if unsatisfiable)</li><li>Add literals back: get derivations for&nbsp;\(\{A_{n+1}\}\)&nbsp;and&nbsp;\(\{\lnot A_{n+1}\}\), which resolve to&nbsp;\(\emptyset\)</li><li>(It could also be that we didn't use the literals in the derivations, then we're done immediately)</li></ul><br>
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 91: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Tn9Zv4Rn8R
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
How do you prove \(M \models F\) using the resolution calculus?

Back

ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus
How do you prove \(M \models F\) using the resolution calculus?

Show that \(M \cup \{\lnot F\} \vdash_{\text{res}} \emptyset\).

This works by Lemma 6.3: \(M \models F\) is equivalent to \(M \cup \{\lnot F\}\) being unsatisfiable.
Field-by-field Comparison
Field Before After
Front How do you prove&nbsp;\(M \models F\)&nbsp;using the resolution calculus?
Back Show that&nbsp;\(M \cup \{\lnot F\} \vdash_{\text{res}} \emptyset\).<br><br>This works by Lemma 6.3:&nbsp;\(M \models F\)&nbsp;is equivalent to&nbsp;\(M \cup \{\lnot F\}\)&nbsp;being unsatisfiable.
Tags: ETH::1._Semester::DiskMat::6._Logic::5._Propositional_Logic::5._Resolution_Calculus

Note 92: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Up7Wv9Kn2S
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
Propositional logic is (in relation to predicate logic):

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
Propositional logic is (in relation to predicate logic):

embedded into predicate logic as a special case.
We extend it by the concept of predicates.
Field-by-field Comparison
Field Before After
Front Propositional logic is (in relation to predicate logic):
Back <i>embedded</i>&nbsp;into predicate logic as a <i>special case</i>. <br>We extend it by the concept of <b>predicates</b>.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 93: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Vq4Xy3Rp8T
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A variable symbol is of the form {{c2::\(x_i\) with \(i \in \mathbb{N}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A variable symbol is of the form {{c2::\(x_i\) with \(i \in \mathbb{N}\)}}.
Field-by-field Comparison
Field Before After
Text A {{c1::<i>variable symbol</i>}} is of the form {{c2::\(x_i\)&nbsp;with&nbsp;\(i \in \mathbb{N}\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 94: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Wr8Zv5Tn4U
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A function symbol is of the form {{c2::\(f_i^{(k)}\) with \(i, k \in \mathbb{N}\)}}, where \(k\) denotes the number of arguments (the arity) of the function.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A function symbol is of the form {{c2::\(f_i^{(k)}\) with \(i, k \in \mathbb{N}\)}}, where \(k\) denotes the number of arguments (the arity) of the function.

Function symbols for \(k = 0\) are called constants.
Field-by-field Comparison
Field Before After
Text A {{c1::<i>function symbol</i>}} is of the form {{c2::\(f_i^{(k)}\)&nbsp;with&nbsp;\(i, k \in \mathbb{N}\)}}, where {{c2::\(k\)&nbsp;denotes the number of arguments (the <i>arity</i>) of the function}}.
Extra Function symbols for&nbsp;\(k = 0\)&nbsp;are called <i>constants</i>.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 95: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Xs5Ww2Kp9V
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
Function symbols \(f^{(k)}_i\) for \(k = 0\) are called constants.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
Function symbols \(f^{(k)}_i\) for \(k = 0\) are called constants.
Field-by-field Comparison
Field Before After
Text Function symbols&nbsp;\(f^{(k)}_i\)&nbsp;for {{c1::\(k = 0\)}} are called {{c2::<i>constants</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 96: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Yt9Xy7Rn3W
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A predicate symbol is of the form {{c2::\(P_i^{(k)}\) with \(i, k \in \mathbb{N}\)}}, where \(k\) denotes the number of arguments of the predicate.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A predicate symbol is of the form {{c2::\(P_i^{(k)}\) with \(i, k \in \mathbb{N}\)}}, where \(k\) denotes the number of arguments of the predicate.
Field-by-field Comparison
Field Before After
Text A {{c1::<i>predicate symbol</i>}} is of the form {{c2::\(P_i^{(k)}\)&nbsp;with&nbsp;\(i, k \in \mathbb{N}\)}}, where {{c2::\(k\)&nbsp;denotes the number of arguments of the predicate}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 97: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Zu6Zv4Tp8X
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A term is defined inductively:
  • A variable is a term
  • if \((t_1, \dots, t_k)\) are terms, then {{c3::\(f^{(k)}(t_1, \dots, t_k)\) is a term}}.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
A term is defined inductively:
  • A variable is a term
  • if \((t_1, \dots, t_k)\) are terms, then {{c3::\(f^{(k)}(t_1, \dots, t_k)\) is a term}}.

For \(k = 0\) one writes no parenthesis (constants).
Field-by-field Comparison
Field Before After
Text A <b>term</b> is defined inductively: <br><ul><li>{{c1::A variable}}&nbsp;is a term</li><li>if {{c2::\((t_1, \dots, t_k)\)&nbsp;are terms}}, then {{c3::\(f^{(k)}(t_1, \dots, t_k)\)&nbsp;is a term}}.</li></ul>
Extra For&nbsp;\(k = 0\)&nbsp;one writes no parenthesis (constants).
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 98: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Av3Ww9Kn5Y
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
For any \(i\) and \(k\), if \(t_1, \dots, t_k\) are terms, then {{c1::\(P_i^{(k)}(t_1, \dots, t_k)\) is a formula}}, called an atomic formula.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
For any \(i\) and \(k\), if \(t_1, \dots, t_k\) are terms, then {{c1::\(P_i^{(k)}(t_1, \dots, t_k)\) is a formula}}, called an atomic formula.
Field-by-field Comparison
Field Before After
Text For any&nbsp;\(i\)&nbsp;and&nbsp;\(k\), if&nbsp;\(t_1, \dots, t_k\)&nbsp;are terms, then {{c1::\(P_i^{(k)}(t_1, \dots, t_k)\)&nbsp;is a formula}}, called an {{c2::<i>atomic formula</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 99: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Cx5Zv7Tn9A
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
If \(F\) is a formula in predicate logic, then for any \(i\):
  • \(\forall x_i F\)
  • \(\exists x_i F\) 
are formulas.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
If \(F\) is a formula in predicate logic, then for any \(i\):
  • \(\forall x_i F\)
  • \(\exists x_i F\) 
are formulas.
Field-by-field Comparison
Field Before After
Text If&nbsp;\(F\)&nbsp;is a formula in predicate logic, then for any&nbsp;\(i\):<br><ul><li>{{c1::\(\forall x_i F\)}}</li><li>{{c2::\(\exists x_i F\)}}&nbsp;</li></ul>are formulas.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 100: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ez6Xy8Rn7C
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
\(\forall\) is called the universal quantifier.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
\(\forall\) is called the universal quantifier.
Field-by-field Comparison
Field Before After
Text {{c1::\(\forall\)}} is called the {{c2::<i>universal quantifier</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 101: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Fa3Zv5Tp4D
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
\(\exists\) is called the existential quantifier.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax
\(\exists\) is called the existential quantifier.
Field-by-field Comparison
Field Before After
Text {{c1::\(\exists\)}} is called the {{c2::<i>existential quantifier</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::1._Syntax

Note 102: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Gb8Ww2Kn9E
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
Every occurrence of a variable in a formula is either bound or free.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
Every occurrence of a variable in a formula is either bound or free.
Field-by-field Comparison
Field Before After
Text Every occurrence of a variable in a formula is either {{c1::<i>bound</i>}} or {{c1::<i>free</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables

Note 103: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Id9Zv4Tn8G
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
A formula is closed if it contains no free variables.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
A formula is closed if it contains no free variables.
Field-by-field Comparison
Field Before After
Text A formula is {{c1::<i>closed</i>}} if it {{c2::contains no free variables}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables

Note 104: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Je6Ww9Kp5H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
Can the same variable occur both bound and free in a formula?

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
Can the same variable occur both bound and free in a formula?

YES! The same variable can occur both bound in one place and free in another.

We can then replace all occurrences of the bound variable with another letter without changing the meaning.
Field-by-field Comparison
Field Before After
Front Can the same variable occur both bound and free in a formula?
Back <b>YES!</b> The same variable can occur both bound in one place and free in another.<br><br>We can then replace all occurrences of the bound variable with another letter without changing the meaning.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables

Note 105: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Kf3Xy2Rn9I
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
For a formula \(F\), a variable \(x\) and a term \(t\), \(F[x/t]\) denotes the formula obtained from \(F\) by substituting every free occurrence of \(x\) by \(t\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
For a formula \(F\), a variable \(x\) and a term \(t\), \(F[x/t]\) denotes the formula obtained from \(F\) by substituting every free occurrence of \(x\) by \(t\).
Field-by-field Comparison
Field Before After
Text For a formula&nbsp;\(F\), {{c1::a variable&nbsp;\(x\)&nbsp;and a term&nbsp;\(t\), \(F[x/t]\)}} denotes {{c2::the formula obtained from&nbsp;\(F\)&nbsp;by substituting every free occurrence of&nbsp;\(x\)&nbsp;by&nbsp;\(t\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables

Note 106: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Lg8Zv7Tp4J
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
An interpretation or structure in predicate logic is a tuple \(\mathcal{A} = (U, \phi, \varphi, \xi)\) where:
- \(U\) is a non-empty universe
- \(\phi\) assigns function symbols to functions \(U^k \rightarrow U\)
- {{c3::\(\varphi\) assigns predicate symbols to functions \(U^k \rightarrow \{0,1\}\)}}
- \(\xi\) assigns variable symbols to values in \(U\)

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
An interpretation or structure in predicate logic is a tuple \(\mathcal{A} = (U, \phi, \varphi, \xi)\) where:
- \(U\) is a non-empty universe
- \(\phi\) assigns function symbols to functions \(U^k \rightarrow U\)
- {{c3::\(\varphi\) assigns predicate symbols to functions \(U^k \rightarrow \{0,1\}\)}}
- \(\xi\) assigns variable symbols to values in \(U\)
Field-by-field Comparison
Field Before After
Text An <i>interpretation</i> or <i>structure</i> in predicate logic is a tuple&nbsp;\(\mathcal{A} = (U, \phi, \varphi, \xi)\)&nbsp;where:<br>- {{c1::\(U\)&nbsp;is a <b>non-empty</b> universe}}<br>- {{c2::\(\phi\)&nbsp;assigns function symbols to functions&nbsp;\(U^k \rightarrow U\)}}<br>- {{c3::\(\varphi\)&nbsp;assigns predicate symbols to functions&nbsp;\(U^k \rightarrow \{0,1\}\)}}<br>- {{c4::\(\xi\)&nbsp;assigns variable symbols to values in&nbsp;\(U\)}}
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics

Note 107: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ni9Xy4Rp5L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
In predicate logic interpretation, \(\phi\) assigns function symbols \(f\) to functions, \(\phi(f)\) is a function \(U^k \rightarrow U\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
In predicate logic interpretation, \(\phi\) assigns function symbols \(f\) to functions, \(\phi(f)\) is a function \(U^k \rightarrow U\).
Field-by-field Comparison
Field Before After
Text In predicate logic interpretation, {{c1::\(\phi\)}} assigns {{c2::<b>function</b> symbols&nbsp;\(f\)&nbsp;to functions,&nbsp;\(\phi(f)\)&nbsp;is a function \(U^k \rightarrow U\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics

Note 108: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Oj6Zv8Tn2M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
In predicate logic interpretation, \(\varphi\) assigns {{c2::predicate symbols \(P\) to functions, \(\varphi(P)\) is a function \(U^k \rightarrow \{0,1\}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
In predicate logic interpretation, \(\varphi\) assigns {{c2::predicate symbols \(P\) to functions, \(\varphi(P)\) is a function \(U^k \rightarrow \{0,1\}\)}}.
Field-by-field Comparison
Field Before After
Text In predicate logic interpretation, {{c1::\(\varphi\)}} assigns {{c2::<b>predicate</b> symbols&nbsp;\(P\)&nbsp;to functions,&nbsp;\(\varphi(P)\)&nbsp;is a function \(U^k \rightarrow \{0,1\}\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics

Note 109: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pk3Ww5Kp9N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
In predicate logic interpretation, \(\xi\) assigns variable symbols to values in \(U\): \(\xi : Z \rightarrow U\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
In predicate logic interpretation, \(\xi\) assigns variable symbols to values in \(U\): \(\xi : Z \rightarrow U\).
Field-by-field Comparison
Field Before After
Text In predicate logic interpretation, {{c1::\(\xi\)}} assigns {{c2::<b>variable</b> symbols to values in&nbsp;\(U\): \(\xi : Z \rightarrow U\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics

Note 110: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Ql8Xy2Rn4O
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
Under interpretation \(P, U, x, f\) become {{c1:: \(P^\mathcal{A}\), \(U^\mathcal{A}\), \(x^\mathcal{A} = \xi(x)\) and \(f^\mathcal{A}\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
Under interpretation \(P, U, x, f\) become {{c1:: \(P^\mathcal{A}\), \(U^\mathcal{A}\), \(x^\mathcal{A} = \xi(x)\) and \(f^\mathcal{A}\)}}.
Field-by-field Comparison
Field Before After
Text Under interpretation&nbsp;\(P, U, x, f\)&nbsp;become {{c1::&nbsp;\(P^\mathcal{A}\),&nbsp;\(U^\mathcal{A}\),&nbsp;\(x^\mathcal{A} = \xi(x)\)&nbsp;and&nbsp;\(f^\mathcal{A}\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics

Note 111: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Wr5Xy7Rn3U
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
\(F\) of the form \(\forall x G\) or \(\exists x G\) semantics:
  • \(\mathcal{A}(\forall x G) = 1\) if {{c1::\(\mathcal{A}_{[x \rightarrow u]}(G) = 1\) for all \(u\) in \(U\)}}
  • \(\mathcal{A}(\exists x G) = 1\) if {{c2::\(\mathcal{A}_{[x \rightarrow u]}(G) = 1\) for some \(u\) in \(U\)}}

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics
\(F\) of the form \(\forall x G\) or \(\exists x G\) semantics:
  • \(\mathcal{A}(\forall x G) = 1\) if {{c1::\(\mathcal{A}_{[x \rightarrow u]}(G) = 1\) for all \(u\) in \(U\)}}
  • \(\mathcal{A}(\exists x G) = 1\) if {{c2::\(\mathcal{A}_{[x \rightarrow u]}(G) = 1\) for some \(u\) in \(U\)}}

\(\mathcal{A}_{[x \rightarrow u]}\)}} for \(u\) in \(U\) is the same structure as \(\mathcal{A}\), except that \(\xi(x)\) is overwritten by \(u\): \(\xi(x) = u\).
Field-by-field Comparison
Field Before After
Text \(F\)&nbsp;of the form&nbsp;\(\forall x G\)&nbsp;or&nbsp;\(\exists x G\)&nbsp;semantics:<br><ul><li>\(\mathcal{A}(\forall x G) = 1\)&nbsp;if&nbsp;{{c1::\(\mathcal{A}_{[x \rightarrow u]}(G) = 1\)&nbsp;for all&nbsp;\(u\)&nbsp;in&nbsp;\(U\)}}</li><li>\(\mathcal{A}(\exists x G) = 1\)&nbsp;if {{c2::\(\mathcal{A}_{[x \rightarrow u]}(G) = 1\)&nbsp;for some&nbsp;\(u\)&nbsp;in&nbsp;\(U\)}}</li></ul>
Extra <div>\(\mathcal{A}_{[x \rightarrow u]}\)}} for&nbsp;\(u\)&nbsp;in&nbsp;\(U\)&nbsp;is the same structure as&nbsp;\(\mathcal{A}\), except that&nbsp;\(\xi(x)\)&nbsp;is overwritten by&nbsp;\(u\): \(\xi(x) = u\).</div>
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::3._Semantics

Note 112: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Xs9Zv4Tp8V
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\neg(\forall x \, F)\)\(\equiv\)\(\exists x \, \neg F\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\neg(\forall x \, F)\)\(\equiv\)\(\exists x \, \neg F\).
Field-by-field Comparison
Field Before After
Text {{c1::\(\neg(\forall x \, F)\)}}\(\equiv\){{c2::\(\exists x \, \neg F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 113: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Yt6Ww9Kn5W
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\neg(\exists x \, F)\)\(\equiv\)\(\forall x \, \neg F\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\neg(\exists x \, F)\)\(\equiv\)\(\forall x \, \neg F\).
Field-by-field Comparison
Field Before After
Text {{c1::\(\neg(\exists x \, F)\)}}\(\equiv\){{c2::\(\forall x \, \neg F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 114: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Bw5Ww4Kp8Z
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\forall x \, \forall y \, F\)\(\equiv\)\(\forall y \, \forall x \, F\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\forall x \, \forall y \, F\)\(\equiv\)\(\forall y \, \forall x \, F\).
Field-by-field Comparison
Field Before After
Text {{c1::\(\forall x \, \forall y \, F\)}}\(\equiv\){{c2::\(\forall y \, \forall x \, F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 115: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Cx9Xy3Rn5A
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\exists x \, \exists y \, F \)\(\equiv\)\(\exists y \, \exists x \, F\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
\(\exists x \, \exists y \, F \)\(\equiv\)\(\exists y \, \exists x \, F\).
Field-by-field Comparison
Field Before After
Text {{c1::\(\exists x \, \exists y \, F \)}}\(\equiv\){{c2::\(\exists y \, \exists x \, F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 116: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Dy6Zv8Tp2B
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
For formulas \(F\) and \(H\), where \(x\) does not occur free in \(H\), we have:
- \((\forall x \, F) \land H\) \( \equiv\) \( \forall x \, (F \land H)\)
- \((\forall x \, F) \lor H \) \(\equiv\) \(\forall x \, (F \lor H)\)
- \((\exists x \, F) \land H \) \(\equiv\)  \(\exists x \, (F \land H)\)
- \((\exists x \, F) \lor H\) \(\equiv\)  \(\exists x \, (F \lor H)\)

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
For formulas \(F\) and \(H\), where \(x\) does not occur free in \(H\), we have:
- \((\forall x \, F) \land H\) \( \equiv\) \( \forall x \, (F \land H)\)
- \((\forall x \, F) \lor H \) \(\equiv\) \(\forall x \, (F \lor H)\)
- \((\exists x \, F) \land H \) \(\equiv\)  \(\exists x \, (F \land H)\)
- \((\exists x \, F) \lor H\) \(\equiv\)  \(\exists x \, (F \lor H)\)
Field-by-field Comparison
Field Before After
Text For formulas&nbsp;\(F\)&nbsp;and&nbsp;\(H\), where&nbsp;\(x\)&nbsp;<b>does not occur free</b> in&nbsp;\(H\), we have:<br>- {{c1::\((\forall x \, F) \land H\)}}&nbsp;\( \equiv\)&nbsp;{{c2::\( \forall x \, (F \land H)\)}}<br>- {{c3::\((\forall x \, F) \lor H \)}}&nbsp;\(\equiv\)&nbsp;{{c4::\(\forall x \, (F \lor H)\)}}<br>- {{c5::\((\exists x \, F) \land H \)}}&nbsp;\(\equiv\)&nbsp;{{c6::&nbsp;\(\exists x \, (F \land H)\)}}<br>- {{c7::\((\exists x \, F) \lor H\)}}&nbsp;\(\equiv\)&nbsp;{{c8::&nbsp;\(\exists x \, (F \lor H)\)}}
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 117: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Ez3Ww5Kn9C
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
Does quantifier order matter?

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
Does quantifier order matter?

YES! Quantifier order matters for nested variables.

\(\exists x \forall y P(x, y)\) is NOT equivalent to \(\forall y \exists x P(x, y)\)!

Example: \(\exists x \forall y (x < y)\) means "there exists a smallest element", while \(\forall y \exists x (x < y)\) means "for every element, there exists a smaller one".
Field-by-field Comparison
Field Before After
Front Does quantifier order matter?
Back <b>YES!</b> Quantifier order matters for <b>nested</b> <b>variables</b>.<br><br>\(\exists x \forall y P(x, y)\)&nbsp;is <b>NOT</b> equivalent to&nbsp;\(\forall y \exists x P(x, y)\)!<br><br>Example:&nbsp;\(\exists x \forall y (x &lt; y)\)&nbsp;means "there exists a smallest element", while&nbsp;\(\forall y \exists x (x &lt; y)\)&nbsp;means "for every element, there exists a smaller one".
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 118: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Fa8Xy2Rp4D
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
If one replaces a sub-formula \(G\) of a formula \(F\) by an equivalent (to \(G\)) formula \(H\), then the resulting formula is equivalent to \(F\).

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers
If one replaces a sub-formula \(G\) of a formula \(F\) by an equivalent (to \(G\)) formula \(H\), then the resulting formula is equivalent to \(F\).
Field-by-field Comparison
Field Before After
Text If one replaces a sub-formula&nbsp;\(G\)&nbsp;of a formula&nbsp;\(F\)&nbsp;by an equivalent (to&nbsp;\(G\)) formula&nbsp;\(H\), then {{c2::the resulting formula is equivalent to&nbsp;\(F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::5._Basic_Equivalences_involving_Quantifiers

Note 119: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Gb5Zv7Tn8E
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables
The name of a bound variable carries no semantic meaning and can be replaced.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables
The name of a bound variable carries no semantic meaning and can be replaced.
Field-by-field Comparison
Field Before After
Text The {{c1::<i>name</i>&nbsp;of a bound variable}}&nbsp;{{c2::carries no semantic meaning and can be <i>replaced</i>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables

Note 120: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Hc9Ww4Kp5F
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables
For a formula \(G\) in which \(y\) does not occur, we have:
  • \(\forall x G\)\(\equiv\)\(\forall y G[x/y]\)
  • \(\exists x G\)\(\equiv\)\(\exists y G[x/y]\)

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables
For a formula \(G\) in which \(y\) does not occur, we have:
  • \(\forall x G\)\(\equiv\)\(\forall y G[x/y]\)
  • \(\exists x G\)\(\equiv\)\(\exists y G[x/y]\)
Field-by-field Comparison
Field Before After
Text For a formula&nbsp;\(G\)&nbsp;in which&nbsp;\(y\)&nbsp;does not occur, we have:<br><ul><li>{{c1::\(\forall x G\)}}\(\equiv\){{c2::\(\forall y G[x/y]\)}}</li><li>{{c3::\(\exists x G\)}}\(\equiv\){{c4::\(\exists y G[x/y]\)}}</li></ul>
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables

Note 121: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Kf8Ww5Kn7I
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Quantifier order matters in prenex form!

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Quantifier order matters in prenex form!

For example, \(\exists x \forall y P(x, y)\) is not equivalent to \(\forall y \exists x P(x, y)\).
Field-by-field Comparison
Field Before After
Text Quantifier order {{c1::matters}} in prenex form!
Extra For example,&nbsp;\(\exists x \forall y P(x, y)\)&nbsp;is <b>not</b> equivalent to&nbsp;\(\forall y \exists x P(x, y)\).
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 122: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Oj3Xy8Rn2M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Skolem Normal Form has only universal quantifiers.
It is equisatisfiable (not equivalent!) to the original formula.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Skolem Normal Form has only universal quantifiers.
It is equisatisfiable (not equivalent!) to the original formula.
Field-by-field Comparison
Field Before After
Text Skolem Normal Form has {{c1::only universal quantifiers}}.<br>It is {{c2::<i>equisatisfiable</i> (not equivalent!)}} to the original formula.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 123: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pk8Zv5Tp9N
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
The Skolem transformation works by replacing all variables bound to an \(\exists\) by a function whose arguments are the universally quantified variables that precede it.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
The Skolem transformation works by replacing all variables bound to an \(\exists\) by a function whose arguments are the universally quantified variables that precede it.
Field-by-field Comparison
Field Before After
Text The Skolem transformation works by {{c1::replacing all variables <i>bound to an&nbsp;\(\exists\)</i> by a function}} whose arguments are {{c2::the universally quantified variables that precede it}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 124: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Ql5Ww2Kn4O
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Why do we replace \(\exists x\) in \(\exists x f(x)\) with a constant \(a\) in Skolem Normal Form?

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Why do we replace \(\exists x\) in \(\exists x f(x)\) with a constant \(a\) in Skolem Normal Form?

If the \(\exists\) is the first quantifier in the formula, then it doesn't depend on anything, and we can just replace it by a constant function \(a\) that always returns the \(x\) for which our formula is true: \(\exists x f(x) \equiv f(a)\).
Field-by-field Comparison
Field Before After
Front Why do we replace&nbsp;\(\exists x\)&nbsp;in&nbsp;\(\exists x f(x)\)&nbsp;with a constant&nbsp;\(a\)&nbsp;in Skolem Normal Form?
Back If the&nbsp;\(\exists\)&nbsp;is the first quantifier in the formula, then it <b>doesn't depend on anything</b>, and we can just replace it by a constant function&nbsp;\(a\)&nbsp;that always returns the&nbsp;\(x\)&nbsp;for which our formula is true:&nbsp;\(\exists x f(x) \equiv f(a)\).
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 125: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: Rm9Xy7Rp8P
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
What is the Skolem transformation of \(\forall s \exists t \forall x \forall y \exists z F(s, t, x, y, z)\)?

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
What is the Skolem transformation of \(\forall s \exists t \forall x \forall y \exists z F(s, t, x, y, z)\)?

\[\forall s \forall x \forall y F(s, f(s), x, y, g(s, x, y))\]

The \(t\) depends only on \(s\), so it becomes \(f(s)\). The \(z\) depends on \(s\), \(x\), and \(y\), so it becomes \(g(s, x, y)\).
Field-by-field Comparison
Field Before After
Front What is the Skolem transformation of&nbsp;\(\forall s \exists t \forall x \forall y \exists z F(s, t, x, y, z)\)?
Back \[\forall s \forall x \forall y F(s, f(s), x, y, g(s, x, y))\]<br><br>The&nbsp;\(t\)&nbsp;depends only on&nbsp;\(s\), so it becomes&nbsp;\(f(s)\). The&nbsp;\(z\)&nbsp;depends on&nbsp;\(s\),&nbsp;\(x\), and&nbsp;\(y\), so it becomes&nbsp;\(g(s, x, y)\).
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 126: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: To3Ww9Kp2R
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::8._Derivation_Rules
Why does universal instantiation work?

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::8._Derivation_Rules
Why does universal instantiation work?

We can eliminate the quantifier by replacing \(x\) by one specific \(t\). As \(F\) is true for all \(x\), this holds for the free variable \(t\).
Field-by-field Comparison
Field Before After
Front Why does universal instantiation work?
Back We can eliminate the quantifier by replacing&nbsp;\(x\)&nbsp;by one specific&nbsp;\(t\). As&nbsp;\(F\)&nbsp;is true for all&nbsp;\(x\), this holds for the free variable&nbsp;\(t\).
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::8._Derivation_Rules

Note 127: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Gx(I9$%V&{
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
The notation {{c1::\(\mathcal{A} \not \models F\)}} means that {{c2::\(\mathcal{A}\) is not a model for \(F\)}}.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model
The notation {{c1::\(\mathcal{A} \not \models F\)}} means that {{c2::\(\mathcal{A}\) is not a model for \(F\)}}.
Field-by-field Comparison
Field Before After
Text The notation {{c1::\(\mathcal{A} \not \models F\)}} means that {{c2::\(\mathcal{A}\)&nbsp;is not a model for&nbsp;\(F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::3._Semantics::Model

Note 128: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: BQ.+C9_=de
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
The symbol  \(\perp\) denotes unsatisfiability.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
The symbol  \(\perp\) denotes unsatisfiability.
Field-by-field Comparison
Field Before After
Text The symbol {{c1::&nbsp;\(\perp\)}} denotes {{c2:: unsatisfiability}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 129: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: Pm0iLHpE%M
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
The symbol  \(\top\) denotes tautology.

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
The symbol  \(\top\) denotes tautology.
Field-by-field Comparison
Field Before After
Text The symbol {{c1::&nbsp;\(\top\)}} denotes {{c2:: tautology}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 130: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: MZ}brx(2+L
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
To prove equivalence between formulas \(F\) and \(G\) we have to prove that  \(F \models G \ \ \land \ \ G \models F\).

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence
To prove equivalence between formulas \(F\) and \(G\) we have to prove that  \(F \models G \ \ \land \ \ G \models F\).
Field-by-field Comparison
Field Before After
Text To prove equivalence between formulas&nbsp;\(F\)&nbsp;and&nbsp;\(G\)&nbsp;we have to prove that {{c1::&nbsp;\(F \models G \ \ \land \ \ G \models F\)}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::5._Satisfiability_Tautology_Consequence_Equivalence

Note 131: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: EE&#dBK8n>
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Disjunction

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Disjunction

\(\lor\)
Field-by-field Comparison
Field Before After
Front <b>Disjunction</b>
Back \(\lor\)
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 132: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: vH;[>&}OXg
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Conjunction

Back

ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators
Conjunction

\(\land\)
Field-by-field Comparison
Field Before After
Front <b>Conjunction</b>
Back \(\land\)
Tags: ETH::1._Semester::DiskMat::6._Logic::3._General_Concepts_in_Logic::6._Logical_Operators

Note 133: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: N*:u1Dw&:/
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
For \(F \vdash_K G\), what is \(F\) called in a calculus?

Back

ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi
For \(F \vdash_K G\), what is \(F\) called in a calculus?

The premises or preconditions.
Field-by-field Comparison
Field Before After
Front For&nbsp;\(F \vdash_K G\), what is&nbsp;\(F\)&nbsp;called in a calculus?
Back The premises or preconditions.
Tags: ETH::1._Semester::DiskMat::6._Logic::4._Logical_Calculi::2._Hilbert_Style_Calculi

Note 134: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: b75u`Hl{|J
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
If a variable \(x\) occurs in a (sub-)formula of the form \(\forall x G\) or \(\exists x G\) then it is  bound, otherwise it is free.

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables
If a variable \(x\) occurs in a (sub-)formula of the form \(\forall x G\) or \(\exists x G\) then it is  bound, otherwise it is free.
Field-by-field Comparison
Field Before After
Text If a variable&nbsp;\(x\)&nbsp;occurs {{c1::in a (sub-)formula of the form&nbsp;\(\forall x G\)&nbsp;or \(\exists x G\)}}&nbsp;then it is {{c2::&nbsp;<b>bound</b>, otherwise it is <b>free</b>}}.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::2._Free_and_Bound_Variables

Note 135: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: w99%AgTdDZ
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables
Rectified form:
  • no variable occurs both as a bound and as a free variable
  • all variables appearing after the quantifiers are distinct

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables
Rectified form:
  • no variable occurs both as a bound and as a free variable
  • all variables appearing after the quantifiers are distinct
Field-by-field Comparison
Field Before After
Text <b>Rectified</b>&nbsp;form:<br><ul><li>{{c1::<b>no</b>&nbsp;variable occurs&nbsp;<b>both as a bound and as a free</b>&nbsp;variable}}</li><li>{{c2::<b>all</b>&nbsp;variables appearing&nbsp;<b>after the quantifiers</b>&nbsp;are distinct}}</li></ul>
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::6._Substitution_of_Bound_Variables

Note 136: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: kH8u]Z~QoA
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Prenex form defintion:

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Prenex form defintion:

A formula of the form \[Q_1 x_1 \ Q_2 x_2 \ \dots \ Q_n x_n G\]where the \(Q_i\) are arbitrary quantifiers and \(G\) is a formula free of quantifiers.
Field-by-field Comparison
Field Before After
Front <b>Prenex</b>&nbsp;form defintion:
Back A formula of the form \[Q_1 x_1 \ Q_2 x_2 \ \dots \ Q_n x_n G\]where the \(Q_i\)&nbsp;are arbitrary quantifiers and \(G\)&nbsp;is a formula free of quantifiers.
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 137: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: H
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Transform a formula to prenex form:
  1. rectify the formula (rename all bound occurrences clashing with free variables)
  2. equivalences in Lemma 6.7 to move up all quantifiers in the tree

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
Transform a formula to prenex form:
  1. rectify the formula (rename all bound occurrences clashing with free variables)
  2. equivalences in Lemma 6.7 to move up all quantifiers in the tree
Field-by-field Comparison
Field Before After
Text Transform a formula to <b>prenex</b> form:<br><ol><li>{{c1::<b>rectify</b>&nbsp;the formula (rename all bound occurrences clashing with free variables)}}</li><li>{{c2::equivalences in Lemma 6.7 to&nbsp;<b>move up all quantifiers</b>&nbsp;in the tree}}</li></ol>
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 138: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: ik]315@gR<
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
\(F = \forall x ( P(x, y) \rightarrow \exists y (Q(z, y) \land (\forall z R(y, z)))\) to prenex

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
\(F = \forall x ( P(x, y) \rightarrow \exists y (Q(z, y) \land (\forall z R(y, z)))\) to prenex

\(\forall x \exists k \forall l (P (x, y) \rightarrow (Q(z, k) \land R(k, l)))\)
We rename \(y \rightarrow k\) and \(z \rightarrow l\).
Field-by-field Comparison
Field Before After
Front \(F = \forall x ( P(x, y) \rightarrow \exists y (Q(z, y) \land (\forall z R(y, z)))\)&nbsp;to&nbsp;<b>prenex</b>
Back \(\forall x \exists k \forall l (P (x, y) \rightarrow (Q(z, k) \land R(k, l)))\)<br>We rename&nbsp;\(y \rightarrow k\)&nbsp;and&nbsp;\(z \rightarrow l\).
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 139: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Cloze
GUID: q={`z2{i#x
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
We can transform every formula into:
  • prenex
  • CNF
  • DNF
  • Skolem

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms
We can transform every formula into:
  • prenex
  • CNF
  • DNF
  • Skolem
Field-by-field Comparison
Field Before After
Text We can transform every formula into:<br><ul><li>{{c1::<b>prenex</b>}}<br></li><li>{{c2::<b>CNF</b>}}<br></li><li>{{c3::<b>DNF</b>}}</li><li>{{c4::<b>Skolem</b>}}</li></ul>
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::7._Normal_Forms

Note 140: ETH::DiskMat

Deck: ETH::DiskMat
Note Type: Horvath Classic
GUID: L[2O7285Lj
added

Previous

Note did not exist

New Note

Front

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::8._Derivation_Rules
Universal Instantiation:

Back

ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::8._Derivation_Rules
Universal Instantiation:

For any formula \(F\) and any term \(t\) we have \[\forall x F \models F[x/t]\]
Field-by-field Comparison
Field Before After
Front <b>Universal</b> <b>Instantiation</b>:
Back For any formula&nbsp;\(F\)&nbsp;and any term&nbsp;\(t\)&nbsp;we have&nbsp;\[\forall x F \models F[x/t]\]
Tags: ETH::1._Semester::DiskMat::6._Logic::6._Predicate_Logic_(First-order_Logic)::8._Derivation_Rules
↑ Top