Details

Time bar (total: 5.3s)

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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 18.6b

localize12.0ms

Local error

Found 1 expressions with local error:

18.6b
(/ (* (- 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:
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series60.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0279306
11480261
25001254

prune90.0ms

Filtered
36 candidates to 30 candidates (83.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
1794×times-frac
1230×*-un-lft-identity
977×add-sqr-sqrt
686×add-cube-cbrt
291×sqrt-prod
145×distribute-lft-out-- difference-of-squares
127×distribute-lft-out
103×associate-/l*
94×associate-/r/
51×div-inv
44×flip3-+ flip-+
28×associate-/r*
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
frac-2neg div-sub clear-num associate-/l/
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip-- hypot-def
Counts
4 → 879
Calls
4 calls:
50.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
6.0ms
(/ (hypot x y) (+ x y))
16.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
6.0ms
(sqrt (+ (* x x) (* y y)))

series337.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
86.0ms
(/ (hypot x y) (+ x y))
88.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
35.0ms
(sqrt (+ (* x x) (* y y)))

simplify176.0ms

Algorithm
egg-herbie
Counts
891 → 891
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0227216143
1500114515

prune1.7s

Filtered
891 candidates to 460 candidates (51.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
569×times-frac
411×*-un-lft-identity
307×add-sqr-sqrt
197×add-cube-cbrt
103×associate-/l*
55×distribute-lft-out-- difference-of-squares
52×distribute-lft-out
40×add-exp-log
37×associate-/r/
31×add-cbrt-cube
23×associate-/r*
22×div-exp
21×div-inv
17×flip3-+ flip-+
16×cbrt-undiv
prod-exp
pow1 expm1-log1p-u frac-2neg 1-exp div-sub clear-num cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
flip3-- flip--
Counts
3 → 388
Calls
3 calls:
37.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (* 1 (hypot x y)))
5.0ms
(/ (hypot x y) (+ x y))
16.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))

series271.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
397 → 397
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012354353
150014153

prune782.0ms

Filtered
397 candidates to 257 candidates (64.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
68×add-sqr-sqrt
64×add-exp-log
61×times-frac
42×add-cube-cbrt
38×add-cbrt-cube
28×div-exp
21×associate-*l*
18×associate-*r*
16×prod-exp
15×cbrt-undiv
11×associate-/r/
10×associate-/r*
pow1 associate-/l*
cbrt-unprod
distribute-lft-out distribute-lft-out-- difference-of-squares
rec-exp 1-exp div-inv
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num
frac-times flip3-- pow-flip flip3-+ associate-*r/ pow-prod-down associate-*l/ flip-- flip-+
*-commutative inv-pow
Counts
4 → 184
Calls
4 calls:
19.0ms
(/ 1 (* (/ (hypot x y) (- x y)) (/ (hypot x y) (+ x y))))
5.0ms
(/ (hypot x y) (- x y))
34.0ms
(* (/ (hypot x y) (- x y)) (/ (hypot x y) (+ x y)))
5.0ms
(/ (hypot x y) (+ x y))

series377.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ 1 (* (/ (hypot x y) (- x y)) (/ (hypot x y) (+ x y))))
99.0ms
(/ (hypot x y) (- x y))
95.0ms
(* (/ (hypot x y) (- x y)) (/ (hypot x y) (+ x y)))
91.0ms
(/ (hypot x y) (+ x y))

simplify65.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06081564
127661364
250011358

prune385.0ms

Filtered
196 candidates to 130 candidates (66.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1168
2168

end0.0ms

sample472.0ms

Algorithm
intervals
Results
236.0ms8000×body80valid
102.0ms8000×pre80true