Details

Time bar (total: 4.5s)

sample62.0ms

Algorithm
intervals
Results
20.0ms47×body10240exit
15.0ms256×body80valid
13.0ms295×body80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (pow (sqrt (atan2 b b)) (- b a)))
0.0b
(pow (sqrt (atan2 b b)) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 63
Calls
3 calls:
6.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series93.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
23.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune150.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
93×sqrt-prod
87×unpow-prod-down
59×unpow-prod-up
58×*-un-lft-identity
56×add-cube-cbrt
45×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
15×sqr-pow
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
expm1-log1p-u pow1/2 log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 206
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
44.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series90.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
37.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
15.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify70.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04612468
120322166
250022132

prune485.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))))
0.0b
(exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
0.2b
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
55×distribute-rgt-in distribute-lft-in
54×prod-diff
48×add-sqr-sqrt
45×*-un-lft-identity
44×exp-sum
43×add-cube-cbrt
10×pow1
associate-*l*
add-exp-log sub-neg add-cbrt-cube add-log-exp
sqrt-pow1 associate-*r* log-pow
expm1-log1p-u log1p-expm1-u
pow1/2 sqrt-prod
associate-*r/
rem-sqrt-square exp-prod flip3-- exp-to-pow pow-prod-down prod-exp *-commutative flip-- cbrt-unprod rem-exp-log distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 131
Calls
4 calls:
24.0ms
(sin (exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))))
12.0ms
(exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
15.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))

series250.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sin (exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))))
34.0ms
(exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
129.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify58.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
06172085
118351489
250021419

prune265.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
0.0b
(pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
0.2b
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
36×*-un-lft-identity prod-diff
33×add-cube-cbrt
22×unpow-prod-up distribute-rgt-in distribute-lft-in
11×pow1
associate-*l*
add-exp-log add-cbrt-cube
sqrt-pow1 associate-*r* log-pow
expm1-log1p-u sub-neg unpow-prod-down pow-pow log1p-expm1-u add-log-exp
exp-prod pow1/2 sqrt-prod
associate-*r/
pow-to-exp rem-sqrt-square pow-unpow flip3-- pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod exp-lft-sqr distribute-lft-out-- difference-of-squares unswap-sqr sqr-pow
Counts
4 → 118
Calls
4 calls:
12.0ms
(sin (pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
6.0ms
(pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
15.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))

series283.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sin (pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
44.0ms
(pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
128.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
15.0ms
(sqrt (atan2 b b))

simplify51.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04701681
115481369
250011353

prune312.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes32.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample2.0s

Algorithm
intervals
Results
747.0ms1850×body10240exit
454.0ms9789×body80nan
429.0ms7990×body80valid
5.0msbody2560valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody160valid