Details

Time bar (total: 5.1s)

sample343.0ms

Algorithm
intervals
Results
39.0ms72×body10240exit
24.0ms330×body80nan
22.0ms256×body80valid

simplify58.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.0b

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

rewrite27.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:
7.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series106.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune157.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 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))
1.3b
(log (sin (pow (sqrt (atan2 b b)) (- b a))))

rewrite17.0ms

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

series179.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))
89.0ms
(log (sin (pow (sqrt (atan2 b b)) (- b a))))

simplify85.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0284676
1789575
23017566
35002549

prune226.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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))
1.3b
(log (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
48×unpow-prod-up
47×add-cube-cbrt *-un-lft-identity
36×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
14×sqr-pow
prod-exp
pow1
pow-to-exp sub-neg pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u pow-sub add-log-exp
log-prod
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ rem-log-exp pow-prod-down associate-*l/ pow-sqr log-pow *-commutative pow-prod-up cbrt-unprod
Counts
4 → 176
Calls
4 calls:
37.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))
9.0ms
(log (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))))

series182.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
124.0ms
(log (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04692307
119242013
250021982

prune476.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log
expm1-log1p-u log-prod sqrt-prod add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp log-pow
Counts
3 → 38
Calls
3 calls:
12.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0ms
(sqrt (atan2 b b))
7.0ms
(log (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))

series195.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
11.0ms
(sqrt (atan2 b b))
107.0ms
(log (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0128390
1311346
21152340
35001337

prune154.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes36.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.5s

Algorithm
intervals
Results
787.0ms1735×body10240exit
682.0ms7992×body80valid
668.0ms9800×body80nan
9.0msbody5120valid
4.0msbody2560valid
0.0msbody640valid
0.0msbody160valid