Details

Time bar (total: 10.0m)

sample265.0ms

Algorithm
intervals
Results
44.0ms61×body10240exit
25.0ms285×body80nan
23.0ms255×body80valid
1.0msbody640valid

simplify10.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
645409
done50019

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize25.0ms

Local error

Found 3 expressions with local error:

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

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

series167.0ms

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

simplify2.7s

Counts
57 → 57
Iterations

Useful iterations: 3 (961.0ms)

IterNodesCost
075614
1188571
2654536
34107527
done5002527

prune249.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize31.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
0.2b
(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))

rewrite67.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:
9.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
52.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series201.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(pow (sqrt (atan2 b b)) (/ (- b a) 2))
125.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
15.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify3.5s

Counts
85 → 85
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
01131090
1289919
2896842
34531794
done5001794

prune400.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (log (exp (pow (sqrt (atan2 b b)) (- b a)))))
0.0b
(log (exp (pow (sqrt (atan2 b b)) (- b a))))
0.0b
(pow (sqrt (atan2 b b)) (- b a))
1.0b
(sqrt (atan2 b b))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt log-pow
12×unpow-prod-down exp-prod
sqrt-prod
pow1
log-prod
add-exp-log pow-unpow
unpow-prod-up add-cbrt-cube add-log-exp
pow-pow sin-sum
sub-neg sqrt-pow1 pow1/2 sqr-pow
pow-to-exp rem-sqrt-square rem-log-exp pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares
Counts
4 → 75
Calls
4 calls:
34.0ms
(sin (log (exp (pow (sqrt (atan2 b b)) (- b a)))))
12.0ms
(log (exp (pow (sqrt (atan2 b b)) (- b a))))
7.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series192.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(sin (log (exp (pow (sqrt (atan2 b b)) (- b a)))))
34.0ms
(log (exp (pow (sqrt (atan2 b b)) (- b a))))
24.0ms
(pow (sqrt (atan2 b b)) (- b a))
12.0ms
(sqrt (atan2 b b))

simplify2.8s

Counts
87 → 87
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01261139
1252998
2762909
34634900
done5001900

prune303.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize43.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (+ 1 (log (sqrt (pow (sqrt (atan2 b b)) (- b a)))))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
3.8b
(log (sqrt (pow (sqrt (atan2 b b)) (- b a))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
21×sqrt-prod
15×log-prod
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
unpow-prod-down
add-exp-log
add-cbrt-cube add-log-exp
sqrt-pow1 pow1/2 log-pow
unpow-prod-up rem-sqrt-square sin-sum
distribute-rgt-in sub-neg log-div distribute-lft-in sqrt-div rem-log-exp pow-sub sqr-pow
Counts
4 → 62
Calls
4 calls:
25.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (+ 1 (log (sqrt (pow (sqrt (atan2 b b)) (- b a)))))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
12.0ms
(log (sqrt (pow (sqrt (atan2 b b)) (- b a))))

series377.0ms

Counts
4 → 12
Calls
4 calls:
243.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (+ 1 (log (sqrt (pow (sqrt (atan2 b b)) (- b a)))))))
17.0ms
(sqrt (atan2 b b))
18.0ms
(sqrt (atan2 b b))
98.0ms
(log (sqrt (pow (sqrt (atan2 b b)) (- b a))))

simplify1.2m

Counts
74 → 74
Iterations

Useful iterations: 3 (2.2s)

IterNodesCost
01251177
12121106
25571015
348491004
done50021004

prune218.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes63.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
done1022

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.0s1864×body10240exit
798.0ms10128×body80nan
653.0ms7989×body80valid
6.0msbody5120valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody160valid

end8.4m