Details

Time bar (total: 14.7s)

sample118.0ms

Algorithm
intervals
Results
53.0ms63×body1280valid
28.0ms64×body640valid
12.0ms23×body2560valid
6.0ms24×body320valid
5.0ms69×body80valid
2.0ms13×body160valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
079
1108
done108

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 52.9b

localize9.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (sqrt (fma x x 1.0)) x)
3.5b
(log (+ (sqrt (fma x x 1.0)) x))
13.1b
(sqrt (fma x x 1.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-sqr-sqrt
add-cube-cbrt
fma-def sqrt-prod
pow1 add-log-exp
add-exp-log log-prod
expm1-log1p-u add-cbrt-cube log1p-expm1-u
log-div flip3-+ flip-+ distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow
Counts
3 → 52
Calls
3 calls:
10.0ms
(+ (sqrt (fma x x 1.0)) x)
7.0ms
(log (+ (sqrt (fma x x 1.0)) x))
2.0ms
(sqrt (fma x x 1.0))

series442.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(+ (sqrt (fma x x 1.0)) x)
251.0ms
(log (+ (sqrt (fma x x 1.0)) x))
75.0ms
(sqrt (fma x x 1.0))

simplify1.7s

Counts
61 → 61
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0125701
1283639
2768573
32364571
done5000556

prune222.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (/ (pow x 3) (pow (sqrt 1.0) 3)) -1/6 (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (/ (pow x 3) (pow (sqrt 1.0) 3)) -1/6 (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

series234.0ms

Counts
1 → 3
Calls
1 calls:
234.0ms
(fma (/ (pow x 3) (pow (sqrt 1.0) 3)) -1/6 (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

simplify868.0ms

Counts
13 → 13
Iterations

Useful iterations: done (867.0ms)

IterNodesCost
025295
151295
2171256
3989256
done5000255

prune52.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
0.2b
(/ 0.125 (pow x 3))
14.1b
(log (fma 2 x (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
888×times-frac
633×add-sqr-sqrt
608×*-un-lft-identity
602×add-cube-cbrt
520×prod-diff
131×unpow-prod-down cube-prod
55×div-inv
45×sqr-pow
43×cube-mult unpow3
13×fma-neg
12×associate-/r*
10×difference-of-squares
add-exp-log
add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log-prod div-exp log1p-expm1-u associate-/l*
distribute-lft-out--
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg diff-log rem-log-exp pow-exp clear-num log-pow frac-sub flip--
Counts
3 → 641
Calls
3 calls:
69.0ms
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
9.0ms
(/ 0.125 (pow x 3))
2.0ms
(log (fma 2 x (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

series622.0ms

Counts
3 → 9
Calls
3 calls:
92.0ms
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
315.0ms
(/ 0.125 (pow x 3))
214.0ms
(log (fma 2 x (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

simplify2.0s

Counts
650 → 650
Iterations

Useful iterations: done (2.0s)

IterNodesCost
074231264
1157025431
2326916537
done500015817

prune905.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 0.125 (pow x 3))
0.5b
(/ 0.0625 (pow x 5))
15.1b
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.0625 (pow x 5)) (/ 0.5 x))))
19.6b
(- (/ 0.125 (pow x 3)) (+ (/ 0.0625 (pow x 5)) (/ 0.5 x)))

rewrite523.0ms

Algorithm
rewrite-expression-head
Rules
480×*-un-lft-identity
367×times-frac
244×add-sqr-sqrt
218×add-cube-cbrt
200×prod-diff
84×distribute-lft-out
80×unpow-prod-down
68×cube-prod
40×fma-neg
28×sqr-pow
22×cube-mult unpow3
19×associate-/r*
15×add-exp-log
11×log-prod
10×difference-of-squares
add-log-exp
add-cbrt-cube div-inv
div-exp frac-sub associate-/l* distribute-lft-out--
pow1 log-div
expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp flip3-- frac-2neg flip3-+ diff-log frac-add pow-exp clear-num flip-- flip-+
sub-neg rem-log-exp sum-log log-pow associate--r+
Counts
4 → 408
Calls
4 calls:
9.0ms
(/ 0.125 (pow x 3))
8.0ms
(/ 0.0625 (pow x 5))
181.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.0625 (pow x 5)) (/ 0.5 x))))
292.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.0625 (pow x 5)) (/ 0.5 x)))

series466.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ 0.125 (pow x 3))
97.0ms
(/ 0.0625 (pow x 5))
257.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.0625 (pow x 5)) (/ 0.5 x))))
66.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.0625 (pow x 5)) (/ 0.5 x)))

simplify1.8s

Counts
420 → 420
Iterations

Useful iterations: done (1.8s)

IterNodesCost
046617338
1101711893
228029355
done50009035

prune859.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes43.0ms

Accuracy

99.5% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 32.3b

bsearch98.0ms

Steps
ItersRangePoint
10
1.0194597579740466e-06
20796729.49276672
0.9017023301953626
8
-11.923248480236845
-0.0008047768791668974
-1.002814715336328

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03355
13555
done3555

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.9s2305×body1280valid
552.0ms1572×body640valid
472.0ms828×body2560valid
162.0ms771×body320valid
142.0ms2130×body80valid
48.0ms394×body160valid