Details

Time bar (total: 2.5s)

sample43.0ms

Algorithm
intervals
Results
15.0ms71×body1280valid
10.0ms94×body10240exit
6.0ms53×body640valid
2.0ms95×body80valid
2.0ms27×body320valid
0.0ms10×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.5b

localize4.0ms

Local error

Found 2 expressions with local error:

1.5b
(/ (exp x) (- (exp x) 1.0))
3.0b
(- (exp x) 1.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 51
Calls
2 calls:
6.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series40.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune120.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
0.0b
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
0.1b
(* (pow x 2) (+ (* x 1/6) 1/2))
0.3b
(* x 1/6)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
12×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/ associate-/r/ *-commutative cbrt-unprod unpow2 sqr-pow
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 91
Calls
4 calls:
9.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
8.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
7.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series148.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
32.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
65.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
13.0ms
(* x 1/6)

simplify65.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0429746
12022686
25001684

prune222.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
0.0b
(+ (* 1/12 x) (/ 1 x))
0.3b
(* 1/12 x)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sum-log
associate-*r* associate-*l*
+-commutative flip3-+ flip-+
associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 43
Calls
3 calls:
7.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
5.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series72.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
44.0ms
(+ (* 1/12 x) (/ 1 x))
14.0ms
(* 1/12 x)

simplify102.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune73.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
0.0b
(/ 1.0 (exp x))
3.0b
(- 1 (/ 1.0 (exp x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
44×*-un-lft-identity
43×times-frac
24×add-cube-cbrt
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
distribute-lft-out-- add-log-exp
pow1
div-exp
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip-- div-inv
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 97
Calls
3 calls:
13.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
4.0ms
(/ 1.0 (exp x))
7.0ms
(- 1 (/ 1.0 (exp x)))

series99.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
12.0ms
(/ 1.0 (exp x))
34.0ms
(- 1 (/ 1.0 (exp x)))

simplify37.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0310724
11324622
25001621

prune143.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes31.0ms

Accuracy

73.8% (0.3b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample1.2s

Algorithm
intervals
Results
402.0ms2320×body1280valid
297.0ms2590×body10240exit
186.0ms1658×body640valid
57.0ms2859×body80valid
55.0ms777×body320valid
18.0ms386×body160valid