Details

Time bar (total: 23.1s)

sample135.0ms

Algorithm
intervals
Results
45.0ms299×body80nan
39.0ms61×body10240exit
20.0ms256×body80valid

simplify9.5s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41179
54449
645969
done50019

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.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 log1p-expm1-u add-log-exp
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 → 63
Calls
3 calls:
11.0ms
(pow (sqrt (atan2 b b)) (- b a))
34.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
3.0ms
(sqrt (atan2 b b))

series172.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(pow (sqrt (atan2 b b)) (- b a))
120.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
13.0ms
(sqrt (atan2 b b))

simplify807.0ms

Counts
72 → 72
Iterations

Useful iterations: done (804.0ms)

IterNodesCost
0117962
1315839
21100762
done5000737

prune304.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
48×unpow-prod-up
46×add-cube-cbrt *-un-lft-identity
36×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
16×add-exp-log
14×sqr-pow
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u 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 → 171
Calls
4 calls:
45.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
107.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))

series232.0ms

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

simplify2.9s

Counts
183 → 183
Iterations

Useful iterations: done (2.9s)

IterNodesCost
02094894
15023395
225463082
done50003036

prune733.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize50.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* a (cos 1)) (* 1/2 (log (atan2 b b))))
0.6b
(* a (cos 1))
1.6b
(log (atan2 b b))
1.6b
(log (atan2 b b))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log
18×log-prod add-cbrt-cube
14×add-sqr-sqrt
12×distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
rem-log-exp log-pow *-commutative
unswap-sqr
Counts
4 → 84
Calls
4 calls:
59.0ms
(* (* a (cos 1)) (* 1/2 (log (atan2 b b))))
18.0ms
(* a (cos 1))
3.0ms
(log (atan2 b b))
3.0ms
(log (atan2 b b))

series475.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(* (* a (cos 1)) (* 1/2 (log (atan2 b b))))
153.0ms
(* a (cos 1))
83.0ms
(log (atan2 b b))
84.0ms
(log (atan2 b b))

simplify1.4s

Counts
96 → 96
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01121077
12981034
21335878
done5001865

prune526.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes78.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
done920

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.0s1773×body10240exit
1.6s9770×body80nan
900.0ms7996×body80valid
1.0msbody2560valid
1.0msbody160valid