Constructing classical realizability models of Zermelo-Fraenkel set theory

Size: px
Start display at page:

Download "Constructing classical realizability models of Zermelo-Fraenkel set theory"

Transcription

1 Constructing classical realizability models of Zermelo-Fraenkel set theory Alexandre Miquel Plume team LIP/ENS Lyon June 5th, 2012 Réalisabilité à Chambéry

2 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

3 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

4 Why ZF ε? A similar difficulty occurs in the construction of a forcing model of ZF [Cohen 63] a Boolean-valued model of ZF [Scott, Solovay, Vopěnka] a realizability model of IZF [Myhill-Friedman 73, McCarty 84] a classical realizability model of ZF [Krivine 00] which is the interpretation of the axiom of extensionality : x y [x = y z (z x z y) The reason is that in these models, sets cannot be given a canonical representation need some extensional collapse (A similar problem occurs in CS when manipulating sets) Most authors solve the problem in the model, when defining the interpretation of extensional equality and membership Krivine proposes to address the problem in the syntax, using a non extensional presentation of ZF called ZF ε (= assembly language for ZF)

5 The language of ZF ε Formulas φ, ψ ::= x ε/ y x / y x y φ ψ x φ Abbreviations : φ φ φ ψ (φ ψ ) φ ψ φ ψ φ ψ (φ ψ) (ψ φ) x ε y (x ε/ y) x y (x / y) x y x y y x x {φ 1 & & φ n} x (φ 1 φ n ) ( x ε a) φ x (x ε a φ) ( x ε a) φ x {x ε a & φ} ( x a) φ x (x a φ) ( x a) φ x {x a & φ} A formula φ is extensional if it does not contain ε/ Formulas x y, x y, x y are extensional // x ε y is not. Extensional formulas are the formulas of ZF

6 The axioms of ZF ε Extensionality x y (x y ( z ε y) x z) Foundation Comprehension x y (x y ( z ε x) z y) z [ x (( y ε x)φ(y, z) φ(x, z)) x φ(x, z)] z a b x (x ε b x ε a φ(x, z)) Pairing a b c {a ε c & b ε c} Union a b ( x ε a) ( y ε x) y ε b Powerset a b x ( y ε b) z (z ε y z ε x z ε a) Collection Infinity z a b ( x ε a) [ y φ(x, y, z) ( y ε b) φ(x, y, z)] z a b {a ε b & ( x ε b) ( y φ(x, y, z) ( y ε b) φ(x, y, z))} Proofs formalized in natural deduction + Peirce s law

7 The extensional relations, and (1/2) Extensionality axioms define and by mutual induction x y ( y ε y) x y ( y ε y) {x y & y x } x y ( x ε x) x y ( x ε x) ( y ε y) {x y & y x } Foundation scheme expresses that ε is well-founded : z [ x (( y ε x)φ(y, z) φ(x, z)) x φ(x, z)] Combining Extensionality with Foundation, we get : Reflexivity : ZF ε x (x x) Induction hypothesis : φ(x) x x Consequences : ZF ε x (x x) ZF ε x y (x ε y x y)

8 The extensional relations, and (2/2) From Extensionality, we have : x y ( x ε x) ( y ε y) {x y & y x } Combined with Foundation again, we get : Transitivity : ZF ε x y z (x y y z x z) Induction hypothesis : φ(x) y z (x y y z x z) y z (z y y x z x) So that : Inclusion x y is a preorder Extensional equality x y is the associated equivalence relation Extensional (ZF) definitions of and are then derivable : ZF ε ZF ε x y [x y z (z x z y)] x y [x y z (z x z y)]

9 Extensional peeling We can now derive that is compatible with the two primitive extensional predicates / and : Extensional peeling ZF ε x y z (x y x / z y / z) ZF ε x y z (x y z / x z / y) ZF ε x y z (x y x z y z) ZF ε x y z (x y z x z y) For any extensional formula φ(x, z) : ZF ε z x y [x y (φ(x, z) φ(y, z))] Proof : by structural induction on φ(x, z) Remarks : Proof structurally depends on φ(x, z) non parametric Only holds when φ(x, z) is extensional. Counter-example : x y (x ε z y ε z)

10 Consequences of extensional peeling Extensional peeling is the tool to derive the usual extensional axioms of ZF from their intensional formulation in ZF ε. But schemes need to be restricted to extensional formulas (as in ZF) In ZF ε, (intensional) Foundation and Comprehension schemes z [ x (( y ε x)φ(y, z) φ(x, z)) x φ(x, z)] z a b x (x ε b x ε a φ(x, z)) hold for any formula φ(x, z) (may contain ε) Combined with extensional peeling, we get Foundation & Comprehension : ZF formulation ZF ε ZF ε z [ x (( y x)φ(y, z) φ(x, z)) x φ(x, z)] z a b x (x b x a φ(x, z)) for any extensional formula φ(x, z) (cannot contain ε)

11 Leibniz equality and intensional peeling Leibniz equality is definable in ZF ε : x = y z (x ε/ z y ε/ z) (Could replace ε/ by ε) Thanks to (intensional) Comprehension, we get : Intensional peeling For any formula φ(x, z) : ZF ε z x y [x = y (φ(x, z) φ(y, z))] Proof : We only need to prove x = y (φ(y, z) φ(x, z)). (For the converse direction : replace φ(x, z) by φ(x, z).) Assume x = y and φ(y, z). From Pairing, there exists u such that y ε u. From Comprehension, there exists u such that x (x ε u x ε u φ(x, z)). By construction, we have y ε u (since y ε u and φ(y, z)). Since x = y, we get x ε u (by contraposition). Therefore : x ε u and φ(x, z). Remarks : Proof does not structurally depend on φ(x, z) parametric This property holds for any formula φ(x, z).

12 Strong inclusion, strong equivalence Let x y z (z ε x z ε y) x y z (z ε x z ε y) ( x y y x) Remarks : x y is a preorder, stronger than x y x y is the associated equivalence x y weaker than x = y, stronger than x y (None of the converse implications is derivable) Going back to Comprehension : z a b x (x ε b x ε a φ(x, z)) The set b = {x ε a : φ(x)} is unique up to (and thus up to ), but not up to = (Leibniz equality)

13 Pairing and union In ZF ε, the (intensional) axioms of Pairing and Union only give upper approximations of the desired sets : a b c {a ε c & b ε c} a b ( x ε a) ( y ε x) y ε b Cutting them by Comprehension, we get what we expect : ZF ε a b c x (x ε c x = a x = b) ZF ε a b x (x ε b ( y ε a) x ε y) Note that b and c are unique up to strong equivalence. And by extensional peeling, we get : Pairing and Union : ZF formulation ZF ε a b c x (x c x a x b) ZF ε a b x (x b ( y a) x y)

14 Powerset In ZF ε, the (intensional) Powerset axiom only gives an upper approximation of the desired set : a b x ( y ε b) z (z ε y z ε x z ε a) Intuitively : b contains a copy of all sets of the form x a Cutting b with Comprehension, we get : ZF ε a b {( x ε b ) x a & x (x a ( x ε b ) x x )} Here, b is unique up to, but not up to. Cannot do better, since {x : x a} is a proper class in realizability models. And by extensional peeling, we get : Powerset : ZF formulation ZF ε a b x (x b x a)

15 Collection and Infinity ZF ε comes with Collection and Infinity schemes : z a b ( x ε a) [ y φ(x, y, z) ( y ε b) φ(x, y, z)] z a b {a ε b & ( x ε b) ( y φ(x, y, z) ( y ε b) φ(x, y, z))} for every formula φ(x, y, z) Collection and Infinity schemes : extensional formulation ZF ε ZF ε z a b ( x ε a) [ y φ(x, y, z) ( y b) φ(x, y, z)] z a b {a b & ( x b) ( y φ(x, y, z) ( y b) φ(x, y, z))} for every extensional formula φ(x, y, z) In general, Collection is stronger than Replacement but in ZF, they are equivalent due to Foundation Infinity scheme implies the existence of infinite sets and it is equivalent in presence of Collection

16 Conservativity All axioms of ZF are derivable in ZF ε : Proposition : ZF ε is an extension of ZF Collapsing ε and : For every formula φ of ZF ε, write φ the formula of ZF obtained by collapsing ε/ to / in φ. Proposition : If ZF ε φ, then ZF φ Therefore, if ZF is consistent, then none of the formulas x y (x y x ε/ y), x y (x y x y), etc. is derivable in ZF ε! (But they are realized... ) Theorem (Conservativity) ZF ε is a conservative extension of ZF (and thus equiconsistent) Proof : Assume ZF ε φ, where φ is extensional. Then ZF φ. But φ φ.

17 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

18 The λ c -calculus (1/2) Syntax Terms Stacks Processes t, u ::= x λx. t tu κ k π π ::= α t π p, q ::= t π (κ K) (α Π 0, t closed) (t closed) Syntax of the language is parameterized by A nonempty countable set K = {cc;...} of instructions A nonempty countable set Π 0 = {α;...} of stack constants A term is proof-like if it contains no k π (i.e. refers to no α Π 0 ) Notations : Λ = set of closed terms Π = set of stacks Λ Π = set of processes PL = set of closed proof-like terms ( Λ) Each natural number n ω is encoded as n = s n 0 ( PL) where 0 λxy. x and s λnxy. y (n x y)

19 The λ c -calculus (2/2) We assume that the set Λ Π comes with a preorder p p of evaluation satisfying the following rules : Krivine Abstract Machine (KAM) Push Grab Save Restore (+ reflexivity & transitivity) tu π t u π λx. t u π t{x := u} π cc u π u k π π k π u π u π Evaluation not defined but axiomatized. The preorder p p is another parameter of the calculus, just like the sets K and Π 0 Extensible machinery : can add extra instructions and rules (We shall see examples later) An instance of the λ c -calculus is defined by the triple (K, Π 0, )

20 Standard algebras Each classical realizability model (which is based on the λ-calculus) is parameterized by a set of processes Λ Π which is saturated, or closed under anti-evaluation (w.r.t. ) : If p p and p, then p Such a set is used as the pole of the model We call a standard algebra any pair A ((K, Π 0, ), ) formed by An instance (K, Π 0, ) of the λ c-calculus A saturated set Λ Π (i.e. the pole of the algebra A ) We shall first see how to build a realizability model M (A ) from an arbitrary standard algebra A. But this construction more generally works when A is an arbitrary realizability algebra (We shall see the general definition later)

21 The ground model M The whole construction is parameterized by : An arbitrary model M of ZFC, called the ground model An arbitrary standard algebra A M, which is taken as a point of the ground model M In what follows, we call a set any point of M We shall never consider sets outside M! We write ω M the set of natural numbers in M. Elements of ω are called the standard natural numbers 1 We consider the sets Λ, Π,, that are defined from A as points of the ground model M All set-theoretic notations (e.g. P(X ), {x : φ(x)}, etc.) are taken relatively to the ground model M Only formulas (of ZF ε ) live outside the ground model M 1. This is just a convention of terminology. The set ω might contain numbers that are non standard according to the external/ambient/intuitive/meta theory.

22 Building the model M (A ) of A -names By induction on α On ( M ), we define a set M α (A ) M α = P(M β Π) Note that : M (A ) 0 = M (A ) α+1 = P(M (A ) α Π) M (A ) α = β<α M (A ) β β<α (for α limit ordinal) by We write M (A ) = α M (A ) α the (proper) class of A -names Given a name a M (A ), we write dom(a) = {b : ( π Π) (b, π) a} (the domain of a) rk(a) the smallest α On s.t. a M (A ) α (the rank of a)

23 Structure of the interpretation Variables x 1,..., x n,... of the language of ZF ε are interpreted as names a 1,..., a n,... M (A ) We call a formula with parameters in M (A ) any formula of ZF ε enriched with constants taken in M (A ) : φ(x 1,..., x k ) + a 1,..., a k M (A ) φ(a 1,..., a k ) Formulas with parameters in M (A ) constitute the language of the realizability model M (A ) Closed formulas φ with parameters in M (A ) are interpreted as two sets (i.e. points of M ) : A falsity value φ P(Π) A truth value φ P(Λ), defined by orthogonality : φ = φ = {t Λ : ( π φ ) (t π )}

24 Interpreting formulas Given a closed formula φ with parameters in M (A ) : Falsity value φ P(Π) defined by induction on the size of φ a ε/ b, a / b, a b = (postponed) = = Π φ ψ = φ ψ = {t π : t φ, π ψ } x φ(x) = φ(a) = {π Π : ( a M (A ) ) π φ(a) } a M (A ) Truth value φ P(Λ) defined by orthogonality φ = φ = {t Λ : ( π φ ) (t π )} Notations : t φ t φ M (A ) φ θ φ for some θ PL φ PL (t realizes φ) (φ is realized)

25 Anatomy of the interpretation Denotation of units : Falsity value = Truth value = = Λ = Π = Π (by definition) (by orthogonality) Denotation of universal quantification : Falsity value : x φ(x) = φ(a) a M (A ) Truth value : x φ(x) = φ(a) a M (A ) (by definition) (by orthogonality) Denotation of implication : Falsity value : φ ψ = φ ψ (by definition) Truth value : φ ψ φ ψ (by orthogonality) writing φ ψ = {t Λ : u φ tu ψ } (realizability arrow) 1 Converse inclusion does not hold in general, unless closed under Push 2 In all cases : If t φ ψ, then λx. tx φ ψ (η-expansion)

26 Adequacy Deduction/typing rules Γ x : φ (x:φ) Γ Γ t : FV (t) dom(γ) Γ t : Γ t : φ Γ, x : φ t : ψ Γ λx. t : φ ψ Γ t : φ Γ t : x φ x / FV (Γ) Γ Γ t : φ ψ Γ u : φ Γ tu : ψ t : x φ Γ t : φ{x := e} Γ cc : ((φ ψ) φ) φ (e first-order term) Adequacy Given : a derivable judgment x 1 : φ 1,..., x n : φ n t : φ a valuation ρ (in M (A ) ) closing φ 1,..., φ n, φ realizers u 1 φ 1 [ρ],..., u n φ n [ρ] We have : t{x 1 := u 1 ;... ; x n := u n } φ[ρ]

27 Interpreting intensional membership Interpretation of ε/ reminiscent from forcing in ZF [Cohen 63] and intuitionistic realizability in IZF [Myhill-Friedman 73, McCarty 84] In forcing / int. realizability, a name a M (C) is a set of pairs (b, p) where p C is a certificate witnessing that b ε a : (b, p) a means : p forces/realizes b ε a hence : b ε a = {p C : (b, p) a} In forcing : p is a forcing condition In intuitionistic realizability : p is a realizer But in classical realizability, we use refutations (i.e. stacks) instead : (b, π) a means π refutes b ε/ a hence : b ε/ a = {π Π : (b, π) a} π b ε/ a implies k π b ε a ( b ε/ a) b ε/ a = = as soon as b / dom(a)

28 Interpreting atomic formulas Interpretation of a ε/ a, a b and a / b (a, a, b M (A ) ) a ε/ a = {π Π : (a, π) a} a b = a / b a ε/ a a / b = a dom(a) b dom(b) a b b a b ε/ b Def. of a ε/ a is primitive (i.e. non recursive) Def. of a b and a / b is mutually recursive Def. of a b calls a / b Def. of a / b calls a b and b a for all a dom(a) for all b dom(b) Hence the definition of a b for a, b M α (A ) recursively calls a b for a, b M (A ) β where β < α

29 The interpretation of Since c ε/ a = as soon as c / dom(a) : a b = c / b c ε/ a = c dom(a) c M (A ) c / b c ε/ a = z (z / b z ε/ a) Hence the atomic formula x y has the very same semantics as the formula z (z / y z ε/ x) By adequacy, we can build θ PL such that (Exercise : find θ) θ x y [ z (z / y z ε/ x) ( z ε x) z y] Realizing Extensionality for : θ x y (x y ( z ε x) z y)

30 The interpretation of / Since c ε/ b = as soon as c / dom(b) : a / b = a c c a c ε/ b = c dom(b) c M (A ) a c c a c ε/ b = z (a z z a z ε/ b) Hence the atomic formula x / y has the very same semantics as the formula z (x z z x z ε/ y) By adequacy, we can build θ PL such that (Exercise : find θ ) θ x y [ z (x z z x z ε/ y) ( z ε y) x z] Realizing Extensionality for : θ x y (x y ( z ε y) x z)

31 Discriminating ε and Let = and = { } In the case where, we have : Π = Π Π But both names and represent the empty set : 1 θ x (x ε/ ) (θ PL arbitrary) 2 I x (x ε/ ) 3 Therefore : M (A ) Writing a = { } Π, we get : 1 I ε a and θ ε/ a (θ PL arbitrary) 2 Therefore : M (A ) 3 Moreover : M (A ) a (since M (A ) )

32 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

33 Realizing the axioms of ZF ε For every axiom φ of ZF ε, we want to show that : There is θ PL such that Which we write : M (A ) φ We have already shown that : Realizing Extensionality θ φ M (A ) x y (x y ( z ε y) x z) M (A ) x y (x y ( z ε x) z y) We now need to realize the following : Foundation scheme Comprehension scheme Pairing and Union axioms Powerset axiom Collection & Infinity schemes (we shall only consider Collection)

34 Realizing Foundation Consider Turing s fixpoint combinator : Y (λyf. f (y y f )) (λyf. f (y y f )) We have : Y t π t (Y t) π (t Λ, π Π) Proposition For any formula ψ(x) with parameters in M (A ), we have : Y x ( y (ψ(y) y ε/ x) ψ(x)) x ψ(x) Proof : We show that Y x ( y (ψ(y) y ε/ x) ψ(x)) ψ(a) for all a M (A ), by induction on rk(a). Realizing foundation For any formula φ(x, z), we have : M (A ) z [ x (( y ε x) φ(y, z) φ(x, z)) x φ(x, z)]

35 Realizing witnessed existential formulas Lemma Let φ(x 1,..., x n, y) be a formula and θ PL such that : ( a 1,..., a n M (A ) ) ( b M (A ) ) θ φ(a 1,..., a n, b) Then : λz. z θ x 1 x n y φ(x 1,..., x n, y) Lemma More generally : Given k formulas φ 1( x, y),..., φ k ( x, y) k terms θ 1,..., θ k PL such that : ( x x 1,..., x n) ( a M (A ) ) ( b M (A ) ) (θ 1 φ 1( a, b) θ k φ k ( a, b)) Then : λz. z θ 1 θ k x y {φ 1( x, y) & & φ k ( x, y)}

36 Realizing Comprehension (1/2) Given a name a M (A ) and a formula φ(x) (with params in M (A ) ) Let : b = By construction, we have : dom(b) dom(a) c dom(a) {c} φ(c) c ε/ a c ε/ b = φ(c) c ε/ a for all c M (A ) (Since c ε/ b = = φ(c) c ε/ a as soon as c / dom(a)) This means that : x ε/ b has the same semantics as φ(x) x ε/ a x ε b x ε/ b has the same semantics as (φ(x) x ε/ a)

37 Realizing Comprehension (2/2) Let θ 1 and θ 2 be proof-like terms such that : θ 1 θ 2 x [ (φ(x) x ε/ a) x ε a φ(x)] x [x ε a φ(x) (φ(x) x ε/ a)] Since x ε b has the same semantics as (φ(x) x ε/ a) : θ 1 x [x ε b x ε a φ(x)] θ 2 x [x ε a φ(x) x ε b] λu. u θ 1 θ 2 x [x ε b x ε a φ(x)] Hence (by Lemma) : Realizing Comprehension For every formula φ( z, x) : λz. z (λu. u θ 1 θ 2 ) z a b x (x ε b x ε a φ(x, z))

38 Realizing Pairing Given a, b M (A ), let c = {a; b} Π We have a ε/ c = b ε/ c =, hence : Hence (by Lemma) : Realizing Pairing I a ε c ( a ε/ c) I b ε c ( b ε/ c) λz. z I I a b c {a ε c & b ε c}

39 Realizing Union Given a M (A ), let b = a dom(a) a Lemma For all a, a M (A ) : a ε/ b a ε/ a a ε/ a a ε/ a Proof : We notice that a ε/ a a ε/ b as soon as a dom(a). Hence I x y ((y ε/ x x ε/ a) (y ε/ b x ε/ a)) so we can find θ PL such that : Therefore : Realizing Union θ x y (x ε a y ε x y ε b) λz. z θ a b ( x ε a) ( y ε x) y ε b

40 Realizing Powerset Given a M (A ), let b = P(dom(a) Π) Π For every c M (A ), write : c a = We notice that : d dom(a) {d} d ε c d ε/ a 1 Formula z ε/ c a has the same semantics as z ε c z ε/ a. Hence there is θ PL such that : θ z (z ε c a z ε c z ε a) 2 dom(c a ) P(dom(a) Π), hence c a ε/ b =, and thus : I c a ε b Therefore : Realizing Powerset λz. z (λz. z I θ) a b x ( y ε b) z (z ε y z ε x z ε a)

41 Realizing Collection Let φ(x, y) a formula with parameters in M (A ) and a M (A ) Using Collection in M, consider a set B such that : ( c dom(a)) ( t Λ) [ d (d M (A ) t φ(c, d)) ( d B) (d M (A ) t φ(c, d))] (Wlog, we can assume that B M (A ) ) Writing b = B Π, we have : Lemma For all c M (A ) : y (φ(c, y) x ε/ a) y (φ(c, y) y ε/ b) Hence I x [ y (φ(x, y) y ε/ b) y (φ(x, y) x ε/ a)] so there is θ PL s.t. : θ ( x ε a) [ y φ(x, y) ( y ε b) φ(x, y)] Realizing Collection For every formula φ(x, y, z) : λz. z θ z a b ( x ε a) [ y φ(x, y, z) ( y ε b) φ(x, y, z)]

42 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

43 Adding function symbols (1/2) It is often convenient to enrich the language of ZF ε with a k-ary function symbol f interpreted as a k-ary class function f : M (A ) M }{{ (A } ) M (A ) k We say that f is extensional when M (A ) x y ( x y f ( x) f ( y)) Beware : This is usually not the case! But in all cases, we have M (A ) (due to intensional peeling) x y ( x = y f ( x) = f ( y))

44 Adding function symbols (2/2) Example : Consider the successor function s( ), that is defined for all a M (A ) by s(a) = {(b, 0 π) : (b, π) dom(a)} {(a, 1 π) : π Π} Intensional/extensional characterization of s 1 M (A ) x y (y ε s(x) y ε x y = x) 2 M (A ) x y (y s(x) y x y x) 3 The successor function s is extensional Actually, this function is intensionally injective : M (A ) x y (s(x) = s(y) x = y) Proof : Consider a function p( ) ( predecessor ) such that p(s(a)) = a for all a M (A )

45 Constructing the set ω of natural numbers Let 0 = and ñ + 1 = s(ñ) (for all n ω) Put ω = {(ñ, n π) : n ω, π Π} Intensional properties of ω M (A ) y (y ε/ 0) M (A ) x y (y ε s(x) y ε x y = x) M (A ) M (A ) M (A ) 0 ε ω ( x ε ω) s(x) ε ω φ( 0) ( x ε ω) (φ(x) φ(s(x))) ( x ε ω) φ(x) where φ(x) is any formula with parameters in M (A ) Remark : This implementation of ω provides a canonical intensional representation of natural numbers : M (A ) ( x ε ω) ( y ε ω) (x y x = y)

46 The type of natural numbers : ωג Recall that : ω = {( p, p π) : p ω, π Π} and put : ωג = {( p, π) : p ω, π Π} Π} nג = {( p, π) : p < n, π From the definition, we have : M (A ) ω ωג Distinction between (intensional) elements of ω and of ωג is the same as between natural numbers and individuals in 2nd-order logic Krivine showed that in some models (such as the threads model) : Inclusion ω ωג is strict ωג is (intensionally) not denumerable Subsets nג ωג have amazing (intensional) cardinality properties However, the set ωג is extensionally equal to ω : M (A ) ωג ω

47 The non extensional axiom of choice (NEAC) (1/2) Lemma Add an instruction quote with the rule quote t u π u n t π where n t is the index of t according to a fixed bijection n t n from ω to Λ Let φ(x 1,..., x k, y) be a formula Consider the (k + 1)-ary function symbol f φ interpreted by 2 f φ (a 1,..., a k, ñ) = some b M (A ) s.t. t n φ(a 1,..., a k, b) if there is such a name b f φ (a 1,..., a k, b) = in all the other cases λxy. quote y (x y) x [ n (φ( x, f φ ( x, n)) n ε/ ω) y φ( x, y)] 2. Assuming that M interprets the choice principle (= conservative ext. of ZFC)

48 The non extensional axiom of choice (NEAC) (2/2) M (A ) x [ n (φ( x, f φ ( x, n)) n ε/ ω) y φ( x, y)] Taking the contrapositive, we get : Non extensional axiom of choice (NEAC) M (A ) x [ y φ( x, y) ( n ε ω) φ( x, f φ ( x, n))] Remarks (f φ ( a, n)) n ω is a denumerable sequence of potential witnesses of the existential formula y φ( a, y) The function f φ is not extensional in general, even in the case where the formula φ is extensional Nevertheless, NEAC is strong enough to imply the axiom of dependent choices (DC)

49 Alternative formulation of NEAC (1/3) NEAC : M (A ) x [ y φ( x, y) ( n ε ω) φ( x, f φ ( x, n))] Consider the abbreviations : ψ 0( x, n) φ( x, f φ ( x, n)) ψ 1( x, n) ( m ε ω) (ψ 0( x, m) m ε/ n) ( there is witness at index n ) ( no witness below index n ) From the minimum principle, we get : M (A ) x [ y φ( x, y) ( n ε ω) {ψ 0 ( x, n) & ψ 1 ( x, n)}] Idea : Introduce a k-ary function h φ such that h φ ( x) f φ ( x, n), where n is the smallest index s.t. φ( x, f φ ( x, n))

50 Alternative formulation of NEAC (2/3) For all a = a 1,..., a k M (A ), let : h φ ( a) = {b} S a,b b D a where : D a = dom(f φ ( a, ñ)) n ω S a,b = ( n ε ω) (ψ 0( a, n) ψ 1( a, n) b ε/ f φ ( a, n)) By def. of h φ ( a), we have for all b M (A ) : b ε/ h φ ( a) = ( n ε ω) (ψ 0( a, n) ψ 1( a, n) b ε/ f φ ( a, n)) Therefore : M (A ) x z [z ε h φ ( x) ( n ε ω) {ψ 0( x, n) & ψ 1( x, n) & z ε f φ ( x, n)}]

51 Alternative formulation of NEAC (3/3) We have shown : M (A ) M (A ) x [ y φ( x, y) ( n ε ω) {ψ 0 ( x, n) & ψ 1 ( x, n)}] x z [z ε h φ ( x) ( n ε ω) {ψ 0 ( x, n) & ψ 1 ( x, n) & z ε f φ ( x, n)}] Combining these results, we get : Alternative formulation of NEAC 1 For any formula φ( x, y) : M (A ) x [ y φ( x, y) y {y h φ ( x) & φ( x, y)}] 2 If moreover the formula φ( x, y) is extensional : M (A ) x [ y φ( x, y) φ( x, h φ ( x))] Beware! The function h φ is in general non extensional, even when the formula φ( x, y) is But h φ can be used in Comprehension, Collection, etc.

52 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

53 From the λ c -calculus to realizability algebras Realizability algebras [Krivine 10] Same idea as PCAs (or OPCAs), but for classical realizability Each realizability algebra A contains a pole, and defines a classical realizability model M (A ) of ZF ε (from a ground model M ) Construction of M (A ) is the same as in the standard case Realizability algebras may be built from The λ c-calculus or Parigot s λµ-calculus Curien-Herbelin s λµ-calculus Any complete Boolean algebra (CBN or CBV) Realizability algebras can combine (standard) classical realizability with Cohen forcing iterated forcing [Krivine 10] Slogan : classical realizability = non commutative forcing

54 Realizability algebras (1/2) [Krivine 10] Some terminology (where A is a fixed set) : Proof-term λ-term with cc Proof-terms t, u ::= x λx. t tu cc A-environment finite association list σ (Var A) Notations : σ x 1 := a 1,..., x n := a n dom(σ) = {x 1;... ; x n} cod(σ) = {a 1;... ; a n} Environments are ordered, variables may be bound several times Compilation function into A function (t, σ) t[σ] taking : proof-term t + A-environment σ closing t, returning : element t[σ] A

55 Realizability algebras (2/2) [Krivine 10] Definition A realizability algebra A is given by : 3 sets Λ (A -terms), Π (A -stacks), Λ Π (A -processes) 3 functions ( ) : Λ Π Π, ( ) : Λ Π Λ Π, (k ) : Π Λ A compilation function (t, σ) t[σ] into the set Λ of A -terms A subset PL Λ (of proof-like A -terms) such that for all (t, σ) : If cod(σ) PL, then t[σ] PL (FV (t) dom(σ)) A set of A -processes Λ Π (the pole) such that : σ(x) π implies x[σ] π t[σ, x := a] π implies (λx. t)[σ] a π t[σ] u[σ] π implies (tu)[σ] π a k π π implies cc[σ] a π a π implies k π a π

56 Canonical example : the λ c -calculus Terms, stacks and processes Instructions Terms Stacks Processes κ ::= cc quote t, u ::= x λx. t tu κ k π π, π ::= α t π (α Π 0, t closed) p, q ::= t π (t closed) Λ, Π, Λ Π = sets of closed terms, stacks, processes Compilation t[σ] = substitution PL = set of closed terms containing no k π = any set of processes closed under anti-evaluation

57 Variant : the combinatory λ c -calculus (1/2) Terms, stacks and processes Instructions Terms Stacks Processes κ ::= I C B K W cc t, u ::= x κ tu k π π, π ::= α t π (α Π 0, t closed) p, q ::= t π (t closed) Krivine Abstract Machine (KAM) I K W C B Push Save Restore I t π t π K t u π t π W t u π t u u π C t u v π t v u π B t u v π t (uv) π tu π t u π cc u π u k π π k π u π u π

58 Variant : the combinatory λ c -calculus (2/2) Abstraction λ x. t is defined from binary abstraction λ x. t r : Definition of λ x. t r λ x. t r K (r t) λ x. x r r λ x. t 1t 2 r λ x. t 2 B r t 1 λ x. t 1t 2 r λ x. t 1 C (B r) t 2 λ x. t 1t 2 r W λ x. t 2 C λ x. t 1 B r (x / FV (t)) (x / FV (t 1 ), x FV (t 2 )) (x FV (t 1 ), x / FV (t 2 )) (x FV (t 1 ), x FV (t 2 )) Lemma For all t, u, r, π : λ x. t r u π r t{x := u} π Then we let : λ x. t λ x. t I Lemma For all t, u, π : λ x. t u π t{x := u} π Compilation function defined as expected, compiling λ as λ

59 Turning Boolean algebras into realizability algebras From a Boolean algebra B, we can build a realizability algebra A = (Λ, Π, Λ Π,..., ), letting : Λ = Π = Λ Π = B b 1 b 2 = b 1 b 2 = b 1b 2, k b = b PL = {1} t[σ] = σ(x) = {0} x FV (t) In the case where B is complete, the realizability model M (A ) is elementarily equivalent to the Boolean-valued model M (B) If B is not complete, then A automatically completes B

60 Plan 1 The theory ZF ε 2 The model M (A ) of A -names 3 Realizing the axioms of ZF ε 4 Realizing more axioms 5 Realizability algebras 6 Properties of the model M (A )

61 (blackboard)

An introduction to classical realizability

An introduction to classical realizability Q E I U G I C An introduction to classical realizability Alexandre Miquel O P. D E. L Ō A U D E L A R January 27th, 2017 EJCIM 17 Lyon The Curry-Howard correspondence The dictionary: Proof theory Functional

More information

hal , version 1-21 Oct 2009

hal , version 1-21 Oct 2009 ON SKOLEMISING ZERMELO S SET THEORY ALEXANDRE MIQUEL Abstract. We give a Skolemised presentation of Zermelo s set theory (with notations for comprehension, powerset, etc.) and show that this presentation

More information

Kleene realizability and negative translations

Kleene realizability and negative translations Q E I U G I C Kleene realizability and negative translations Alexandre Miquel O P. D E. L Ō A U D E L A R April 21th, IMERL Plan 1 Kleene realizability 2 Gödel-Gentzen negative translation 3 Lafont-Reus-Streicher

More information

Concrete Models for Classical Realizability

Concrete Models for Classical Realizability Concrete Models for Classical Realizability Jaap van Oosten (joint work with Tinxiang Zou) Department of Mathematics, Utrecht University Utrecht Workshop on Proof Theory, April 16, 2015 Classical Realizability

More information

Classical realizability and arithmetical formulæ

Classical realizability and arithmetical formulæ Classical realizability and arithmetical formulæ Mauricio Guillermo, Étienne Miquey To cite this version: Mauricio Guillermo, Étienne Miquey. Classical realizability and arithmetical formulæ. Mathematical

More information

Axioms for Set Theory

Axioms for Set Theory Axioms for Set Theory The following is a subset of the Zermelo-Fraenkel axioms for set theory. In this setting, all objects are sets which are denoted by letters, e.g. x, y, X, Y. Equality is logical identity:

More information

The constructible universe

The constructible universe The constructible universe In this set of notes I want to sketch Gödel s proof that CH is consistent with the other axioms of set theory. Gödel s argument goes well beyond this result; his identification

More information

Proof Theory and Subsystems of Second-Order Arithmetic

Proof Theory and Subsystems of Second-Order Arithmetic Proof Theory and Subsystems of Second-Order Arithmetic 1. Background and Motivation Why use proof theory to study theories of arithmetic? 2. Conservation Results Showing that if a theory T 1 proves ϕ,

More information

Contents Propositional Logic: Proofs from Axioms and Inference Rules

Contents Propositional Logic: Proofs from Axioms and Inference Rules Contents 1 Propositional Logic: Proofs from Axioms and Inference Rules... 1 1.1 Introduction... 1 1.1.1 An Example Demonstrating the Use of Logic in Real Life... 2 1.2 The Pure Propositional Calculus...

More information

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

Axiomatic set theory. Chapter Why axiomatic set theory?

Axiomatic set theory. Chapter Why axiomatic set theory? Chapter 1 Axiomatic set theory 1.1 Why axiomatic set theory? Essentially all mathematical theories deal with sets in one way or another. In most cases, however, the use of set theory is limited to its

More information

A BRIEF INTRODUCTION TO ZFC. Contents. 1. Motivation and Russel s Paradox

A BRIEF INTRODUCTION TO ZFC. Contents. 1. Motivation and Russel s Paradox A BRIEF INTRODUCTION TO ZFC CHRISTOPHER WILSON Abstract. We present a basic axiomatic development of Zermelo-Fraenkel and Choice set theory, commonly abbreviated ZFC. This paper is aimed in particular

More information

Part II. Logic and Set Theory. Year

Part II. Logic and Set Theory. Year Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]

