Details

Time bar (total: 2.3s)

sample31.0ms

Algorithm
intervals
Results
13.0ms75×body1280valid
5.0ms56×body640valid
3.0ms180×body80valid
1.0ms22×body320valid
1.0ms17×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.9b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

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

series53.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(/ (- (exp x) 1.0) x)
16.0ms
(- (exp x) 1.0)

simplify76.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune116.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
0.2b
(* 1/6 (pow x 2))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp sum-log
pow1 unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 40
Calls
2 calls:
21.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
13.0ms
(* 1/6 (pow x 2))

series46.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
25.0ms
(* 1/6 (pow x 2))

simplify34.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0201222
1825201
25001198

prune80.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (log (exp (* 1/6 (pow x 2)))) (+ (* 1/2 x) 1))
0.0b
(exp (* 1/6 (pow x 2)))
0.2b
(* 1/6 (pow x 2))
1.7b
(log (exp (* 1/6 (pow x 2))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
10×add-log-exp
add-exp-log add-cube-cbrt
associate-*r*
pow1 log-prod add-cbrt-cube
unpow-prod-down log-pow unswap-sqr
associate-+l+ associate-*l* prod-exp sum-log
exp-prod exp-to-pow distribute-lft-out unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ rem-log-exp pow-exp *-commutative cbrt-unprod flip-+ rem-exp-log
Counts
4 → 69
Calls
4 calls:
23.0ms
(+ (log (exp (* 1/6 (pow x 2)))) (+ (* 1/2 x) 1))
5.0ms
(exp (* 1/6 (pow x 2)))
13.0ms
(* 1/6 (pow x 2))
3.0ms
(log (exp (* 1/6 (pow x 2))))

series81.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (log (exp (* 1/6 (pow x 2)))) (+ (* 1/2 x) 1))
11.0ms
(exp (* 1/6 (pow x 2)))
27.0ms
(* 1/6 (pow x 2))
24.0ms
(log (exp (* 1/6 (pow x 2))))

simplify36.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0248405
1989343
25002342

prune166.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.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) 1.0)
50.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
17.0ms
(* (exp x) (exp x))
18.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

series91.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (exp x) 1.0)
44.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
15.0ms
(* (exp x) (exp x))
24.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0376823
11712737
25001719

prune207.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes18.0ms

Accuracy

98.6% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 21.9b

bsearch33.0ms

Steps
ItersRangePoint
9
-0.04331797882383785
-1.989428328455626e-07
-0.00010696052970747946

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample891.0ms

Algorithm
intervals
Results
379.0ms2235×body1280valid
174.0ms1724×body640valid
98.0ms5401×body80valid
53.0ms810×body320valid
18.0ms411×body160valid