Details

Time bar (total: 19.7s)

sample117.0ms

Algorithm
intervals
Results
43.0ms45×body10240exit
27.0ms331×body80nan
24.0ms256×body80valid

simplify1.6s

Counts
1 → 1
Iterations
IterNodes
done5019
61161
5250
4110
345
222
113
07

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite31.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:
18.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
10.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series127.0ms

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

simplify2.9s

Counts
57 → 57
Iterations
IterNodes
done5016
43444
31052
2388
1181
075

prune284.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite25.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:
13.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))

series122.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
37.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
24.0ms
(sqrt (atan2 b b))
21.0ms
(sqrt (atan2 b b))

simplify3.1s

Counts
104 → 104
Iterations
IterNodes
done5002
43791
31198
2478
1212
082

prune571.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite24.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:
17.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
6.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series147.0ms

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

simplify1.6s

Counts
32 → 32
Iterations
IterNodes
done5003
31563
2419
1157
066

prune210.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
rem-sqrt-square sqrt-pow1 add-cbrt-cube pow1/2 add-exp-log 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))

series79.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))

simplify2.9s

Counts
64 → 64
Iterations
IterNodes
done5001
91271
8400
7163
687
557
438
330
226
123
018

prune435.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes86.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
IterNodes
done9
19
08

end0.0ms

sample5.1s

Algorithm
intervals
Results
2.1s1746×body10240exit
1.4s9649×body80nan
1.0s7986×body80valid
3.0msbody5120valid
2.0msbody640valid
2.0msbody320valid
1.0msbody1280valid
1.0msbody160valid