More information

Math 280A Fall Axioms of Set Theory

Math 280A Fall Axioms of Set Theory Math 280A Fall 2009 1. Axioms of Set Theory Let V be the collection of all sets and be a membership relation. We consider (V, ) as a mathematical structure. Analogy: A group is a mathematical structure

More information

Syntactic Characterisations in Model Theory

Syntactic Characterisations in Model Theory Department of Mathematics Bachelor Thesis (7.5 ECTS) Syntactic Characterisations in Model Theory Author: Dionijs van Tuijl Supervisor: Dr. Jaap van Oosten June 15, 2016 Contents 1 Introduction 2 2 Preliminaries

More information

MAGIC Set theory. lecture 2

MAGIC Set theory. lecture 2 MAGIC Set theory lecture 2 David Asperó University of East Anglia 22 October 2014 Recall from last time: Syntactical vs. semantical logical consequence Given a set T of formulas and a formula ', we write

More information

Introduction to Model Theory

Introduction to Model Theory Introduction to Model Theory Charles Steinhorn, Vassar College Katrin Tent, University of Münster CIRM, January 8, 2018 The three lectures Introduction to basic model theory Focus on Definability More

More information

Set Theory and the Foundation of Mathematics. June 19, 2018

Set Theory and the Foundation of Mathematics. June 19, 2018 1 Set Theory and the Foundation of Mathematics June 19, 2018 Basics Numbers 2 We have: Relations (subsets on their domain) Ordered pairs: The ordered pair x, y is the set {{x, y}, {x}}. Cartesian products

