Details

Time bar (total: 3.2s)

sample32.0ms

Algorithm
intervals
Results
21.0ms390×body80valid

simplify271.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0157
1256
2374
3474
4564
5894
61584
72084
82214
93164
106464
1131994
1250034

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
2.0ms
(+ (* x y) (* z z))
11.0ms
(+ (+ (* x y) (* z z)) (* z z))
48.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series127.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x y) (* z z))
47.0ms
(+ (+ (* x y) (* z z)) (* z z))
46.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify124.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune101.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity add-cbrt-cube
distribute-rgt-in associate-+l+ distribute-lft-in
Counts
2 → 30
Calls
2 calls:
2.0ms
(+ (* x y) (* z z))
12.0ms
(+ (+ (* x y) (* z z)) (* z (+ z z)))

series83.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0273338
11324281
25002254

prune78.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
5.0ms
(+ (* x y) (* (* 3 z) z))
7.0ms
(* (* 3 z) z)

series69.0ms

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

simplify141.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0175161
1822145
24320140
35001139

prune70.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series522.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (cbrt (+ (* x y) (* z z))) (cbrt (+ (* x y) (* z z))))
123.0ms
(cbrt (+ (* x y) (* z z)))
124.0ms
(cbrt (+ (* x y) (* z z)))
127.0ms
(cbrt (+ (* x y) (* z z)))

simplify45.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02831023
11100956
25002880

prune261.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes128.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample923.0ms

Algorithm
intervals
Results
674.0ms12328×body80valid