Details

Time bar (total: 14.6s)

sample149.0ms

Algorithm
intervals
Results
51.0ms336×body80nan
37.0ms51×body10240exit
25.0ms256×body80valid

simplify802.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
done50009

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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 rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 48
Calls
3 calls:
7.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series172.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
53.0ms
(pow (sqrt (atan2 b b)) (- b a))
27.0ms
(sqrt (atan2 b b))

simplify2.0s

Counts
57 → 57
Iterations

Useful iterations: 3 (882.0ms)

IterNodesCost
075614
1188571
2655536
34103527
done5002527

prune208.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-up
add-sqr-sqrt pow1 unpow-prod-down *-un-lft-identity add-exp-log add-cube-cbrt
distribute-rgt-in sub-neg distribute-lft-in add-cbrt-cube add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 26
Calls
2 calls:
16.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
4.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series128.0ms

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

simplify1.6s

Counts
32 → 32
Iterations

Useful iterations: done (1.6s)

IterNodesCost
066476
1162459
2529411
32470371
done5000367

prune172.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize26.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))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
20×add-sqr-sqrt
18×unpow-prod-down *-un-lft-identity
14×add-cube-cbrt
12×pow1
10×pow-unpow pow-pow sqrt-pow1
pow1/2 add-exp-log
unpow-prod-up add-cbrt-cube add-log-exp
pow-to-exp rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 92
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series105.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
44.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
15.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify439.0ms

Counts
104 → 104
Iterations

Useful iterations: 2 (158.0ms)

IterNodesCost
0821184
12191056
28011018
done50001018

prune1.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
38×unpow-prod-down
30×sqrt-prod
18×*-un-lft-identity add-exp-log
16×add-cube-cbrt
15×associate-*l* unswap-sqr
12×sqr-pow
pow1 prod-exp
pow-to-exp pow-exp
associate-*r*
pow-unpow pow-pow add-cbrt-cube
sqrt-pow1
unpow-prod-up add-log-exp
pow1/2
sub-neg pow-sub
rem-sqrt-square associate-*l/ *-commutative cbrt-unprod sqrt-pow2 distribute-lft-out-- difference-of-squares
Counts
4 → 117
Calls
4 calls:
64.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* (- b a) 1/4)))
13.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
6.0ms
(pow (atan2 b b) (* (- b a) 1/4))
2.0ms
(sqrt (atan2 b b))

series205.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* (- b a) 1/4)))
53.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
23.0ms
(pow (atan2 b b) (* (- b a) 1/4))
18.0ms
(sqrt (atan2 b b))

simplify1.5s

Counts
129 → 129
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01532480
14172337
219672230
done50002204

prune574.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes133.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01422
11722
done1722

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.0s1752×body10240exit
1.4s7988×body80valid
1.0s9700×body80nan
4.0msbody2560valid
3.0msbody5120valid
2.0msbody640valid
1.0msbody1280valid
1.0msbody160valid
0.0msbody320valid