Positive Logic Is 2-Exptime Hard Aleksy Schubert Pawe Urzyczyn - - PowerPoint PPT Presentation

positive logic is 2 exptime hard
SMART_READER_LITE
LIVE PREVIEW

Positive Logic Is 2-Exptime Hard Aleksy Schubert Pawe Urzyczyn - - PowerPoint PPT Presentation

Positive Logic Is 2-Exptime Hard Aleksy Schubert Pawe Urzyczyn Daria Walukiewicz-Chrzszcz University of Warsaw TYPES, Toulouse, April 26, 2013 Work in Progress. . . Positive Logic Is 2-UExptime Hard Aleksy Schubert Pawe Urzyczyn Daria


slide-1
SLIDE 1

Positive Logic Is 2-Exptime Hard

Aleksy Schubert Paweł Urzyczyn Daria Walukiewicz-Chrząszcz University of Warsaw TYPES, Toulouse, April 26, 2013

slide-2
SLIDE 2

Work in Progress. . .

slide-3
SLIDE 3

Positive Logic Is 2-UExptime Hard

Aleksy Schubert Paweł Urzyczyn Daria Walukiewicz-Chrząszcz University of Warsaw TYPES, Toulouse, April 26, 2013

slide-4
SLIDE 4

Positive Logic Is 2-co-NExptime Hard

Aleksy Schubert Paweł Urzyczyn Daria Walukiewicz-Chrząszcz University of Warsaw TYPES, Toulouse, April 26, 2013

slide-5
SLIDE 5

Motivation

Foundational research on:

◮ Expressive power of “weak” intuitionistic logics. ◮ High-level properties of proof tactics.

slide-6
SLIDE 6

Prenex normal form

In classical logic: Every formula is classically equivalent to one of the form: Q1x1Q2x2 . . . Qkxk. Body(x,x2, . . . , xk), where Body has no quantifiers.

slide-7
SLIDE 7

Prenex normal form

In classical logic: Every formula is classically equivalent to one of the form: Q1x1Q2x2 . . . Qkxk. Body(x,x2, . . . , xk), where Body has no quantifiers. Classification: Formulas may be classified according to the quantifier prefix, e.g. universal (∀∗) formulas are in Π1, and Π2 is ∀∗∃∗.

slide-8
SLIDE 8

Prenex normal form

In classical logic: Every formula is classically equivalent to one of the form: Q1x1Q2x2 . . . Qkxk. Body(x,x2, . . . , xk), where Body has no quantifiers. Classification: Formulas may be classified according to the quantifier prefix, e.g. universal (∀∗) formulas are in Π1, and Π2 is ∀∗∃∗. In intuitionistic logic:

slide-9
SLIDE 9

Prenex normal form

In classical logic: Every formula is classically equivalent to one of the form: Q1x1Q2x2 . . . Qkxk. Body(x,x2, . . . , xk), where Body has no quantifiers. Classification: Formulas may be classified according to the quantifier prefix, e.g. universal (∀∗) formulas are in Π1, and Π2 is ∀∗∃∗. In intuitionistic logic: The prenex fragment is decidable in Pspace.

slide-10
SLIDE 10

The language we study

To make things simpler, we consider first-order formulas

◮ with universal quantifiers and implications; ◮ without function symbols

This fragment is known to be undecidable.

slide-11
SLIDE 11

Mints Hierarchy

Can we restore the prenex classification in intuitionistic logic?

slide-12
SLIDE 12

Mints Hierarchy

Can we restore the prenex classification in intuitionistic logic? Grigori Minc (1968): Yes, consider the quantifier prefix a formula would get if classically normalized.

slide-13
SLIDE 13

Mints Hierarchy

Can we restore the prenex classification in intuitionistic logic? Grigori Minc (1968): Yes, consider the quantifier prefix a formula would get if classically normalized. For example, ∀ quantifiers occurring at positive positions will remain ∀ in the prefix.

slide-14
SLIDE 14

Positive and Negative

+ – + + – – + – + + – + – – +

slide-15
SLIDE 15

Mints Hierarchy

Π1 – All quantifiers at positive positions. Σ1 – All quantifiers at negative positions. Π2 – One alternation: some negative quantifiers in scope

  • f some positive ones.

Σ2 – One alternation: some positive quantifiers in scope

  • f some negative ones.

And so on.

slide-16
SLIDE 16

Lower bounds for Mints Hierarchy

Π1 – 2-UExptime-hard Σ1 – At least Exptime-hard Π2 – Undecidable Σ2 – Undecidable Work in progress: with function symbols

