Details

Time bar (total: 10.3s)

sample19.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 17.8b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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

series63.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0279306
11480261
25001254

prune88.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite154.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:
18.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
44.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
5.0ms
(/ (hypot x y) (+ x y))
7.0ms
(sqrt (+ (* x x) (* y y)))

series339.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
128.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (sqrt (+ (* x x) (* y y))))
89.0ms
(/ (hypot x y) (+ x y))
36.0ms
(sqrt (+ (* x x) (* y y)))

simplify189.0ms

Algorithm
egg-herbie
Counts
891 → 891
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0227216143
1500114520

prune1.8s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite416.0ms

Algorithm
rewrite-expression-head
Rules
5414×times-frac
3507×*-un-lft-identity
2803×add-sqr-sqrt
1973×add-cube-cbrt
1630×distribute-lft-neg-in distribute-rgt-neg-in
415×distribute-lft-out-- difference-of-squares
352×distribute-lft-out
257×associate-/r/
206×neg-mul-1
202×associate-/l*
141×div-inv
117×flip3-+ flip-+
32×associate-/r*
12×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
div-sub
neg-sub0 flip3-- distribute-frac-neg flip-- distribute-neg-frac
Counts
3 → 2329
Calls
3 calls:
15.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
11.0ms
(/ (hypot x y) (+ x y))
121.0ms
(/ (- (/ (- x y) (/ (hypot x y) (+ x y)))) (- (hypot x y)))

series334.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
96.0ms
(/ (hypot x y) (+ x y))
154.0ms
(/ (- (/ (- x y) (/ (hypot x y) (+ x y)))) (- (hypot x y)))

simplify448.0ms

Algorithm
egg-herbie
Counts
2338 → 2338
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
0500145373

prune4.8s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (sqrt (hypot x y)))
0.3b
(* (hypot x y) (/ (sqrt (hypot x y)) (+ x y)))
0.3b
(* (/ 1 (sqrt (hypot x y))) (/ (- x y) (* (hypot x y) (/ (sqrt (hypot x y)) (+ x y)))))
0.4b
(/ (- x y) (* (hypot x y) (/ (sqrt (hypot x y)) (+ x y))))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
82×add-exp-log
78×add-sqr-sqrt
76×times-frac
72×*-un-lft-identity
52×add-cube-cbrt add-cbrt-cube
40×associate-*r*
36×sqrt-prod
31×div-exp
28×prod-exp
25×associate-*l*
18×cbrt-undiv
16×cbrt-unprod
10×pow1
associate-/l* unswap-sqr
associate-/r*
distribute-lft-out
rec-exp 1-exp div-inv
expm1-log1p-u associate-*r/ associate-/r/ log1p-expm1-u add-log-exp
pow-flip distribute-lft-out-- difference-of-squares
frac-2neg pow-prod-down clear-num *-commutative associate-/l/
frac-times flip3-- sqrt-pow1 flip3-+ pow1/2 div-sub associate-*l/ flip-- flip-+ inv-pow
Counts
4 → 207
Calls
4 calls:
3.0ms
(/ 1 (sqrt (hypot x y)))
19.0ms
(* (hypot x y) (/ (sqrt (hypot x y)) (+ x y)))
42.0ms
(* (/ 1 (sqrt (hypot x y))) (/ (- x y) (* (hypot x y) (/ (sqrt (hypot x y)) (+ x y)))))
14.0ms
(/ (- x y) (* (hypot x y) (/ (sqrt (hypot x y)) (+ x y))))

series413.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ 1 (sqrt (hypot x y)))
98.0ms
(* (hypot x y) (/ (sqrt (hypot x y)) (+ x y)))
88.0ms
(* (/ 1 (sqrt (hypot x y))) (/ (- x y) (* (hypot x y) (/ (sqrt (hypot x y)) (+ x y)))))
148.0ms
(/ (- x y) (* (hypot x y) (/ (sqrt (hypot x y)) (+ x y))))

simplify112.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08592349
147931886
250011882

prune400.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes50.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
0159
1159

end0.0ms

sample459.0ms

Algorithm
intervals
Results
232.0ms8000×body80valid
99.0ms8000×pre80true