Fast Equational Reasoning with WALDMEISTER
Thomas Hillenbrand Max-Planck-Institut f¨ ur Informatik Saarbr¨ ucken
- Th. Hillenbrand
FAST EQUATIONAL REASONING – p.1
Fast Equational Reasoning with W ALDMEISTER Thomas Hillenbrand - - PowerPoint PPT Presentation
Fast Equational Reasoning with W ALDMEISTER Thomas Hillenbrand Max-Planck-Institut f ur Informatik Saarbr ucken Th. Hillenbrand FAST EQUATIONAL REASONING p.1 Aim of this Talk RTA organizers: ... would be nice to show how a
FAST EQUATIONAL REASONING – p.1
FAST EQUATIONAL REASONING – p.2
FAST EQUATIONAL REASONING – p.3
FAST EQUATIONAL REASONING – p.4
FAST EQUATIONAL REASONING – p.5
FAST EQUATIONAL REASONING – p.6
FAST EQUATIONAL REASONING – p.7
********************************************************************** ************************* COMPLETION - PROOF ************************* ********************************************************************** new rule: 1 +(x1,0) -> x1 new rule: 2 +(x1,-(x1)) -> 0 new rule: 3 +(+(x1,x2),x3) -> +(x1,+(x2,x3)) new rule: 4 +(x1,+(0,x2)) -> +(x1,x2) new rule: 5 +(x1,-(0)) -> x1 new rule: 6 +(x1,+(-(x1),x2)) -> +(0,x2) new rule: 7 +(0,-(-(x1))) -> x1 new rule: 8 +(x1,-(-(x2))) -> +(x1,x2) remove rule: 7 new rule: 9 +(0,x1) -> x1 remove rule: 4 simplify rhs of rule: 6 new rule: 10
remove rule: 5 new rule: 11
remove rule: 8 joined goal: 1 c ?= -(-(c)) to c +--------------------------+ | this proves the goal | +--------------------------+ Proved Goals: No. 1: c ?= -(-(c)) joined, current: c = c 1 goal was specified, which was proved. Waldmeister states: Goal proved.
FAST EQUATIONAL REASONING – p.8
Consider the following set of axioms: Axiom 1: x + 0 = x Axiom 2: x + (−x) = 0 Axiom 3: (x + y) + z = x + (y + z) This theorem holds true: Theorem 1: x = − − x Proof: Lemma 1: 0 + (− − x) = x 0 + (− − x) = by Axiom 2 RL (x + (−x)) + (− − x) = by Axiom 3 LR x + ((−x) + (− − x)) = by Axiom 2 LR x + 0 = by Axiom 1 LR x Lemma 2: x + (− − y) = x + y x + (− − y) = by Axiom 1 RL (x + 0) + (− − y) = by Axiom 3 LR x + (0 + (− − y)) = by Lemma 1 LR x + y Lemma 3: 0 + x = x 0 + x = by Lemma 2 RL 0 + (− − x) = by Lemma 1 LR x Theorem 1: x = − − x x = by Lemma 3 RL 0 + x = by Lemma 2 RL 0 + (− − x) = by Lemma 3 LR − − x
FAST EQUATIONAL REASONING – p.9
FAST EQUATIONAL REASONING – p.10
FAST EQUATIONAL REASONING – p.11
A(e)
A(C)
FAST EQUATIONAL REASONING – p.12
A(e)
A(P ∪ P1 ∪ P2)
A(C)
FAST EQUATIONAL REASONING – p.12
A(e)
A(P1 ∪ P2)
A(C)
FAST EQUATIONAL REASONING – p.12
FAST EQUATIONAL REASONING – p.13
FAST EQUATIONAL REASONING – p.14
FAST EQUATIONAL REASONING – p.15
FAST EQUATIONAL REASONING – p.16
FAST EQUATIONAL REASONING – p.17
FAST EQUATIONAL REASONING – p.17
FAST EQUATIONAL REASONING – p.18
FAST EQUATIONAL REASONING – p.19
250 MB 500 MB 750 MB 1 GB 1000 2000 3000 4000 5000 Space requirements Number of activated facts ROB001-1 flatterms stringterms
without P
FAST EQUATIONAL REASONING – p.20
FAST EQUATIONAL REASONING – p.21
250 MB 500 MB 750 MB 1 GB 1000 2000 3000 4000 5000 Space requirements Number of activated facts ROB001-1 flatterms stringterms
without P NEW
FAST EQUATIONAL REASONING – p.22
FAST EQUATIONAL REASONING – p.23
FAST EQUATIONAL REASONING – p.23
FAST EQUATIONAL REASONING – p.23
FAST EQUATIONAL REASONING – p.23
FAST EQUATIONAL REASONING – p.23
FAST EQUATIONAL REASONING – p.24
FAST EQUATIONAL REASONING – p.25
A>C>∗>−>+>0
+>∧>−>∨>0
FAST EQUATIONAL REASONING – p.26
FAST EQUATIONAL REASONING – p.27
FAST EQUATIONAL REASONING – p.28
FAST EQUATIONAL REASONING – p.29
FAST EQUATIONAL REASONING – p.30
u⇒v s′ and sσ −
s⇒t tσ
FAST EQUATIONAL REASONING – p.31
2(I(n − 1) + (n − 1)(n − 1)!) ∈ O(n!)
FAST EQUATIONAL REASONING – p.32
2(I(n − 1) + (n − 1)(n − 1)!) ∈ O(n!)
FAST EQUATIONAL REASONING – p.32
2(I(n − 1) + (n − 1)(n − 1)!) ∈ O(n!)
FAST EQUATIONAL REASONING – p.32
WM
WM-AC
FAST EQUATIONAL REASONING – p.33
FAST EQUATIONAL REASONING – p.33
k=1
FAST EQUATIONAL REASONING – p.34
WM
WM-AC
WM-AC-GJ
FAST EQUATIONAL REASONING – p.35
WM-GJ
WM-CT
FAST EQUATIONAL REASONING – p.36
FAST EQUATIONAL REASONING – p.36
WM-GJ
WM-GR
FAST EQUATIONAL REASONING – p.37
FAST EQUATIONAL REASONING – p.38
FAST EQUATIONAL REASONING – p.39
FAST EQUATIONAL REASONING – p.40
FAST EQUATIONAL REASONING – p.40
FAST EQUATIONAL REASONING – p.40
FAST EQUATIONAL REASONING – p.41
FAST EQUATIONAL REASONING – p.42
FAST EQUATIONAL REASONING – p.43
FAST EQUATIONAL REASONING – p.43
FAST EQUATIONAL REASONING – p.43
FAST EQUATIONAL REASONING – p.44
FAST EQUATIONAL REASONING – p.44
FAST EQUATIONAL REASONING – p.44
FAST EQUATIONAL REASONING – p.44
FAST EQUATIONAL REASONING – p.45
FAST EQUATIONAL REASONING – p.46
FAST EQUATIONAL REASONING – p.47
FAST EQUATIONAL REASONING – p.48
FAST EQUATIONAL REASONING – p.49