Details

Time bar (total: 2.7m)

sample5.1s

Algorithm
intervals
Results
3.1s63×body10240exit
230.0ms346×body80nan
103.0ms255×body80valid
1.0msbody640valid

simplify53.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (138.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
645409
done50019

prune250.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize166.0ms

Local error

Found 3 expressions with local error:

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

rewrite453.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:
318.0ms
(pow (sqrt (atan2 b b)) (- b a))
22.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.0ms
(sqrt (atan2 b b))

series1.2s

Counts
3 → 9
Calls
3 calls:
199.0ms
(pow (sqrt (atan2 b b)) (- b a))
645.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
341.0ms
(sqrt (atan2 b b))

simplify13.8s

Counts
57 → 57
Iterations

Useful iterations: 3 (6.7s)

IterNodesCost
075614
1188571
2654536
34107527
done5002527

prune1.0s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize538.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×cbrt-prod
29×sqrt-prod
19×add-cube-cbrt *-un-lft-identity
14×pow1
11×swap-sqr
associate-*r* associate-*l* unswap-sqr
add-exp-log pow1/3
add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))
75.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

series1.0s

Counts
4 → 12
Calls
4 calls:
202.0ms
(sqrt (atan2 b b))
61.0ms
(sqrt (atan2 b b))
30.0ms
(sqrt (atan2 b b))
730.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

simplify14.1s

Counts
107 → 107
Iterations

Useful iterations: done (14.0s)

IterNodesCost
0631225
11161069
24061021
32648941
done5000860

prune2.1s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize46.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
0.3b
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite656.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
19×pow-unpow
17×add-cube-cbrt
15×times-frac
sqrt-prod
pow1
unpow-prod-down
add-exp-log
add-cbrt-cube add-log-exp
pow-pow sqrt-pow1 pow1/2 distribute-lft-out-- difference-of-squares
rem-sqrt-square
pow-to-exp div-sub pow-exp sqrt-pow2 div-inv pow-sub sqr-pow
Counts
4 → 73
Calls
4 calls:
31.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
536.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
7.0ms
(sqrt (atan2 b b))
5.0ms
(sqrt (atan2 b b))

series792.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
580.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
33.0ms
(sqrt (atan2 b b))
87.0ms
(sqrt (atan2 b b))

simplify20.6s

Counts
85 → 85
Iterations

Useful iterations: 3 (13.2s)

IterNodesCost
01131090
1289919
2896842
34531794
done5001794

prune1.8s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.2b

regimes304.0ms

Accuracy

0% (0.0b remaining)

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

bsearch2.0ms

simplify51.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01126
11226
done1226

end15.0ms

sample46.6s

Algorithm
intervals
Results
24.0s1897×body10240exit
12.2s10216×body80nan
8.5s7991×body80valid
65.0msbody2560valid
18.0msbody640valid
1.0msbody1280valid
1.0msbody160valid
1.0msbody320valid