Details

Time bar (total: 19.0s)

sample271.0ms

Algorithm
intervals
Results
85.0ms256×body80valid
63.0ms52×body10240exit
43.0ms339×body80nan

simplify1.5s

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

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite21.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:
7.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
8.0ms
(pow (sqrt (atan2 b b)) (- b a))
4.0ms
(sqrt (atan2 b b))

series158.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
25.0ms
(pow (sqrt (atan2 b b)) (- b a))
25.0ms
(sqrt (atan2 b b))

simplify2.1s

Counts
60 → 60
Iterations
IterNodes
done5001
34103
2656
1191
078

prune264.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite98.0ms

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

series240.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
60.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
23.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))

simplify1.9s

Counts
152 → 152
Iterations
IterNodes
done5002
21481
1327
0149

prune675.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
22×pow-unpow
21×add-sqr-sqrt
12×add-cube-cbrt sqrt-prod
10×distribute-lft-out--
unpow-prod-down
pow1 distribute-rgt-out distribute-lft-out
pow-pow sqrt-pow1
add-exp-log difference-of-squares
add-cbrt-cube pow1/2 insert-posit16 add-log-exp
distribute-lft1-in distribute-rgt1-in pow-sub
pow-to-exp unpow-prod-up rem-sqrt-square associate-+r- count-2 pow-exp associate-+l- sqrt-pow2 sqr-pow
Counts
3 → 73
Calls
3 calls:
40.0ms
(pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a)))
32.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a))))
1.0ms
(sqrt (atan2 b b))

series173.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a)))
112.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a))))
23.0ms
(sqrt (atan2 b b))

simplify1.3s

Counts
82 → 82
Iterations
IterNodes
done5002
21404
1357
0125

prune430.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
54×pow-sub
28×frac-times
27×associate-+r- associate-+l-
26×cbrt-div
14×associate-*l/
10×add-sqr-sqrt
sqrt-prod
associate-*r/
pow1 *-un-lft-identity add-cube-cbrt
add-cbrt-cube add-exp-log insert-posit16 add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
cbrt-prod pow1/3 pow3 rem-cbrt-cube
Counts
4 → 79
Calls
4 calls:
111.0ms
(cbrt (* (* (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a))) (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a)))) (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a)))))
5.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series83.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(cbrt (* (* (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a))) (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a)))) (pow (sqrt (sqrt (atan2 b b))) (+ (- b a) (- b a)))))
21.0ms
(sqrt (atan2 b b))
15.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify2.6s

Counts
91 → 91
Iterations
IterNodes
done5000
33187
2655
1256
0143

prune630.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes92.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done13
113
012

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.1s1800×body10240exit
1.6s9820×body80nan
1.2s7991×body80valid
6.0msbody5120valid
2.0msbody640valid
2.0msbody2560valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid