Details

Time bar (total: 8.8s)

sample32.0ms

Algorithm
intervals
Results
13.0ms76×body1280valid
6.0ms59×body640valid
3.0ms188×body80valid
1.0ms21×body320valid
1.0ms16×body160valid

simplify6.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
056
1106
2136
3156
done156

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.1b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.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:
15.0ms
(/ (- (exp x) 1.0) x)
5.0ms
(- (exp x) 1.0)

series54.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (- (exp x) 1.0) x)
14.0ms
(- (exp x) 1.0)

simplify3.2s

Counts
74 → 74
Iterations

Useful iterations: 3 (468.0ms)

IterNodesCost
0127854
1288745
2888656
34814637
done5000637

prune138.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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 (* x x) (fma 1/2 x 1))

series23.0ms

Counts
1 → 3
Calls
1 calls:
23.0ms
(fma 1/6 (* x x) (fma 1/2 x 1))

simplify3.0s

Counts
13 → 13
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
023158
139152
2106134
3479107
43504107
done5000107

prune33.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0)) x)
0.2b
(sqrt (exp x))
0.2b
(sqrt (exp x))
3.9b
(fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
times-frac
sqrt-pow1
pow1 add-exp-log exp-prod sqrt-prod add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
rem-sqrt-square pow1/2
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
4 → 75
Calls
4 calls:
2.0ms
(/ (fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0)) x)
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0))

series154.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0)) x)
11.0ms
(sqrt (exp x))
14.0ms
(sqrt (exp x))
47.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- 1.0))

simplify990.0ms

Counts
87 → 87
Iterations

Useful iterations: 3 (212.0ms)

IterNodesCost
099912
1176593
2539561
32134560
done5000560

prune184.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes15.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch25.0ms

Steps
ItersRangePoint
9
-5.7596417613087905
-8.638519114283913e-09
-0.0002022345445868293

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01624
11824
done1824

end0.0ms

sample883.0ms

Algorithm
intervals
Results
381.0ms2245×body1280valid
179.0ms1677×body640valid
109.0ms5529×body80valid
57.0ms839×body320valid
19.0ms432×body160valid