Details

Time bar (total: 14.8s)

sample164.0ms

Algorithm
intervals
Results
32.0ms47×body10240exit
20.0ms294×body80nan
19.0ms256×body80valid

simplify797.0ms

Counts
1 → 1
Iterations
IterNodes
done5000
5444
4117
345
222
113
07

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

rewrite38.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 rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 63
Calls
3 calls:
22.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
7.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series166.0ms

Counts
3 → 9
Calls
3 calls:
103.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
30.0ms
(pow (sqrt (atan2 b b)) (- b a))
33.0ms
(sqrt (atan2 b b))

simplify834.0ms

Counts
72 → 72
Iterations
IterNodes
done5000
21098
1315
0117

prune326.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.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 rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 63
Calls
3 calls:
20.0ms
(sin (* 1 (pow (sqrt (atan2 b b)) (- b a))))
13.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series119.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(sin (* 1 (pow (sqrt (atan2 b b)) (- b a))))
29.0ms
(pow (sqrt (atan2 b b)) (- b a))
12.0ms
(sqrt (atan2 b b))

simplify1.1s

Counts
72 → 72
Iterations
IterNodes
done5001
21209
1321
0119

prune343.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

rewrite92.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 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 → 206
Calls
4 calls:
12.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
68.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series150.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
65.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
16.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify2.3s

Counts
218 → 218
Iterations
IterNodes
done5001
23285
1596
0213

prune986.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
expm1-log1p-u add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
3 → 39
Calls
3 calls:
46.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) (pow (sqrt (sqrt (atan2 b b))) (* (+ (- a) a) 2))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series176.0ms

Counts
3 → 9
Calls
3 calls:
140.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))) (pow (sqrt (sqrt (atan2 b b))) (* (+ (- a) a) 2))))
13.0ms
(sqrt (atan2 b b))
22.0ms
(sqrt (atan2 b b))

simplify874.0ms

Counts
48 → 48
Iterations
IterNodes
done5000
31092
2276
1103
056

prune295.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes116.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
done19
119
015

end0.0ms

sample5.7s

Algorithm
intervals
Results
1.7s7989×body80valid
1.7s1833×body10240exit
1.5s9748×body80nan
6.0msbody2560valid
2.0msbody320valid
1.0msbody1280valid
1.0msbody160valid
1.0msbody640valid