Details

Time bar (total: 16.3s)

sample67.0ms

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

simplify4.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41109
52689
67489
726749
done50009

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
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 → 63
Calls
3 calls:
6.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series93.0ms

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

simplify3.0s

Counts
72 → 72
Iterations

Useful iterations: 4 (1.7s)

IterNodesCost
0117962
1256840
2554757
31309728
44013699
done5000699

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
93×sqrt-prod
87×unpow-prod-down
59×unpow-prod-up
58×*-un-lft-identity
56×add-cube-cbrt
45×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
15×sqr-pow
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
expm1-log1p-u pow1/2 log1p-expm1-u 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 → 206
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
43.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))

series89.0ms

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

simplify1.5s

Counts
218 → 218
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02105420
14623909
216443574
done50013547

prune487.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* (log (sqrt (atan2 b b))) (- b a)))
0.2b
(* (log (sqrt (atan2 b b))) (- b a))
1.0b
(sqrt (atan2 b b))
2.0b
(log (sqrt (atan2 b b)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
36×prod-diff
35×*-un-lft-identity
33×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in exp-sum
11×pow1
add-exp-log
log-prod associate-*l* sqrt-prod log-pow add-cbrt-cube
associate-*r* add-log-exp
expm1-log1p-u sub-neg log1p-expm1-u
sqrt-pow1 pow1/2
associate-*r/
rem-sqrt-square exp-prod flip3-- exp-to-pow rem-log-exp pow-prod-down prod-exp *-commutative flip-- cbrt-unprod rem-exp-log distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 117
Calls
4 calls:
5.0ms
(exp (* (log (sqrt (atan2 b b))) (- b a)))
13.0ms
(* (log (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(log (sqrt (atan2 b b)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(exp (* (log (sqrt (atan2 b b))) (- b a)))
70.0ms
(* (log (sqrt (atan2 b b))) (- b a))
10.0ms
(sqrt (atan2 b b))
66.0ms
(log (sqrt (atan2 b b)))

simplify1.6s

Counts
129 → 129
Iterations

Useful iterations: 3 (709.0ms)

IterNodesCost
01722253
13161766
28141513
327861411
done50001411

prune227.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
101×unpow-prod-down
88×add-sqr-sqrt
69×sqrt-prod
35×unswap-sqr
33×*-un-lft-identity
31×add-cube-cbrt
24×add-exp-log associate-*l*
22×unpow-prod-up
21×sqr-pow
18×prod-diff pow-exp
17×associate-*r*
15×prod-exp
12×pow-to-exp
pow1
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow
expm1-log1p-u pow1/2 log1p-expm1-u 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 → 177
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
47.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))

series636.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
588.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))

simplify857.0ms

Counts
189 → 189
Iterations

Useful iterations: done (851.0ms)

IterNodesCost
02395195
15644897
217774550
done50014524

prune522.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

regimes30.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: 0 (0.0ms)

IterNodesCost
0911
11011
done1011

end0.0ms

sample1.9s

Algorithm
intervals
Results
722.0ms1811×body10240exit
425.0ms9846×body80nan
425.0ms7989×body80valid
10.0msbody5120valid
1.0msbody1280valid
1.0msbody2560valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid