Details

Time bar (total: 22.2s)

sample121.0ms

Algorithm
intervals
Results
40.0ms48×body10240exit
34.0ms308×body80nan
30.0ms255×body80valid
0.0msbody160valid

simplify1.7s

Counts
1 → 1
Iterations
IterNodes
done5001
61114
5256
4110
345
222
113
07

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize31.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
pow-to-exp rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 66
Calls
3 calls:
14.0ms
(pow (sqrt (atan2 b b)) (- b a))
18.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
2.0ms
(sqrt (atan2 b b))

series138.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(pow (sqrt (atan2 b b)) (- b a))
83.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
20.0ms
(sqrt (atan2 b b))

simplify2.0s

Counts
75 → 75
Iterations
IterNodes
done5005
31669
2674
1311
0120

prune304.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.1b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
15×sqrt-prod
11×unpow-prod-up
pow1 unpow-prod-down prod-diff
sqrt-pow1
pow-unpow pow-pow add-exp-log
expm1-log1p-u add-cbrt-cube pow1/2 insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 87
Calls
4 calls:
9.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
37.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series180.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
106.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
16.0ms
(sqrt (atan2 b b))
16.0ms
(sqrt (atan2 b b))

simplify2.3s

Counts
99 → 99
Iterations
IterNodes
done5046
32545
2906
1388
0149

prune537.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize39.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.1b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (expm1 (log1p (pow (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
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
15×sqrt-prod
11×unpow-prod-up
pow1 unpow-prod-down prod-diff
sqrt-pow1
pow-unpow pow-pow add-exp-log
expm1-log1p-u add-cbrt-cube pow1/2 insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 87
Calls
4 calls:
12.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
32.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (expm1 (log1p (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series264.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
189.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (expm1 (log1p (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
17.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))

simplify2.4s

Counts
99 → 99
Iterations
IterNodes
done5002
32646
2938
1394
0151

prune598.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize49.0ms

Local error

Found 4 expressions with local error:

0.1b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
0.3b
(log (exp (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
pow1
sqrt-prod
expm1-log1p-u add-cbrt-cube add-exp-log log-pow insert-posit16 log1p-expm1-u add-log-exp
log-prod exp-prod
rem-sqrt-square sqrt-pow1 pow1/2
rem-log-exp
Counts
4 → 60
Calls
4 calls:
29.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
6.0ms
(log (exp (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series668.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
507.0ms
(log (exp (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
19.0ms
(sqrt (atan2 b b))
27.0ms
(sqrt (atan2 b b))

simplify3.1s

Counts
72 → 72
Iterations
IterNodes
done5001
42920
3719
2290
1138
080

prune483.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

regimes104.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done12
112
011

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.6s1855×body10240exit
2.2s10067×body80nan
1.8s7989×body80valid
5.0msbody5120valid
3.0msbody1280valid
2.0msbody320valid
2.0msbody160valid
1.0msbody640valid