Details

Time bar (total: 3.2s)

sample23.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
4.0ms256×pre80true

simplify69.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: 20.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
20.1b
(/ (* (- 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)))

series92.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0322380
11875324
25001308

prune134.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.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:
0.0ms
(hypot x y)
0.0ms
(hypot x y)
3.0ms
(* (hypot x y) (hypot x y))
10.0ms
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(hypot x y)
46.0ms
(hypot x y)
66.0ms
(* (hypot x y) (hypot x y))
92.0ms
(/ (* (- x y) (+ x y)) (* (hypot x y) (hypot x y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0323491
11937386
25002382

prune189.0ms

Pruning

4 alts after pruning (3 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)))

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

series507.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(hypot x y)
277.0ms
(/ (+ x y) (hypot x y))
91.0ms
(/ (- x y) (hypot x y))
92.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))

simplify53.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04911105
12109999
25003997

prune306.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
67×add-sqr-sqrt
58×times-frac
41×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
associate-/l*
pow1 distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r*
add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ unswap-sqr
log-prod log-pow
frac-2neg clear-num
frac-times exp-prod flip3-- exp-to-pow flip3-+ div-sub associate-*r/ rem-log-exp pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 152
Calls
4 calls:
7.0ms
(/ (+ x y) (hypot x y))
2.0ms
(log (exp (* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))))
8.0ms
(/ (- x y) (hypot x y))
27.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))

series357.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05041245
122231117
250021115

prune386.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes38.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
0129
1129

end0.0ms

sample489.0ms

Algorithm
intervals
Results
243.0ms8000×body80valid
116.0ms8000×pre80true