Theory of Computer Science
- B4. Predicate Logic I
Gabriele R¨
- ger
University of Basel
March 9, 2020
Gabriele R¨
- ger (University of Basel)
Theory of Computer Science March 9, 2020 1 / 40
Theory of Computer Science B4. Predicate Logic I Gabriele R oger - - PowerPoint PPT Presentation
Theory of Computer Science B4. Predicate Logic I Gabriele R oger University of Basel March 9, 2020 Gabriele R oger (University of Basel) Theory of Computer Science March 9, 2020 1 / 40 Theory of Computer Science March 9, 2020 B4.
University of Basel
Gabriele R¨
Theory of Computer Science March 9, 2020 1 / 40
March 9, 2020 — B4. Predicate Logic I
Gabriele R¨
Theory of Computer Science March 9, 2020 2 / 40
Gabriele R¨
Theory of Computer Science March 9, 2020 3 / 40
Motivation
Gabriele R¨
Theory of Computer Science March 9, 2020 4 / 40
Motivation
German: Pr¨ adikatenlogik
Gabriele R¨
Theory of Computer Science March 9, 2020 5 / 40
Syntax of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 6 / 40
Syntax of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 7 / 40
Syntax of Predicate Logic
German: Signatur, Term, Formel
Gabriele R¨
Theory of Computer Science March 9, 2020 8 / 40
Syntax of Predicate Logic
German: Variablen-, Konstanten-, Funktions-, Pr¨ adikat- und Relationssymbole; Stelligkeit
Gabriele R¨
Theory of Computer Science March 9, 2020 9 / 40
Syntax of Predicate Logic
German: k-stellig, un¨ ar, bin¨ ar, tern¨ ar
Gabriele R¨
Theory of Computer Science March 9, 2020 10 / 40
Syntax of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 11 / 40
Syntax of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 12 / 40
Syntax of Predicate Logic
German: Term
Gabriele R¨
Theory of Computer Science March 9, 2020 13 / 40
Syntax of Predicate Logic
German: atomare Formel, Atom, Identit¨ at, Allquantifizierung, Existenzquantifizierung
Gabriele R¨
Theory of Computer Science March 9, 2020 14 / 40
Syntax of Predicate Logic
German: Negation, Konjunktion, Disjunktion
Gabriele R¨
Theory of Computer Science March 9, 2020 15 / 40
Syntax of Predicate Logic
German: Quantoren
Gabriele R¨
Theory of Computer Science March 9, 2020 16 / 40
Syntax of Predicate Logic
◮ ∀x∀y∀z ϕ ∀xyz ϕ ◮ ∃x∃y∃z ϕ ∃xyz ϕ ◮ ∀w∃x∃y∀z ϕ ∀w∃xy∀z ϕ
Gabriele R¨
Theory of Computer Science March 9, 2020 17 / 40
Syntax of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 18 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 19 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 20 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 21 / 40
Semantics of Predicate Logic
◮ cI ∈ U for constant symbols c ∈ C ◮ fI : Uk → U for k-ary function symbols f ∈ F ◮ PI ⊆ Uk for k-ary predicate symbols P ∈ P
German: Interpretation, Variablenzuweisung, Universum (or Grundmenge)
Gabriele R¨
Theory of Computer Science March 9, 2020 22 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 23 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 24 / 40
Semantics of Predicate Logic
1
k
Gabriele R¨
Theory of Computer Science March 9, 2020 25 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 26 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 27 / 40
Semantics of Predicate Logic
1
k
1
2
German: I und α erf¨ ullen ϕ (also: ϕ ist wahr unter I und α)
Gabriele R¨
Theory of Computer Science March 9, 2020 28 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 29 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 30 / 40
Semantics of Predicate Logic
Gabriele R¨
Theory of Computer Science March 9, 2020 31 / 40
Free and Bound Variables
Gabriele R¨
Theory of Computer Science March 9, 2020 32 / 40
Free and Bound Variables
Gabriele R¨
Theory of Computer Science March 9, 2020 33 / 40
Free and Bound Variables
German: gebundene und freie Variablen
Gabriele R¨
Theory of Computer Science March 9, 2020 34 / 40
Free and Bound Variables
German: Grundterm
Gabriele R¨
Theory of Computer Science March 9, 2020 35 / 40
Free and Bound Variables
Gabriele R¨
Theory of Computer Science March 9, 2020 36 / 40
Free and Bound Variables
German: geschlossene Formel/Satz, offene Formel
Gabriele R¨
Theory of Computer Science March 9, 2020 37 / 40
Free and Bound Variables
Gabriele R¨
Theory of Computer Science March 9, 2020 38 / 40
Summary
Gabriele R¨
Theory of Computer Science March 9, 2020 39 / 40
Summary
Gabriele R¨
Theory of Computer Science March 9, 2020 40 / 40