Details

Time bar (total: 4.5s)

sample37.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
11.0ms258×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 18.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ (* x y) (* x z))
0.6b
(+ (+ (* x y) (* x z)) (* y z))
17.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite17.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))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series179.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune407.0ms

Filtered
60 candidates to 48 candidates (80.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New52860
Fresh000
Picked101
Done000
Total53861

Merged error: 18.1b

Counts
61 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(fma x (+ y z) (* y z))
17.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)))

series143.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0106164
1261147
2833144
34087141
45001141

prune97.0ms

Filtered
31 candidates to 26 candidates (83.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New26531
Fresh527
Picked011
Done000
Total31839

Merged error: 18.1b

Counts
39 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma x (+ y z) (* y z))
0.5b
(* (sqrt (sqrt (fma x (+ y z) (* y z)))) (sqrt (sqrt (fma x (+ y z) (* y z)))))
17.2b
(sqrt (fma x (+ y z) (* y z)))
17.2b
(sqrt (fma x (+ y z) (* y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
18×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 117
Calls
4 calls:
1.0ms
(fma x (+ y z) (* y z))
10.0ms
(* (sqrt (sqrt (fma x (+ y z) (* y z)))) (sqrt (sqrt (fma x (+ y z) (* y z)))))
2.0ms
(sqrt (fma x (+ y z) (* y z)))
2.0ms
(sqrt (fma x (+ y z) (* y z)))

series386.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(fma x (+ y z) (* y z))
118.0ms
(* (sqrt (sqrt (fma x (+ y z) (* y z)))) (sqrt (sqrt (fma x (+ y z) (* y z)))))
119.0ms
(sqrt (fma x (+ y z) (* y z)))
125.0ms
(sqrt (fma x (+ y z) (* y z)))

simplify221.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0206836
1738745
24235715
35001715

prune272.0ms

Filtered
129 candidates to 66 candidates (51.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1254129
Fresh156
Picked101
Done011
Total12710137

Merged error: 18.1b

Counts
137 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

15.5b
(cbrt (+ (* x y) (* x z)))
15.5b
(cbrt (+ (* x y) (* x z)))
15.5b
(cbrt (+ (* x y) (* x z)))
17.2b
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

rewrite13.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:
3.0ms
(cbrt (+ (* x y) (* x z)))
3.0ms
(cbrt (+ (* x y) (* x z)))
3.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)))

series771.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(cbrt (+ (* x y) (* x z)))
118.0ms
(cbrt (+ (* x y) (* x z)))
124.0ms
(cbrt (+ (* x y) (* x z)))
406.0ms
(sqrt (fma (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z))) (* y z)))

simplify131.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0361842
11135788
24824741
35001741

prune283.0ms

Filtered
75 candidates to 73 candidates (97.3%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh088
Picked011
Done011
Total741185

Merged error: 18.1b

Counts
85 → 11

regimes154.0ms

Accuracy

0% (0.1b remaining)

Error of 19.9b against oracle of 19.8b and baseline of 19.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample1.1s

Algorithm
intervals
Results
364.0ms8000×body80valid
351.0ms7903×body80nan