Details

Time bar (total: 16.1s)

sample67.0ms

Algorithm
intervals
Results
24.0ms56×body10240exit
14.0ms256×body80valid
14.0ms306×body80nan

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41109
52629
67389
726389
done50009

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

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

series92.0ms

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

simplify1.8s

Counts
57 → 57
Iterations

Useful iterations: 3 (164.0ms)

IterNodesCost
075614
1148575
2344536
3812527
42393527
done5001527

prune135.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.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)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
87×unpow-prod-down
82×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
25×unswap-sqr
23×swap-sqr
17×add-exp-log
15×associate-*r* associate-*l* sqr-pow
14×unpow-prod-up
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
pow1/2 add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 162
Calls
4 calls:
5.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
26.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series86.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
36.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
9.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify3.1s

Counts
174 → 174
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
01443870
12932920
210482760
348132711
done50002711

prune370.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

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

series86.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
18.0ms
(pow (sqrt (atan2 b b)) (- b a))
10.0ms
(sqrt (atan2 b b))

simplify1.7s

Counts
57 → 57
Iterations

Useful iterations: 3 (163.0ms)

IterNodesCost
075614
1148575
2344536
3812527
42393527
done5001527

prune130.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize16.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)) (pow (pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a))) (sqrt (- b a))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
101×unpow-prod-down
76×add-sqr-sqrt
69×sqrt-prod
35×unswap-sqr
24×add-exp-log
21×*-un-lft-identity sqr-pow
19×add-cube-cbrt
18×pow-exp
17×associate-*r*
15×associate-*l* prod-exp
12×pow-to-exp
pow1
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow
unpow-prod-up pow1/2 add-log-exp
sub-neg rem-sqrt-square pow-sub
associate-*l/ *-commutative sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 151
Calls
4 calls:
4.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
36.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a))) (sqrt (- b a))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series621.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
575.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a))) (sqrt (- b a))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify700.0ms

Counts
163 → 163
Iterations

Useful iterations: done (695.0ms)

IterNodesCost
01944482
14454317
215164034
done50004022

prune409.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes72.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

Useful iterations: 1 (1.0ms)

IterNodesCost
0911
1129
done129

end0.0ms

sample1.9s

Algorithm
intervals
Results
702.0ms1811×body10240exit
420.0ms9846×body80nan
414.0ms7989×body80valid
5.0msbody5120valid
1.0msbody1280valid
1.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid