On the density of types with decidable lambda definability problem - - PowerPoint PPT Presentation

on the density of types with decidable lambda
SMART_READER_LITE
LIVE PREVIEW

On the density of types with decidable lambda definability problem - - PowerPoint PPT Presentation

On the density of types with decidable lambda definability problem Marek Zaionc Computer Science Department, Jagiellonian University. Simple typed calculus with one ground type O is consi- dered. T := O | T T We consider lambda


slide-1
SLIDE 1

On the density of types with decidable lambda definability problem

Marek Zaionc Computer Science Department, Jagiellonian University.

slide-2
SLIDE 2

Simple typed λ calculus with one ground type O is consi- dered. T := O | T → T

slide-3
SLIDE 3

We consider lambda definability problem limited to fourth

  • rder types
slide-4
SLIDE 4

A full type hierarchy {Dτ}τ∈T is a collection of finite do- mains, one for each type. The whole hierarchy is determined by DO. Dτ→µ = Dµ

Dτ.

All Dτ are finite.

slide-5
SLIDE 5

Lambda definability problem

For the particular type τ the τ-lambda definability pro- blem is the decision problem: GIVEN: Finite domain DO and object f ∈ Dτ. PROBLEM: Decide if f is lambda definable in Dτ.

slide-6
SLIDE 6

Up to rank 3 types the lambda definability problem is decidable.

slide-7
SLIDE 7

Definition 1. Type τ is called regular if rank(τ) 4 and every component of τ has arg 1. This implies that only components allowed for regular types are O, O → O and (Ok → O) → O for any k. Theorem 2. λ definability problem is decidable for all rank 1, 2, 3 types and for regular rank 4 types.

slide-8
SLIDE 8

((O → O → O) → O) → (O → O) ((O → O → O) → O) → ((O → O) → (O → O)) ((O → O) → O) → ((O → O) → O) ((O → O) → O) → ((O → O → O) → (O → O)) . (example of Thierry Joly) M = (((O → O → O) → O) → O) → (O → O) .

slide-9
SLIDE 9

We consider probability of the fact that randomly chosen 4 order type has decidable lambda definability problem.

slide-10
SLIDE 10

Definition

  • 3. By τ we mean the length of type τ

which we define as the total number of occurrences of atomic type O in the given type.

slide-11
SLIDE 11

Definition

  • 4. We associate the density µ(A) with a

subset A ⊂ T of types as: (1) µ(A) = lim

n→∞

#{τ ∈ A : τ = n} #{τ ∈ T : τ = n} if the limit exists.

slide-12
SLIDE 12

Theorem 5. The density of rank 4 types with decidable λ definability problem among all rank 4 types is 0.

slide-13
SLIDE 13

Theorem

  • 6. The density of types of rank 4 with

the decidable λ definability problem among all types of rank 4 is again 0.