Details

Time bar (total: 19.9s)

sample226.0ms

Algorithm
intervals
Results
85.0ms331×body80nan
37.0ms45×body10240exit
30.0ms256×body80valid

simplify1.6s

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

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

rewrite29.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:
10.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.0ms
(pow (sqrt (atan2 b b)) (- b a))
5.0ms
(sqrt (atan2 b b))

series147.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
39.0ms
(pow (sqrt (atan2 b b)) (- b a))
25.0ms
(sqrt (atan2 b b))

simplify2.4s

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

prune363.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

series92.0ms

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

simplify3.1s

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

prune539.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite25.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))))
7.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series159.0ms

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

simplify1.4s

Counts
32 → 32
Iterations
IterNodes
done5003
31563
2419
1157
066

prune180.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize72.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 *-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))

series72.0ms

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

simplify3.4s

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

prune404.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes89.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.4s

Algorithm
intervals
Results
1.8s9649×body80nan
1.6s1746×body10240exit
1.5s7986×body80valid
3.0msbody5120valid
2.0msbody640valid
2.0msbody320valid
1.0msbody1280valid
1.0msbody160valid