SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
LANGUAGES
             MODELS
COMPACTNESS THEOREM




        COMPACTNESS
                   SEP


           Erik A. Andrejko

     University of Wisconsin - Madison


            Summer 2007




    ERIK A. ANDREJKO    COMPACTNESS
LANGUAGES
                                  MODELS
                     COMPACTNESS THEOREM


LANGUAGES

  DEFINITION
  The logical symbols of propositional logic are:

                                  ∧, ∨, =⇒ , ¬

  The objects of the logic are propositional letters:

                                     P1 , P2 , · · ·


  e.g.
                  ((P1 ∨ P2 ) =⇒ P17 ) =⇒ ¬(P2 ∧ P13 )



                         ERIK A. ANDREJKO      COMPACTNESS
LANGUAGES
                                  MODELS
                     COMPACTNESS THEOREM


LANGUAGES
  DEFINITION
  The logical symbols of first order logic are:

                                ∧, ∨, =⇒ , ¬, =, ∀, ∃

  and variables (bound or unbound)

                                        x, y , z, · · ·

  and additional symbols (constant, relational, functional)

                 c1 , c2 , c3 , · · ·   R1 , R2 , R3 , · · ·    f , g, h, · · ·



  e.g. ∀x∃y(f (x)R1 g(y )).

                           ERIK A. ANDREJKO       COMPACTNESS
LANGUAGES
                                    MODELS
                       COMPACTNESS THEOREM


SPECIAL SYMBOLS
  DEFINITION
   1 ∀∞ means for all but finitely many.


        ∃∞ means there exists infinitely many.
    2


        ∃!x means there exists a unique x.
    3




  DEFINITION
   1 Σ : ∃xϕ(x), ϕ(x) is q.f.
       1

        Π1 : ∀xϕ(x), ϕ(x) is q.f.
    2


        Σn+1 : ∃xϕ(x), ϕ(x) is Πn .
    3


        Πn+1 : ∀xϕ(x), ϕ(x) is Σn .
    4



  e.g. ∀x∃y[x > y ].

                           ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                  MODELS
                     COMPACTNESS THEOREM


FIRST ORDER LANGUAGE



  DEFINITION
  A first order language L is a triple F, R, C
        F is a set of function symbols,
    1


        R is a set of relation symbols,
    2


        C is a set of constant symbols.
    3




                         ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                    MODELS
                       COMPACTNESS THEOREM


STRUCTURES

  DEFINITION
  An L -structure M is a quadruple

                   M = M, {f M }f ∈F , {R M }R∈R , {c M }c∈C


        M is a non empty set called the universe of M,
    1


        {f M }f ∈F is a set of functions,
    2


        {R M }R∈R is a set of relations,
    3


        {c M }c∈C ⊆ M.
    4




                           ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                 MODELS
                    COMPACTNESS THEOREM


SENTENCES


                           ∃v∀y[xRv ∨ f (y) = v ]


  DEFINITION
                ∀y or ∃v
       BOUND
         FREE otherwise


  DEFINITION
  An L -formula ϕ is called a sentence if all variables in ϕ are bound.




                        ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                   MODELS
                      COMPACTNESS THEOREM


EMBEDDINGS
  DEFINITION
  σ : M → N is an L-embedding if σ is one-to-one and
        σ (f M (¯ )) = f N (σ (¯ )) for all functions f ,
                a              a
    1

               M ⇐⇒ σ (¯ ) ∈ R N for all relations R,
        a∈R
        ¯                    a
    2


        σ (c M ) = c N for all constants c.
    3




  DEFINITION
  If σ is a bijective L -embedding, then σ is called an isomorphism. If
                                                      ∼
  there is a isomorphism between M and N then M = N.

  DEFINITION
  If there exists an L -embedding from M into N then M is called a
  substructure of N and N is called an extension of M.

                          ERIK A. ANDREJKO    COMPACTNESS
LANGUAGES
                               MODELS
                  COMPACTNESS THEOREM


|= AND



  DEFINITION
                           First Order     Propositional
                             ∃ proof          ∃ proof
                   |=       ∃ model         ∃ valuation


                                           and |=.
  The completeness theorem relates




                        ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                 MODELS
                    COMPACTNESS THEOREM


CONSISTENT


  DEFINITION
  A set of L -sentences is called a theory.

  DEFINITION
  An L -theory T is called consistent if there does not exists an
  L -sentence ϕ such that

                                           ϕ ∧ ¬ϕ
                                  T

  A consistent theory T is denoted Con(T).




                        ERIK A. ANDREJKO     COMPACTNESS
LANGUAGES
                                 MODELS
                    COMPACTNESS THEOREM


