Details

Time bar (total: 5.0s)

sample32.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms250×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.6b

localize12.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ (* x y) (* x z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
16.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite31.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))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series216.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (* x y) (* x z))
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
148.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify153.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune222.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 17.5b

localize14.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))
16.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
16.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite57.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)))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
139.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
145.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify127.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune387.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 17.5b

localize20.0ms

Local error

Found 4 expressions with local error:

1.0b
(fma x (+ y z) (* y z))
1.4b
(+ (+ (* x y) (* x z)) (* y z))
16.6b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
16.6b
(sqrt (fma x (+ y z) (* y z)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log expm1-log1p-u fma-def add-cbrt-cube log1p-expm1-u
sum-log
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sqrt-div flip-+
+-commutative associate-+l+ fma-udef distribute-lft-out
Counts
4 → 61
Calls
4 calls:
0.0ms
(fma x (+ y z) (* y z))
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
15.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
1.0ms
(sqrt (fma x (+ y z) (* y z)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(fma x (+ y z) (* y z))
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
140.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
148.0ms
(sqrt (fma x (+ y z) (* y z)))

simplify132.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0229415
1792376
23527365
35001364

prune342.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 17.5b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.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 sqrt-prod
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
1.0ms
(sqrt (fma x (+ y z) (* y z)))
1.0ms
(cbrt (fma x (+ y z) (* y z)))
1.0ms
(cbrt (fma x (+ y z) (* y z)))
1.0ms
(cbrt (fma x (+ y z) (* y z)))

series985.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(sqrt (fma x (+ y z) (* y z)))
273.0ms
(cbrt (fma x (+ y z) (* y z)))
288.0ms
(cbrt (fma x (+ y z) (* y z)))
287.0ms
(cbrt (fma x (+ y z) (* y z)))

simplify72.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 4 (65.0ms)

IterNodesCost
0152432
1344395
2894368
32544361
45002355

prune334.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 17.5b

regimes229.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample862.0ms

Algorithm
intervals
Results
266.0ms8000×body80valid
252.0ms8038×body80nan