Details

Time bar (total: 3.5s)

sample24.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
5.0ms256×pre80true

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.2b

Counts
2 → 2

localize9.0ms

Local error

Found 1 expressions with local error:

18.4b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
frac-times flip3-+ flip-+
add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity times-frac associate-/r* flip--
cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
pow1 expm1-log1p-u frac-2neg prod-exp clear-num cbrt-unprod log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 33
Calls
1 calls:
13.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series66.0ms

Counts
1 → 3
Calls
1 calls:
66.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0279306
11480261
25001254

prune75.0ms

Filtered
36 candidates to 30 candidates (83.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh011
Picked011
Done000
Total34438

Merged error: 0.3b

Counts
38 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
160×*-un-lft-identity
116×add-sqr-sqrt
78×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 168
Calls
2 calls:
12.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
5.0ms
(/ (fma x x (* y y)) (+ x y))

series135.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
65.0ms
(/ (fma x x (* y y)) (+ x y))

simplify81.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06402000
127371832
250011825

prune290.0ms

Filtered
174 candidates to 115 candidates (66.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1713174
Fresh202
Picked011
Done011
Total1735178

Merged error: 0.0b

Counts
178 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
33×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
20×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
pow1 cbrt-undiv div-exp
associate-/r* associate-/r/
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* div-inv
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
hypot-udef flip3-- div-sub pow-prod-down *-commutative flip--
Counts
4 → 117
Calls
4 calls:
1.0ms
(hypot x y)
11.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
10.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
5.0ms
(/ (hypot x y) (+ x y))

series317.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot x y)
90.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
88.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
90.0ms
(/ (hypot x y) (+ x y))

simplify52.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0378858
11715740
25001733

prune217.0ms

Filtered
129 candidates to 95 candidates (73.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1272129
Fresh022
Picked101
Done022
Total1286134

Merged error: 0b

Counts
134 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
894×times-frac
604×*-un-lft-identity
476×add-sqr-sqrt
354×add-cube-cbrt
64×distribute-lft-out
61×distribute-lft-out-- difference-of-squares
43×associate-/r/
42×div-inv
27×associate-/l*
25×associate-/r*
21×flip3-+ flip-+
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg div-sub clear-num associate-/l/
hypot-udef flip3-- flip--
Counts
4 → 487
Calls
4 calls:
1.0ms
(hypot x y)
22.0ms
(/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y)))
6.0ms
(/ (- x y) (hypot x y))
5.0ms
(/ (hypot x y) (+ x y))

series324.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot x y)
90.0ms
(/ (/ (- x y) (hypot x y)) (/ (hypot x y) (+ x y)))
92.0ms
(/ (- x y) (hypot x y))
96.0ms
(/ (hypot x y) (+ x y))

simplify108.0ms

Algorithm
egg-herbie
Counts
499 → 499
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
018347484
150017312

prune866.0ms

Filtered
499 candidates to 325 candidates (65.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New4981499
Fresh213
Picked011
Done022
Total5005505

Merged error: 0b

Counts
505 → 5

regimes55.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
097
197

end0.0ms

sample595.0ms

Algorithm
intervals
Results
294.0ms8000×body80valid
150.0ms8000×pre80true