Details

Time bar (total: 7.3s)

sample28.0ms

Algorithm
intervals
Results
12.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

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 17.7b

localize14.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)))
17.2b
(/ (fma x x (* y y)) (+ x y))

rewrite46.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))
27.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
10.0ms
(/ (fma x x (* y y)) (+ x y))

series154.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(fma x x (* y y))
63.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
61.0ms
(/ (fma x x (* y y)) (+ x y))

simplify84.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06522043
129391866
250011860

prune825.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite70.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:
25.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
11.0ms
(/ (hypot x y) (+ x y))
31.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))

series246.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
82.0ms
(/ (hypot x y) (+ x y))
81.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

prune479.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
49×times-frac
45×add-sqr-sqrt
40×add-cube-cbrt
18×associate-*r*
15×add-exp-log add-cbrt-cube distribute-lft-out
12×associate-/r*
associate-/l*
associate-/r/
pow1
cbrt-undiv expm1-log1p-u flip3-+ div-exp flip-+ log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*l* clear-num
prod-exp cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down *-commutative
Counts
4 → 144
Calls
4 calls:
27.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
10.0ms
(/ (hypot x y) (+ x y))
14.0ms
(/ (hypot x y) (+ x y))
11.0ms
(/ (hypot x y) (+ x y))

series326.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
83.0ms
(/ (hypot x y) (+ x y))
84.0ms
(/ (hypot x y) (+ x y))
79.0ms
(/ (hypot x y) (+ x y))

simplify87.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0225919
1931836
23950831
35002831

prune2.0s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite8.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:
4.0ms
(cbrt (+ x y))
1.0ms
(cbrt (hypot x y))
1.0ms
(cbrt (hypot x y))
1.0ms
(cbrt (hypot x y))

series421.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(cbrt (+ x y))
99.0ms
(cbrt (hypot x y))
101.0ms
(cbrt (hypot x y))
104.0ms
(cbrt (hypot x y))

simplify62.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0157288
1394267
21277259
35001259

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes79.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02640
12640

end0.0ms

sample659.0ms

Algorithm
intervals
Results
379.0ms8000×body80valid
129.0ms8000×pre80true