Details

Time bar (total: 3.8s)

sample30.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
8.0ms265×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite34.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:
2.0ms
(+ (* x y) (* x z))
16.0ms
(+ (+ (* x y) (* x z)) (* y z))
14.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series153.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune162.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 19.0b

localize8.0ms

Local error

Found 2 expressions with local error:

1.6b
(+ (* x (+ y z)) (* y z))
18.0b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u associate-+l+ flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative distribute-rgt-in rem-sqrt-square fma-def distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
2 → 33
Calls
2 calls:
5.0ms
(+ (* x (+ y z)) (* y z))
7.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series128.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ (* x (+ y z)) (* y z))
104.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify88.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0201264
1674243
22998240
35001238

prune113.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 19.0b

localize11.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* x (+ y z)) (* y z))
1.6b
(+ (* x (+ y z)) (* y z))
18.0b
(sqrt (+ (* x (+ y z)) (* y z)))
18.0b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite25.0ms

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

series256.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0201530
1674488
22998482
35001478

prune275.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.0b

localize18.0ms

Local error

Found 4 expressions with local error:

18.0b
(sqrt (* (* (cbrt (+ (* x (+ y z)) (* y z))) (cbrt (+ (* x (+ y z)) (* y z)))) (cbrt (+ (* x (+ y z)) (* y z)))))
18.6b
(cbrt (+ (* x (+ y z)) (* y z)))
18.6b
(cbrt (+ (* x (+ y z)) (* y z)))
18.6b
(cbrt (+ (* x (+ y z)) (* y z)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 97
Calls
4 calls:
51.0ms
(sqrt (* (* (cbrt (+ (* x (+ y z)) (* y z))) (cbrt (+ (* x (+ y z)) (* y z)))) (cbrt (+ (* x (+ y z)) (* y z)))))
4.0ms
(cbrt (+ (* x (+ y z)) (* y z)))
4.0ms
(cbrt (+ (* x (+ y z)) (* y z)))
7.0ms
(cbrt (+ (* x (+ y z)) (* y z)))

series715.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(sqrt (* (* (cbrt (+ (* x (+ y z)) (* y z))) (cbrt (+ (* x (+ y z)) (* y z)))) (cbrt (+ (* x (+ y z)) (* y z)))))
204.0ms
(cbrt (+ (* x (+ y z)) (* y z)))
201.0ms
(cbrt (+ (* x (+ y z)) (* y z)))
202.0ms
(cbrt (+ (* x (+ y z)) (* y z)))

simplify122.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
03771923
19351866
234851823
350011805

prune395.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 19.0b

regimes91.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample808.0ms

Algorithm
intervals
Results
251.0ms8006×body80nan
248.0ms8000×body80valid