Details

Time bar (total: 25.6s)

sample111.0ms

Algorithm
intervals
Results
38.0ms58×body10240exit
23.0ms327×body80nan
21.0ms256×body80valid

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1139
2229
3459
41159
52749
68379
732179
done50019

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
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 → 63
Calls
3 calls:
30.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
9.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series136.0ms

Counts
3 → 9
Calls
3 calls:
89.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
26.0ms
(pow (sqrt (atan2 b b)) (- b a))
21.0ms
(sqrt (atan2 b b))

simplify4.2s

Counts
72 → 72
Iterations

Useful iterations: 4 (2.8s)

IterNodesCost
0117962
1246836
2485757
31266728
44144699
done5000699

prune251.0ms

Pruning

2 alts after pruning (2 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))
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))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
93×sqrt-prod
87×unpow-prod-down
59×unpow-prod-up
58×*-un-lft-identity
56×add-cube-cbrt
45×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
15×sqr-pow
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
expm1-log1p-u pow1/2 log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 206
Calls
4 calls:
12.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
95.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))

series132.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
66.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
13.0ms
(sqrt (atan2 b b))
13.0ms
(sqrt (atan2 b b))

simplify4.0s

Counts
218 → 218
Iterations

Useful iterations: 3 (2.4s)

IterNodesCost
02105420
14433874
212883547
346453437
done50003437

prune686.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize51.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt b)
0.8b
(pow (cbrt b) 3)
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
unpow-prod-down cube-prod sqrt-prod
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow
rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 75
Calls
4 calls:
1.0ms
(cbrt b)
4.0ms
(pow (cbrt b) 3)
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))

series596.0ms

Counts
4 → 12
Calls
4 calls:
277.0ms
(cbrt b)
288.0ms
(pow (cbrt b) 3)
12.0ms
(sqrt (atan2 b b))
18.0ms
(sqrt (atan2 b b))

simplify2.3s

Counts
87 → 87
Iterations

Useful iterations: 3 (205.0ms)

IterNodesCost
073525
1148374
2281349
3681345
42469345
done5000345

prune481.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

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

rewrite7.0ms

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

series70.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))
16.0ms
(sqrt (atan2 b b))

simplify2.6s

Counts
72 → 72
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
020424
125368
228360
332360
438360
548360
669360
7147360
8437360
91815360
done5001360

prune396.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes34.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
01727
12027
done2027

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.4s1777×body10240exit
1.3s9788×body80nan
849.0ms7988×body80valid
16.0msbody5120valid
1.0msbody2560valid
1.0msbody160valid
1.0msbody640valid
0.0msbody320valid