Details

Time bar (total: 21.9s)

sample170.0ms

Algorithm
intervals
Results
65.0ms80×body10240exit
36.0ms328×body80nan
31.0ms256×body80valid

simplify3.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52689
68349
731979
done50019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite47.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:
28.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
14.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series148.0ms

Counts
3 → 9
Calls
3 calls:
96.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
30.0ms
(pow (sqrt (atan2 b b)) (- b a))
22.0ms
(sqrt (atan2 b b))

simplify2.7s

Counts
57 → 57
Iterations

Useful iterations: 3 (251.0ms)

IterNodesCost
075614
1147571
2337536
3836527
42732527
done5001527

prune235.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite32.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
add-exp-log pow1/2
unpow-prod-up add-cbrt-cube 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 → 92
Calls
4 calls:
10.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
16.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series113.0ms

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

simplify2.3s

Counts
104 → 104
Iterations

Useful iterations: 3 (269.0ms)

IterNodesCost
0801180
11601056
23511032
38961018
426571018
done50001018

prune362.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×pow1
10×*-un-lft-identity
add-cube-cbrt associate-*l*
add-exp-log sqrt-pow1 sqrt-prod add-cbrt-cube
associate-*r* log-pow add-log-exp
distribute-rgt-in sub-neg distribute-lft-in pow1/2 exp-sum
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 → 71
Calls
4 calls:
14.0ms
(exp (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
30.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series306.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(exp (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
229.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
14.0ms
(sqrt (atan2 b b))
17.0ms
(sqrt (atan2 b b))

simplify1.7s

Counts
83 → 83
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
090898
1182825
2506735
31465735
done5000735

prune776.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite18.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 cbrt-div add-cbrt-cube add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
8.0ms
(cbrt (- b a))
6.0ms
(cbrt (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series519.0ms

Counts
4 → 12
Calls
4 calls:
242.0ms
(cbrt (- b a))
253.0ms
(cbrt (- b a))
12.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify3.9s

Counts
68 → 68
Iterations

Useful iterations: 5 (2.0s)

IterNodesCost
085564
1164528
2306508
3619484
41467458
54549450
done5001450

prune335.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

regimes71.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01533
11633
done1633

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.5s7993×body80valid
1.3s1870×body10240exit
863.0ms9847×body80nan
3.0msbody5120valid
2.0msbody1280valid
1.0msbody2560valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid