πŸ—οΈ Ξ˜ΟΟ΅Ξ·Ξ Ξ±Ο„Ο€πŸš§ (under construction)

first order language
A first order language β„’ is an infinite collection of distinct symbols, no one of which is contained in another, separated into the following categories
  • Parenthesis: (,)
  • Connectives: ∨,Β¬
  • Quantifier: βˆ€
  • Variables, one for each iβˆˆβ„•1: vi
  • Equality symbol: =
  • Constant symbols: A set of symbols
  • Function symbols, for each nβˆˆβ„•1: A set of n-ary function symbols
  • Relation symbols, for each nβˆˆβ„•1: A set of n-ary relation symbols

Since the only thing differing from language to language are its constants, variables, functions and relations then we can denote the language β„’ by (Cβ„’,Fβ„’,Rβ„’), we can denote the set of variables by Vβ„’

term
If β„’ is a language, a term of β„’ is a nonempty finite string t of symbols from β„’ such that
  • t is a variable
  • t is a constant
  • t≑ft1t2…tn is a constant where f is an n-ary function symbol if β„’ and each ti is a term of β„’
formula
If β„’ is a first order language, then a formula of β„’ is a non-empty finite string Ο• of symbols from β„’ such that:
  1. Ο•:≑=t1t2 where t1,t2 are terms of β„’
  2. Ο•:≑Rt1t2…tn where R is an n-ary relation symbol of β„’ and t1,t2 are terms of β„’
  3. Ο•:≑(¬α) where Ξ± is a formula of β„’
  4. Ο•:≑(α∨β) where Ξ±,Ξ² are formulas of β„’
  5. Ο•:≑(βˆ€v)(Ξ±) where v is a variable and Ξ± is a formula of β„’
Atomic Formula
The atomic formulas of L are formulas that satisfy clause 1 or 2 of their definition
language of number theory
We define the language β„’NT=({0},{πš‚,+,Β·,𝙴},{<}) as the language of number theory.
β„’-Structure
Fix a language β„’. An β„’-structure 𝔄 is a non-empty set A, called the universe of 𝔄, such that the following holds:
  • For each constant symbol c of β„’, we have an element c𝔄 of A
  • For each n-ary function symbol f of β„’, we have a function f𝔄:Anβ†’A
  • For each n-ary relation symbol R of β„’, we have an n-ary relation R𝔄 on A
Similar to a language we may denote it by (A,{c𝔄:c∈Cβ„’},{f𝔄:f∈Fβ„’},{R𝔄:R∈Rβ„’})
standard number theory structure
Given β„’NT, we define the structure 𝔑:=(β„•0,{0},{S,+,Β·,E},{<}), where the constant symbol 0 maps to 0 (the element of β„•0), S is the successor function S(2)=3, + is usual addition 3+3=6, Β· multiplication 2Β·4=8, E for exponentiation E(3,2)=9
variable assignment function
If 𝔄 is an β„’-structure, a variable assignment function is any function of the form s:Vβ„’β†’A
x-modification of an assignment function
If s is a variable assigment function into 𝔄 and x∈Vβ„’ and a∈A, then s[x∣a] is the variable assigment function defined as follows
s[x∣a](v):={s(v)if v is a variable other than xaif v is the variable x
and we say that s[x∣a] is an x-modification of the assigment function s
An x-modification of s is just like s, except we bind the variable x to the element a of 𝔄's universe
term assignment function
Suppose that 𝔄 is an L-structure and s is a variable assigment function into 𝔄. The function s―, called the term assigment function generated by s, is the function with domain consisting of the set of β„’ terms and codomain A defined as follows
  • if t is a variable then s―(t)=s(t)
  • if t is the constant c then s―(t)=c𝔄
  • if t:≑ft1t2…tn then s―(t)=f𝔄(s―(t1),s―(t2),…,s―(tn))
interpretation of a term
Given an β„’-structure 𝔄, and a term t from β„’, we say that it's interpretation in 𝔄 is s―(t)
numbers in the number theory structure
What is the interpretation in 𝔑 of the term t defined as ESSS0SS0
A Free Varaible in a Formula
Suppose that v is a varaible and Ο• is a formula, then v is free in Ο• iff exactly one of the following holds:
  1. Ο• is atomic and v occurs in Ξ±
  2. Ο•:≑(¬α) and v is free in Ξ±
  3. Ο•:≑(α∨β) and v is free in at least one of Ξ± or Ξ²
  4. Ο•:≑(βˆ€u)(Ξ±) and v is not u and v is free in Ξ±
For All Makes a Variable not Free
Free Variable For All Easy
Show that x is not free in Ο•:≑(βˆ€x)(x=x)
Free Variable For All Medium
Show that in the following formula Ο• defined as (βˆ€v2)(Β¬((βˆ€v3)((v1=S(v2)∨v3=v2)))) v1 is free in Ο•, but v2 and v3 are not