SLIDE 1 CT2018 - University of Azores
A categorical explanation of why Church’s Thesis holds in the Effective Topos
Fabio Pasquali University of Padova
j.w.w.
and
SLIDE 2 Arithmetic doctrines
◮ P:C op → Heyt ◮ C has finite products ◮ for f : X → Y the map P(f ): P(Y ) → P(X) has (natural) a
left and a right adjoint E
f : P(X) → P(Y )
A
f : P(X) → P(Y ) ◮ C is weakly cartesian closed (wcc) ◮ C has a parametrized nno (pnno) 1
s
N
◮ P satisfies the induction principle on N
SLIDE 3
Examples
SLIDE 4
Examples
Subobjects
C is
◮ elementary topos ◮ nno
SubC:C op → Heyt
SLIDE 5
Examples
Subobjects
C is
◮ elementary topos ◮ nno
SubC:C op → Heyt Weak subobjects
C is
◮ lex ◮ finite co-products ◮ weakly lcc ◮ pnno
ΨC:C op → Heyt A → (C/A)po
SLIDE 6
Internal language
A in C f : X → A α ∈ P(A) P(f )(α) ∈ P(X) a: A x: X | f (x): A a: A | α(a) x: X | α(f (x))
SLIDE 7
Internal language
A in C f : X → A α ∈ P(A) P(f )(α) ∈ P(X) a: A x: X | f (x): A a: A | α(a) x: X | α(f (x)) φ1 ∧ ... ∧ φn ≤ ψ in P(A1 × ... × Ak) becomes a1: A1, ..., ak: Ak | φ1(a1, ..., ak), ..., φn(a1, ..., ak) ⊢ ψ(a1, ..., ak)
SLIDE 8
Internal language
A in C f : X → A α ∈ P(A) P(f )(α) ∈ P(X) a: A x: X | f (x): A a: A | α(a) x: X | α(f (x)) φ1 ∧ ... ∧ φn ≤ ψ in P(A1 × ... × Ak) becomes a1: A1, ..., ak: Ak | φ1(a1, ..., ak), ..., φn(a1, ..., ak) ⊢ ψ(a1, ..., ak) α = ⊤A becomes a: A ⊢P α(a)
SLIDE 9
The equality predicate
E
idX ,idX (⊤X) ∈ P(X × X)
SLIDE 10
The equality predicate
E
idX ,idX (⊤X) ∈ P(X × X)
abbreviated by =X becomes x: X, x′: X | x =X x′
SLIDE 11
The equality predicate
E
idX ,idX (⊤X) ∈ P(X × X)
abbreviated by =X becomes x: X, x′: X | x =X x′ P has comprehensive diagonals if for all f , g: A → X f = g iff a: A ⊢P f (a) =X g(a)
SLIDE 12
Formal Church’s Thesis
P is arithmetic. NN is a weak exp.
SLIDE 13
Formal Church’s Thesis
P is arithmetic. NN is a weak exp. Formal Church’s Thesis (CT) ⊢P ∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) =N 1∧R(x, U(y))]
SLIDE 14
Formal Church’s Thesis
P is arithmetic. NN is a weak exp. Formal Church’s Thesis (CT) ⊢P ∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) =N 1∧R(x, U(y))] Formal Type-Theoretic Church’s Thesis (TCT) ⊢P ∀f :NN∃e:N∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
SLIDE 15
Formal Church’s Thesis
P is arithmetic. NN is a weak exp. Formal Church’s Thesis (CT) ⊢P ∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) =N 1∧R(x, U(y))] Formal Type-Theoretic Church’s Thesis (TCT) ⊢P ∀f :NN∃e:N∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )] Rule of choice (RC) if a: A ⊢P ∃b:BR(a, b), there is f : A → B s.t. a: A ⊢P R(a, f (a))
SLIDE 16
Formal Church’s Thesis
P is arithmetic. NN is a weak exp. Formal Church’s Thesis (CT) ⊢P ∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) =N 1∧R(x, U(y))] Formal Type-Theoretic Church’s Thesis (TCT) ⊢P ∀f :NN∃e:N∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )] Rule of choice (RC) if a: A ⊢P ∃b:BR(a, b), there is f : A → B s.t. a: A ⊢P R(a, f (a)) (TCT) + (RC) + full weak comprehension ⇒ (CT)
SLIDE 17 Weak comprehension
Cop
P
Cop
ΨC
·
|−| }
SLIDE 18 Weak comprehension
Cop
P
Cop
ΨC
·
|−| }
Weak comprehension is full iff E { |−| } = idP.
SLIDE 19 Weak comprehension
Cop
P
Cop
ΨC
·
|−| }
Weak comprehension is full iff E { |−| } = idP. Theorem: { |−| } E = idΨC iff P satisfies (RC)
[Maietti, Pasquali, Rosolini. Tbilisi Mathematical Journal. 2017]
SLIDE 20
Elementary quotient completion
[Maietti, Rosolini. Elementary quotient completion. 2013] [Maietti, Rosolini. Unifying exact completions. 2015]
SLIDE 21
Elementary quotient completion
C op
P
Heyt
[Maietti, Rosolini. Elementary quotient completion. 2013] [Maietti, Rosolini. Unifying exact completions. 2015]
SLIDE 22 Elementary quotient completion
C op
P
P
Q op
P
- P
- ·
- [Maietti, Rosolini. Elementary quotient completion. 2013]
[Maietti, Rosolini. Unifying exact completions. 2015]
SLIDE 23 Elementary quotient completion
C op
P
P
Q op
P
- P
- ·
- P has effective quotients.
P is the free such on P.
[Maietti, Rosolini. Elementary quotient completion. 2013] [Maietti, Rosolini. Unifying exact completions. 2015]
SLIDE 24 Elementary quotient completion
C op
P
P
Q op
P
- P
- ·
- P has effective quotients.
P is the free such on P. Qop
ΨC
Heyt
C op
ex/lex
[Maietti, Rosolini. Elementary quotient completion. 2013] [Maietti, Rosolini. Unifying exact completions. 2015]
SLIDE 25
Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SLIDE 26 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
P
Ieqc
SLIDE 27 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SubCex/lex P
Ieqc
Ieqc
SLIDE 28 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SubCex/lex P
Ieqc
ΨC
SLIDE 29 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SubCex/lex
Ieqc
ΨC
SLIDE 30 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SubCex/lex
Ieqc
ΨC
Cex/lex C
∇P
SLIDE 31 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SubCex/lex
Ieqc
ΨC
R ⊥
Cex/lex
L
∇P
SLIDE 32 Elementary quotient completion and full comprehension
P:C op → Heyt has full weak comprehension and C is lex
SubCex/lex
Ieqc
ΨC
R ⊥
Cex/lex
L
∇P
- ∇ΨP
- R is full and faithful
L preserves finite products
SLIDE 33
Elementary quotient completion and (TCT), (CT)
SLIDE 34 Elementary quotient completion and (TCT), (CT)
∇P(N) is a pnno in QP
C op
P
P
Q op
P
SLIDE 35 Elementary quotient completion and (TCT), (CT)
∇P(N) is a pnno in QP
C op
P
P
Q op
P
◮ P satisfies (TCT) if and only if
P satisfies (TCT)
◮ P satisfies (CT) if and only if
P satisfies (CT)
SLIDE 36 Full comprehension and (TCT), (CT)
P
⊥ { |−| }
ΨC
E
{ |−| } E = idΨC
SLIDE 37 Full comprehension and (TCT), (CT)
P
⊥ { |−| }
ΨC
E
{ |−| } E = idΨC α ≤ β in P(A) iff { |α| } ≤ { |β| } in ΨC(A)
SLIDE 38 Full comprehension and (TCT), (CT)
P
⊥ { |−| }
ΨC
E
{ |−| } E = idΨC α ≤ β in P(A) iff { |α| } ≤ { |β| } in ΨC(A) { |=A| } = =A { |P(f )(α)| } = ΨC(f ){ |α| } { |α ∧ β| } = { |α| } ∧ { |β| } { |α → β| } = { |α| } → { |β| } { | A
f φ|
} = Πf { |φ| }
SLIDE 39 Full comprehension and (TCT), (CT)
P
⊥ { |−| }
ΨC
E
{ |−| } E = idΨC α ≤ β in P(A) iff { |α| } ≤ { |β| } in ΨC(A) { |=A| } = =A { |P(f )(α)| } = ΨC(f ){ |α| } { |α ∧ β| } = { |α| } ∧ { |β| } { |α → β| } = { |α| } → { |β| } { | A
f φ|
} = Πf { |φ| } { |α ∨ β| } = { |−| } E [{ |α| } ∨ { |β| }] { | E
f φ|
} = { |−| } E [Σf { |φ| }]
SLIDE 40
Full comprehension and (TCT), (CT)
R ∈ P(A × B) R has a Skolem arrow for B if there is f : A → B s.t. x: A | ∃y:BR(x, y) ⊢ R(x, f (x))
SLIDE 41
Full comprehension and (TCT), (CT)
R ∈ P(A × B) R has a Skolem arrow for B if there is f : A → B s.t. x: A | ∃y:BR(x, y) ⊢ R(x, f (x)) Theorem: if R has a Skolem arrow for B { | E
πφ|
} = { |−| } E [Σπ{ |φ| }] = Σπ{ |φ| } where π: A × B → A, i.e. { |∃y:Bφ(x, y)| } = Σy:B{ |φ| }(x, y)
SLIDE 42
Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
SLIDE 43
Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
SLIDE 44
Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
SLIDE 45 Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
- Suppose P has Skolem arrows:
NN × N × N → N NN → N
SLIDE 46 Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
- Suppose P has Skolem arrows:
NN × N × N → N NN → N
SubCex/lex
{ |−| } ⊥
Ieqc
SLIDE 47 Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
- Suppose P has Skolem arrows:
NN × N × N → N NN → N
SubCex/lex
P
{ |−| } ⊥
Ieqc
SLIDE 48 Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
- Suppose P has Skolem arrows:
NN × N × N → N NN → N (TCT)
SubCex/lex
(TCT) P
{ |−| } ⊥
Ieqc
SLIDE 49 Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
- Suppose P has Skolem arrows:
NN × N × N → N NN → N (TCT)
SubCex/lex
(TCT) P
{ |−| } ⊥
Ieqc
SLIDE 50 Full comprehension and (TCT), (CT)
(TCT) ∀f :NN∃e:N ∀x:N∃y:N [T(e, x, y) =N 1 ∧ U(y) =N ev(x, f )]
- Suppose P has Skolem arrows:
NN × N × N → N NN → N (TCT)
SubCex/lex
(TCT) P
{ |−| } ⊥
Ieqc
SLIDE 51
Application to assemblies
SLIDE 52
Application to assemblies
The category of Asm
SLIDE 53 Application to assemblies
The category of Asm
- bjects: (A, α) where α: A → Pow ∗(N)
SLIDE 54 Application to assemblies
The category of Asm
- bjects: (A, α) where α: A → Pow ∗(N)
arrows: f : (A, α) → (B, β) where f : A → B has a track
SLIDE 55 Application to assemblies
The category of Asm
- bjects: (A, α) where α: A → Pow ∗(N)
arrows: f : (A, α) → (B, β) where f : A → B has a track, i.e. there exists n ∈ N, such that for all a ∈ A and all p ∈ α(a) ϕn(p) ↓ and ϕn(p) ∈ β(f (a))
SLIDE 56 Application to assemblies
The category of Asm
- bjects: (A, α) where α: A → Pow ∗(N)
arrows: f : (A, α) → (B, β) where f : A → B has a track, i.e. there exists n ∈ N, such that for all a ∈ A and all p ∈ α(a) ϕn(p) ↓ and ϕn(p) ∈ β(f (a)) P Asm ⊆full Asm on those (A, α) where α(a) is a singleton, i.e. α: A → N
SLIDE 57
Application to assemblies
SLIDE 58 Application to assemblies
Asmop
SAsm
Set op
Pow
SLIDE 59 Application to assemblies
Asmop
SAsm
Set op
Pow
Asmop
SP
Asm
Set op
Pow
SLIDE 60 Application to assemblies
Asmop
SAsm
Set op
Pow
Asmop
SP
Asm
Set op
Pow
SP
Asm ≡ SAsm
SLIDE 61
Application to assemblies (TCT), (CT)
SP
Asm: P
Asmop − → Heyt N = (N, idN)
SLIDE 62
Application to assemblies (TCT), (CT)
SP
Asm: P
Asmop − → Heyt N = (N, idN)
◮ (CT) fails to hold
∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) = 1 ∧ R(x, U(y))] take for R the graph of a non-computable function
SLIDE 63
Application to assemblies (TCT), (CT)
SP
Asm: P
Asmop − → Heyt N = (N, idN)
◮ (CT) fails to hold
∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) = 1 ∧ R(x, U(y))] take for R the graph of a non-computable function
◮ (TCT) holds
∀f :NN∃e:N∀x:N∃y:N [T(e, x, y) = 1 ∧ U(y) = f (x)] definition of arrow in P Asm
SLIDE 64
Application to assemblies (TCT), (CT)
SP
Asm: P
Asmop − → Heyt N = (N, idN)
◮ (CT) fails to hold
∀x:N∃y:NR(x, y) → ∃e:N∀x:N∃y:N [T(e, x, y) = 1 ∧ R(x, U(y))] take for R the graph of a non-computable function
◮ (TCT) holds
∀f :NN∃e:N∀x:N∃y:N [T(e, x, y) = 1 ∧ U(y) = f (x)] definition of arrow in P Asm + Skolem arrows
SLIDE 65 Application to assemblies (TCT), (CT)
SAsm
SubEff
Asm { |−| } ⊥
Asm Ieqc
SLIDE 66 Application to assemblies (TCT), (CT)
SAsm
SubEff
Skolem arrows
SP
Asm { |−| } ⊥
Asm Ieqc
SLIDE 67 Application to assemblies (TCT), (CT)
(TCT) SAsm
SubEff
(TCT)
Skolem arrows
SP
Asm { |−| } ⊥
Asm Ieqc
SLIDE 68
Thank you
SLIDE 69 References
Some free constructions in realizability and proof theory.
- J. Pure Appl. Algebra, 103 117–148 1995.
- A. Carboni, P.J. Freyd and A. Scedrov.
A categorical approach to realizability and polymorphic types. Mathematical Foundations of Programming Language Semantics 298 23–42 1988.
The effective topos. The L.E.J. Brouwer Centenary Symposium. 1982.
Equality in hyperdoctrines and comprehension schema as an adjoint functor.
- A. Heller, editor, Proc. New York Symposium on Application of Categorical Algebra. 1970.
SLIDE 70 References
M.E. Maietti, F. Pasquali. and G. Rosolini. Triposes, exact completions, and Hilbert’s ǫ-operator. Tbilisi Mathematical Journal. 2017. M.E. Maietti. and G. Rosolini. Relating quotient completions via categorical logic. Dieter Probst and Peter Schuster (eds.), ”Concepts of Proof in Mathematics, Philosophy, and Computer Science”. De Gruyter. 2016. M.E. Maietti. and G. Rosolini. Unifying exact completions. Applied Categorical Structures. 2013. M.E. Maietti. and G. Rosolini. Elementary quotient completion. Theory and Applications of Categories. 2013. M.E. Maietti. and G. Rosolini. Quotient completion for the foundation of constructive mathematics. Logica Universalis. 2013.