Details

Time bar (total: 4.8s)

sample20.0ms

Algorithm
intervals
Results
10.0ms408×body80valid

simplify269.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))

rewrite61.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))
47.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series128.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune105.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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:
56.0ms
(* (cbrt (+ (+ (* x y) (* z z)) (* z z))) (cbrt (+ (+ (* x y) (* z z)) (* z z))))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

series582.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(* (cbrt (+ (+ (* x y) (* z z)) (* z z))) (cbrt (+ (+ (* x y) (* z z)) (* z z))))
138.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
133.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
152.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

simplify97.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
03001437
19741342
237971237
350011226

prune277.0ms

Pruning

10 alts after pruning (8 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)) (* z z)) (* z z))) (cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))))
3.9b
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))
3.9b
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))
3.9b
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))

rewrite284.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:
202.0ms
(* (cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))) (cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))))
25.0ms
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))
28.0ms
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))
25.0ms
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))

series580.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(* (cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))) (cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))))
140.0ms
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))
134.0ms
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))
141.0ms
(cbrt (+ (+ (+ (* x y) (* z z)) (* z z)) (* z z)))

simplify110.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
03041819
110141696
243481559
350011549

prune299.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

3.9b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
3.9b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
3.9b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
3.9b
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
7.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

series560.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
142.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
137.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))
139.0ms
(cbrt (+ (+ (* x y) (* z z)) (* z z)))

simplify47.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0166744
1435692
21365664
35002660

prune257.0ms

Pruning

12 alts after pruning (8 fresh and 4 done)

Merged error: 0.0b

regimes279.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
0127
1127

end0.0ms

sample547.0ms

Algorithm
intervals
Results
304.0ms12177×body80valid