Details

Time bar (total: 2.5s)

sample21.0ms

Algorithm
intervals
Results
10.0ms323×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

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))
4.0b
(* (/ x y) z)

rewrite26.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:
9.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series96.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ (+ x 4.0) y)
43.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
21.0ms
(* (/ x y) z)

simplify112.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune210.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

4.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:
6.0ms
(* (/ x y) z)
4.0ms
(cbrt (* (/ x y) z))
4.0ms
(cbrt (* (/ x y) z))
4.0ms
(cbrt (* (/ x y) z))

series261.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (/ x y) z)
79.0ms
(cbrt (* (/ x y) z))
80.0ms
(cbrt (* (/ x y) z))
82.0ms
(cbrt (* (/ x y) z))

simplify54.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0218353
1726305
22826277
35002273

prune216.0ms

Pruning

5 alts after pruning (4 fresh and 1 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))
5.9b
(/ (* x z) y)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
16×times-frac
14×add-cube-cbrt
10×add-exp-log add-cbrt-cube
associate-/r*
associate-/l* add-log-exp
div-inv distribute-lft-out
pow1 cbrt-undiv div-exp
frac-2neg clear-num associate-/l/ difference-of-squares
sub-neg flip3-- distribute-rgt-out-- flip3-+ diff-log prod-exp frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out-- sub-div
Counts
3 → 72
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
11.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
4.0ms
(/ (* x z) y)

series91.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ (+ x 4.0) y)
43.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
22.0ms
(/ (* x z) y)

simplify37.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0300420
11150393
25001393

prune180.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

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)))
5.7b
(/ x (/ y z))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
100×times-frac
75×add-sqr-sqrt
73×*-un-lft-identity
54×add-cube-cbrt
16×associate-/r*
10×add-exp-log add-cbrt-cube
associate-/l*
div-inv difference-of-squares
distribute-lft-out add-log-exp
cbrt-undiv div-exp
pow1 distribute-lft-out--
frac-2neg clear-num associate-/l/
sub-neg flip3-- flip3-+ diff-log associate-/r/ frac-sub flip-- flip-+
Counts
3 → 125
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
36.0ms
(- (/ (+ x 4.0) y) (/ x (/ y z)))
5.0ms
(/ x (/ y z))

series94.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ (+ x 4.0) y)
46.0ms
(- (/ (+ x 4.0) y) (/ x (/ y z)))
21.0ms
(/ x (/ y z))

simplify50.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0527864
12014833
25001832

prune317.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

regimes122.0ms

Accuracy

85.4% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.7b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample505.0ms

Algorithm
intervals
Results
299.0ms10106×body80valid