Details

Time bar (total: 10.1s)

sample20.0ms

Algorithm
intervals
Results
9.0ms329×body80valid

simplify36.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01012
11612
22812
33912
44612
55212
65512
done5512

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.0b
(* (/ x y) z)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r* associate-*l/ associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
7.0ms
(/ (+ x 4.0) y)
26.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
7.0ms
(* (/ x y) z)

series100.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ (+ x 4.0) y)
44.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
24.0ms
(* (/ x y) z)

simplify1.7s

Counts
88 → 88
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
0142904
1342859
2982785
33142785
done5001785

prune213.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (/ x y) (- 1 z)) (/ 4.0 y))
3.0b
(* (/ x y) (- 1 z))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
10×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
associate-*r*
frac-add
pow1 distribute-rgt-in frac-times sub-neg associate-+l+ flip3-- distribute-lft-in associate-*r/ flip-- add-log-exp
associate-*l/ prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 63
Calls
2 calls:
10.0ms
(+ (* (/ x y) (- 1 z)) (/ 4.0 y))
15.0ms
(* (/ x y) (- 1 z))

series86.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ (* (/ x y) (- 1 z)) (/ 4.0 y))
43.0ms
(* (/ x y) (- 1 z))

simplify2.2s

Counts
69 → 69
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
0142925
1380854
21164774
34384768
done5000768

prune180.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

3.0b
(* (/ x y) z)
13.3b
(cbrt (* (/ x y) z))
13.3b
(cbrt (* (/ x y) z))
13.3b
(cbrt (* (/ x y) z))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*l*
12×add-cube-cbrt *-un-lft-identity
10×times-frac
add-exp-log add-cbrt-cube
pow1
associate-*l/ add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
Counts
4 → 62
Calls
4 calls:
7.0ms
(* (/ x y) z)
3.0ms
(cbrt (* (/ x y) z))
3.0ms
(cbrt (* (/ x y) z))
3.0ms
(cbrt (* (/ x y) z))

series276.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (/ x y) z)
78.0ms
(cbrt (* (/ x y) z))
85.0ms
(cbrt (* (/ x y) z))
87.0ms
(cbrt (* (/ x y) z))

simplify2.5s

Counts
74 → 74
Iterations

Useful iterations: 3 (411.0ms)

IterNodesCost
0101651
1218631
2627554
31901518
done5000518

prune253.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* x (/ z y)))
4.5b
(* x (/ z y))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r/ associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
8.0ms
(/ (+ x 4.0) y)
25.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
9.0ms
(* x (/ z y))

series92.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
46.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
19.0ms
(* x (/ z y))

simplify1.5s

Counts
88 → 88
Iterations

Useful iterations: 2 (124.0ms)

IterNodesCost
0142920
1350863
2944797
32998797
done5000797

prune210.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes88.0ms

Accuracy

94.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.6b

bsearch78.0ms

Steps
ItersRangePoint
9
3.56482810723142e-14
2.0587583544234707e-06
1.2452244086873697e-13
8
-9.045624087032693e-17
-9.681018474890237e-20
-1.384698452851939e-17

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02742
13442
done3442

end0.0ms

sample500.0ms

Algorithm
intervals
Results
293.0ms10198×body80valid