Details

Time bar (total: 5.9s)

sample58.0ms

Algorithm
intervals
Results
22.0ms294×body80nan
20.0ms256×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1447
2637
3707
4717
5717

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series187.0ms

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

simplify144.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0270383
11009344
24339335
35001334

prune192.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 18.2b

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
17.2b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

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

series294.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
126.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
121.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify114.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0200618
1734550
23300534
35001532

prune344.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 18.2b

localize20.0ms

Local error

Found 4 expressions with local error:

17.2b
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
17.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
17.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
17.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite105.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:
79.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series850.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(sqrt (* (* (cbrt (+ (+ (* x y) (* x z)) (* y z))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))) (cbrt (+ (+ (* x y) (* x z)) (* y z)))))
237.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
235.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
245.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify144.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
03722234
19192168
234402120
350012099

prune469.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 18.2b

localize15.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
17.8b
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def *-un-lft-identity
cbrt-prod sum-log
pow1 add-exp-log expm1-log1p-u cbrt-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
+-commutative associate-+l+ pow1/3 distribute-lft-out
Counts
4 → 68
Calls
4 calls:
13.0ms
(+ (+ (* x y) (* x z)) (* y z))
16.0ms
(+ (+ (* x y) (* x z)) (* y z))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

series528.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (+ (* x y) (* x z)) (* y z))
24.0ms
(+ (+ (* x y) (* x z)) (* y z))
243.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))
238.0ms
(cbrt (+ (+ (* x y) (* x z)) (* y z)))

simplify105.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0208636
1684580
22983550
35001548

prune340.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 18.2b

regimes238.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample1.6s

Algorithm
intervals
Results
650.0ms8000×body80valid
620.0ms8124×body80nan