Details

Time bar (total: 3.0m)

sample1.1s

Algorithm
intervals
Results
728.0ms63×body10240exit
122.0ms346×body80nan
76.0ms255×body80valid
1.0msbody640valid

simplify55.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
645409
done50019

prune69.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

rewrite43.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:
17.0ms
(pow (sqrt (atan2 b b)) (- b a))
21.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
3.0ms
(sqrt (atan2 b b))

series733.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(pow (sqrt (atan2 b b)) (- b a))
462.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
182.0ms
(sqrt (atan2 b b))

simplify11.1s

Counts
57 → 57
Iterations

Useful iterations: 3 (5.0s)

IterNodesCost
075614
1188571
2654536
34107527
done5002527

prune766.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

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

rewrite73.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:
15.0ms
(sqrt (atan2 b b))
4.0ms
(sqrt (atan2 b b))
5.0ms
(sqrt (atan2 b b))
41.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

series599.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (atan2 b b))
40.0ms
(sqrt (atan2 b b))
33.0ms
(sqrt (atan2 b b))
478.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

simplify14.0s

Counts
107 → 107
Iterations

Useful iterations: done (13.8s)

IterNodesCost
0631225
11161069
24061021
32648941
done5000860

prune1.7s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

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

rewrite159.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:
29.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
109.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
2.0ms
(sqrt (atan2 b b))
5.0ms
(sqrt (atan2 b b))

series624.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
465.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
28.0ms
(sqrt (atan2 b b))
47.0ms
(sqrt (atan2 b b))

simplify17.1s

Counts
85 → 85
Iterations

Useful iterations: 3 (10.6s)

IterNodesCost
01131090
1289919
2896842
34531794
done5001794

prune1.3s

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

bsearch0.0ms

simplify15.0ms

Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
01126
11226
done1226

end8.0ms

sample1.3m

Algorithm
intervals
Results
30.1s10216×body80nan
26.8s1897×body10240exit
17.0s7991×body80valid
6.0msbody640valid
4.0msbody160valid
1.0msbody1280valid
1.0msbody2560valid
0.0msbody320valid