Details

Time bar (total: 5.6s)

sample36.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
10.0ms256×body80nan

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite78.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:
8.0ms
(+ (* x y) (* x z))
32.0ms
(+ (+ (* x y) (* x z)) (* y z))
36.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series163.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x y) (* x z))
25.0ms
(+ (+ (* x y) (* x z)) (* y z))
107.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify148.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (142.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune312.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 17.9b

localize9.0ms

Local error

Found 2 expressions with local error:

1.0b
(fma x (+ y z) (* y z))
17.0b
(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:
0.0ms
(fma x (+ y z) (* y z))
2.0ms
(sqrt (fma x (+ y z) (* y z)))

series134.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0106164
1261147
2833144
34087141
45001141

prune162.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 17.9b

localize18.0ms

Local error

Found 4 expressions with local error:

13.6b
(cbrt (+ (* x y) (* x z)))
13.6b
(cbrt (+ (* x y) (* x z)))
13.6b
(cbrt (+ (* x y) (* x z)))
17.0b
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

rewrite135.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:
5.0ms
(cbrt (+ (* x y) (* x z)))
5.0ms
(cbrt (+ (* x y) (* x z)))
5.0ms
(cbrt (+ (* x y) (* x z)))
120.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

series451.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(cbrt (+ (* x y) (* x z)))
114.0ms
(cbrt (+ (* x y) (* x z)))
115.0ms
(cbrt (+ (* x y) (* x z)))
108.0ms
(sqrt (+ (* (* (cbrt (+ (* x y) (* x z))) (cbrt (+ (* x y) (* x z)))) (cbrt (+ (* x y) (* x z)))) (* y z)))

simplify98.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0291859
1852800
22886779
35002764

prune915.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 17.9b

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

rewrite132.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:
31.0ms
(+ (+ (* x y) (* x z)) (* y z))
32.0ms
(+ (+ (* x y) (* x z)) (* y z))
35.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
32.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series267.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (+ (* x y) (* x z)) (* y z))
21.0ms
(+ (+ (* x y) (* x z)) (* y z))
110.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
109.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify115.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune671.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 17.9b

regimes598.0ms

Accuracy

0% (0.1b remaining)

Error of 20.3b against oracle of 20.2b and baseline of 20.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample956.0ms

Algorithm
intervals
Results
309.0ms7870×body80nan
306.0ms8000×body80valid