More information

Short notes on Axioms of set theory, Well orderings and Ordinal Numbers

Short notes on Axioms of set theory, Well orderings and Ordinal Numbers Short notes on Axioms of set theory, Well orderings and Ordinal Numbers August 29, 2013 1 Logic and Notation Any formula in Mathematics can be stated using the symbols and the variables,,,, =, (, ) v j

More information

Part II Logic and Set Theory

Part II Logic and Set Theory Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

NOTES ON WELL ORDERING AND ORDINAL NUMBERS. 1. Logic and Notation Any formula in Mathematics can be stated using the symbols

NOTES ON WELL ORDERING AND ORDINAL NUMBERS. 1. Logic and Notation Any formula in Mathematics can be stated using the symbols NOTES ON WELL ORDERING AND ORDINAL NUMBERS TH. SCHLUMPRECHT 1. Logic and Notation Any formula in Mathematics can be stated using the symbols,,,, =, (, ) and the variables v j : where j is a natural number.

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

More information

The Relation Reflection Scheme

The Relation Reflection Scheme The Relation Reflection Scheme Peter Aczel petera@cs.man.ac.uk Schools of Mathematics and Computer Science The University of Manchester September 14, 2007 1 Introduction In this paper we introduce a new

More information

Beth model with many types of functionals

