Details

Time bar (total: 5.0s)

sample36.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
8.0ms249×body80nan

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.5b

localize12.0ms

Local error

Found 3 expressions with local error:

0.4b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
16.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
4.0ms
(+ (* x y) (* x z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series199.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(+ (* x y) (* x z))
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
131.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify159.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (153.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune217.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 17.4b

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
16.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
16.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
10×add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
4 → 72
Calls
4 calls:
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
8.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series320.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
26.0ms
(+ (+ (* x y) (* x z)) (* y z))
132.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
136.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify125.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune370.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 17.4b

localize15.0ms

Local error

Found 4 expressions with local error:

15.6b
(cbrt (+ (* x y) (* x z)))
15.6b
(cbrt (+ (* x y) (* x z)))
15.6b
(cbrt (+ (* x y) (* x z)))
16.5b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
pow1/3 sqrt-prod distribute-lft-out
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 65
Calls
4 calls:
5.0ms
(cbrt (+ (* x y) (* x z)))
4.0ms
(cbrt (+ (* x y) (* x z)))
4.0ms
(cbrt (+ (* x y) (* x z)))
22.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(cbrt (+ (* x y) (* x z)))
140.0ms
(cbrt (+ (* x y) (* x z)))
140.0ms
(cbrt (+ (* x y) (* x z)))
136.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

simplify106.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0291859
1852800
22886779
35002764

prune381.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 17.4b

localize21.0ms

Local error

Found 4 expressions with local error:

15.6b
(cbrt (+ (* x y) (* x z)))
15.6b
(cbrt (+ (* x y) (* x z)))
15.6b
(cbrt (+ (* x y) (* x z)))
16.5b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z))))) (cbrt (cbrt (+ (* x y) (* x z)))))) (* y z)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
pow1/3 sqrt-prod distribute-lft-out
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 65
Calls
4 calls:
4.0ms
(cbrt (+ (* x y) (* x z)))
4.0ms
(cbrt (+ (* x y) (* x z)))
4.0ms
(cbrt (+ (* x y) (* x z)))
45.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z))))) (cbrt (cbrt (+ (* x y) (* x z)))))) (* y z)))

series557.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(cbrt (+ (* x y) (* x z)))
140.0ms
(cbrt (+ (* x y) (* x z)))
140.0ms
(cbrt (+ (* x y) (* x z)))
136.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z))))) (cbrt (cbrt (+ (* x y) (* x z)))))) (* y z)))

simplify156.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
03001135
19511073
236361043
350011036

prune437.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 17.4b

regimes306.0ms

Accuracy

0% (0.1b remaining)

Error of 19.4b against oracle of 19.4b and baseline of 19.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1177

end0.0ms

sample877.0ms

Algorithm
intervals
Results
275.0ms8000×body80valid
263.0ms8113×body80nan