Details

Time bar (total: 24.3s)

sample236.0ms

Algorithm
intervals
Results
86.0ms328×body80nan
57.0ms80×body10240exit
24.0ms256×body80valid

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
079
1139
2229
3459
41159
52689
68349
731979
done50019

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

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:
21.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
15.0ms
(pow (sqrt (atan2 b b)) (- b a))
7.0ms
(sqrt (atan2 b b))

series178.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
63.0ms
(pow (sqrt (atan2 b b)) (- b a))
33.0ms
(sqrt (atan2 b b))

simplify2.8s

Counts
57 → 57
Iterations

Useful iterations: 3 (259.0ms)

IterNodesCost
075614
1147571
2337536
3836527
42732527
done5001527

prune237.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite36.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:
17.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))
1.0ms
(sqrt (atan2 b b))

series170.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
60.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
22.0ms
(sqrt (atan2 b b))
30.0ms
(sqrt (atan2 b b))

simplify2.6s

Counts
104 → 104
Iterations

Useful iterations: 3 (283.0ms)

IterNodesCost
0801180
11601056
23511032
38961018
426571018
done50001018

prune465.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite72.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:
15.0ms
(exp (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
45.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
7.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series224.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(exp (* (log (sqrt (sqrt (atan2 b b)))) (- b a)))
161.0ms
(* (log (sqrt (sqrt (atan2 b b)))) (- b a))
12.0ms
(sqrt (atan2 b b))
15.0ms
(sqrt (atan2 b b))

simplify1.6s

Counts
83 → 83
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
090898
1182825
2506735
31465735
done5000735

prune369.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize60.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 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:
5.0ms
(cbrt (- b a))
4.0ms
(cbrt (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series475.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(cbrt (- b a))
240.0ms
(cbrt (- b a))
13.0ms
(sqrt (atan2 b b))
14.0ms
(sqrt (atan2 b b))

simplify4.5s

Counts
68 → 68
Iterations

Useful iterations: 5 (2.2s)

IterNodesCost
085564
1164528
2306508
3619484
41467458
54549450
done5001450

prune803.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

sample5.4s

Algorithm
intervals
Results
1.9s9847×body80nan
1.7s1870×body10240exit
988.0ms7993×body80valid
3.0msbody5120valid
2.0msbody2560valid
2.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid