Details

Time bar (total: 10.0m)

sample361.0ms

Algorithm
intervals
Results
40.0ms72×body10240exit
25.0ms330×body80nan
22.0ms256×body80valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
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))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
pow-pow add-cbrt-cube add-log-exp
unpow-prod-up 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 → 48
Calls
3 calls:
4.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series104.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune131.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
pow-pow add-cbrt-cube add-log-exp
unpow-prod-up 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 → 48
Calls
3 calls:
9.0ms
(sin (pow (pow (sqrt (atan2 b b)) (- b a)) 1))
4.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series88.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(sin (pow (pow (sqrt (atan2 b b)) (- b a)) 1))
19.0ms
(pow (sqrt (atan2 b b)) (- b a))
13.0ms
(sqrt (atan2 b b))

simplify50.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0152334
1453305
21547299
35001297

prune139.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 136
Calls
4 calls:
8.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
27.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))

series149.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
41.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))

simplify50.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02801647
111691507
250011483

prune302.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
2 → 20
Calls
2 calls:
8.0ms
(sin (* (pow 1 (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
1.0ms
(sqrt (atan2 b b))

series7.0m

Counts
2 → 6
Calls
2 calls:
7.0m
(sin (* (pow 1 (- b a)) (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
11.0ms
(sqrt (atan2 b b))

simplify34.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
092191
1242167
21068160
35001160

prune73.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.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
01710
11710

end0.0ms

sample2.4s

Algorithm
intervals
Results
765.0ms1735×body10240exit
664.0ms7992×body80valid
642.0ms9800×body80nan
8.0msbody5120valid
4.0msbody2560valid
0.0msbody640valid
0.0msbody160valid

end2.9m