Details

Time bar (total: 3.1s)

sample38.0ms

Algorithm
intervals
Results
12.0ms70×body1280valid
9.0ms87×body10240exit
6.0ms55×body640valid
2.0ms26×body320valid
2.0ms93×body80valid
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.5b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
3.8b
(- (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)

series45.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune116.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/12 x) (/ 1 x))
0.4b
(* 1/12 x)

rewrite9.0ms

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

series58.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(+ (* 1/12 x) (/ 1 x))
17.0ms
(* 1/12 x)

simplify71.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0130119
1448110
22305109
35001109

prune56.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (* (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0))))
0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
3.8b
(- (sqrt (exp x)) (sqrt 1.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×*-un-lft-identity
12×sqrt-prod
10×add-cube-cbrt
add-cbrt-cube
sqrt-pow1 associate-/r/
add-exp-log
pow1 exp-prod add-log-exp
frac-times flip3-- flip-- difference-of-squares
flip3-+ times-frac flip-+ associate-/l*
cbrt-undiv rem-sqrt-square pow1/2 associate-*r/ div-exp associate-*l/ distribute-lft-out--
sub-neg frac-2neg diff-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 79
Calls
4 calls:
16.0ms
(/ (exp x) (* (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0))))
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
10.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series294.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(/ (exp x) (* (+ (sqrt (exp x)) (sqrt 1.0)) (- (sqrt (exp x)) (sqrt 1.0))))
15.0ms
(sqrt (exp x))
12.0ms
(sqrt (exp x))
38.0ms
(- (sqrt (exp x)) (sqrt 1.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0312788
11384608
25001598

prune217.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (/ 1 x)) x)
0.2b
(* 1/144 (* x x))
0.4b
(* 1/12 x)
30.6b
(/ (+ (/ (- (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
171×times-frac
109×add-sqr-sqrt
106×add-cube-cbrt *-un-lft-identity
52×distribute-lft-neg-in distribute-rgt-neg-in
33×associate-/l*
15×add-exp-log add-cbrt-cube
11×pow1
10×div-inv
associate-*l* associate-/r*
neg-mul-1 associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
div-sub associate-/l/
cbrt-undiv neg-sub0 frac-2neg div-exp clear-num associate-/r/ *-commutative unswap-sqr
associate-+l- flip3-- flip3-+ distribute-frac-neg flip-- flip-+ distribute-neg-frac
Counts
4 → 207
Calls
4 calls:
12.0ms
(/ (- (/ 1 x)) x)
6.0ms
(* 1/144 (* x x))
3.0ms
(* 1/12 x)
157.0ms
(/ (+ (/ (- (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- (/ 1 x)) x)
26.0ms
(* 1/144 (* x x))
14.0ms
(* 1/12 x)
143.0ms
(/ (+ (/ (- (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

simplify76.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07931686
130621440
250011417

prune369.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes53.0ms

Accuracy

98.2% (0.4b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 21.8b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02616
12616

end0.0ms

sample1.1s

Algorithm
intervals
Results
369.0ms2201×body1280valid
262.0ms2461×body10240exit
170.0ms1644×body640valid
55.0ms839×body320valid
53.0ms2910×body80valid
17.0ms407×body160valid