Details

Time bar (total: 19.6s)

sample140.0ms

Algorithm
intervals
Results
54.0ms61×body10240exit
41.0ms305×body80nan
29.0ms256×body80valid

simplify1.4s

Counts
1 → 1
Iterations
IterNodes
done2050
72050
61161
5250
4110
345
222
113
07

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

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 insert-posit16 add-log-exp
unpow-prod-up 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 → 51
Calls
3 calls:
16.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
9.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series133.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
27.0ms
(pow (sqrt (atan2 b b)) (- b a))
31.0ms
(sqrt (atan2 b b))

simplify1.1s

Counts
60 → 60
Iterations
IterNodes
done2004
42004
31051
2391
1184
078

prune697.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
87×unpow-prod-down
82×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
25×unswap-sqr
23×swap-sqr
17×add-exp-log
15×associate-*r* associate-*l* sqr-pow
14×unpow-prod-up
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
pow1/2 insert-posit16 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 → 166
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
36.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))

series138.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
63.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
18.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))

simplify1.2s

Counts
178 → 178
Iterations
IterNodes
done2001
32001
21104
1396
0150

prune2.1s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
rem-sqrt-square sqrt-pow1 add-cbrt-cube pow1/2 add-exp-log insert-posit16 add-log-exp
Counts
4 → 56
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))

series61.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))
26.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify1.3s

Counts
68 → 68
Iterations
IterNodes
done2048
102048
9885
8354
7118
673
551
439
331
227
124
019

prune1.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
27×sqrt-prod
17×add-sqr-sqrt
14×*-un-lft-identity
12×unpow-prod-down sqrt-pow1 add-cube-cbrt
11×pow1
pow-pow
pow1/2
pow-unpow add-exp-log
add-cbrt-cube insert-posit16 add-log-exp
rem-sqrt-square
unpow-prod-up
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 81
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series67.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a))
11.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify1.6s

Counts
93 → 93
Iterations
IterNodes
done2002
42002
31336
2567
1251
099

prune1.4s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes58.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

sample6.7s

Algorithm
intervals
Results
2.2s1832×body10240exit
2.2s9866×body80nan
1.8s7992×body80valid
7.0msbody2560valid
5.0msbody5120valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid