Self-Learned Formula Synthesis in Set Theory Chad E. Brown Thibault - - PowerPoint PPT Presentation

self learned formula synthesis in set theory
SMART_READER_LITE
LIVE PREVIEW

Self-Learned Formula Synthesis in Set Theory Chad E. Brown Thibault - - PowerPoint PPT Presentation

Self-Learned Formula Synthesis in Set Theory Chad E. Brown Thibault Gauthier Czech Technical University in Prague. This work has been supported by the European Research Council (ERC) grant AI4REASON no. 649043 under the EU-H2020 programme.


slide-1
SLIDE 1

Self-Learned Formula Synthesis in Set Theory

Chad E. Brown Thibault Gauthier

Czech Technical University in Prague. This work has been supported by the European Research Council (ERC) grant AI4REASON no. 649043 under the EU-H2020 programme.

September 14, 2020

1 /19

slide-2
SLIDE 2

Motivation

Understanding formulas is important for theorem proving. How do we figure out what a formula means?

2 /19

slide-3
SLIDE 3

Example formula

What is the meaning of this set-theoretical formula? ∃y ∈ x. x ⊆ ℘(y) There exists a set y member of x, such that x is not a subset of the power set of y.

3 /19

slide-4
SLIDE 4

Outline

Formula Graph of the formula Q(x) :=? Evaluation Synthesis

4 /19

slide-5
SLIDE 5

Outline

Formula P(x) := ∃y ∈ x. x ⊆ ℘(y) Graph of the formula P(a0), P(a1), . . . , P(a63) Q(x) :=? Evaluation Synthesis

4 /19

slide-6
SLIDE 6

Vocabulary

Terms s, t : x, y, z, . . . ∅ ℘(t) {t} s ∪ t Atomic formulas ϕ, ψ : s ∈ t s ∈ t s ⊆ t s ⊆ t s = t s = t Composite formulas ϕ, ψ : ϕ ⇒ ψ ϕ ∧ ψ ∀x ∈ s. ϕ ∀x ⊆ s. ϕ ∃x ∈ s. ϕ ∃x ⊆ s. ϕ

5 /19

slide-7
SLIDE 7

Example formula: understanding a special case

P(x) := ∃y ∈ x. x ⊆ ℘(y) P(∅) := ∃y ∈ ∅. ∅ ⊆ ℘(y) P(∅) is false.

6 /19

slide-8
SLIDE 8

What is a finite set?

Ground terms a,b: ∅ ℘(a) {a} a ∪ b The set {∅, {∅}} can be constructed as {∅} ∪ {{∅}}

7 /19

slide-9
SLIDE 9

Enumerating finite sets (f : N → finite sets)

f (10) → f (0101) → {f (1), f (3)} → {f (1), f (11)} → {{f (0)}, {f (0), f (1)}} → {∅, {∅, {∅}}} Idea: position of the 1s in the inverted binary encoding.

8 /19

slide-10
SLIDE 10

Example formula: truth values on initial sets

P(x) := ∃y ∈ x. x ⊆ ℘(y) P(0) is false. P(1) is false. P(01) is false. P(11) is true. P(001) is false. P(101) is true. P(011) is true. P(111) is true. P(0001) is false. . . . P(63) Graph of P : FFFTFTTTF . . .

9 /19

slide-11
SLIDE 11

Synthesis problem

Given a graph (list of truth values), can we find a formula for it?

10 /19

slide-12
SLIDE 12

Reinforcement learning solution

Graphs Policy, Value TNN Search Training 1 2

11 /19

slide-13
SLIDE 13

Search tree, policy and value

  • ∀◦ ⊆ △.

⇒ △ = △ ℘(△) = △ ∅ = △ △ ∪ △ = △ ⇒ ∀⊆ = ∅ ℘ ∪

12 /19

slide-14
SLIDE 14

Tree neural networks

△ △ ∪ △ △ ∪ △ = △ ∪ △ = △

FFFTFTTTF . . .

value policy 0.63 ∅:0.40, ℘:0.13, ∪:0.44

13 /19

slide-15
SLIDE 15

Training and testing datasets

3 4 5 6 7 8 9 10 11 12 13 14 15 6 8 22 60 88 260 472 960 638 992 1582 1056 606 Table: Number of generated graphs of each size Level 1: 400 graphs Level 2: 400 graphs Level 3: 400 graphs . . .

14 /19

slide-16
SLIDE 16

Progress of the training run

20 40 60 76 100 120 140 160 100 200 300 Number of successful formula synthesis (y) at generation (x) Level 1 on the left, Level 2 on the right

15 /19

slide-17
SLIDE 17

Final evaluation

Abstract time limit of 50,000 search steps. Uniform search Hidden-graph Guided Level 1, 2, 3 68, 0, 0 270, 126, 59 338, 240, 165

16 /19

slide-18
SLIDE 18

Example formula

P(x) := ∃y ∈ x. x ⊆ ℘(y) Graph of P : FFFTFTTTF . . .

17 /19

slide-19
SLIDE 19

Example formula

P(x) := ∃y ∈ x. x ⊆ ℘(y) Graph of P : FFFTFTTTF . . . Q(x) := ∃y ∈ x. {y} = x

17 /19

slide-20
SLIDE 20

Summary

Teach an algorithm to synthesize formulas from graphs. Procedure for understanding a formula with one free variable: 1) Create its graph. 2) Synthesize a (new) formula. 3) Is the new formula more meaningful?

18 /19

slide-21
SLIDE 21

Improvements

Synthesis of combinators and Diophantine equations (published at LPAR 2020) 1) Self-determined levels. 2) Comparison with ATPs: Vampire, E-prover.

19 /19