Are streamless sets Noetherian? Marc Bezem 1 Thierry Coquand 2 Keiko - - PowerPoint PPT Presentation

are streamless sets noetherian
SMART_READER_LITE
LIVE PREVIEW

Are streamless sets Noetherian? Marc Bezem 1 Thierry Coquand 2 Keiko - - PowerPoint PPT Presentation

Are streamless sets Noetherian? Marc Bezem 1 Thierry Coquand 2 Keiko Nakata 3 Department of Informatics, University of Bergen 1 Department of Computing Science, Chalmers University 2 Institute of Cybernetics at Tallinn University of Technology 3 25


slide-1
SLIDE 1

Are streamless sets Noetherian?

Marc Bezem1 Thierry Coquand2 Keiko Nakata3

Department of Informatics, University of Bergen1 Department of Computing Science, Chalmers University2 Institute of Cybernetics at Tallinn University of Technology3

25 avril 2013, TYPES, Toulouse

slide-2
SLIDE 2

Finiteness

Constructively, there are at least four definitions of a set A of natural numbers being finite. (i) The set A is given by a list. (Enumerated sets) (ii) There exists a bound such that any list over A contains duplicates whenever its length exceeds the bound. (Size-bounded sets) (iii) The root of the tree of duplicate-free lists over A is inductively

  • accessible. (Noetherian sets)

(iv) Every stream over A has a duplicate. (Streamless sets)

slide-3
SLIDE 3

Enumerated sets

A set A ⊆ nat is enumerated, enum A, if all its elements can be listed, or ∀x : A. false enum A x : A enum (A \ {x}) enum A A proof of enum A is essentially an exhaustive duplicate-free list of elements of A.

slide-4
SLIDE 4

Size-bounded sets

A set A ⊆ nat is size-bounded by n if any duplicate-free list over A is of length of less than n. ∀x : A. boundedn (A \ {x}) boundedn+1 A A set A is size-bounded if there exists n such that boundedn A. Enumerated sets are size-bounded. But the converse implication does not hold constructively. (For decidable sets of natural numbers, it is equivalent to LPO.)

slide-5
SLIDE 5

Size-bounded sets

A set A ⊆ nat is size-bounded by n if any duplicate-free list over A is of length of less than n. ∀x : A. boundedn (A \ {x}) boundedn+1 A A set A is size-bounded if there exists n such that boundedn A. Enumerated sets are size-bounded. But the converse implication does not hold constructively. (For decidable sets of natural numbers, it is equivalent to LPO.)

slide-6
SLIDE 6

Noetherian sets

A set A is Noetherian, Noet A, if, for all x ∈ A, A\{x} is

  • Noetherian. Formally,

∀x ∈ A. Noet (A\{x}) Noet A Size-bounded sets are Noetherian. But the converse implication does not hold constructively. (For decidable sets of natural numbers, it is equivalent to LPO.)

slide-7
SLIDE 7

Noetherian sets

A set A is Noetherian, Noet A, if, for all x ∈ A, A\{x} is

  • Noetherian. Formally,

∀x ∈ A. Noet (A\{x}) Noet A Size-bounded sets are Noetherian. But the converse implication does not hold constructively. (For decidable sets of natural numbers, it is equivalent to LPO.)

slide-8
SLIDE 8

Streamless sets

A set A ⊆ nat is streamless if every stream over A has duplicates. ∀f : nat → A.∃n.∃m > n.f (n) = f (m) Noetherian sets are streamless. Is the converse implication provable intuitionistically?

slide-9
SLIDE 9

Streamless sets

A set A ⊆ nat is streamless if every stream over A has duplicates. ∀f : nat → A.∃n.∃m > n.f (n) = f (m) Noetherian sets are streamless. Is the converse implication provable intuitionistically?

slide-10
SLIDE 10

Noetherian sets (revisited)

Let A : Set and R : A → A → Prop. For x : A and l : A∗, we say x R-belongs to l, written x ∈R l, if l contains an element to which x is related by R. Or, R x y x ∈R y :: l x ∈R l x ∈R y :: l A list l : A∗ is R-good, written goodR l, if there exists n < len(l) and m < n such that R l(m) l(n). Or, x ∈R l goodR x :: l goodR l goodR x :: l

slide-11
SLIDE 11

Noetherian sets (revisited)

A relation R : A → A → Prop on a set A is streamless if every stream α over A has a prefix which is R-good. Given a relation R : A → A → Prop, we define R-accessibility of a list l : A∗, written AccR l, inductively by goodR l AccR l ∀a : A. AccR (a : l) AccR l so that l is R-accessible if either l is R-good, or, for all a : A, a :: l is R-accessible. We say a relation R : A → A → Prop is Noetherian, if an empty list is R-accessible, i.e., AccR .

slide-12
SLIDE 12

Abstracting from the Halting set

Given a predicate H : nat → Prop on natural numbers, we define a predicate PH : nat → Prop inductively by PH 0 P0 PH n (n ∈ H ∨ ¬n ∈ H) PH (n + 1) PS so that if PH n holds, we have a proof for H m ∨ ¬H m for all m < n.

Lemma

For any n, PH n implies ¬¬PH (n + 1).

Corollary

For any n, ¬¬PH n.

slide-13
SLIDE 13

Abstracting from the Halting set

Given a predicate H : nat → Prop on natural numbers, we define a predicate PH : nat → Prop inductively by PH 0 P0 PH n (n ∈ H ∨ ¬n ∈ H) PH (n + 1) PS so that if PH n holds, we have a proof for H m ∨ ¬H m for all m < n.

Lemma

For any n, PH n implies ¬¬PH (n + 1).

Corollary

For any n, ¬¬PH n.

slide-14
SLIDE 14

≈PH is not Noetherian

Define a relation ≈PH : (Σn : nat. PH n) → (Σn : nat. PH n) → Prop such that (n, hn) ≈PH (m, hm) iff n = m.

Lemma

For any l : (Σn : nat. PH n)∗, Acc≈PH l implies good≈PH l.

Corollary

¬Acc≈PH .

slide-15
SLIDE 15

MP ⊢ ≈PH is streamless

Lemma

Assume that it is absurd that H is decidable, namely, ¬(∀n. n ∈ H ∨ ¬n ∈ H). Assuming Markov’s Principle, ≈PH is streamless. What we obtain: In the presence of an undecidable set and Markov’s Principle, there is a streamless set which is not provably Noetherian.

slide-16
SLIDE 16

MP ⊢ ≈PH is streamless

Lemma

Assume that it is absurd that H is decidable, namely, ¬(∀n. n ∈ H ∨ ¬n ∈ H). Assuming Markov’s Principle, ≈PH is streamless. What we obtain: In the presence of an undecidable set and Markov’s Principle, there is a streamless set which is not provably Noetherian.

slide-17
SLIDE 17

Realizability model

  • Construct a domain model for type theory based on untyped

lambda calculus extended by constants, following the approach of Coquand and Spiwack.

  • Turn the domain model into a realizability model where the terms
  • f the extended lambda calculus are the realizers.
  • In this model, MP is realizable, and we can also construct an

undecidable set.

  • This way, we obtain that

MP → ∀H : nat → Prop. ¬¬∀n. H n ∨ ¬H n unprovable in type theory.

  • We learn that streamless implies Noetherian is unprovable in type

theory.