Details

Time bar (total: 3.6s)

sample32.0ms

Algorithm
intervals
Results
12.0ms70×body1280valid
6.0ms57×body640valid
2.0ms28×body320valid
2.0ms87×body80overflowed
2.0ms87×body80valid
1.0ms14×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.8b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series36.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(/ (exp x) (- (exp x) 1.0))
13.0ms
(- (exp x) 1.0)

simplify184.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (178.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune144.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.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:
0.0ms
(fma 1/12 x (/ 1 x))

series46.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune24.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x))))
0.0b
(/ (exp x) (/ (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x)))))
0.0b
(pow (exp x) 3)
3.5b
(- (pow (exp x) 3) (pow 1.0 3))

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
717×add-sqr-sqrt
612×times-frac
479×*-un-lft-identity
309×add-cube-cbrt
282×unpow-prod-down cube-prod
272×difference-of-squares
162×sqr-pow
144×prod-diff
85×distribute-lft-out--
82×associate-/r*
28×associate-/l*
26×cube-mult unpow3
17×difference-cubes
12×fma-neg add-cbrt-cube
add-exp-log
div-inv add-log-exp
pow1
cbrt-undiv expm1-log1p-u pow-pow div-exp log1p-expm1-u
pow-unpow exp-prod
flip3-- frac-2neg clear-num flip-- associate-/l/
pow-to-exp sub-neg diff-log div-sub pow-exp associate-/r/ rem-cube-cbrt
Counts
4 → 676
Calls
4 calls:
91.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x))))
58.0ms
(/ (exp x) (/ (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x)))))
4.0ms
(pow (exp x) 3)
42.0ms
(- (pow (exp x) 3) (pow 1.0 3))

series246.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x))))
104.0ms
(/ (exp x) (/ (- (pow (exp x) 3) (pow 1.0 3)) (fma 1.0 (+ (exp x) 1.0) (exp (+ x x)))))
21.0ms
(pow (exp x) 3)
34.0ms
(- (pow (exp x) 3) (pow 1.0 3))

simplify151.0ms

Algorithm
egg-herbie
Counts
688 → 688
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0162512703
1500111880

prune1.3s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes15.0ms

Accuracy

99.2% (0.2b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
9
-1500.694570789724
-8.340668492905662e-07
-0.0016580727144551504

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample937.0ms

Algorithm
intervals
Results
388.0ms2253×body1280valid
187.0ms1676×body640valid
57.0ms829×body320valid
56.0ms2822×body80valid
49.0ms2556×body80overflowed
19.0ms422×body160valid