Details

Time bar (total: 17.5s)

sample399.0ms

Algorithm
intervals
Results
163.0ms331×body80nan
95.0ms45×body10240exit
31.0ms256×body80valid

simplify1.8s

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

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

rewrite35.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 rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 48
Calls
3 calls:
15.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.0ms
(pow (sqrt (atan2 b b)) (- b a))
5.0ms
(sqrt (atan2 b b))

series187.0ms

Counts
3 → 9
Calls
3 calls:
128.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
38.0ms
(pow (sqrt (atan2 b b)) (- b a))
20.0ms
(sqrt (atan2 b b))

simplify2.2s

Counts
57 → 57
Iterations
IterNodes
done5002
34103
2655
1188
075

prune283.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
20×add-sqr-sqrt
18×unpow-prod-down *-un-lft-identity
14×add-cube-cbrt
12×pow1
10×pow-unpow pow-pow sqrt-pow1
pow1/2 add-exp-log
unpow-prod-up add-cbrt-cube add-log-exp
pow-to-exp rem-sqrt-square sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 92
Calls
4 calls:
14.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
11.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series136.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
54.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
20.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))

simplify917.0ms

Counts
104 → 104
Iterations
IterNodes
done5000
2801
1219
082

prune637.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-up
add-sqr-sqrt pow1 unpow-prod-down *-un-lft-identity add-exp-log add-cube-cbrt
distribute-rgt-in sub-neg distribute-lft-in add-cbrt-cube add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 26
Calls
2 calls:
20.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
7.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series127.0ms

Counts
2 → 6
Calls
2 calls:
100.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
27.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

simplify2.5s

Counts
32 → 32
Iterations
IterNodes
done5000
32470
2529
1162
066

prune162.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize76.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
rem-sqrt-square sqrt-pow1 add-cbrt-cube pow1/2 add-exp-log add-log-exp
Counts
4 → 52
Calls
4 calls:
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series85.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (atan2 b b))
21.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
22.0ms
(sqrt (atan2 b b))

simplify2.0s

Counts
64 → 64
Iterations
IterNodes
done5000
81052
7320
6141
572
438
330
226
123
018

prune411.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes90.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
IterNodes
done9
09

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.5s1746×body10240exit
1.1s7986×body80valid
1.1s9649×body80nan
6.0msbody5120valid
2.0msbody640valid
2.0msbody320valid
1.0msbody1280valid
1.0msbody160valid