Details

Time bar (total: 3.7s)

sample73.0ms

Algorithm
intervals
Results
24.0ms61×body10240exit
15.0ms348×body80nan
14.0ms256×body80valid

simplify49.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015
done50015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
10.0ms
(pow (sqrt (atan2 b b)) (- b a))
9.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series94.0ms

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

simplify44.0ms

Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21346292
35001290
done5001290

prune119.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log
16×pow-exp
11×add-sqr-sqrt
*-un-lft-identity prod-exp
pow1 pow-to-exp add-cube-cbrt
sqrt-prod
pow-unpow pow-pow
add-cbrt-cube add-log-exp
unpow-prod-up rem-sqrt-square sqrt-pow1 pow1/2 unpow1/2
pow2 sub-neg unpow-prod-down sqrt-unprod pow-prod-down pow-sqr pow-prod-up sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 67
Calls
4 calls:
14.0ms
(pow (* (pow (sqrt (atan2 b b)) 1/2) (pow (sqrt (atan2 b b)) 1/2)) (- b a))
20.0ms
(sin (pow (* (pow (sqrt (atan2 b b)) 1/2) (pow (sqrt (atan2 b b)) 1/2)) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series107.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(pow (* (pow (sqrt (atan2 b b)) 1/2) (pow (sqrt (atan2 b b)) 1/2)) (- b a))
64.0ms
(sin (pow (* (pow (sqrt (atan2 b b)) 1/2) (pow (sqrt (atan2 b b)) 1/2)) (- b a)))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify64.0ms

Counts
79 → 79
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0167542
1445445
22031428
35002413
done5002413

prune175.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
19.0ms
(sin (pow (pow (sqrt (atan2 b b)) 1/2) (* 2 (- b a))))
1.0ms
(sqrt (atan2 b b))

series97.0ms

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

simplify35.0ms

Counts
26 → 26
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
090164
1223142
2794138
35001138
done5001138

prune76.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
Counts
4 → 52
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series42.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify95.0ms

Counts
64 → 64
Iterations

Useful iterations: 7 (27.0ms)

IterNodesCost
022188
125184
228184
333184
452184
5106184
6533184
71765180
85001180
done5001180

prune213.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127
done127

end0.0ms

sample2.2s

Algorithm
intervals
Results
804.0ms1848×body10240exit
458.0ms9800×body80nan
440.0ms7991×body80valid
3.0msbody5120valid
2.0msbody2560valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody320valid