SLIDE 1 Scommettere aiuta: Certezze infinite ed errori consapevoli
Guido Gherardi
Joint work with Vasco Brattka and Rupert H¨
Fakult¨ at f¨ ur Informatik Universit¨ at der Bundeswehr M¨ unchen
Torino, 17.06.2015
SLIDE 2
Π2-Statements
(∀x ∈ X)(∃y ∈ Y)R(x, y)
SLIDE 3 The Computable Analysis Model
✶ ✲
3 2581284527 32 2118 0 99 576229 15 182436 93 52 5 M 67 25 13 38 8
✲ ✲ ✲ ✛
7 0 28
❥ Figure : A Turing machine working with infinite sequences.
SLIDE 4
Definition (Representations)
A representation of a set X is a surjective function ρX :⊆ NN → X. The pair (X, ρX) is called a represented space. Usually, admissible representations (e.g., Cauchy representartions) are used. x ∈ X is ρX-computable if it has some computable ρX-name p ∈ NN.
SLIDE 5
Definition (Representations)
A representation of a set X is a surjective function ρX :⊆ NN → X. The pair (X, ρX) is called a represented space. Usually, admissible representations (e.g., Cauchy representartions) are used. x ∈ X is ρX-computable if it has some computable ρX-name p ∈ NN.
SLIDE 6 r r r r r r r s
x0 x1 x2 x3 x4 x5 x6 x
Figure : The Cauchy Representation δX: for a separable metric space X, a point x ∈ X is encoded by a Cauchy sequence x0, x1, x2, ... of elements from a fixed dense countable set D ⊆ X that uniformly converges to x.
SLIDE 7 ✍✌ ✎☞ ✖✕ ✗✔ ✒✑ ✓✏ ✖✕ ✗✔ ✚✙ ✛✘ ✧✦ ★✥ ✚✙ ✛✘ ✫✪ ✬✩ ✫✪ ✬✩ ★★ ★★★ ★ Figure : The Negative Representation ψX: for a separable metric space X, a closed set A ⊆ X is encoded by a list of basic open balls exausting its complement.
SLIDE 8 Definition (Realizers)
Let (X, ρX), (Y, ρY) be represented spaces and let f :⊆ X ⇒ Y be a multi-valued function. A function F :⊆ NN → NN is a (ρX, ρY)-realizer of f (F ⊢ f) if ρY ◦ F(p) ∈ f(ρX(p)) for all p ∈ NN such that ρX(p) ∈ dom(f). p ∈ NN
F
ρY
f
y ∈ f(x) ⊆ Y
f is said to be (ρX, ρY)-computable if it has a computable (ρX, ρY)-realizer F.
SLIDE 9 Definition (Realizers)
Let (X, ρX), (Y, ρY) be represented spaces and let f :⊆ X ⇒ Y be a multi-valued function. A function F :⊆ NN → NN is a (ρX, ρY)-realizer of f (F ⊢ f) if ρY ◦ F(p) ∈ f(ρX(p)) for all p ∈ NN such that ρX(p) ∈ dom(f). p ∈ NN
F
ρY
f
y ∈ f(x) ⊆ Y
f is said to be (ρX, ρY)-computable if it has a computable (ρX, ρY)-realizer F.
SLIDE 10 Paradigm extensions: limit computability
✶ ✲
3 2581284527 32 2118 0 99 576229 15 182436 93 52 5 M 67 25 13 38 8
✲ ✲ ✛
7 0 28
❥
958847612316
Figure : A limit Turing machine.
SLIDE 11
Paradigm extensions: non deterministic computations
A (multi-valued) function f :⊆ X ⇒ Y is said to be non deterministic computable if the following conditions hold:
SLIDE 12
p ⊢ x ∈ dom(f) ⊆ X dom(F) NN NN 2N Sp r Yes! M Succes oracles Output q ⊢ y ∈ f(x) ⊆ Y
SLIDE 13
p ⊢ x ∈ dom(f) ⊆ X dom(F) NN NN 2N Sp r No! Stop the computation Failure! M Failure recognition mechanism
SLIDE 14
Las Vegas computability
The closed set Sp has moreover positive measure µ(Sp) > 0: A 1 λ µ(A) = µ(0102N) = 2−|010| = 2−3
SLIDE 15 Examples of theorems that are:
◮ computable: Urysohn Extension Lemma, Urysohn-Tietze
Extension Lemma, Heine-Borel Theorem, Weierstrass Approximation Theorem, Baire Category Theorem,...
◮ finitely mind changes complete:, Banach Inverse Mapping
Theorem, Open Mapping Theorem, Closed Graph Theorem, Uniform Boundedness Theorem, (contrapositive
- f) Baire Category Theorem...
◮ non deterministic complete: Hahn-Banach Extension
Theorem, Brouwer Fixed Point Theorem,...
◮ limit complete: Monotone Convergence Theorem,...
SLIDE 16 Examples of theorems that are:
◮ computable: Urysohn Extension Lemma, Urysohn-Tietze
Extension Lemma, Heine-Borel Theorem, Weierstrass Approximation Theorem, Baire Category Theorem,...
◮ finitely mind changes complete:, Banach Inverse Mapping
Theorem, Open Mapping Theorem, Closed Graph Theorem, Uniform Boundedness Theorem, (contrapositive
- f) Baire Category Theorem...
◮ non deterministic complete: Hahn-Banach Extension
Theorem, Brouwer Fixed Point Theorem,...
◮ limit complete: Monotone Convergence Theorem,...
SLIDE 17 Examples of theorems that are:
◮ computable: Urysohn Extension Lemma, Urysohn-Tietze
Extension Lemma, Heine-Borel Theorem, Weierstrass Approximation Theorem, Baire Category Theorem,...
◮ finitely mind changes complete:, Banach Inverse Mapping
Theorem, Open Mapping Theorem, Closed Graph Theorem, Uniform Boundedness Theorem, (contrapositive
- f) Baire Category Theorem...
◮ non deterministic complete: Hahn-Banach Extension
Theorem, Brouwer Fixed Point Theorem,...
◮ limit complete: Monotone Convergence Theorem,...
SLIDE 18 Examples of theorems that are:
◮ computable: Urysohn Extension Lemma, Urysohn-Tietze
Extension Lemma, Heine-Borel Theorem, Weierstrass Approximation Theorem, Baire Category Theorem,...
◮ finitely mind changes complete:, Banach Inverse Mapping
Theorem, Open Mapping Theorem, Closed Graph Theorem, Uniform Boundedness Theorem, (contrapositive
- f) Baire Category Theorem...
◮ non deterministic complete: Hahn-Banach Extension
Theorem, Brouwer Fixed Point Theorem,...
◮ limit complete: Monotone Convergence Theorem,...
SLIDE 19 Examples of theorems that are:
◮ computable: Urysohn Extension Lemma, Urysohn-Tietze
Extension Lemma, Heine-Borel Theorem, Weierstrass Approximation Theorem, Baire Category Theorem,...
◮ finitely mind changes complete:, Banach Inverse Mapping
Theorem, Open Mapping Theorem, Closed Graph Theorem, Uniform Boundedness Theorem, (contrapositive
- f) Baire Category Theorem...
◮ non deterministic complete: Hahn-Banach Extension
Theorem, Brouwer Fixed Point Theorem,...
◮ limit complete: Monotone Convergence Theorem,...
SLIDE 20 Characterization of Las Vegas computable functions
f is Weihrauch-reducible to g (f ≤W g) if there are computable K :⊆ NN × NN → NN, H :⊆ NN → NN such that H(id, GK) ⊢ f, for every G ⊢ g.
✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ ✎ ✍ ☞ ✌ q q q q q q q q q q ✞ ✝ ☎ ✆ ❄ ❄ ❄ ❄
X Y NN NN NN NN NN NN Z W
✞ ✝ ☎ ✆ ✲ ✲ ✲ ✲ ✲
G K H g f ρZ ρX ρY ρW id
✲
p p p
✲ ✲
x y f(x) q
SLIDE 21
<W, ≡W, |W are defined in the obvious way. Via ≡W a lattice of equivalence classes is obtained, called the Weihrauch lattice.
SLIDE 22
<W, ≡W, |W are defined in the obvious way. Via ≡W a lattice of equivalence classes is obtained, called the Weihrauch lattice.
SLIDE 23 Definition (Positive Closed Choice)
Given a computable metric space X with a Borel measure µ, PCX :⊆ A−(X) ⇒ X, A → A, is the positive closed choice
- perator, which selects points from closed sets A ⊆ X of
positive measure denoted by the negative representation ψX
−.
✍✌ ✎☞ ✖✕ ✗✔ ✒✑ ✓✏ ✖✕ ✗✔ ✚✙ ✛✘ ✧✦ ★✥ ✚✙ ✛✘ ✫✪ ✬✩ ✫✪ ✬✩ ★★★ ★ ★ ★ s s
CX
✰
SLIDE 24 Theorem
Let X and Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas computable, ◮ f ≤W PC2N ≡W PC[0,1].
SLIDE 25 Theorem
Let X and Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas computable, ◮ f ≤W PC2N ≡W PC[0,1].
SLIDE 26 Theorem
Let X and Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas computable, ◮ f ≤W PC2N ≡W PC[0,1].
SLIDE 27 Definition (WWKL)
Let T ∞ ⊆ 2N be the set of (charachteristic functions of) infinite binary trees. We define then: WWKL :⊆ T ∞ ⇒ 2N, T → [T] := {p ∈ 2N| p is an infinite path in T with µ([T]) > 0}.
Theorem
Let X and Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas computable, ◮ f ≤W WWKL.
SLIDE 28 Definition (WWKL)
Let T ∞ ⊆ 2N be the set of (charachteristic functions of) infinite binary trees. We define then: WWKL :⊆ T ∞ ⇒ 2N, T → [T] := {p ∈ 2N| p is an infinite path in T with µ([T]) > 0}.
Theorem
Let X and Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas computable, ◮ f ≤W WWKL.
SLIDE 29
Basic properties of Las Vegas Computable Functions
Theorem (Closure under composition)
The class of Las Vegas computable multi-valued function is closed under composition. Hence: Las Vegas Computable multi-valued functions constitute a natural computational class.
SLIDE 30
Basic properties of Las Vegas Computable Functions
Theorem (Closure under composition)
The class of Las Vegas computable multi-valued function is closed under composition. Hence: Las Vegas Computable multi-valued functions constitute a natural computational class.
SLIDE 31 Do interesting Las Vegas computable functions exist?
VITALI’S THEOREM Let A ⊆ [0, 1] be Lebesgue measurable and let I be a sequence of intervals. If I is a Vitali cover of A, then there exists a subsequence J of I that eliminates A. Three classically equivalent versions of the Vitali Covering Theorem (for the special case of A = [0, 1]):
- 1. For every Vitali cover I of [0, 1] there exists a subsequence
J of I that eliminates [0, 1].
- 2. For every saturated sequence I that does not admit a
subsequence which eliminates [0, 1], there exists a point x ∈ [0, 1] that is not covered by I.
- 3. For every sequence I that does not admit a subsequence
which eliminates [0, 1], there exists a point x ∈ [0, 1] that is not captured by I.
SLIDE 32 Do interesting Las Vegas computable functions exist?
VITALI’S THEOREM Let A ⊆ [0, 1] be Lebesgue measurable and let I be a sequence of intervals. If I is a Vitali cover of A, then there exists a subsequence J of I that eliminates A. Three classically equivalent versions of the Vitali Covering Theorem (for the special case of A = [0, 1]):
- 1. For every Vitali cover I of [0, 1] there exists a subsequence
J of I that eliminates [0, 1].
- 2. For every saturated sequence I that does not admit a
subsequence which eliminates [0, 1], there exists a point x ∈ [0, 1] that is not covered by I.
- 3. For every sequence I that does not admit a subsequence
which eliminates [0, 1], there exists a point x ∈ [0, 1] that is not captured by I.
SLIDE 33 Do interesting Las Vegas computable functions exist?
VITALI’S THEOREM Let A ⊆ [0, 1] be Lebesgue measurable and let I be a sequence of intervals. If I is a Vitali cover of A, then there exists a subsequence J of I that eliminates A. Three classically equivalent versions of the Vitali Covering Theorem (for the special case of A = [0, 1]):
- 1. For every Vitali cover I of [0, 1] there exists a subsequence
J of I that eliminates [0, 1].
- 2. For every saturated sequence I that does not admit a
subsequence which eliminates [0, 1], there exists a point x ∈ [0, 1] that is not covered by I.
- 3. For every sequence I that does not admit a subsequence
which eliminates [0, 1], there exists a point x ∈ [0, 1] that is not captured by I.
SLIDE 34 The corresponding multi-valued functions:
Definition (Vitali Covering Theorem)
We define the following:
- 1. VCT0 :⊆ Int ⇒ Int with
VCT0(I) := {J : J is a subsequence of I that eliminates [0, 1]} for I a Vitali cover of [0, 1].
- 2. VCT1 :⊆ Int ⇒ [0, 1] with
VCT1(I) := [0, 1] \
for I saturated with no subsequence eliminating [0, 1].
- 3. VCT2 :⊆ Int ⇒ [0, 1] with
VCT2(I) := {x ∈ [0, 1] : x is not captured by I} for I with no subsequence eliminating [0, 1].
SLIDE 35
Theorem
VCT0 is computable.
Theorem
VCT1 is Las Vegas complete.
SLIDE 36 Las Vegas Computable functions with finitely many mind changes
If we allow the Las Vegas machines to perform finitely many corrections on the output tape, then we obtain the class of Las Vegas Computable functions with finitely many mind changes.
Theorem
The class of Las Vegas computable functions with finitely many mind changes is closed under composition.
Theorem
Let X, Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas comp. with finitely many mind changes, ◮ f ≤W PCR.
Proposition
PCR ≡W PC∆
[0,1].
SLIDE 37 Las Vegas Computable functions with finitely many mind changes
If we allow the Las Vegas machines to perform finitely many corrections on the output tape, then we obtain the class of Las Vegas Computable functions with finitely many mind changes.
Theorem
The class of Las Vegas computable functions with finitely many mind changes is closed under composition.
Theorem
Let X, Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas comp. with finitely many mind changes, ◮ f ≤W PCR.
Proposition
PCR ≡W PC∆
[0,1].
SLIDE 38 Las Vegas Computable functions with finitely many mind changes
If we allow the Las Vegas machines to perform finitely many corrections on the output tape, then we obtain the class of Las Vegas Computable functions with finitely many mind changes.
Theorem
The class of Las Vegas computable functions with finitely many mind changes is closed under composition.
Theorem
Let X, Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas comp. with finitely many mind changes, ◮ f ≤W PCR.
Proposition
PCR ≡W PC∆
[0,1].
SLIDE 39 Las Vegas Computable functions with finitely many mind changes
If we allow the Las Vegas machines to perform finitely many corrections on the output tape, then we obtain the class of Las Vegas Computable functions with finitely many mind changes.
Theorem
The class of Las Vegas computable functions with finitely many mind changes is closed under composition.
Theorem
Let X, Y be represented spaces. The following are equivalent for f :⊆ X ⇒ Y:
◮ f is Las Vegas comp. with finitely many mind changes, ◮ f ≤W PCR.
Proposition
PCR ≡W PC∆
[0,1].
SLIDE 40 Theorem
VCT2 is Las Vegas computable with finite mind changes.
Question
Is VCT2 Las Vegas with f.m.m.c. complete (i.e. VCT2 ≡W VCT∆
1 )?
We don’t know!
SLIDE 41 Theorem
VCT2 is Las Vegas computable with finite mind changes.
Question
Is VCT2 Las Vegas with f.m.m.c. complete (i.e. VCT2 ≡W VCT∆
1 )?
We don’t know!
SLIDE 42 Theorem
VCT2 is Las Vegas computable with finite mind changes.
Question
Is VCT2 Las Vegas with f.m.m.c. complete (i.e. VCT2 ≡W VCT∆
1 )?
We don’t know!
SLIDE 43 Probabilistic Algorithms
What happens when the condition about the failure recognition mechanism does not necessarily apply?
◮ the successful oracle sets Sp are not necessarily closed ◮ the successful oracle sets Sp do not need to depend in any
uniform way from inputs p.
SLIDE 44 Probabilistic Algorithms
What happens when the condition about the failure recognition mechanism does not necessarily apply?
◮ the successful oracle sets Sp are not necessarily closed ◮ the successful oracle sets Sp do not need to depend in any
uniform way from inputs p.
SLIDE 45 Probabilistic Algorithms
What happens when the condition about the failure recognition mechanism does not necessarily apply?
◮ the successful oracle sets Sp are not necessarily closed ◮ the successful oracle sets Sp do not need to depend in any
uniform way from inputs p.
SLIDE 46 Non-uniform computability:
Theorem (Single-valued probabilistic degrees)
Let X be a represented space and let Y be a T0-space with countable base and standard representation. If a single-valued function f : X → Y is probabilistic, then it is non uniformly computable, that is f maps computable inputs to computable
- utputs. Even more f(x) ≤r x for all x ∈ X.
SLIDE 47
Proposition
f Las Vegas computable = ⇒ f probabilistic. What about the inverse?
SLIDE 48
Natural probabilistic but not Las Vegas
IVT: 1 f
SLIDE 49 p0, p1, p2, ...
★ ✧ ✥ ✦ ★ ✧ ✥ ✦ ★ ✧ ✥ ✦ ★ ✧ ✥ ✦ ★ ✧ ✥ ✦ ★ ✧ ✥ ✦
p lim
✲
r
✿
x X Y y
✲ ✲
f = f ′ F1 ⊢ f ′ F0 ⊢ f p q
❄ ✻ q
ρX ρ′
X
ρY ρY NN NN NN NN
☛ ✡ ✟ ✠
f(x) z
✗ ❄ Figure : The derivative jump f ′ of f.
SLIDE 50
Theorem
IVT is probabilistic. In fact IVT ≤W WWKL′.
Theorem
IVT is neither Las Vegas computable nor Las Vegas computable with finitely many mind changes.
SLIDE 51
Theorem
IVT is probabilistic. In fact IVT ≤W WWKL′.
Theorem
IVT is neither Las Vegas computable nor Las Vegas computable with finitely many mind changes.
SLIDE 52 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 53 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 54 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 55 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 56 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 57 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 58 Conclusions
◮ We have extended the models of computations to Las
Vegas Turing Machines
◮ We have charachterized Las Vegas computability in terms
◮ We have seen that a version of Vitali Theorem is Las
Vegas Computable and another one is Las Vegas Computable with finitely many mind changes
◮ We have extended the models of computations to
probabilistic Turing Machines
◮ We have seen that (essentially) all single valued
probabilistic funtions are non uniformly computable
◮ We have seen that the Intermediate Value Theorem is
probabilistically computable but not Las Vegas computable (even with finitely many mind changes).
SLIDE 59
- V. Brattka, G. G, R. H¨
- lzl: Probabilistic Computability and
Choice, Information and Computation 242: 249-286 (2015)