Details

Time bar (total: 4.7s)

sample31.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms256×body80nan

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.5b

localize10.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite36.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:
3.0ms
(+ (* x y) (* x z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
19.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series177.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(+ (* x y) (* x z))
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
118.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify138.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (132.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune194.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 18.4b

localize14.0ms

Local error

Found 4 expressions with local error:

15.9b
(cbrt (+ (* x y) (* x z)))
15.9b
(cbrt (+ (* x y) (* x z)))
15.9b
(cbrt (+ (* x y) (* x z)))
17.5b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

rewrite65.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:
2.0ms
(cbrt (+ (* x y) (* x z)))
2.0ms
(cbrt (+ (* x y) (* x z)))
2.0ms
(cbrt (+ (* x y) (* x z)))
57.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(cbrt (+ (* x y) (* x z)))
123.0ms
(cbrt (+ (* x y) (* x z)))
124.0ms
(cbrt (+ (* x y) (* x z)))
119.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

simplify90.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0291859
1852800
22886779
35002764

prune339.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 18.4b

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(+ (+ (* x y) (* x z)) (* y z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite59.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:
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (+ (* x y) (* x z)) (* y z))
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
124.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
117.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify110.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune335.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 18.4b

localize25.0ms

Local error

Found 4 expressions with local error:

15.9b
(cbrt (+ (* x y) (* x z)))
15.9b
(cbrt (+ (* x y) (* x z)))
17.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
17.5b
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

rewrite20.0ms

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

series752.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(cbrt (+ (* x y) (* x z)))
123.0ms
(cbrt (+ (* x y) (* x z)))
113.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
392.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0480880
11595822
25002640

prune405.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 18.4b

regimes228.0ms

Accuracy

0% (0.1b remaining)

Error of 20.1b against oracle of 20.0b and baseline of 20.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample859.0ms

Algorithm
intervals
Results
261.0ms8000×body80valid
261.0ms8223×body80nan