Beth model with many types of functionals Beth model with many types of functionals Farida Kachapova Auckland University of Technology New Zealand farida.kachapova@aut.ac.nz September 2013 Farida Kachapova (AUT) Beth model with functionals September

More information

Realizing the axiom of dependent choice

Realizing the axiom of dependent choice Realizing the axiom of dependent choice Jean-Louis Krivine PPS Group, University Paris 7, CNRS krivine@pps.jussieu.fr Edinburgh, March 26, 2003 1 The extended Curry-Howard correspondence We want to get

More information

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Berardi Stefano Valentini Silvio Dip. Informatica Dip. Mat. Pura ed Applicata Univ. Torino Univ. Padova c.so Svizzera

More information

More Model Theory Notes

More Model Theory Notes More Model Theory Notes Miscellaneous information, loosely organized. 1. Kinds of Models A countable homogeneous model M is one such that, for any partial elementary map f : A M with A M finite, and any

More information

Mathematical Logic. An Introduction

Mathematical Logic. An Introduction Mathematical Logic. An Introduction Summer 2006 by Peter Koepke Table of contents Table of contents............................................... 1 1 Introduction.................................................

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

03 Review of First-Order Logic

03 Review of First-Order Logic CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of

More information

MATH 220C Set Theory

MATH 220C Set Theory MATH 220C Set Theory L A TEX by Kevin Matthews Spring 2017 (Updated January 7, 2018) Continuum Hypothesis Definition 0.0.1 (Same Cardinality). Two sets A, B have the same cardinality iff there is a bijection

