First Order Language Flashcards
(42 cards)
What are the terms of L?
- All constant symbols
- All variables
- n-ary function symbols
What are the formulas of L?
- t_1≈t_2
- Rt_1…t_n where R is an n-ary relation symbol
- ¬φ if φ is a formula
- (φ_1→φ_2) if φ_1 and φ_2 are formulas
- ∀xφ is a formula if φ is a formula
Which of the formulas are atomic?
- t_1≈t_2
- Rt_1…t_n where R is an n-ary relation symbol
What are the components of a model?
Domain of A (a non-empty set)
For every n-ary relation symbol, R^A⊆A^n
For every n-ary function symbol: A^n→A
For every constant symbol, an element c^A∈A
What is an assignment β?
β a/x (y) = β(y) if y≠x
β a/x (y) = a if y=x
What is an interpretation?
A model and assignment pair I=(A,β)
What are the interpretations for the terms of L?
If c is constant: I(c)=c^A
If x is a first order variable: I(x)=β(x)
If f is an n-ary function symbol: I(ft_1…t_n )=f^A (I(t_1 ),…,I(t_n ))
What are the interpretations for the formulas?
- If φ=t_1≈t_n, then I⊨t_1≈t_n⟺I(t_1 )=I(t_2)
- If φ=Rt_1…t_n where R is a relation symbol, then I⊨Rt_1…t_n⟺(I(t_1 ),…,I(t_n ))∈R^A
- If φ=¬φ, then I⊨¬φ⟺I⊭φ
- If φ=(ψ_1→ψ_2 ), then I⊭(ψ_1→ψ_2 )⟺I⊨ψ_1 and I⊭ψ_2
- If φ=∀xψ, then I⊨∀xψ ⟺ for all a∈A, I a/x⊨ψ
- I⊨(φ∧ψ) ⟺I⊨ φ and I⊨ψ
- I⊨(φ∨ψ) ⟺I⊨ φ or I⊨ψ
- I⊨(φ↔ψ) ⟺I⊨ φ ⟺I⊨ψ
- I⊨ ∃x φ ⟺ there exists a∈A such that I a/x⊨φ
What is the sub formula for φ=∀xψ?
sub(φ) = {φ} ∪ sub(ψ).
What does ∃x φ abbreviate?
¬ ∀x ¬φ
What is the language of arithmetic?
L_ar={+,∙,0,1,<}
Domain: Q,N,Z,R
What are the variables of the formula φ = ∀x ψ?
var(φ) = var(ψ)
If φ = ∀x ψ, what is free(φ)?
free(φ) = free(ψ) \ {x}.
What are bounded variables?
The variables that occur next to the quantifier.
What is a sentence?
a formula that has no free variables.
What type of formula is complete?
Sentences
How can formulas be true in models?
a formula can be true, false, or neither true nor false
How can sentences be true in models?
only true or false
If β(x)=β ̃(x) for all x∈free(φ), then what?
(A,β) ⊨ φ ⟺ (A,β ̃) ⊨ φ.
If β and β ̃ are assignments on A that agree on all variables occurring in t, then what?
(A,β)(t) = (A,β ̃)(t).
What is the notation for divides in the language of arithmetic?
r|s (abbreviates ∃x_i r·x_i ≈ s)
Define Logical Consequence
φ is a logical consequence of Γ if for every interpretation I such that I ⊨ γ for all γ∈Γ, then I ⊨ φ.
Define logically valid
If I ⊨ φ for all interpretations (∅⊨φ), then ⊨φ.
Define truth equivalent
For every interpretation I of L, either both I ⊨ φ and I ⊨ ψ or both I ⊭ φ and I ⊭ ψ