Details

Time bar (total: 2.3s)

sample18.0ms

Algorithm
intervals
Results
6.0ms333×body80valid

simplify111.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0153
1253
2363
3403
4463
5583
6933
71303
81633
92733
105073
1116183
1250013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* y (+ z x)))
0.0b
(* y (+ z x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
6.0ms
(+ x (* y (+ z x)))
19.0ms
(* y (+ z x))

series49.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ x (* y (+ z x)))
25.0ms
(* y (+ z x))

simplify92.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0186164
1769149
23889149
35003149

prune66.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ x (* z y)) (* y x))
0.0b
(+ x (* z y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
2 → 24
Calls
2 calls:
23.0ms
(+ (+ x (* z y)) (* y x))
5.0ms
(+ x (* z y))

series48.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ (+ x (* z y)) (* y x))
24.0ms
(+ x (* z y))

simplify66.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0160155
1624139
22460136
35001136

prune59.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* y (+ z x))) (cbrt (* y (+ z x))))
4.3b
(cbrt (* y (+ z x)))
4.3b
(cbrt (* y (+ z x)))
4.3b
(cbrt (* y (+ z x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
20.0ms
(* (cbrt (* y (+ z x))) (cbrt (* y (+ z x))))
7.0ms
(cbrt (* y (+ z x)))
6.0ms
(cbrt (* y (+ z x)))
7.0ms
(cbrt (* y (+ z x)))

series416.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (cbrt (* y (+ z x))) (cbrt (* y (+ z x))))
95.0ms
(cbrt (* y (+ z x)))
97.0ms
(cbrt (* y (+ z x)))
102.0ms
(cbrt (* y (+ z x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0254585
1799531
22788474
35001464

prune204.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (* y (- (* z z) (* x x))) (- z x)))
2.4b
(- (* z z) (* x x))
11.7b
(* y (- (* z z) (* x x)))
19.0b
(/ (* y (- (* z z) (* x x))) (- z x))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1
times-frac associate-/r*
flip3-- associate-*r/ associate-*r* flip-- difference-of-squares
sub-neg associate-*l*
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out--
+-commutative frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
4 → 79
Calls
4 calls:
19.0ms
(+ x (/ (* y (- (* z z) (* x x))) (- z x)))
8.0ms
(- (* z z) (* x x))
26.0ms
(* y (- (* z z) (* x x)))
29.0ms
(/ (* y (- (* z z) (* x x))) (- z x))

series210.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(+ x (/ (* y (- (* z z) (* x x))) (- z x)))
28.0ms
(- (* z z) (* x x))
59.0ms
(* y (- (* z z) (* x x)))
73.0ms
(/ (* y (- (* z z) (* x x))) (- z x))

simplify53.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0372639
11847557
25002519

prune159.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes51.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample477.0ms

Algorithm
intervals
Results
186.0ms10138×body80valid