More information

Generalizing Gödel s Constructible Universe:

Generalizing Gödel s Constructible Universe: Generalizing Gödel s Constructible Universe: Ultimate L W. Hugh Woodin Harvard University IMS Graduate Summer School in Logic June 2018 Ordinals: the transfinite numbers is the smallest ordinal: this is

More information

Bar recursion in classical realisability : dependent choice and well ordering of R

Bar recursion in classical realisability : dependent choice and well ordering of R Bar recursion in classical realisability : dependent choice and well ordering of R Jean-Louis Krivine June 30, 2016 Introduction This paper is about the bar recursion operator [9], in the context of classical

More information

Beyond First-Order Logic

Beyond First-Order Logic Beyond First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Beyond First-Order Logic MFES 2008/09 1 / 37 FOL

More information

Löwenheim-Skolem Theorems, Countable Approximations, and L ω. David W. Kueker (Lecture Notes, Fall 2007)

Löwenheim-Skolem Theorems, Countable Approximations, and L ω. David W. Kueker (Lecture Notes, Fall 2007) Löwenheim-Skolem Theorems, Countable Approximations, and L ω 0. Introduction David W. Kueker (Lecture Notes, Fall 2007) In its simplest form the Löwenheim-Skolem Theorem for L ω1 ω states that if σ L ω1

