Details

Time bar (total: 5.7s)

sample29.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms239×body80nan

simplify17.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: 20.7b

localize10.0ms

Local error

Found 3 expressions with local error:

1.0b
(+ (* x y) (* x z))
2.0b
(+ (+ (* x y) (* x z)) (* y z))
19.6b
(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:
5.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:
38.0ms
(+ (* x y) (* x z))
30.0ms
(+ (+ (* x y) (* x z)) (* y z))
130.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify143.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (136.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune203.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 20.6b

localize19.0ms

Local error

Found 4 expressions with local error:

16.2b
(cbrt (+ (* x y) (* x z)))
16.2b
(cbrt (+ (* x y) (* x z)))
16.2b
(cbrt (+ (* x y) (* x z)))
19.6b
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

rewrite15.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 add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 sqrt-prod flip-+ distribute-lft-out
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 63
Calls
4 calls:
4.0ms
(cbrt (+ (* x y) (* x z)))
4.0ms
(cbrt (+ (* x y) (* x z)))
4.0ms
(cbrt (+ (* x y) (* x z)))
2.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

series868.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(cbrt (+ (* x y) (* x z)))
139.0ms
(cbrt (+ (* x y) (* x z)))
138.0ms
(cbrt (+ (* x y) (* x z)))
451.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

simplify151.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0361841
11141788
24842741
35001741

prune375.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 20.6b

localize20.0ms

Local error

Found 4 expressions with local error:

1.5b
(fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt x) (cbrt (+ y z))) (* y z))
16.2b
(cbrt (+ (* x y) (* x z)))
16.2b
(cbrt (+ (* x y) (* x z)))
19.6b
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt x) (cbrt (+ y z))) (* y z)))

rewrite15.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
239.0ms
(fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt x) (cbrt (+ y z))) (* y z))
142.0ms
(cbrt (+ (* x y) (* x z)))
141.0ms
(cbrt (+ (* x y) (* x z)))
512.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (* (cbrt x) (cbrt (+ y z))) (* y z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04091003
11345923
25002888

prune401.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 20.5b

localize245.0ms

Local error

Found 4 expressions with local error:

2.0b
(+ (+ (* x y) (* x z)) (* y z))
2.0b
(+ (+ (* x y) (* x z)) (* y z))
19.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
19.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite30.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:
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
6.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series321.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune336.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 20.5b

regimes237.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0177
1177

end0.0ms

sample820.0ms

Algorithm
intervals
Results
252.0ms8000×body80valid
249.0ms8137×body80nan