ELEMENTARY EQUIVALENCE


  DEFINITION
  M and N are called elementarily equivalent, denoted M ≡ N, if

                        M |= ϕ if and only if N |= ϕ

  for all L -sentences ϕ.

  FACT
                 ∼
  Suppose that M = N. Then M ≡ N.




                        ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                 MODELS
                    COMPACTNESS THEOREM


THEORIES

  DEFINITION
  An L -theory T is any set of L -sentences.

  DEFINITION
  A theory is called satisfiable if there is some model M |= T .

  DEFINITION
  Given any L -structure M

                           Th(M) = {ϕ : M |= ϕ}




                        ERIK A. ANDREJKO   COMPACTNESS
LANGUAGES
                                MODELS
                   COMPACTNESS THEOREM


COMPACTNESS THEOREM




  THEOREM
  (Compactness Theorem) T is satisfiable if and only if every finite
  subset of T is satisfiable.




                       ERIK A. ANDREJKO   COMPACTNESS

Contenu connexe

Tendances

Unit viii
Unit viiiUnit viii
Unit viii
mrecedu
 
The Linguistic Variables
The Linguistic VariablesThe Linguistic Variables
The Linguistic Variables
Dr. Cupid Lucid
 

Tendances (20)

Bounded arithmetic in free logic
Bounded arithmetic in free logicBounded arithmetic in free logic
Bounded arithmetic in free logic
 
Unit viii
Unit viiiUnit viii
Unit viii
 
I1802026068
I1802026068I1802026068
I1802026068
 
Regular Grammar
Regular GrammarRegular Grammar
Regular Grammar
 
Lecture17
Lecture17Lecture17
Lecture17
 
SMALL_2013
SMALL_2013SMALL_2013
SMALL_2013
 
Non Standard Logics & Modal Logics
Non Standard Logics & Modal LogicsNon Standard Logics & Modal Logics
Non Standard Logics & Modal Logics
 
Expressions and variables
Expressions and variablesExpressions and variables
Expressions and variables
 
Modal Logic
Modal LogicModal Logic
Modal Logic
 
Discrete maths questions
Discrete maths questionsDiscrete maths questions
Discrete maths questions
 
Predicate Calculus
Predicate CalculusPredicate Calculus
Predicate Calculus
 
Du Calcul des prédicats vers Prolog
Du Calcul des prédicats vers PrologDu Calcul des prédicats vers Prolog
Du Calcul des prédicats vers Prolog
 
An algebraic approach to Duflo's polynomial conjecture in the nilpotent case
An algebraic approach to Duflo's polynomial conjecture in the nilpotent caseAn algebraic approach to Duflo's polynomial conjecture in the nilpotent case
An algebraic approach to Duflo's polynomial conjecture in the nilpotent case
 
Fol
FolFol
Fol
 
pres_coconat
pres_coconatpres_coconat
pres_coconat
 
Regular language and Regular expression
Regular language and Regular expressionRegular language and Regular expression
Regular language and Regular expression
 
The Linguistic Variables
The Linguistic VariablesThe Linguistic Variables
The Linguistic Variables
 
Solving Equations on Words with Morphisms and Antimorphisms
Solving Equations on Words with Morphisms and AntimorphismsSolving Equations on Words with Morphisms and Antimorphisms
Solving Equations on Words with Morphisms and Antimorphisms
 
CONTEXT FREE GRAMMAR
CONTEXT FREE GRAMMAR CONTEXT FREE GRAMMAR
CONTEXT FREE GRAMMAR
 
Tot d piffwelsh
Tot d piffwelshTot d piffwelsh
Tot d piffwelsh
 

En vedette

Ready sat 15th oct 11 chelsea v everton chelsea completed
Ready sat 15th oct 11 chelsea v everton   chelsea completedReady sat 15th oct 11 chelsea v everton   chelsea completed
Ready sat 15th oct 11 chelsea v everton chelsea completed
Jason Malone
 
Software archiecture lecture05
Software archiecture   lecture05Software archiecture   lecture05
Software archiecture lecture05
Luktalja
 
Workshop 3 Presentation: Livable Communities, Part 2
Workshop 3 Presentation: Livable Communities, Part 2Workshop 3 Presentation: Livable Communities, Part 2
Workshop 3 Presentation: Livable Communities, Part 2
magellandev
 

En vedette (9)

iPhone vs iPad - User Experience Differences
iPhone vs iPad - User Experience DifferencesiPhone vs iPad - User Experience Differences
iPhone vs iPad - User Experience Differences
 
