Details

Time bar (total: 2.2s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
3.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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 19.6b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite40.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:
8.0ms
(+ (* x x) (* y y))
31.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series91.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0322380
11875324
25001308

prune122.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.8b

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

prune8.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.8b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
11×pow1
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-/l/
hypot-udef
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u frac-times div-exp log1p-expm1-u add-log-exp
flip3-- flip3-+ swap-sqr associate-*r* associate-*l* flip-- flip-+
associate-*r/ associate-*l/
pow2 frac-2neg times-frac pow-plus sqrt-unprod pow-prod-down clear-num associate-/r* rem-square-sqrt pow-sqr *-commutative pow-prod-up div-inv associate-/l* unswap-sqr
Counts
4 → 80
Calls
4 calls:
7.0ms
(* (hypot x y) (hypot x y))
0.0ms
(hypot x y)
0.0ms
(hypot x y)
23.0ms
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

series247.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (hypot x y) (hypot x y))
45.0ms
(hypot x y)
48.0ms
(hypot x y)
91.0ms
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0323491
11937386
25002382

prune172.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
66×add-sqr-sqrt
58×times-frac
40×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
associate-/l*
distribute-lft-out distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv div-exp associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg clear-num
frac-times hypot-udef flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 146
Calls
4 calls:
0.0ms
(hypot x y)
17.0ms
(/ (+ x y) (hypot x y))
17.0ms
(/ (- x y) (hypot x y))
48.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))

series313.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04911105
12109999
25003997

prune300.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes36.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
0107
1107

end0.0ms

sample484.0ms

Algorithm
intervals
Results
217.0ms8000×body80valid
94.0ms8000×pre80true