Model

A model for a language is a pair where:

  • is a non-empty set called the domain of .
    • The elements of are called objects or individuals
    • (the notation is sometimes used to denote the domain , or its cardinality )
  • is an interpretation function that:
    • For each constant symbol , assigns an element .
    • For each -ary function symbol , assigns an -ary function .
    • For each -ary predicate symbol , assigns an -ary relation .
  • For any non-logical symbol , the object is called the interpretation of in .

Terminology

  • domain: domain of discourse, universe, underlying set
  • model: structure, interpretation, assignment
  • interpretation function: interpretation, assignment function

If we don’t mention other, we are in first-order logic with equality, which means, the equality symbol ̇ is defined as the identity relation

Variable Assignment

  • is the set of variables which occur freely in
  • A (variable) assignment for a model with the domain is a mapping where
    • A (variable) assignment for a formula is a mapping where
      • If is a sentence, then every assignment is for a formula , because
    • If is an assignment for a model , and , and we denote if

Truth Value

Truth Value in Assignment

Given model , and an assignment for a formula .

  • If is an atomic formula , then is true if , otherwise is false
  • If is the formula , then is true if is is false, otherwise is false. (similar way for the other connectives as in as in propositional logic)
  • If is the formula then is true if and only if there exists an element such that is true in
  • If is the formula then is true if and only if for each element the formula is true in
  • The truth value of a formula is truth if it is true, and falsity
  • Notaion: if is true we can denote or or . If is false we denote or or .
  • Given model , and two assignments and for a formula , such that for each , then .

Truth Value in Model

Given a model

  • If is a sentence, then all assignments in give to the same value.
    • In case a sentence is true (in some assignment, and therefore in every assignment) then we say that the sentence is true in the model , and denote .
    • Otherwise, if a sentence is false (in some assignment, and therefore in every assignment) then we say that the sentence is false in the model , and denote .
  • A formula is true in (denoted by ), if for every assignment we have
    • notation other terminology: satisfied ; is a model of ; holds in
    • If is a variable, then is true in model if and only if is true in
    • The formula is true in if and only if its universal closure is true in
  • A model is said to be a model of a set of sentences , (denoted by ), if for each we have

Satisfiability

  • A formula is satisfiable if there exists a model and an assignment such that .
  • A formula is unsatisfiable if for every model we have .
  • A set of sentences is said to be satisfiable if there exists a model such that
  • A formula is falsifiable (denoted by ) if is not logically valid
  • Soundeness Theorem (6.2) - If is satisfiable, then it is consistent

Logical Validity

  • (c5.6) A formula is logically valid (אמיתית לוגית) and denoted by , if for every model we have .

A logically valid formula can also be called a tautology, but we avoid this term to prevent confusion with First-order Tautologies here or with tautology in propositional logic

Examples of logically valid formulas:

  • (given is a capture-avoiding substitution)
  • (given the variable is not appear in )

Logical Equivalence

  • Two formulas and are logically equivalent (denoted by ) if and only if, is logically valid. i.e.
    • if and only if for each model and for each assignment , we hold if and only if
    • (Theorem 5.8)
      • if then:
        • and (for any binary connective )
        • and (for each varaible )
      • If is arrived from by replacing sub-formula in where then

Logical Implication

  • A formula logically implies a formula (or logically implied by ), and denoted by (or more common ), if and only if, in every model , if then .

    • logically implies a formula if and only if is logically valid
      • In other words, if and only if
  • (semantic consequence) A formula logically implied by a set of formulas (denoted by ) if for every model such that ( is a model of ) we have ( is a model of ).

First-order Tautologies

  • (5.9) Let be a proposition where all its elementary proposition are from . And Let be formulas. And let be the string that is obtained by replacing each in by . Then:
    • is a formula
    • If is a model of the propositional logic, and is an assignment of the predicate logic, where for each , then
    • If is a tautology then is logical valid and is called a first-order tautology.
  • see also Predicate Calculus (6.1)