More information

Semantic methods in proof theory. Jeremy Avigad. Department of Philosophy. Carnegie Mellon University.

Semantic methods in proof theory. Jeremy Avigad. Department of Philosophy. Carnegie Mellon University. Semantic methods in proof theory Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://macduff.andrew.cmu.edu 1 Proof theory Hilbert s goal: Justify classical mathematics.

More information

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Overview Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://andrew.cmu.edu/

More information

VAUGHT S THEOREM: THE FINITE SPECTRUM OF COMPLETE THEORIES IN ℵ 0. Contents

VAUGHT S THEOREM: THE FINITE SPECTRUM OF COMPLETE THEORIES IN ℵ 0. Contents VAUGHT S THEOREM: THE FINITE SPECTRUM OF COMPLETE THEORIES IN ℵ 0 BENJAMIN LEDEAUX Abstract. This expository paper introduces model theory with a focus on countable models of complete theories. Vaught

More information

A Refinement of Jensen s Constructible Hierarchy

A Refinement of Jensen s Constructible Hierarchy Benedikt Löwe, Wolfgang Malzkorn, Thoralf Räsch Foundations of the Formal Sciences II Applications of Mathematical Logic in Philosophy and Linguistics Bonn, November 10-13, 2000, pp. 1??. A Refinement

More information

The Curry-Howard Isomorphism

The Curry-Howard Isomorphism The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09

More information

The Countable Henkin Principle

The Countable Henkin Principle The Countable Henkin Principle Robert Goldblatt Abstract. This is a revised and extended version of an article which encapsulates a key aspect of the Henkin method in a general result about the existence

More information

The Calculus of Inductive Constructions

The Calculus of Inductive Constructions The Calculus of Inductive Constructions Hugo Herbelin 10th Oregon Programming Languages Summer School Eugene, Oregon, June 16-July 1, 2011 1 Outline - A bit of history, leading to the Calculus of Inductive