Ready sat 15th oct 11 chelsea v everton chelsea completed
Ready sat 15th oct 11 chelsea v everton   chelsea completedReady sat 15th oct 11 chelsea v everton   chelsea completed
Ready sat 15th oct 11 chelsea v everton chelsea completed
 
Software archiecture lecture05
Software archiecture   lecture05Software archiecture   lecture05
Software archiecture lecture05
 
Pinterest 10 min redesign
Pinterest 10 min redesignPinterest 10 min redesign
Pinterest 10 min redesign
 
Workshop 3 Presentation: Livable Communities, Part 2
Workshop 3 Presentation: Livable Communities, Part 2Workshop 3 Presentation: Livable Communities, Part 2
Workshop 3 Presentation: Livable Communities, Part 2
 
Passive House In Depth for Professionals
Passive House In Depth for ProfessionalsPassive House In Depth for Professionals
Passive House In Depth for Professionals
 
Compact PET For Schools Teacher's book
Compact PET For Schools Teacher's bookCompact PET For Schools Teacher's book
Compact PET For Schools Teacher's book
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Similaire à Compactness

Completeness
CompletenessCompleteness
Completeness
andrejko
 
Jarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogicJarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogic
PalGov
 
Decidability
DecidabilityDecidability
Decidability
andrejko
 
Data Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description LogicsData Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description Logics
Adila Krisnadhi
 
Ldml - public
Ldml - publicLdml - public
Ldml - public
seanscon
 
mit 演算法 Lec2
mit 演算法 Lec2 mit 演算法 Lec2
mit 演算法 Lec2
Henry Chang
 
02 asymptotic-notation-and-recurrences
02 asymptotic-notation-and-recurrences02 asymptotic-notation-and-recurrences
02 asymptotic-notation-and-recurrences
Noushadur Shoukhin
 

Similaire à Compactness (11)

Completeness
CompletenessCompleteness
Completeness
 
Jarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogicJarrar.lecture notes.aai.2011s.descriptionlogic
Jarrar.lecture notes.aai.2011s.descriptionlogic
 
Decidability
DecidabilityDecidability
Decidability
 
6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitions
 
Data Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description LogicsData Complexity in EL Family of Description Logics
Data Complexity in EL Family of Description Logics
 
Mini-Thomas-ppt.pptx
Mini-Thomas-ppt.pptxMini-Thomas-ppt.pptx
Mini-Thomas-ppt.pptx
 
Ldml - public
Ldml - publicLdml - public
Ldml - public
 
mit 演算法 Lec2
mit 演算法 Lec2 mit 演算法 Lec2
mit 演算法 Lec2
 
02 asymptotic-notation-and-recurrences
02 asymptotic-notation-and-recurrences02 asymptotic-notation-and-recurrences
02 asymptotic-notation-and-recurrences
 
Brown presentation
Brown presentationBrown presentation
Brown presentation
 
Icml12
Icml12Icml12
Icml12
 

Plus de andrejko (7)

Killing S Spaces
Killing S SpacesKilling S Spaces
Killing S Spaces
 
ZF
ZFZF
ZF
 
Ordinal Cardinals
Ordinal CardinalsOrdinal Cardinals
Ordinal Cardinals
 
Basic S and L : The existence of an S-space under MA and $\neg$ CH
Basic S and L : The existence of an S-space under MA and $\neg$ CHBasic S and L : The existence of an S-space under MA and $\neg$ CH
Basic S and L : The existence of an S-space under MA and $\neg$ CH
 
The relative consistency of the negation of the Axiom of Choice using permuta...
The relative consistency of the negation of the Axiom of Choice using permuta...The relative consistency of the negation of the Axiom of Choice using permuta...
The relative consistency of the negation of the Axiom of Choice using permuta...
 
L Space In ZFC
L Space In ZFCL Space In ZFC
L Space In ZFC
 
Ccc Indestructible S Spaces
Ccc Indestructible S SpacesCcc Indestructible S Spaces
Ccc Indestructible S Spaces
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Compactness

  • 1. LANGUAGES MODELS COMPACTNESS THEOREM COMPACTNESS SEP Erik A. Andrejko University of Wisconsin - Madison Summer 2007 ERIK A. ANDREJKO COMPACTNESS
  • 2. LANGUAGES MODELS COMPACTNESS THEOREM LANGUAGES DEFINITION The logical symbols of propositional logic are: ∧, ∨, =⇒ , ¬ The objects of the logic are propositional letters: P1 , P2 , · · · e.g. ((P1 ∨ P2 ) =⇒ P17 ) =⇒ ¬(P2 ∧ P13 ) ERIK A. ANDREJKO COMPACTNESS
  • 3. LANGUAGES MODELS COMPACTNESS THEOREM LANGUAGES DEFINITION The logical symbols of first order logic are: ∧, ∨, =⇒ , ¬, =, ∀, ∃ and variables (bound or unbound) x, y , z, · · · and additional symbols (constant, relational, functional) c1 , c2 , c3 , · · · R1 , R2 , R3 , · · · f , g, h, · · · e.g. ∀x∃y(f (x)R1 g(y )). ERIK A. ANDREJKO COMPACTNESS
  • 4. LANGUAGES MODELS COMPACTNESS THEOREM SPECIAL SYMBOLS DEFINITION 1 ∀∞ means for all but finitely many. ∃∞ means there exists infinitely many. 2 ∃!x means there exists a unique x. 3 DEFINITION 1 Σ : ∃xϕ(x), ϕ(x) is q.f. 1 Π1 : ∀xϕ(x), ϕ(x) is q.f. 2 Σn+1 : ∃xϕ(x), ϕ(x) is Πn . 3 Πn+1 : ∀xϕ(x), ϕ(x) is Σn . 4 e.g. ∀x∃y[x > y ]. ERIK A. ANDREJKO COMPACTNESS
  • 5. LANGUAGES MODELS COMPACTNESS THEOREM FIRST ORDER LANGUAGE DEFINITION A first order language L is a triple F, R, C F is a set of function symbols, 1 R is a set of relation symbols, 2 C is a set of constant symbols. 3 ERIK A. ANDREJKO COMPACTNESS
  • 6. LANGUAGES MODELS COMPACTNESS THEOREM STRUCTURES DEFINITION An L -structure M is a quadruple M = M, {f M }f ∈F , {R M }R∈R , {c M }c∈C M is a non empty set called the universe of M, 1 {f M }f ∈F is a set of functions, 2 {R M }R∈R is a set of relations, 3 {c M }c∈C ⊆ M. 4 ERIK A. ANDREJKO COMPACTNESS
  • 7. LANGUAGES MODELS COMPACTNESS THEOREM SENTENCES ∃v∀y[xRv ∨ f (y) = v ] DEFINITION ∀y or ∃v BOUND FREE otherwise DEFINITION An L -formula ϕ is called a sentence if all variables in ϕ are bound. ERIK A. ANDREJKO COMPACTNESS
  • 8. LANGUAGES MODELS COMPACTNESS THEOREM EMBEDDINGS DEFINITION σ : M → N is an L-embedding if σ is one-to-one and σ (f M (¯ )) = f N (σ (¯ )) for all functions f , a a 1 M ⇐⇒ σ (¯ ) ∈ R N for all relations R, a∈R ¯ a 2 σ (c M ) = c N for all constants c. 3 DEFINITION If σ is a bijective L -embedding, then σ is called an isomorphism. If ∼ there is a isomorphism between M and N then M = N. DEFINITION If there exists an L -embedding from M into N then M is called a substructure of N and N is called an extension of M. ERIK A. ANDREJKO COMPACTNESS
  • 9. LANGUAGES MODELS COMPACTNESS THEOREM |= AND DEFINITION First Order Propositional ∃ proof ∃ proof |= ∃ model ∃ valuation and |=. The completeness theorem relates ERIK A. ANDREJKO COMPACTNESS
  • 10. LANGUAGES MODELS COMPACTNESS THEOREM CONSISTENT DEFINITION A set of L -sentences is called a theory. DEFINITION An L -theory T is called consistent if there does not exists an L -sentence ϕ such that ϕ ∧ ¬ϕ T A consistent theory T is denoted Con(T). ERIK A. ANDREJKO COMPACTNESS
  • 11. LANGUAGES MODELS COMPACTNESS THEOREM ELEMENTARY EQUIVALENCE DEFINITION M and N are called elementarily equivalent, denoted M ≡ N, if M |= ϕ if and only if N |= ϕ for all L -sentences ϕ. FACT ∼ Suppose that M = N. Then M ≡ N. ERIK A. ANDREJKO COMPACTNESS
  • 12. LANGUAGES MODELS COMPACTNESS THEOREM THEORIES DEFINITION An L -theory T is any set of L -sentences. DEFINITION A theory is called satisfiable if there is some model M |= T . DEFINITION Given any L -structure M Th(M) = {ϕ : M |= ϕ} ERIK A. ANDREJKO COMPACTNESS
  • 13. LANGUAGES MODELS COMPACTNESS THEOREM COMPACTNESS THEOREM THEOREM (Compactness Theorem) T is satisfiable if and only if every finite subset of T is satisfiable. ERIK A. ANDREJKO COMPACTNESS