Details

Time bar (total: 2.3s)

sample28.0ms

Algorithm
intervals
Results
11.0ms63×body1280valid
5.0ms46×body640valid
3.0ms175×body80valid
2.0ms25×body320valid
1.0ms12×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.3b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series59.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0282468
1919380
25001377

prune138.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/6 (pow x 2) (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 (pow x 2) (fma 1/2 x 1))

series21.0ms

Counts
1 → 3
Calls
1 calls:
21.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))

simplify25.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03659
110452
253552
3500252

prune36.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
11.4b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
11.4b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
11.4b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
0.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
0.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
1.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))) (cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1))))
58.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
54.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))
57.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

simplify99.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0216936
1676870
23111805
35002790

prune271.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 1/6 (pow x 2) (fma 1/2 x 1))
0.1b
(fma 1/12 (pow x 2) (fma 1/3 x 1))
0.1b
(fma 1/3 x 1)
11.4b
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

rewrite2.0ms

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

series132.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(fma 1/6 (pow x 2) (fma 1/2 x 1))
21.0ms
(fma 1/12 (pow x 2) (fma 1/3 x 1))
31.0ms
(fma 1/3 x 1)
59.0ms
(cbrt (fma 1/6 (pow x 2) (fma 1/2 x 1)))

simplify51.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0144291
1378265
21596263
35002263

prune180.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

regimes28.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch31.0ms

Steps
ItersRangePoint
9
-3.9934486818618
-2.7899019707608465e-05
-0.00014964858386511397

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02411
12411

end0.0ms

sample858.0ms

Algorithm
intervals
Results
377.0ms2199×body1280valid
166.0ms1610×body640valid
103.0ms5524×body80valid
58.0ms851×body320valid
18.0ms426×body160valid