Details

Time bar (total: 3.4s)

sample19.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 20.7b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
20.1b
(/ (fma x x (* y y)) (+ x y))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
117×add-sqr-sqrt
79×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-- div-sub flip-- fma-udef
Counts
3 → 178
Calls
3 calls:
0.0ms
(fma x x (* y y))
19.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
6.0ms
(/ (fma x x (* y y)) (+ x y))

series168.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(fma x x (* y y))
65.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
67.0ms
(/ (fma x x (* y y)) (+ x y))

simplify85.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06522043
129391866
250011860

prune364.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (hypot x y) (+ x y))
0.0b
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
0.0b
(* (hypot x y) (/ (hypot x y) (+ x y)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
32×add-sqr-sqrt
30×times-frac
23×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
cbrt-undiv div-exp
pow1 associate-/r* associate-/r/
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
flip3-- div-sub pow-prod-down *-commutative flip--
Counts
3 → 107
Calls
3 calls:
5.0ms
(/ (hypot x y) (+ x y))
13.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
15.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series267.0ms

Counts
3 → 9
Calls
3 calls:
88.0ms
(/ (hypot x y) (+ x y))
90.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
88.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

simplify49.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0372831
11709716
25001709

prune228.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x y))
0.6b
(cbrt (hypot x y))
0.6b
(cbrt (hypot x y))
0.6b
(cbrt (hypot x y))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
13×cbrt-prod
10×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div
flip3-+ flip-+ distribute-lft-out
Counts
4 → 55
Calls
4 calls:
2.0ms
(cbrt (+ x y))
0.0ms
(cbrt (hypot x y))
1.0ms
(cbrt (hypot x y))
1.0ms
(cbrt (hypot x y))

series457.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(cbrt (+ x y))
109.0ms
(cbrt (hypot x y))
115.0ms
(cbrt (hypot x y))
109.0ms
(cbrt (hypot x y))

simplify43.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0157288
1394267
21277259
35001259

prune243.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (+ x y) (hypot x y)) (hypot x y))
0.0b
(/ (+ x y) (hypot x y))
0.1b
(* (- x y) (/ (/ (+ x y) (hypot x y)) (hypot x y)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
195×times-frac
155×*-un-lft-identity
114×add-sqr-sqrt
103×add-cube-cbrt
52×associate-*r*
25×distribute-lft-out
20×associate-/l*
19×add-exp-log add-cbrt-cube
10×div-inv
cbrt-undiv div-exp
associate-/r*
pow1 associate-*l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp unswap-sqr
frac-times flip3-- frac-2neg associate-*l/ clear-num flip--
flip3-+ associate-*r/ pow-prod-down *-commutative flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 201
Calls
3 calls:
11.0ms
(/ (/ (+ x y) (hypot x y)) (hypot x y))
7.0ms
(/ (+ x y) (hypot x y))
35.0ms
(* (- x y) (/ (/ (+ x y) (hypot x y)) (hypot x y)))

series252.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(/ (/ (+ x y) (hypot x y)) (hypot x y))
87.0ms
(/ (+ x y) (hypot x y))
90.0ms
(* (- x y) (/ (/ (+ x y) (hypot x y)) (hypot x y)))

simplify72.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06231944
128911772
250011748

prune390.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample469.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid
112.0ms8000×pre80true