Details

Time bar (total: 22.6s)

sample228.0ms

Algorithm
intervals
Results
81.0ms61×body10240exit
21.0ms299×body80nan
20.0ms256×body80valid

simplify9.1s

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
079
1139
2229
3459
41179
54449
645969
done50019

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

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

series179.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(pow (sqrt (atan2 b b)) (- b a))
118.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
19.0ms
(sqrt (atan2 b b))

simplify1.0s

Counts
72 → 72
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0117962
1315839
21100762
done5000737

prune360.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
44×unpow-prod-down
28×sqrt-prod
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log unswap-sqr
12×swap-sqr sqr-pow
10×associate-*r* associate-*l*
prod-exp
pow1 pow-to-exp pow-exp add-cbrt-cube
expm1-log1p-u div-sub 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 → 114
Calls
4 calls:
59.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
37.0ms
(* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2)))
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))

series181.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(sin (* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2))))
38.0ms
(* (pow (sqrt (atan2 b b)) (/ (- b a) 2)) (pow (sqrt (atan2 b b)) (/ (- b a) 2)))
12.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify1.5s

Counts
126 → 126
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01232981
12692133
211831983
done50001939

prune551.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cos 1) (log (sqrt (atan2 b b))))
2.0b
(log (sqrt (atan2 b b)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
18×log-prod prod-diff
17×distribute-rgt-in distribute-lft-in
16×pow1
12×add-exp-log sqrt-prod
11×associate-*r* add-cbrt-cube
log-pow
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
sub-neg associate-*r/ *-commutative
rem-sqrt-square flip3-- rem-log-exp flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 115
Calls
4 calls:
43.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
1.0ms
(sqrt (atan2 b b))
14.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
2.0ms
(log (sqrt (atan2 b b)))

series620.0ms

Counts
4 → 12
Calls
4 calls:
262.0ms
(* (* (cos 1) (log (sqrt (atan2 b b)))) (- b a))
11.0ms
(sqrt (atan2 b b))
232.0ms
(* (cos 1) (log (sqrt (atan2 b b))))
115.0ms
(log (sqrt (atan2 b b)))

simplify2.4s

Counts
127 → 127
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01752047
14371837
226651579
done50001546

prune516.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes82.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
done1022

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.0s1773×body10240exit
1.7s9770×body80nan
975.0ms7996×body80valid
1.0msbody2560valid
1.0msbody160valid