Details

Time bar (total: 3.3s)

sample42.0ms

Algorithm
intervals
Results
14.0ms65×body1280valid
9.0ms62×body640valid
4.0ms20×body320valid
3.0ms97×body80valid
3.0ms80×body80overflowed
1.0ms12×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: 40.4b

localize4.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
3.5b
(- (exp x) 1.0)

rewrite14.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:
8.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)

simplify71.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune305.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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:
6.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
12.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
14.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series141.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
36.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
64.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

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.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)

rewrite27.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:
16.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
6.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series69.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune85.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* 1/12 x) (/ 1 x))) (cbrt (+ (* 1/12 x) (/ 1 x))))
0.6b
(cbrt (+ (* 1/12 x) (/ 1 x)))
0.6b
(cbrt (+ (* 1/12 x) (/ 1 x)))
0.6b
(cbrt (+ (* 1/12 x) (/ 1 x)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
47.0ms
(* (cbrt (+ (* 1/12 x) (/ 1 x))) (cbrt (+ (* 1/12 x) (/ 1 x))))
5.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
5.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
6.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))

series454.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(* (cbrt (+ (* 1/12 x) (/ 1 x))) (cbrt (+ (* 1/12 x) (/ 1 x))))
108.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
108.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))
106.0ms
(cbrt (+ (* 1/12 x) (/ 1 x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03611208
112371135
250011081

prune253.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes79.0ms

Accuracy

96.9% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 21.4b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02211
12211

end0.0ms

sample1.2s

Algorithm
intervals
Results
469.0ms2207×body1280valid
240.0ms1658×body640valid
102.0ms2876×body80valid
90.0ms2535×body80overflowed
83.0ms818×body320valid
32.0ms442×body160valid