Details

Time bar (total: 3.6s)

sample23.0ms

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

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
160×*-un-lft-identity
116×add-sqr-sqrt
78×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- div-sub flip--
Counts
2 → 168
Calls
2 calls:
11.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
5.0ms
(/ (fma x x (* y y)) (+ x y))

series137.0ms

Counts
2 → 6
Calls
2 calls:
69.0ms
(/ (- x y) (/ (fma x x (* y y)) (+ x y)))
67.0ms
(/ (fma x x (* y y)) (+ x y))

simplify81.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06402000
127371832
250011825

prune333.0ms

Pruning

5 alts after pruning (5 fresh and 0 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) (/ (hypot x y) (+ x y))))
0.0b
(* (hypot x y) (/ (hypot x y) (+ x y)))
0.0b
(/ (hypot x y) (+ x y))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
33×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
20×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
pow1 cbrt-undiv div-exp
associate-/r* associate-/r/
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* div-inv
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
hypot-udef flip3-- div-sub pow-prod-down *-commutative flip--
Counts
4 → 117
Calls
4 calls:
1.0ms
(hypot x y)
11.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
9.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
6.0ms
(/ (hypot x y) (+ x y))

series317.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0378858
11715740
25001733

prune253.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
33×add-sqr-sqrt
30×times-frac
24×add-cube-cbrt
20×add-exp-log add-cbrt-cube
18×associate-*r*
associate-/l*
distribute-lft-out
pow1 cbrt-undiv div-exp
associate-/r* associate-/r/ log1p-expm1-u
expm1-log1p-u prod-exp cbrt-unprod add-log-exp
associate-*l* div-inv
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
expm1-log1p flip3-- div-sub pow-prod-down *-commutative flip-- expm1-udef
Counts
4 → 118
Calls
4 calls:
11.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
9.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
5.0ms
(/ (hypot x y) (+ x y))
1.0ms
(expm1 (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))

series391.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y))))
91.0ms
(* (hypot x y) (/ (hypot x y) (+ x y)))
90.0ms
(/ (hypot x y) (+ x y))
119.0ms
(expm1 (/ (- x y) (* (hypot x y) (/ (hypot x y) (+ x y)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0391948
11740816
25001809

prune298.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
107×times-frac
89×*-un-lft-identity
75×add-sqr-sqrt
57×add-cube-cbrt
53×add-exp-log associate-*r*
29×add-cbrt-cube
23×div-exp
14×prod-exp
13×distribute-lft-out
11×cbrt-undiv
associate-/l*
pow1 cbrt-unprod div-inv
log1p-expm1-u unswap-sqr
expm1-log1p-u rec-exp 1-exp associate-/r* associate-/l/ add-log-exp
associate-*l* associate-/r/
frac-2neg associate-*r/ clear-num un-div-inv distribute-lft-out-- difference-of-squares
expm1-log1p flip3-- flip3-+ div-sub pow-prod-down *-commutative flip-- flip-+ expm1-udef
Counts
4 → 170
Calls
4 calls:
15.0ms
(/ (- x y) (* (hypot x y) (/ 1 (/ (+ x y) (hypot x y)))))
18.0ms
(* (hypot x y) (/ 1 (/ (+ x y) (hypot x y))))
5.0ms
(/ (+ x y) (hypot x y))
1.0ms
(expm1 (/ (- x y) (* (hypot x y) (/ 1 (/ (+ x y) (hypot x y))))))

series399.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06821494
134751269
250011187

prune419.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes35.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

sample451.0ms

Algorithm
intervals
Results
219.0ms8000×body80valid
103.0ms8000×pre80true