Details

Time bar (total: 15.8s)

sample48.0ms

Algorithm
intervals
Results
15.0ms62×body1280valid
11.0ms67×body640valid
6.0ms177×body80valid
3.0ms25×body320valid
1.0ms15×body160valid

simplify18.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1106
2136
3156
done156

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.7b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
4.8b
(- (exp x) 1.0)

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
fma-neg associate-/r*
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 68
Calls
2 calls:
72.0ms
(/ (- (exp x) 1.0) x)
25.0ms
(- (exp x) 1.0)

series76.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(/ (- (exp x) 1.0) x)
27.0ms
(- (exp x) 1.0)

simplify2.4s

Counts
74 → 74
Iterations

Useful iterations: done (2.4s)

IterNodesCost
0127854
1281745
2612665
31785619
done5001605

prune206.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x (fma 1/6 x 1/2) 1)
0.1b
(fma 1/6 x 1/2)

rewrite2.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
2 → 20
Calls
2 calls:
1.0ms
(fma x (fma 1/6 x 1/2) 1)
1.0ms
(fma 1/6 x 1/2)

series92.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(fma x (fma 1/6 x 1/2) 1)
44.0ms
(fma 1/6 x 1/2)

simplify2.9s

Counts
26 → 26
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
033213
153204
2114176
3381175
41753175
done5001175

prune59.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (fma x (fma 1/6 x 1/2) 1))
0.0b
(fma x (fma 1/6 x 1/2) 1)
0.1b
(fma 1/6 x 1/2)
0.3b
(log (exp (fma x (fma 1/6 x 1/2) 1)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
exp-prod
pow1 add-log-exp
add-exp-log expm1-log1p-u log-prod log-pow add-cbrt-cube fma-udef log1p-expm1-u
exp-sum
rem-log-exp rem-exp-log
Counts
4 → 52
Calls
4 calls:
4.0ms
(exp (fma x (fma 1/6 x 1/2) 1))
1.0ms
(fma x (fma 1/6 x 1/2) 1)
1.0ms
(fma 1/6 x 1/2)
6.0ms
(log (exp (fma x (fma 1/6 x 1/2) 1)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(exp (fma x (fma 1/6 x 1/2) 1))
28.0ms
(fma x (fma 1/6 x 1/2) 1)
54.0ms
(fma 1/6 x 1/2)
39.0ms
(log (exp (fma x (fma 1/6 x 1/2) 1)))

simplify2.6s

Counts
64 → 64
Iterations

Useful iterations: 4 (1.2s)

IterNodesCost
071656
1111596
2225524
3710519
43345518
done5000518

prune198.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) x)
4.5b
(- (/ (exp x) x) (/ 1.0 x))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
262×times-frac
213×add-sqr-sqrt
209×*-un-lft-identity
201×add-cube-cbrt
169×prod-diff
30×div-inv
13×fma-neg
add-cbrt-cube distribute-lft-out-- add-log-exp difference-of-squares
add-exp-log associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg flip3-- distribute-rgt-out-- frac-2neg diff-log div-exp clear-num frac-sub flip-- sub-div
Counts
2 → 236
Calls
2 calls:
11.0ms
(/ (exp x) x)
56.0ms
(- (/ (exp x) x) (/ 1.0 x))

series106.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(/ (exp x) x)
67.0ms
(- (/ (exp x) x) (/ 1.0 x))

simplify4.5s

Counts
242 → 242
Iterations

Useful iterations: 3 (2.4s)

IterNodesCost
03428500
17507453
216375470
349743248
done50003248

prune220.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

regimes30.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.9b

bsearch21.0ms

Steps
ItersRangePoint
5
-0.00021785999598854965
-9.497075983896804e-05
-0.00012192187032837518

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01621
11821
done1821

end0.0ms

sample2.1s

Algorithm
intervals
Results
649.0ms5367×body80valid
638.0ms2197×body1280valid
379.0ms1692×body640valid
99.0ms852×body320valid
31.0ms417×body160valid