Details

Time bar (total: 3.3s)

sample33.0ms

Algorithm
intervals
Results
16.0ms256×body80valid
8.0ms256×pre80true

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 25.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series88.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ (* x x) (* y y))
62.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0322380
11875324
25001308

prune129.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune5.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
90×add-sqr-sqrt
85×times-frac
56×add-cube-cbrt
32×sqrt-prod
30×associate-*r*
20×add-exp-log add-cbrt-cube
19×associate-*l*
13×distribute-lft-out
associate-/r* associate-/l*
pow1 distribute-lft-out-- difference-of-squares
cbrt-undiv sqrt-div div-exp unswap-sqr
expm1-log1p-u flip3-+ prod-exp associate-/r/ cbrt-unprod flip-+ log1p-expm1-u div-inv associate-/l/ add-log-exp
frac-2neg clear-num
frac-times rem-sqrt-square flip3-- sqrt-pow1 pow1/2 div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- hypot-def
Counts
4 → 187
Calls
4 calls:
8.0ms
(/ (- x y) (hypot x y))
43.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
11.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
4.0ms
(sqrt (+ (* x x) (* y y)))

series329.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06371798
127151480
250011419

prune424.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
251×times-frac
194×*-un-lft-identity
173×add-sqr-sqrt
126×add-cube-cbrt
64×add-exp-log
59×associate-*r*
34×add-cbrt-cube
30×div-exp
25×associate-/r* distribute-lft-out
19×associate-*l*
18×associate-/r/
14×cbrt-undiv prod-exp
12×div-inv
11×associate-/l*
10×unswap-sqr
flip3-+ flip-+
pow1 distribute-lft-out-- difference-of-squares
rec-exp 1-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
associate-/l/
frac-times flip3-- pow-flip div-sub associate-*r/ pow-prod-down associate-*l/ un-div-inv *-commutative flip-- inv-pow
Counts
4 → 296
Calls
4 calls:
8.0ms
(/ (- x y) (hypot x y))
9.0ms
(/ 1 (/ (hypot x y) (+ x y)))
5.0ms
(/ (hypot x y) (+ x y))
53.0ms
(* (/ (- x y) (hypot x y)) (/ 1 (/ (hypot x y) (+ x y))))

series359.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09892718
148782404
250012404

prune586.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

regimes29.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
01610
11610

end0.0ms

sample823.0ms

Algorithm
intervals
Results
523.0ms8000×body80valid
158.0ms8000×pre80true