Details

Time bar (total: 15.8s)

sample141.0ms

Algorithm
intervals
Results
46.0ms45×body10240exit
33.0ms331×body80nan
30.0ms256×body80valid

simplify1.5s

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

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite15.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:
8.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series138.0ms

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

simplify2.2s

Counts
57 → 57
Iterations
IterNodes
done5002
34103
2655
1188
075

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

rewrite24.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:
10.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series136.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
44.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
21.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify751.0ms

Counts
104 → 104
Iterations
IterNodes
done5000
2801
1219
082

prune490.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite13.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:
8.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
3.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series122.0ms

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

simplify1.9s

Counts
32 → 32
Iterations
IterNodes
done5000
32470
2529
1162
066

prune169.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

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

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

series67.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (atan2 b b))
17.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))
19.0ms
(sqrt (atan2 b b))

simplify1.9s

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

prune374.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes98.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
done9
09

end0.0ms

sample5.2s

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