Details

Time bar (total: 2.8s)

sample37.0ms

Algorithm
intervals
Results
13.0ms73×body1280valid
6.0ms54×body640valid
5.0ms88×body80overflowed
2.0ms89×body80valid
2.0ms26×body320valid
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.3b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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)

series41.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune122.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
11×add-exp-log associate-*l*
times-frac add-cbrt-cube
associate-*r*
pow1 unswap-sqr
unpow-prod-down prod-exp
associate-/r* associate-/l* add-log-exp
flip3-+ associate-*r/ associate-/r/ *-commutative cbrt-unprod flip-+ unpow2 sqr-pow
cbrt-undiv distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in div-exp pow-prod-down pow-exp clear-num div-inv
Counts
3 → 78
Calls
3 calls:
11.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
13.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series128.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
68.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
14.0ms
(* x 1/6)

simplify62.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0401620
11835574
25001572

prune195.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp x) (exp x))
0.0b
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
0.0b
(+ (exp x) 1.0)
3.1b
(- (* (exp x) (exp x)) (* 1.0 1.0))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
26×add-sqr-sqrt
24×add-cube-cbrt
18×exp-prod
16×times-frac
11×pow1
add-cbrt-cube add-log-exp
add-exp-log distribute-lft-out difference-of-squares
pow-prod-down associate-/r* pow-sqr pow-prod-up associate-/l*
swap-sqr associate-*r* associate-*l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative pow2 sub-neg frac-2neg pow-plus diff-log div-sub div-exp prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 100
Calls
4 calls:
8.0ms
(* (exp x) (exp x))
24.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
4.0ms
(+ (exp x) 1.0)
7.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

series101.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (exp x) (exp x))
49.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
8.0ms
(+ (exp x) 1.0)
31.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0376823
11712737
25001719

prune223.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (/ (- (exp (* 2 x)) (* 1.0 1.0)) (+ (exp x) 1.0)))
0.0b
(/ (- (exp (* 2 x)) (* 1.0 1.0)) (+ (exp x) 1.0))
0.0b
(+ (exp x) 1.0)
3.1b
(- (exp (* 2 x)) (* 1.0 1.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
146×times-frac
117×*-un-lft-identity
95×add-sqr-sqrt
73×add-cube-cbrt
26×associate-/r*
22×distribute-lft-out difference-of-squares
11×associate-/r/ add-cbrt-cube
add-exp-log
add-log-exp
associate-/l*
flip3-+ flip-+ div-inv
pow1 cbrt-undiv div-exp
flip3-- frac-2neg clear-num flip-- associate-/l/
+-commutative sub-neg diff-log div-sub sum-log
Counts
4 → 172
Calls
4 calls:
15.0ms
(/ (exp x) (/ (- (exp (* 2 x)) (* 1.0 1.0)) (+ (exp x) 1.0)))
13.0ms
(/ (- (exp (* 2 x)) (* 1.0 1.0)) (+ (exp x) 1.0))
4.0ms
(+ (exp x) 1.0)
3.0ms
(- (exp (* 2 x)) (* 1.0 1.0))

series122.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (exp x) (/ (- (exp (* 2 x)) (* 1.0 1.0)) (+ (exp x) 1.0)))
43.0ms
(/ (- (exp (* 2 x)) (* 1.0 1.0)) (+ (exp x) 1.0))
8.0ms
(+ (exp x) 1.0)
18.0ms
(- (exp (* 2 x)) (* 1.0 1.0))

simplify90.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06472545
128842437
250022432

prune435.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

0% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample948.0ms

Algorithm
intervals
Results
410.0ms2229×body1280valid
201.0ms1721×body640valid
61.0ms2880×body80valid
58.0ms778×body320valid
50.0ms2550×body80overflowed
19.0ms394×body160valid