Details

Time bar (total: 4.1s)

sample33.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
6.0ms256×pre80true

simplify112.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: 22.2b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (* y y))
0.0b
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
21.4b
(/ (fma x x (* y y)) (+ x y))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
161×*-un-lft-identity
117×add-sqr-sqrt
79×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-- div-sub flip-- fma-udef
Counts
3 → 178
Calls
3 calls:
0.0ms
(fma x x (* y y))
17.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
6.0ms
(/ (fma x x (* y y)) (+ x y))

series181.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(fma x x (* y y))
74.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
72.0ms
(/ (fma x x (* y y)) (+ x y))

simplify89.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06522043
129391866
250011860

prune381.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
32×add-sqr-sqrt
30×times-frac
23×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
cbrt-undiv div-exp
pow1 associate-/r* associate-/r/
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* log1p-expm1-u div-inv add-log-exp
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
flip3-- div-sub pow-prod-down *-commutative flip--
Counts
3 → 107
Calls
3 calls:
16.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
13.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
6.0ms
(/ (hypot x y) (+ x y))

series276.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
94.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
91.0ms
(/ (hypot x y) (+ x y))

simplify57.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0372831
11709716
25001709

prune232.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
78×*-un-lft-identity
64×prod-diff
60×add-sqr-sqrt
58×add-cube-cbrt
24×associate-/r/
22×div-inv
20×associate-*r/
17×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
fma-neg distribute-lft-out
cbrt-undiv div-exp add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
distribute-rgt-out-- flip3-+ prod-exp cbrt-unprod flip-+ distribute-lft-out--
sub-neg flip3-- diff-log frac-sub flip-- sub-div difference-of-squares
Counts
4 → 189
Calls
4 calls:
7.0ms
(/ x (* (hypot x y) (/ (hypot x y) (+ x y))))
24.0ms
(- (/ x (* (hypot x y) (/ (hypot x y) (+ x y)))) (/ y (* (hypot x y) (/ (hypot x y) (+ x y)))))
5.0ms
(/ (hypot x y) (+ x y))
6.0ms
(/ (hypot x y) (+ x y))

series388.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ x (* (hypot x y) (/ (hypot x y) (+ x y))))
113.0ms
(- (/ x (* (hypot x y) (/ (hypot x y) (+ x y)))) (/ y (* (hypot x y) (/ (hypot x y) (+ x y)))))
92.0ms
(/ (hypot x y) (+ x y))
94.0ms
(/ (hypot x y) (+ x y))

simplify82.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05663724
121662768
250012680

prune355.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
195×times-frac
155×*-un-lft-identity
114×add-sqr-sqrt
103×add-cube-cbrt
52×associate-*r*
25×distribute-lft-out
20×associate-/l*
19×add-exp-log add-cbrt-cube
10×div-inv
cbrt-undiv div-exp
associate-/r*
pow1 associate-*l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp unswap-sqr
frac-times flip3-- frac-2neg associate-*l/ clear-num flip--
flip3-+ associate-*r/ pow-prod-down *-commutative flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 201
Calls
3 calls:
12.0ms
(/ (/ (+ x y) (hypot x y)) (hypot x y))
8.0ms
(/ (+ x y) (hypot x y))
40.0ms
(* (- x y) (/ (/ (+ x y) (hypot x y)) (hypot x y)))

series266.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(/ (/ (+ x y) (hypot x y)) (hypot x y))
93.0ms
(/ (+ x y) (hypot x y))
95.0ms
(* (- x y) (/ (/ (+ x y) (hypot x y)) (hypot x y)))

simplify79.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06231944
128911772
250011748

prune398.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes41.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
01113
11113

end0.0ms

sample883.0ms

Algorithm
intervals
Results
563.0ms8000×body80valid
170.0ms8000×pre80true