Details

Time bar (total: 3.8s)

sample32.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms261×body80nan

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.3b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
19.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

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

series181.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x y) (* x z))
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
124.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify149.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (142.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune179.0ms

Filtered
60 candidates to 48 candidates (80.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New56460
Fresh000
Picked101
Done000
Total57461

Merged error: 20.3b

Counts
61 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

1.0b
(fma x (+ y z) (* y z))
19.2b
(sqrt (fma x (+ y z) (* y z)))

rewrite3.0ms

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

series142.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(fma x (+ y z) (* y z))
119.0ms
(sqrt (fma x (+ y z) (* y z)))

simplify112.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0106164
1261147
2833144
34087141
45001141

prune98.0ms

Filtered
31 candidates to 26 candidates (83.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29231
Fresh213
Picked011
Done000
Total31435

Merged error: 20.3b

Counts
35 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(fma x (+ y z) (* y z))
1.0b
(fma x (+ y z) (* y z))
19.8b
(cbrt (fma x (+ y z) (* y z)))
19.8b
(cbrt (fma x (+ y z) (* y z)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 fma-udef
Counts
4 → 46
Calls
4 calls:
1.0ms
(fma x (+ y z) (* y z))
1.0ms
(fma x (+ y z) (* y z))
1.0ms
(cbrt (fma x (+ y z) (* y z)))
2.0ms
(cbrt (fma x (+ y z) (* y z)))

series519.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(fma x (+ y z) (* y z))
29.0ms
(fma x (+ y z) (* y z))
234.0ms
(cbrt (fma x (+ y z) (* y z)))
234.0ms
(cbrt (fma x (+ y z) (* y z)))

simplify96.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 4 (90.0ms)

IterNodesCost
0112336
1235304
2680288
32860286
45001284

prune235.0ms

Filtered
58 candidates to 52 candidates (89.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New55358
Fresh022
Picked101
Done011
Total56662

Merged error: 20.2b

Counts
62 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

19.2b
(sqrt (fma x (+ y z) (* y z)))
19.2b
(sqrt (fma x (+ y z) (* y z)))
19.8b
(cbrt (* (sqrt (fma x (+ y z) (* y z))) (sqrt (fma x (+ y z) (* y z)))))
19.8b
(cbrt (fma x (+ y z) (* y z)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log cbrt-prod expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 54
Calls
4 calls:
2.0ms
(sqrt (fma x (+ y z) (* y z)))
2.0ms
(sqrt (fma x (+ y z) (* y z)))
5.0ms
(cbrt (* (sqrt (fma x (+ y z) (* y z))) (sqrt (fma x (+ y z) (* y z)))))
2.0ms
(cbrt (fma x (+ y z) (* y z)))

series717.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(sqrt (fma x (+ y z) (* y z)))
123.0ms
(sqrt (fma x (+ y z) (* y z)))
233.0ms
(cbrt (* (sqrt (fma x (+ y z) (* y z))) (sqrt (fma x (+ y z) (* y z)))))
240.0ms
(cbrt (fma x (+ y z) (* y z)))

simplify74.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 4 (67.0ms)

IterNodesCost
0163408
1356370
2906348
32556338
45001334

prune258.0ms

Filtered
66 candidates to 57 candidates (86.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done011
Total66672

Merged error: 20.2b

Counts
72 → 6

regimes106.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1125

end0.0ms

sample829.0ms

Algorithm
intervals
Results
263.0ms8000×body80valid
246.0ms7726×body80nan