Details

Time bar (total: 12.3s)

sample76.0ms

Algorithm
intervals
Results
25.0ms61×body10240exit
17.0ms322×body80nan
14.0ms256×body80valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52689
68349
731979
done50019

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

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

series107.0ms

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

simplify1.6s

Counts
57 → 57
Iterations

Useful iterations: 3 (180.0ms)

IterNodesCost
075614
1147571
2337536
3836527
42732527
done5001527

prune122.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite23.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
add-exp-log pow1/2
unpow-prod-up add-cbrt-cube add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 92
Calls
4 calls:
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
3.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series86.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
31.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
11.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify1.5s

Counts
104 → 104
Iterations

Useful iterations: 3 (190.0ms)

IterNodesCost
0801180
11601056
23511032
38961018
426571018
done50001018

prune268.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
87×sqrt-prod
78×add-sqr-sqrt unpow-prod-down
25×unswap-sqr
23×add-cube-cbrt *-un-lft-identity
19×swap-sqr
16×add-exp-log
14×sqr-pow
13×associate-*r* associate-*l*
prod-exp
pow1
pow-to-exp pow-exp add-cbrt-cube
div-sub 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 → 134
Calls
4 calls:
41.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (/ (- b a) 2)) (pow (sqrt (sqrt (atan2 b b))) (/ (- b a) 2)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series80.0ms

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

simplify1.9s

Counts
146 → 146
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01233844
12412725
28432566
333282405
done50002264

prune319.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite6.0ms

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

series43.0ms

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

simplify1.3s

Counts
64 → 64
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
018384
123328
226320
330320
436320
546320
667320
7145320
8432320
91822320
done5000320

prune217.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes39.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

Useful iterations: 0 (0.0ms)

IterNodesCost
01334
11434
done1434

end0.0ms

sample2.2s

Algorithm
intervals
Results
770.0ms1844×body10240exit
447.0ms9923×body80nan
441.0ms7988×body80valid
8.0msbody5120valid
1.0msbody2560valid
1.0msbody160valid
1.0msbody320valid