Details

Time bar (total: 15.7s)

sample177.0ms

Algorithm
intervals
Results
59.0ms336×body80nan
31.0ms51×body10240exit
18.0ms256×body80valid

simplify1.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
done50009

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite48.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:
14.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
12.0ms
(pow (sqrt (atan2 b b)) (- b a))
17.0ms
(sqrt (atan2 b b))

series150.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
29.0ms
(pow (sqrt (atan2 b b)) (- b a))
26.0ms
(sqrt (atan2 b b))

simplify2.3s

Counts
57 → 57
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
075614
1188571
2655536
34103527
done5002527

prune272.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite13.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:
9.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
4.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series117.0ms

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

simplify2.0s

Counts
32 → 32
Iterations

Useful iterations: done (2.0s)

IterNodesCost
066476
1162459
2529411
32470371
done5000367

prune156.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite20.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))
2.0ms
(sqrt (atan2 b b))

series123.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
47.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
18.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify617.0ms

Counts
104 → 104
Iterations

Useful iterations: 2 (193.0ms)

IterNodesCost
0821184
12191056
28011018
done50001018

prune561.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite70.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:
45.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* (- b a) 1/4)))
14.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))

series198.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* (- b a) 1/4)))
34.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
40.0ms
(pow (atan2 b b) (* (- b a) 1/4))
18.0ms
(sqrt (atan2 b b))

simplify1.4s

Counts
129 → 129
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01532480
14172337
219672230
done50002204

prune670.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes142.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
1910
done910

end0.0ms

sample5.4s

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