Details

Time bar (total: 3.0s)

sample36.0ms

Algorithm
intervals
Results
10.0ms69×body1280valid
8.0ms72×body10240exit
6.0ms60×body640valid
2.0ms26×body320valid
2.0ms88×body80valid
1.0ms13×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
074
184
284

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 41.9b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series45.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (exp x) (- (exp x) 1.0))
15.0ms
(- (exp x) 1.0)

simplify192.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (185.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune126.0ms

Filtered
73 candidates to 50 candidates (68.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 0.1b

Counts
74 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/12 x (/ 1 x))

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 1/12 x (/ 1 x))

series44.0ms

Counts
1 → 3
Calls
1 calls:
43.0ms
(fma 1/12 x (/ 1 x))

simplify62.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune26.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done000
Total13316

Merged error: 0.1b

Counts
16 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
0.0b
(+ (exp x) 1.0)
0.0b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
99×*-un-lft-identity
65×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
17×distribute-lft-out
11×associate-/r/ add-cbrt-cube
add-exp-log
flip3-+ flip-+ div-inv associate-/l* add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-def
frac-2neg clear-num
+-commutative sum-log fma-udef
Counts
4 → 154
Calls
4 calls:
9.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
4.0ms
(+ (exp x) 1.0)
6.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series193.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(/ (exp x) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
8.0ms
(+ (exp x) 1.0)
61.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
45.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05082170
121992059
250012056

prune375.0ms

Filtered
166 candidates to 127 candidates (76.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1624166
Fresh011
Picked101
Done011
Total1636169

Merged error: 0.1b

Counts
169 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod *-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
fma-udef distribute-lft-out
associate-/r/
cbrt-div flip3-+ pow1/3 flip-+ div-inv
Counts
4 → 59
Calls
4 calls:
5.0ms
(cbrt (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
39.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
44.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
40.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0227703
1585654
22358637
35002628

prune232.0ms

Filtered
71 candidates to 61 candidates (85.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh044
Picked101
Done011
Total71677

Merged error: 0.1b

Counts
77 → 6

regimes36.0ms

Accuracy

99% (0.2b remaining)

Error of 0.6b against oracle of 0.4b and baseline of 21.0b

bsearch35.0ms

Steps
ItersRangePoint
8
-0.002595282603730271
-2.587228857819641e-07
-0.001541657862432784

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03654
13654

end0.0ms

sample1.1s

Algorithm
intervals
Results
383.0ms2324×body1280valid
273.0ms2564×body10240exit
172.0ms1638×body640valid
54.0ms829×body320valid
50.0ms2804×body80valid
17.0ms406×body160valid