Details

Time bar (total: 27.8s)

sample306.0ms

Algorithm
intervals
Results
89.0ms328×body80nan
72.0ms80×body10240exit
35.0ms256×body80valid

simplify3.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
079
1139
2229
3459
41159
52749
68379
732179
done50019

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 3 expressions with local error:

0.0b
(sin (pow (sqrt (atan2 b b)) (- b a)))
0.1b
(pow (sqrt (atan2 b b)) (- b a))
1.0b
(sqrt (atan2 b b))

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

series161.0ms

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

simplify4.2s

Counts
72 → 72
Iterations

Useful iterations: 4 (2.7s)

IterNodesCost
0117962
1246836
2485757
31266728
44144699
done5000699

prune211.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.1b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
24×sqrt-prod
22×unpow-prod-up
18×unpow-prod-down prod-diff
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 118
Calls
4 calls:
11.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
11.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series161.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
65.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
20.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))

simplify5.0s

Counts
130 → 130
Iterations

Useful iterations: 4 (3.3s)

IterNodesCost
01201876
12571588
24921474
313371420
443241364
done50001364

prune530.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

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

series315.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(exp (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
231.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
18.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))

simplify3.5s

Counts
127 → 127
Iterations

Useful iterations: done (3.5s)

IterNodesCost
01682344
13381870
27481601
324271517
done50011174

prune483.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize46.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- b a))
0.5b
(cbrt (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
10×cbrt-prod
add-cube-cbrt
pow1 sqrt-prod
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
5.0ms
(cbrt (- b a))
5.0ms
(cbrt (- b a))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series472.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(cbrt (- b a))
222.0ms
(cbrt (- b a))
23.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify2.0s

Counts
76 → 76
Iterations

Useful iterations: done (2.0s)

IterNodesCost
089604
1172564
2332544
3700518
41704494
done5001486

prune547.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

regimes112.0ms

Accuracy

0% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 0.8b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01533
11633
done1633

end0.0ms

sample5.9s

Algorithm
intervals
Results
2.3s1870×body10240exit
1.6s9847×body80nan
1.0s7993×body80valid
5.0msbody5120valid
2.0msbody2560valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid