Details

Time bar (total: 13.1s)

sample67.0ms

Algorithm
intervals
Results
35.0ms77×body1280valid
13.0ms54×body640valid
6.0ms21×body2560valid
3.0ms78×body80valid
2.0ms16×body320valid
1.0ms10×body160valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
079
1108
done108

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 52.7b

localize6.0ms

Local error

Found 3 expressions with local error:

0.5b
(+ (sqrt (fma x x 1.0)) x)
2.2b
(log (+ (sqrt (fma x x 1.0)) x))
15.5b
(sqrt (fma x x 1.0))

rewrite10.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:
5.0ms
(+ (sqrt (fma x x 1.0)) x)
4.0ms
(log (+ (sqrt (fma x x 1.0)) x))
1.0ms
(sqrt (fma x x 1.0))

series310.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(+ (sqrt (fma x x 1.0)) x)
186.0ms
(log (+ (sqrt (fma x x 1.0)) x))
51.0ms
(sqrt (fma x x 1.0))

simplify1.1s

Counts
61 → 61
Iterations

Useful iterations: 3 (457.0ms)

IterNodesCost
0125701
1283639
2765573
32710571
done5001571

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma -1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)) (+ (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:
0.0ms
(fma -1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)) (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))))

series155.0ms

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

simplify619.0ms

Counts
13 → 13
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
025295
151295
2167256
3902256
done5001256

prune50.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
888×times-frac
634×add-sqr-sqrt
609×*-un-lft-identity
603×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×add-exp-log difference-of-squares
add-cbrt-cube add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
log-prod div-exp 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-- fma-udef
Counts
4 → 651
Calls
4 calls:
0.0ms
(fma x 2 (- (/ 0.5 x) (/ 0.125 (pow x 3))))
51.0ms
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
4.0ms
(/ 0.125 (pow x 3))
1.0ms
(log (fma x 2 (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

series351.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(fma x 2 (- (/ 0.5 x) (/ 0.125 (pow x 3))))
90.0ms
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
36.0ms
(/ 0.125 (pow x 3))
174.0ms
(log (fma x 2 (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

simplify1.4s

Counts
663 → 663
Iterations

Useful iterations: done (1.3s)

IterNodesCost
075131474
1146025632
2363116708
done500015031

prune514.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 0.0625 (pow x 5))
0.2b
(/ 0.125 (pow x 3))
12.2b
(log (- (- (/ 0.125 (pow x 3)) (/ 0.5 x)) (/ 0.0625 (pow x 5))))
18.9b
(- (- (/ 0.125 (pow x 3)) (/ 0.5 x)) (/ 0.0625 (pow x 5)))

rewrite840.0ms

Algorithm
rewrite-expression-head
Rules
1674×add-sqr-sqrt
1602×times-frac
1026×*-un-lft-identity
895×prod-diff
848×add-cube-cbrt
522×associate--l+
330×unpow-prod-down
268×difference-of-squares
181×cube-prod
146×sqr-pow
70×div-inv
62×distribute-lft-out--
43×cube-mult unpow3
19×associate-/r*
15×add-exp-log fma-neg
10×log-prod
add-log-exp
frac-sub add-cbrt-cube
div-exp associate-/l*
pow1 log-div
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv pow-to-exp sub-neg frac-2neg pow-exp clear-num
associate--l- rem-log-exp log-pow
Counts
4 → 1078
Calls
4 calls:
4.0ms
(/ 0.0625 (pow x 5))
4.0ms
(/ 0.125 (pow x 3))
260.0ms
(log (- (- (/ 0.125 (pow x 3)) (/ 0.5 x)) (/ 0.0625 (pow x 5))))
455.0ms
(- (- (/ 0.125 (pow x 3)) (/ 0.5 x)) (/ 0.0625 (pow x 5)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ 0.0625 (pow x 5))
37.0ms
(/ 0.125 (pow x 3))
192.0ms
(log (- (- (/ 0.125 (pow x 3)) (/ 0.5 x)) (/ 0.0625 (pow x 5))))
54.0ms
(- (- (/ 0.125 (pow x 3)) (/ 0.5 x)) (/ 0.0625 (pow x 5)))

simplify1.8s

Counts
1090 → 1090
Iterations

Useful iterations: 2 (1.0s)

IterNodesCost
081244329
1172039950
2478930323
done500030323

prune3.2s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes33.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 32.2b

bsearch86.0ms

Steps
ItersRangePoint
11
0.08347146558812443
3.320253512051989e+22
0.9004884393655546
9
-5.7596417613087905
-6.7357437175194845e-09
-1.03811431304858

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03355
13455
done3455

end0.0ms

sample1.9s

Algorithm
intervals
Results
956.0ms2308×body1280valid
384.0ms1563×body640valid
220.0ms786×body2560valid
112.0ms767×body320valid
70.0ms2171×body80valid
33.0ms405×body160valid