Details

Time bar (total: 21.6s)

sample213.0ms

Algorithm
intervals
Results
69.0ms331×body80nan
35.0ms45×body10240exit
26.0ms256×body80valid

simplify1.7s

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

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite26.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:
13.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series165.0ms

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

simplify2.5s

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

prune260.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite30.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:
18.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))

series106.0ms

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

simplify3.2s

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

prune642.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt pow1 unpow-prod-down *-un-lft-identity add-exp-log add-cube-cbrt
add-cbrt-cube add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 22
Calls
2 calls:
17.0ms
(sin (pow (atan2 b b) (* (- b a) 1/2)))
6.0ms
(pow (atan2 b b) (* (- b a) 1/2))

series126.0ms

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

simplify3.4s

Counts
28 → 28
Iterations
IterNodes
done5001
43379
3985
2323
1134
057

prune206.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

series48.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify2.9s

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

prune323.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.1s1746×body10240exit
1.6s9649×body80nan
907.0ms7986×body80valid
5.0msbody5120valid
2.0msbody640valid
2.0msbody320valid
1.0msbody1280valid
1.0msbody160valid