◮ Class Σ1 becomes undecidable. ◮ Class Π1 is of the same complexity as before.

slide-17
SLIDE 17

A positive example

Let ϕ = (I → Tv) → Ap(x), ψ = I → (D → Tv) → Ap(x) and ϑ = D → Ap(x), and prove the formula (∀x(ϕ → ψ → ϑ → Ap(x)) → Tv) → Tv.

slide-18
SLIDE 18

A positive example

Let ϕ = (I → Tv) → Ap(x), ψ = I → (D → Tv) → Ap(x) and ϑ = D → Ap(x), and prove the formula (∀x(ϕ → ψ → ϑ → Ap(x)) → Tv) → Tv. The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv

slide-19
SLIDE 19

A positive example

Let ϕ = (I → Tv) → Ap(x), ψ = I → (D → Tv) → Ap(x) and ϑ = D → Ap(x), and prove the formula (∀x(ϕ → ψ → ϑ → Ap(x)) → Tv) → Tv. The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x))

slide-20
SLIDE 20

A positive example

Let ϕ = (I → Tv) → Ap(x), ψ = I → (D → Tv) → Ap(x) and ϑ = D → Ap(x), and prove the formula (∀x(ϕ → ψ → ϑ → Ap(x)) → Tv) → Tv. The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ϕ → ψ → ϑ → Ap(x)

slide-21
SLIDE 21

A positive example

Let ϕ = (I → Tv) → Ap(x), ψ = I → (D → Tv) → Ap(x) and ϑ = D → Ap(x), and prove the formula (∀x(ϕ → ψ → ϑ → Ap(x)) → Tv) → Tv. The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ϕ → ψ → ϑ → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x) ϕ, ψ, ϑ

slide-22
SLIDE 22

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x) ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x)

slide-23
SLIDE 23

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x) ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x)

slide-24
SLIDE 24

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x) ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv I → Tv ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x)

slide-25
SLIDE 25

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x) ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv I → Tv ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) I, ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ϕ = (I → Tv) → Ap(x), ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x)

slide-26
SLIDE 26

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ϕ = (I → Tv) → Ap(x) I, ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x)

slide-27
SLIDE 27

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ϕ = (I → Tv) → Ap(x) I, ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) ϕ(x) = (I → Tv) → Ap(x) I, ϑ(x) = D → Ap(x) ψ(x) = I → (D → Tv) → Ap(x)

slide-28
SLIDE 28

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ϕ = (I → Tv) → Ap(x) I, ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) ϕ(x) = (I → Tv) → Ap(x) I, ϑ(x) = D → Ap(x) ψ(x) = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ϕ(x′)→ψ(x′)→ϑ(x′)→Ap(x′) I, ϕ(x), ϑ(x), ψ(x)

slide-29
SLIDE 29

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ϕ = (I → Tv) → Ap(x) I, ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) ϕ(x) = (I → Tv) → Ap(x) I, ϑ(x) = D → Ap(x) ψ(x) = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ϕ(x′)→ψ(x′)→ϑ(x′)→Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′), ϑ(x′), ψ(x′)

slide-30
SLIDE 30

Example continued

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv ϕ = (I → Tv) → Ap(x) I, ϑ = D → Ap(x) ψ = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) ϕ(x) = (I → Tv) → Ap(x) I, ϑ(x) = D → Ap(x) ψ(x) = I → (D → Tv) → Ap(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ϕ(x′)→ψ(x′)→ϑ(x′)→Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′), ϑ(x′), ψ(x′)

slide-31
SLIDE 31

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′)

slide-32
SLIDE 32

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′)

slide-33
SLIDE 33

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′), ϑ(x′), ψ(x′)

slide-34
SLIDE 34

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′), ϑ(x′), ψ(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′′) I, D, ϕ(x), ϑ(x), ψ(x), ϕ(x′), ϑ(x′), ψ(x′), ϕ(x′′), ϑ(x′′), ψ(x′′)

slide-35
SLIDE 35

