Details

Time bar (total: 4.8s)

sample313.0ms

Algorithm
intervals
Results
22.0ms47×body10240exit
14.0ms295×body80nan
13.0ms256×body80valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.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))

rewrite17.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))
3.0ms
(sqrt (atan2 b b))

series113.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))
30.0ms
(sqrt (atan2 b b))

simplify77.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune155.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))

rewrite62.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))
42.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))

series87.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04612471
120642166
250012132

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))

rewrite57.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:
20.0ms
(sin (exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))))
12.0ms
(exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
17.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))

series255.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(sin (exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))))
30.0ms
(exp (* 2 (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
136.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify53.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
06172085
118351489
250021419

prune266.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))

rewrite40.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:
14.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))

series276.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sin (pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a))))
47.0ms
(pow (exp 2) (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
128.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify54.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04701681
115481369
250011353

prune299.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes31.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
748.0ms1850×body10240exit
452.0ms7990×body80valid
438.0ms9789×body80nan
5.0msbody2560valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody160valid