More information

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University

Formal Epistemology: Lecture Notes. Horacio Arló-Costa Carnegie Mellon University Formal Epistemology: Lecture Notes Horacio Arló-Costa Carnegie Mellon University hcosta@andrew.cmu.edu Logical preliminaries Let L 0 be a language containing a complete set of Boolean connectives, including

More information

A call-by-name lambda-calculus machine

A call-by-name lambda-calculus machine A call-by-name lambda-calculus machine Jean-Louis Krivine University Paris VII, C.N.R.S. 2 place Jussieu 75251 Paris cedex 05 (krivine@pps.jussieu.fr) Introduction We present, in this paper, a particularly

More information

Unsolvable problems, the Continuum Hypothesis, and the nature of infinity

Unsolvable problems, the Continuum Hypothesis, and the nature of infinity Unsolvable problems, the Continuum Hypothesis, and the nature of infinity W. Hugh Woodin Harvard University January 9, 2017 V : The Universe of Sets The power set Suppose X is a set. The powerset of X

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

CHAPTER 2. FIRST ORDER LOGIC

CHAPTER 2. FIRST ORDER LOGIC CHAPTER 2. FIRST ORDER LOGIC 1. Introduction First order logic is a much richer system than sentential logic. Its interpretations include the usual structures of mathematics, and its sentences enable us

More information

The Absoluteness of Constructibility

The Absoluteness of Constructibility Lecture: The Absoluteness of Constructibility We would like to show that L is a model of V = L, or, more precisely, that L is an interpretation of ZF + V = L in ZF. We have already verified that σ L holds

More information

Final Exam (100 points)

Final Exam (100 points) Final Exam (100 points) Honor Code: Each question is worth 10 points. There is one bonus question worth 5 points. In contrast to the homework assignments, you may not collaborate on this final exam. You

More information

Arithmetical Hierarchy

Arithmetical Hierarchy Arithmetical Hierarchy Klaus Sutner Carnegie Mellon University 60-arith-hier 2017/12/15 23:18 1 The Turing Jump Arithmetical Hierarchy Definability Formal Systems Recall: Oracles 3 We can attach an orcale

More information

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

If-then-else and other constructive and classical connectives (Or: How to derive natural deduction rules from truth tables)

If-then-else and other constructive and classical connectives (Or: How to derive natural deduction rules from truth tables) If-then-else and other constructive and classical connectives (Or: How to derive natural deduction rules from truth tables) Herman Geuvers Nijmegen, NL (Joint work with Tonny Hurkens) Types for Proofs

More information

Notes on ordinals and cardinals

Notes on ordinals and cardinals Notes on ordinals and cardinals Reed Solomon 1 Background Terminology We will use the following notation for the common number systems: N = {0, 1, 2,...} = the natural numbers Z = {..., 2, 1, 0, 1, 2,...}

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

This section will take the very naive point of view that a set is a collection of objects, the collection being regarded as a single object.

This section will take the very naive point of view that a set is a collection of objects, the collection being regarded as a single object. 1.10. BASICS CONCEPTS OF SET THEORY 193 1.10 Basics Concepts of Set Theory Having learned some fundamental notions of logic, it is now a good place before proceeding to more interesting things, such as

More information

The complexity of recursive constraint satisfaction problems.

The complexity of recursive constraint satisfaction problems. The complexity of recursive constraint satisfaction problems. Victor W. Marek Department of Computer Science University of Kentucky Lexington, KY 40506, USA marek@cs.uky.edu Jeffrey B. Remmel Department

More information

INTRODUCTION TO CARDINAL NUMBERS

INTRODUCTION TO CARDINAL NUMBERS INTRODUCTION TO CARDINAL NUMBERS TOM CUCHTA 1. Introduction This paper was written as a final project for the 2013 Summer Session of Mathematical Logic 1 at Missouri S&T. We intend to present a short discussion

More information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano

More information

Arithmetical Hierarchy

Arithmetical Hierarchy Arithmetical Hierarchy 1 The Turing Jump Klaus Sutner Carnegie Mellon University Arithmetical Hierarchy 60-arith-hier 2017/12/15 23:18 Definability Formal Systems Recall: Oracles 3 The Use Principle 4

More information

From Constructibility and Absoluteness to Computability and Domain Independence

From Constructibility and Absoluteness to Computability and Domain Independence From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main

More information

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010) http://math.sun.ac.za/amsc/sam Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics 2009-2010 Lecture notes in progress (27 March 2010) Contents 2009 Semester I: Elements 5 1. Cartesian product

More information

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas. 1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is

More information

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω 1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the

More information

Undergraduate logic sequence: the notes

Undergraduate logic sequence: the notes Undergraduate logic sequence: the notes December 8, 2015 ii Contents 1 Zermelo Fraenkel set theory 1 1.1 Historical context........................... 1 1.2 The language of the theory.....................

More information

Boolean-Valued Models and Forcing

Boolean-Valued Models and Forcing Boolean-Valued Models and Forcing Abstract This introduction to forcing is based on Chapters 5 6 in T. J. Jech s book The Axiom of Choice and is written primarily for the Fraenkel-Mostowski Models reading

More information

Interpreting classical theories in constructive ones

Interpreting classical theories in constructive ones Interpreting classical theories in constructive ones Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad+@cmu.edu http://macduff.andrew.cmu.edu 1 A brief history of proof theory Before

More information

Propositional and Predicate Logic - VII

Propositional and Predicate Logic - VII Propositional and Predicate Logic - VII Petr Gregor KTIML MFF UK WS 2015/2016 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - VII WS 2015/2016 1 / 11 Theory Validity in a theory A theory

More information

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No

More information

mat.haus project Zurab Janelidze s Lectures on UNIVERSE OF SETS last updated 18 May 2017 Stellenbosch University 2017

mat.haus project Zurab Janelidze s Lectures on UNIVERSE OF SETS last updated 18 May 2017 Stellenbosch University 2017 Zurab Janelidze s Lectures on UNIVERSE OF SETS last updated 18 May 2017 Stellenbosch University 2017 Contents 1. Axiom-free universe of sets 1 2. Equality of sets and the empty set 2 3. Comprehension and

More information

Theories for Feasible Set Functions

Theories for Feasible Set Functions Theories for Feasible Set Functions Arnold Beckmann joint work with Sam Buss, Sy-David Friedman, Moritz Müller and Neil Thapen (work in progress) Department of Computer Science College of Science, Swansea

More information

Metainduction in Operational Set Theory

Metainduction in Operational Set Theory Metainduction in Operational Set Theory Luis E. Sanchis Department of Electrical Engineering and Computer Science Syracuse University Syracuse, NY 13244-4100 Sanchis@top.cis.syr.edu http://www.cis.syr.edu/

More information

Gödel s Completeness Theorem

Gödel s Completeness Theorem A.Miller M571 Spring 2002 Gödel s Completeness Theorem We only consider countable languages L for first order logic with equality which have only predicate symbols and constant symbols. We regard the symbols

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

1 Differentiable manifolds and smooth maps

1 Differentiable manifolds and smooth maps 1 Differentiable manifolds and smooth maps Last updated: April 14, 2011. 1.1 Examples and definitions Roughly, manifolds are sets where one can introduce coordinates. An n-dimensional manifold is a set

