Details

Time bar (total: 12.4s)

sample68.0ms

Algorithm
intervals
Results
22.0ms57×body10240exit
13.0ms305×body80nan
13.0ms256×body80valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52689
68349
731979
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.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)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
1.0ms
(sqrt (atan2 b b))

series101.0ms

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

simplify1.6s

Counts
57 → 57
Iterations

Useful iterations: 3 (181.0ms)

IterNodesCost
075614
1147571
2337536
3836527
42732527
done5001527

prune126.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
(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))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
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 → 136
Calls
4 calls:
26.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
42.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))

series159.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
45.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify2.2s

Counts
148 → 148
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01413640
12812623
29572461
338122409
done50012400

prune293.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
12×sqrt-prod
10×add-sqr-sqrt
pow1 add-cube-cbrt unpow-prod-down *-un-lft-identity
add-exp-log
pow-pow sqrt-pow1
unpow-prod-up add-cbrt-cube add-log-exp
log-prod pow1/2
distribute-rgt-in sub-neg distribute-lft-in
pow-to-exp rem-sqrt-square pow-unpow rem-log-exp pow-exp log-pow sqrt-pow2 sqr-pow
Counts
4 → 62
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
15.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
13.0ms
(log (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
1.0ms
(sqrt (atan2 b b))

series239.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))
81.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
113.0ms
(log (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))))
11.0ms
(sqrt (atan2 b b))

simplify1.4s

Counts
74 → 74
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01181160
12521077
2565956
31815922
done5001816

prune190.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

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

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

series46.0ms

Counts
4 → 12
Calls
4 calls:
13.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

prune211.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01214
11314
done1314

end0.0ms

sample2.1s

Algorithm
intervals
Results
725.0ms1805×body10240exit
425.0ms7991×body80valid
422.0ms9659×body80nan
3.0msbody5120valid
2.0msbody1280valid
1.0msbody2560valid
0.0msbody160valid
0.0msbody640valid