The Assumptions The Goal ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′) I, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Tv I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′) = (I → Tv) → Ap(x′) ϑ(x′) = D → Ap(x′) ψ(x′) = I → (D → Tv) → Ap(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv ∀x(ϕ → ψ → ϑ → Ap(x)) I, D, ϕ(x), ϑ(x), ψ(x) ϕ(x′), ϑ(x′), ψ(x′) ∀x(ϕ → ψ → ϑ → Ap(x)) → Tv Ap(x′′) I, D, ϕ(x), ϑ(x), ψ(x), ϕ(x′), ϑ(x′), ψ(x′), ϕ(x′′), ϑ(x′′), ψ(x′′)

slide-36
SLIDE 36

Nested quantifiers

∀x

✎✎✎✎✎✎✎✎✎✎✎

✴ ✴ ✴ ✴ ✴ ✴ ✴ ✴ ✴ ✴

∀y

  • ∀z

∀u

slide-37
SLIDE 37

Nested quantifiers

∀x

✎✎✎✎✎✎✎✎✎✎✎

✴ ✴ ✴ ✴ ✴ ✴ ✴ ✴ ✴ ✴

∀y

  • ∀z

∀u

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′

slide-38
SLIDE 38

The tree of knowledge

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′

slide-39
SLIDE 39

The tree of knowledge

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′ There may be differ- ent assumptions about each of the variables. In other words, every node in the tree has a different “knowledge”.

slide-40
SLIDE 40

How many of them?

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′ Assume n unary predicates.

slide-41
SLIDE 41

How many of them?

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′ Assume n unary predicates. ⇐ = 2n possibilities.

slide-42
SLIDE 42

How many of them?

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′ Assume n unary predicates. ⇐ = 22n possibilities. ⇐ = 2n possibilities.

slide-43
SLIDE 43

How many of them?

  • ✌✌✌✌✌✌✌✌✌✌✌

✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼ ✼

x′

✓✓✓✓✓✓✓✓✓✓✓

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵ ✵

x′′

✗✗✗✗✗✗✗✗✗✗✗ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

y ′

✗✗✗✗✗✗✗✗✗✗

  • y ′′
  • z′ z′′

y ′ y ′′

✖✖✖✖✖✖✖✖✖✖

✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭ ✭

u′ u′′ u′′′ u′ u′′ u′′′ Assume n unary predicates. ⇐ = 222n

  • etc. etc.

⇐ = 22n possibilities. ⇐ = 2n possibilities.

slide-44
SLIDE 44

Eden automaton

The proof-search procedure can be interpreted as a computation of an automaton.

slide-45
SLIDE 45

Eden automaton

The proof-search procedure can be interpreted as a computation of an automaton. The automaton operates on the tree of knowledge; nodes of the tree correspond to the various eigenvariables.

slide-46
SLIDE 46

Eden automaton

The proof-search procedure can be interpreted as a computation of an automaton. The automaton operates on the tree of knowledge; nodes of the tree correspond to the various eigenvariables. The depth of the tree is bounded, the width is not.

slide-47
SLIDE 47

Eden automaton

The proof-search procedure can be interpreted as a computation of an automaton. The automaton operates on the tree of knowledge; nodes of the tree correspond to the various eigenvariables. The depth of the tree is bounded, the width is not. The state of the automaton corresponds to the proof goal.

slide-48
SLIDE 48

Eden automaton

The proof-search procedure can be interpreted as a computation of an automaton. The automaton operates on the tree of knowledge; nodes of the tree correspond to the various eigenvariables. The depth of the tree is bounded, the width is not. The state of the automaton corresponds to the proof goal. The available assumptions on a variable y ′′ constitute the „knowledge” of node y ′′ of the tree. This can be modeled by memory registers associated to every node.

slide-49
SLIDE 49

Proof search as computation

Assumptions about y ′′ = data written in registers at node y ′′ Present goal P(y ′′) = machine at node y ′′ in state P.

slide-50
SLIDE 50

Proof search as computation

Assumptions about y ′′ = data written in registers at node y ′′ Present goal P(y ′′) = machine at node y ′′ in state P. Using assumptions: Q(x′) → P(y ′′) = change state from P to Q and move from node y ′′ to node x′.

slide-51
SLIDE 51

Proof search as computation

Assumptions about y ′′ = data written in registers at node y ′′ Present goal P(y ′′) = machine at node y ′′ in state P. Using assumptions: Q(x′) → P(y ′′) = change state from P to Q and move from node y ′′ to node x′. (R(x′) → Q(x′)) → P(y ′′) = as above; in addition write “1” to register R at node x′.

slide-52
SLIDE 52

Proof search as computation

Assumptions about y ′′ = data written in registers at node y ′′ Present goal P(y ′′) = machine at node y ′′ in state P. Using assumptions: Q(x′) → P(y ′′) = change state from P to Q and move from node y ′′ to node x′. (R(x′) → Q(x′)) → P(y ′′) = as above; in addition write “1” to register R at node x′. R(x′) → Q(x′) → P(y ′′) = action possible only if register R at node x′ is “1”.

slide-53
SLIDE 53

Proof search as computation

Assumptions about y ′′ = data written in registers at node y ′′ Present goal P(y ′′) = machine at node y ′′ in state P. Using assumptions: Q(x′) → P(y ′′) = change state from P to Q and move from node y ′′ to node x′. (R(x′) → Q(x′)) → P(y ′′) = as above; in addition write “1” to register R at node x′. R(x′) → Q(x′) → P(y ′′) = action possible only if register R at node x′ is “1”. ∀z(T → Q0(z)) → P(y ′′) = create a new child z′ of y ′′; enter node z′ in initial state Q0.

slide-54
SLIDE 54

The tree of knowledge of good and. . .

Restricted access to data: In intuitionistic logic one cannot reason from non-existence of assumptions, or delete assumptions.

slide-55
SLIDE 55

The tree of knowledge of good and. . .

Restricted access to data: In intuitionistic logic one cannot reason from non-existence of assumptions, or delete assumptions. Therefore in an Eden automaton one cannot verify that a register is “0”,

slide-56
SLIDE 56

The tree of knowledge of good and. . .

Restricted access to data: In intuitionistic logic one cannot reason from non-existence of assumptions, or delete assumptions. Therefore in an Eden automaton one cannot verify that a register is “0”, One cannot also set a register to “0”.

slide-57
SLIDE 57

The tree of knowledge of good and. . . no evil

Restricted access to data: In intuitionistic logic one cannot reason from non-existence of assumptions, or delete assumptions. Therefore in an Eden automaton one cannot verify that a register is “0”, One cannot also set a register to “0”. In this tree there is only good!

slide-58
SLIDE 58

Alternation

slide-59
SLIDE 59

Alternation

Existential choice because there may be more than one usable assumption.

slide-60
SLIDE 60

Alternation

Existential choice because there may be more than one usable assumption. Universal choice because an assumption may have more than one premise.

slide-61
SLIDE 61

Alternation

Existential choice because there may be more than one usable assumption. Universal choice because an assumption may have more than one premise. (To derive Ap(x) from ϕ → ψ → Ap(x)

  • ne has to prove both ϕ and ψ.)
slide-62
SLIDE 62

Eden automaton (simplified)

An ID is a triple q, T, w, where q is a state, T is a tree of knowledge, and w is the current apple (a node of T). There is a fixed number of binary registers at every node.

slide-63
SLIDE 63

Eden automaton (simplified)

An ID is a triple q, T, w, where q is a state, T is a tree of knowledge, and w is the current apple (a node of T). There is a fixed number of binary registers at every node. Possible actions:

◮ Move the apple can up to the father of w or down to

a nondeterministically chosen child of w;

slide-64
SLIDE 64

Eden automaton (simplified)

An ID is a triple q, T, w, where q is a state, T is a tree of knowledge, and w is the current apple (a node of T). There is a fixed number of binary registers at every node. Possible actions:

◮ Move the apple can up to the father of w or down to

a nondeterministically chosen child of w;

◮ Raise a selected flag at a given ancestor node of w;

slide-65
SLIDE 65

Eden automaton (simplified)

An ID is a triple q, T, w, where q is a state, T is a tree of knowledge, and w is the current apple (a node of T). There is a fixed number of binary registers at every node. Possible actions:

◮ Move the apple can up to the father of w or down to

a nondeterministically chosen child of w;

◮ Raise a selected flag at a given ancestor node of w; ◮ Check if a selected flag is up at a given ancestor of w;

slide-66
SLIDE 66

Eden automaton (simplified)

An ID is a triple q, T, w, where q is a state, T is a tree of knowledge, and w is the current apple (a node of T). There is a fixed number of binary registers at every node. Possible actions:

◮ Move the apple can up to the father of w or down to

a nondeterministically chosen child of w;

◮ Raise a selected flag at a given ancestor node of w; ◮ Check if a selected flag is up at a given ancestor of w; ◮ Create a new child of w and move the apple there.

slide-67
SLIDE 67

The main result (1)

The halting problem for Eden Automata is 2-UExptime hard.

slide-68
SLIDE 68

The main result (1)

The halting problem for Eden Automata is 2-UExptime hard. From a universal Turing Machine M working in time 22O(n) and an input word x of length n we construct (in Logspace) an Eden automaton A such that M accepts x iff A terminates.

slide-69
SLIDE 69

The main result (2)

Provability of positive formulas is 2-UExptime hard.

slide-70
SLIDE 70

The main result (2)

Provability of positive formulas is 2-UExptime hard. From an Eden automaton A we define (in Logspace) a positive first-order formula Φ such that A terminates iff Φ is provable.