More information

Initial Ordinals. Proposition 57 For every ordinal α there is an initial ordinal κ such that κ α and α κ.

Initial Ordinals. Proposition 57 For every ordinal α there is an initial ordinal κ such that κ α and α κ. Initial Ordinals We now return to ordinals in general and use them to give a more precise meaning to the notion of a cardinal. First we make some observations. Note that if there is an ordinal with a certain

More information

2.1 Mathematics and Metamathematics

2.1 Mathematics and Metamathematics 1 Version Information 02.03.17: More corrections (thanks to Peter Neumann). 08.02.17: Added material up to L = V = L and fixed more errors. 27.01.17: Many thanks to Peter Neumann for the numerous little

More information

INDEPENDENCE OF THE CONTINUUM HYPOTHESIS

INDEPENDENCE OF THE CONTINUUM HYPOTHESIS INDEPENDENCE OF THE CONTINUUM HYPOTHESIS CAPSTONE MATT LUTHER 1 INDEPENDENCE OF THE CONTINUUM HYPOTHESIS 2 1. Introduction This paper will summarize many of the ideas from logic and set theory that are

More information

The Logic of Proofs, Semantically

The Logic of Proofs, Semantically The Logic of Proofs, Semantically Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: fitting@lehman.cuny.edu web page:

More information

An Intuitively Complete Analysis of Gödel s Incompleteness

An Intuitively Complete Analysis of Gödel s Incompleteness An Intuitively Complete Analysis of Gödel s Incompleteness JASON W. STEINMETZ (Self-funded) A detailed and rigorous analysis of Gödel s proof of his first incompleteness theorem is presented. The purpose

More information

Unbounded quantifiers and strong axioms in topos theory

Unbounded quantifiers and strong axioms in topos theory Unbounded quantifiers and in topos A. University of Chicago November 14, 2009 The motivating question What is the topos-theoretic counterpart of the strong set-theoretic axioms of Separation, Replacement,

More information

Logical Theories of Trees

Logical Theories of Trees Logical Theories of Trees by Ruaan Kellerman under the supervision of Prof. V. F. Goranko Prof. M. Möller School of Mathematics University of the Witwatersrand Johannesburg South Africa A thesis submitted

More information

Jónsson posets and unary Jónsson algebras

Jónsson posets and unary Jónsson algebras Jónsson posets and unary Jónsson algebras Keith A. Kearnes and Greg Oman Abstract. We show that if P is an infinite poset whose proper order ideals have cardinality strictly less than P, and κ is a cardinal

More information

B1.2 Set Theory. Lecture notes HT 2018 Jonathan Pila

B1.2 Set Theory. Lecture notes HT 2018 Jonathan Pila 1 B1.2 Set Theory Lecture notes HT 2018 Jonathan Pila Contents 1. Introduction 2. The language of Set Theory and the first axioms 3. The Powerset axiom 4. The Axiom of Infinity and the natural numbers

More information

Undergraduate logic sequence: the notes

Undergraduate logic sequence: the notes Undergraduate logic sequence: the notes November 21, 2014 ii Contents 1 Zermelo Fraenkel set theory 1 1.1 Historical context........................... 1 1.2 The language of the theory.....................

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

MODEL THEORY FOR ALGEBRAIC GEOMETRY

MODEL THEORY FOR ALGEBRAIC GEOMETRY MODEL THEORY FOR ALGEBRAIC GEOMETRY VICTOR ZHANG Abstract. We demonstrate how several problems of algebraic geometry, i.e. Ax-Grothendieck, Hilbert s Nullstellensatz, Noether- Ostrowski, and Hilbert s

More information

Axioms of Kleene Algebra

Axioms of Kleene Algebra Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.

More information

This paper is also taken by Combined Studies Students. Optional Subject (i): Set Theory and Further Logic

This paper is also taken by Combined Studies Students. Optional Subject (i): Set Theory and Further Logic UNIVERSITY OF LONDON BA EXAMINATION for Internal Students This paper is also taken by Combined Studies Students PHILOSOPHY Optional Subject (i): Set Theory and Further Logic Answer THREE questions, at

More information

Weak Choice Principles and Forcing Axioms

Weak Choice Principles and Forcing Axioms Weak Choice Principles and Forcing Axioms Elizabeth Lauri 1 Introduction Faculty Mentor: David Fernandez Breton Forcing is a technique that was discovered by Cohen in the mid 20th century, and it is particularly

More information

USING ULTRAPOWERS TO CHARACTERIZE ELEMENTARY EQUIVALENCE

USING ULTRAPOWERS TO CHARACTERIZE ELEMENTARY EQUIVALENCE USING ULTRAPOWERS TO CHARACTERIZE ELEMENTARY EQUIVALENCE MIKAYLA KELLEY Abstract. This paper will establish that ultrapowers can be used to determine whether or not two models have the same theory. More

More information

Tutorial on Axiomatic Set Theory. Javier R. Movellan

Tutorial on Axiomatic Set Theory. Javier R. Movellan Tutorial on Axiomatic Set Theory Javier R. Movellan Intuitively we think of sets as collections of elements. The crucial part of this intuitive concept is that we are willing to treat sets as entities

More information

On Recognizable Languages of Infinite Pictures

On Recognizable Languages of Infinite Pictures On Recognizable Languages of Infinite Pictures Equipe de Logique Mathématique CNRS and Université Paris 7 JAF 28, Fontainebleau, Juin 2009 Pictures Pictures are two-dimensional words. Let Σ be a finite

More information

Incompleteness Theorems, Large Cardinals, and Automata ov

Incompleteness Theorems, Large Cardinals, and Automata ov Incompleteness Theorems, Large Cardinals, and Automata over Finite Words Equipe de Logique Mathématique Institut de Mathématiques de Jussieu - Paris Rive Gauche CNRS and Université Paris 7 TAMC 2017, Berne

More information

Appendix to Lecture Notes on Linear Algebra I

Appendix to Lecture Notes on Linear Algebra I Appendix to Lecture Notes on Linear Algebra I Peter Philip November 21, 2018 Contents A Axiomatic Set Theory 3 A.1 Motivation, Russell s Antinomy........................... 3 A.2 Set-Theoretic Formulas...............................

More information

LINDSTRÖM S THEOREM SALMAN SIDDIQI

LINDSTRÖM S THEOREM SALMAN SIDDIQI LINDSTRÖM S THEOREM SALMAN SIDDIQI Abstract. This paper attempts to serve as an introduction to abstract model theory. We introduce the notion of abstract logics, explore first-order logic as an instance

More information

Russell Sets, Topology, and Cardinals

Russell Sets, Topology, and Cardinals Russell Sets, Topology, and Cardinals Ethan Thomas Undergraduate Honors Thesis Professor Marcia Groszek, Advisor Department of Mathematics Dartmouth College May, 2014 i Abstract The Axiom of Choice is

More information

Natural deduction for propositional logic via truth tables

Natural deduction for propositional logic via truth tables Natural deduction for propositional logic via truth tables Herman Geuvers Nijmegen, NL (Joint work with Tonny Hurkens) Bengt Nordström honorary workshop Marstrand, Sweden April 2016 H. Geuvers - April

More information