Details

Time bar (total: 24.6s)

sample384.0ms

Algorithm
intervals
Results
125.0ms52×body10240exit
36.0ms316×body80nan
32.0ms255×body80valid
6.0msbody5120valid

simplify3.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
079
1139
2229
3459
41159
52749
68379
732179
done50019

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize33.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (sqrt (atan2 b b)) (- b a))
0.2b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite56.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:
17.0ms
(pow (sqrt (atan2 b b)) (- b a))
26.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(sqrt (atan2 b b))

series183.0ms

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

simplify4.9s

Counts
72 → 72
Iterations

Useful iterations: 4 (3.4s)

IterNodesCost
0117962
1246836
2485757
31274728
44144699
done5000699

prune224.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
22×unpow-prod-up
18×prod-diff
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log unpow-prod-down
expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 48
Calls
2 calls:
15.0ms
(pow (atan2 b b) (* 1/2 (- b a)))
45.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))

series147.0ms

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

simplify2.6s

Counts
54 → 54
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01431154
1307973
2578837
31489703
done5000637

prune153.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- b a) (log (sqrt (atan2 b b))))
0.4b
(fma (cos 1) (* (- b a) (log (sqrt (atan2 b b)))) (sin 1))
1.0b
(sqrt (atan2 b b))
2.0b
(log (sqrt (atan2 b b)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt log-prod
15×*-un-lft-identity
13×add-cube-cbrt
12×sqrt-prod
11×pow1
add-exp-log
distribute-rgt-in distribute-lft-in associate-*r* log-pow add-cbrt-cube
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
associate-*l/
rem-sqrt-square flip3-- rem-log-exp pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 83
Calls
4 calls:
41.0ms
(* (- b a) (log (sqrt (atan2 b b))))
1.0ms
(fma (cos 1) (* (- b a) (log (sqrt (atan2 b b)))) (sin 1))
3.0ms
(sqrt (atan2 b b))
4.0ms
(log (sqrt (atan2 b b)))

series433.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(* (- b a) (log (sqrt (atan2 b b))))
172.0ms
(fma (cos 1) (* (- b a) (log (sqrt (atan2 b b)))) (sin 1))
12.0ms
(sqrt (atan2 b b))
119.0ms
(log (sqrt (atan2 b b)))

simplify1.8s

Counts
95 → 95
Iterations

Useful iterations: 3 (712.0ms)

IterNodesCost
01141148
11951080
2595974
31923947
done5000947

prune361.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(fma (cos 1) (* (- b a) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))) (sin 1))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
2.0b
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
34×sqrt-pow1
30×pow1
22×log-pow
18×pow1/2
pow-prod-up
add-sqr-sqrt
add-exp-log
add-cube-cbrt *-un-lft-identity sqrt-prod
pow-prod-down pow-sqr
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square rem-log-exp
pow2 log-prod pow-plus prod-exp fma-udef
Counts
4 → 74
Calls
4 calls:
1.0ms
(fma (cos 1) (* (- b a) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))) (sin 1))
2.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
16.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

series304.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(fma (cos 1) (* (- b a) (log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))) (sin 1))
18.0ms
(sqrt (atan2 b b))
20.0ms
(sqrt (atan2 b b))
91.0ms
(log (* (sqrt (sqrt (atan2 b b))) (sqrt (sqrt (atan2 b b)))))

simplify3.0s

Counts
86 → 86
Iterations

Useful iterations: 3 (231.0ms)

IterNodesCost
058888
189654
2219608
3763581
43027581
done5000581

prune421.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.2b

regimes64.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
0810
1910
done910

end0.0ms

sample5.6s

Algorithm
intervals
Results
1.6s9789×body80nan
1.6s1799×body10240exit
1.5s7992×body80valid
6.0msbody5120valid
3.0msbody2560valid
1.0msbody160valid