Details

Time bar (total: 24.9s)

sample125.0ms

Algorithm
intervals
Results
42.0ms54×body10240exit
28.0ms294×body80nan
25.0ms255×body80valid
1.0msbody320valid

simplify10.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41179
54389
645409
done50019

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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)))
1.0ms
(sqrt (atan2 b b))

series159.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(pow (sqrt (atan2 b b)) (- b a))
117.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
18.0ms
(sqrt (atan2 b b))

simplify2.7s

Counts
57 → 57
Iterations

Useful iterations: 3 (954.0ms)

IterNodesCost
075614
1188571
2654536
34107527
done5002527

prune242.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.3b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
0.3b
(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))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 136
Calls
4 calls:
68.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
44.0ms
(sin (* (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))

series280.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
159.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
21.0ms
(sqrt (atan2 b b))
21.0ms
(sqrt (atan2 b b))

simplify1.7s

Counts
148 → 148
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01413640
13152631
214312461
done50002419

prune458.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize43.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (sqrt (sqrt (atan2 b b)))) (cbrt (sqrt (sqrt (atan2 b b)))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
81×sqrt-prod
72×cbrt-prod
70×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
18×swap-sqr
16×unswap-sqr
14×pow1
12×associate-*r* associate-*l*
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 → 115
Calls
4 calls:
36.0ms
(* (cbrt (sqrt (sqrt (atan2 b b)))) (cbrt (sqrt (sqrt (atan2 b b)))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series226.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(* (cbrt (sqrt (sqrt (atan2 b b)))) (cbrt (sqrt (sqrt (atan2 b b)))))
18.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))
22.0ms
(sqrt (atan2 b b))

simplify1.1s

Counts
127 → 127
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0821876
11411682
26731626
done50001568

prune581.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize44.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (* (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a)) (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (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))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 46
Calls
4 calls:
180.0ms
(sin (* (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a)) (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (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))

series327.0ms

Counts
4 → 12
Calls
4 calls:
284.0ms
(sin (* (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a)) (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (sqrt (atan2 b b)))) (- b a)))))
18.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify994.0ms

Counts
58 → 58
Iterations

Useful iterations: done (991.0ms)

IterNodesCost
060716
1127674
2354604
31518518
done5000513

prune346.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

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

Useful iterations: 0 (1.0ms)

IterNodesCost
0920
done920

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.2s1832×body10240exit
1.1s10000×body80nan
923.0ms7992×body80valid
1.0msbody2560valid
1.0msbody320valid
1.0msbody1280valid
1.0msbody160valid