(Predicate Logic and Mathematical Theories)

  • A signature that has only one binary predicate R: โˆ€๐‘ฅ ๐‘… ๐‘ฅ, ๐‘ฅ specifies all structures where ๐‘… is reflexive. Symmetry: โˆ€๐‘ฅ โˆ€๐‘ฆ (๐‘… (๐‘ฅ, ๐‘ฆ )โ†’ ๐‘… (๐‘ฆ, ๐‘ฅ). Transitivity: โˆ€๐‘ฅ โˆ€๐‘ฆ โˆ€๐‘ง ๐‘… ๐‘ฅ, ๐‘ฆ โˆง ๐‘… ๐‘ฆ, ๐‘ง โ†’ ๐‘… ๐‘ฅ, ๐‘ง. Anti-symmetry: โˆ€๐‘ฅ โˆ€๐‘ฆ ( ๐‘… (๐‘ฅ, ๐‘ฆ) โˆง ๐‘… (๐‘ฆ, ๐‘ฅ) โ†’ ๐‘ฅ = ๐‘ฆ)

  • A signature with a unary function ๐‘“ and a binary predicate = One-to-one (injective) functions โˆ€๐‘ฅ โˆ€๐‘ฆ (๐‘“ (๐‘ฅ) = ๐‘“( ๐‘ฆ) โ†’ ๐‘ฅ = ๐‘ฆ). Onto (surjective) functions โˆ€๐‘ฅ โˆƒ๐‘ฆ (๐‘“ (๐‘ฆ) = x)

  • Example: ๐‘ฅ is a prime number: ๐‘ฅ > 1 โˆง โˆ€๐‘ฆ (๐ท๐‘–๐‘ฃ๐‘–๐‘ ๐‘–๐‘๐‘™๐‘’(๐‘ฅ, ๐‘ฆ) โ†’ (๐‘ฆ = 1 โˆจ ๐‘ฆ = ๐‘ฅ))

  • Example: All even numbers greater than two are the sum of two primes (Goldbach's Conjecture) โˆ€๐‘ฅ(( ๐‘ฅ > 2 โˆง ๐ธ๐‘ฃ๐‘’๐‘› (๐‘ฅ)) โ†’ โˆƒ๐‘ฆโˆƒ๐‘ง ((๐‘ฅ = ๐‘ฆ + ๐‘ง) โˆง ๐‘ƒ๐‘Ÿ๐‘–๐‘š๐‘’ (๐‘ฆ) โˆง ๐‘ƒ๐‘Ÿ๐‘–๐‘š๐‘’ (๐‘ง) )

  • What Cannot be Expressed in Predicate Logic?: Reachability

  • Reachability theorem: Assume there is ๐œ™ that is true if and only if ๐‘ฃ1 is reachable from ๐‘ฃ2. A sentence ๐น with ๐‘ฃ1 and ๐‘ฃ2 replaced with constants ๐‘1 and ๐‘2 ๐น = ๐œ™ โˆง ยฌ๐œ™1 โˆง ยฌ๐œ™2 โˆง โ‹ฏ ๐น is a contradiction. Every finite subset of ๐น is satisfiable, and therefore it is satisfiable! (Compactness). There is no ๐œ™!

  • A sentence ๐œ™ (or a set of sentences) specifies: a set of models ๐‘ด(๐“), i.e., the structures that satisfy ๐œ™. ๐‘ด ๐“ = ๐“ข | ๐“ข โŠจ ๐“}. ๐‘€(๐œ™) is like a set of possible worlds in which ๐œ™ is true

  • What Is Closure Under an Operator?: A set ๐ด โІ ๐‘ˆ and an operator ๐‘“: ๐‘ˆ โ†ฆ ๐‘ˆ. ๐ด is closed under ๐‘“ if ๐‘“ maps elements of ๐ด to the elements in the same set ๐ด. โˆ€๐‘Ž โˆˆ ๐ด, ๐‘“ ๐‘Ž โˆˆ A. E.g. ๐ด = {1,2,3} is not closed under addition . โ„• is closed under addition. What about multiplication and subtraction? Is ๐ต = { ๐‘Ž , ๐‘ ,{๐‘Ž, ๐‘}} closed under union?

  • Theory: a set of sentences that is closed under logical entailment. ๐น = {๐œ™1,๐œ™2, โ€ฆ } is a theory if any sentence ๐œ™ that is entailed from ๐น is also in ๐น, i.e., if ๐น โŠจ ๐œ™ then ๐œ™ โˆˆ F

  • Theory structure: The theory of a structure ๐’ฎ, denoted by ๐‘‡โ„Ž(๐’ฎ), is the set of all sentences ๐œ™ such that ๐’ฎ โŠจ ๐œ™

  • Axiomatic system:Using a set of sentences called axioms โ€ข For an axiom ๐œ™ (or a set of axioms), ๐‘ช๐’๐’๐’”(๐“) is the set of all sentences ๐œ“ that are logical consequence of (or entailed from) ๐œ™, i.e., ๐œ™ โŠจ ๐œ“

  • Inconsistent theories: a theory ๐‘‡ is inconsistent if โŠฅโˆˆ T

  • An inconsistent theory consists of: all the possible sentences with the given signature

  • ๐ถ๐‘œ๐‘›๐‘ (โˆ…): the set of all valid sentences, a subset of every theory

  • A theory ๐‘‡ is complete if: for every sentence ๐œ™ of the same signature either ๐œ™ โˆˆ ๐‘‡ or ยฌ๐œ™ โˆˆ T

  • The set of valid sentences is an: incomplete theory

  • For any structure ๐’ฎ, ๐‘‡โ„Ž(๐’ฎ) is: complete or every sentence ๐œ™, either ๐’ฎ โŠจ ๐œ™ or ๐’ฎ โŠจ ยฌ๐œ™

  • ๐‘‡โ„Ž( โ„•) , ๐‘‡โ„Ž (โ„) , and ๐‘‡โ„Ž (โ„ค) are : complete theories

  • A theory is decidable if: it is possible to decide if any sentence is in the theory

  • Churchโ€™s Theorem: The theory of valid sentences in First Order (FO) predicate logic is undecidable.

  • The proof of Churchโ€™s theorem: Reducing an undecidable problem called Postโ€™s Correspondence Problem (PCP) to checking validity

  • Reduction means: transforming problem ๐‘ƒโ‚ into problem ๐‘ƒโ‚‚ in such a way that a solution to ๐‘ƒโ‚‚ also solves ๐‘ƒโ‚. Reduction can show one problem is at least as hard (difficult) as another. For example, if solving ๐‘ƒโ‚‚ requires solving ๐‘ƒโ‚, ๐‘ƒโ‚‚ is as hard as ๐‘ƒโ‚. To prove a problem ๐‘ƒ is undecidable, show that solving an undecidable problem, like the halting problem, is necessary to solve P

  • The answer to the correspondence problem ๐พ = ( ๐‘ฅ1, ๐‘ฆ1 , ๐‘ฅ2, ๐‘ฆ2 , ๐‘ฅ3, ๐‘ฆ3 ) = (( 1,101)) , (10,00) , (011,11)): a sequence ๐’™๐Ÿ๐’™๐Ÿ‘๐’™๐Ÿ๐’™๐Ÿ‘ = ๐Ÿ๐ŸŽ๐Ÿ๐Ÿ๐Ÿ๐ŸŽ๐ŸŽ๐Ÿ๐Ÿ = ๐’š๐Ÿ๐’š๐Ÿ‘๐’š๐Ÿ๐’š๐Ÿ‘

  • A consequence of Churchโ€™s theorem is that: a correct (sound and complete) proof system for first-order predicate logic does not exist

  • A theory ๐‘‡ is (finitely) axiomatizable if: ๐‘‡ = ๐ถ๐‘œ๐‘›๐‘ (๐น) for some finite set of axioms F

  • The theory of valid sentences (tautologies): is axiomatizable

  • An inconsistent theory is: also axiomatizable

  • A structure ๐’ฎ1 with ๐‘ˆ๐’ฎ1 = {๐‘Ž, ๐‘, ๐‘} .An acceptable interpretation, An unacceptable interpretation: { ๐‘Ž, ๐‘Ž , ๐‘, ๐‘ , (๐‘, ๐‘)} , { ๐‘Ž, ๐‘ , ๐‘Ž, ๐‘ }

  • Axioms of equality: A set of sentences that any structure satisfies iff it interprets โ€œ=โ€ as the equality relation

  • Ax1 Reflexivity: โˆ€๐‘ฅ (๐‘ฅ = ๐‘ฅ)

  • Ax2 Symmetry: โˆ€๐‘ฅโˆ€๐‘ฆ ( ๐‘ฅ = ๐‘ฆ โ†’ ๐‘ฆ = ๐‘ฅ )

  • Ax 3 Transitivity: โˆ€๐‘ฅโˆ€๐‘ฆโˆ€๐‘ง ( ๐‘ฅ = ๐‘ฆ โˆง ๐‘ฆ = ๐‘ง โ†’ (๐‘ฅ = ๐‘ง))