Details

Time bar (total: 21.7s)

sample135.0ms

Algorithm
intervals
Results
58.0ms61×body10240exit
31.0ms305×body80nan
27.0ms256×body80valid

simplify1.5s

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

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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:
9.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series128.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
38.0ms
(pow (sqrt (atan2 b b)) (- b a))
25.0ms
(sqrt (atan2 b b))

simplify1.3s

Counts
75 → 75
Iterations
IterNodes
done2001
42001
31724
2687
1311
0120

prune768.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize45.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.0b
(* (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
112×add-sqr-sqrt
93×sqrt-prod
87×unpow-prod-down
59×unpow-prod-up
58×*-un-lft-identity
56×add-cube-cbrt
45×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
15×sqr-pow
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
expm1-log1p-u pow1/2 insert-posit16 log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 frac-times pow-prod-down associate-*l/ associate-*r/ pow-sqr *-commutative pow-prod-up cbrt-unprod sqrt-pow2 distribute-lft-out-- difference-of-squares
Counts
4 → 210
Calls
4 calls:
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
30.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series525.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
43.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
420.0ms
(sqrt (atan2 b b))
18.0ms
(sqrt (atan2 b b))

simplify1.4s

Counts
222 → 222
Iterations
IterNodes
done2000
32000
21791
1582
0216

prune3.0s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize60.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
(sqrt (atan2 b b))

rewrite5.0ms

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

series67.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
15.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify1.7s

Counts
76 → 76
Iterations
IterNodes
done2012
102012
91279
8389
7163
690
560
441
333
229
126
021

prune1.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize44.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
27×sqrt-prod
23×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt
12×unpow-prod-down sqrt-pow1
11×pow1 unpow-prod-up
prod-diff
pow-pow
pow1/2
pow-unpow add-exp-log
expm1-log1p-u add-cbrt-cube 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 → 98
Calls
4 calls:
13.0ms
(pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series80.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))
11.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))

simplify925.0ms

Counts
110 → 110
Iterations
IterNodes
done2000
32000
2820
1375
0139

prune1.7s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes74.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done13
113
012

end0.0ms

sample7.0s

Algorithm
intervals
Results
2.8s1832×body10240exit
2.1s9866×body80nan
1.5s7992×body80valid
6.0msbody2560valid
3.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid