Details

Time bar (total: 2.5s)

sample39.0ms

Algorithm
intervals
Results
15.0ms81×body1280valid
7.0ms56×body640valid
3.0ms160×body80valid
2.0ms26×body320valid
1.0ms14×body160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.3b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
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-/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:
7.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series7.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(/ (- (exp x) 1.0) x)
2.0ms
(- (exp x) 1.0)

simplify75.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune143.0ms

Filtered
58 candidates to 43 candidates (25.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 0b

Counts
59 → 4

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

rewrite13.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:
7.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
5.0ms
(* 1/6 (pow x 2))

series6.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0201222
1825201
25001198

prune92.0ms

Filtered
46 candidates to 29 candidates (37.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New45146
Fresh123
Picked101
Done000
Total47350

Merged error: 0b

Counts
50 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in flip3-+ flip-+
Counts
2 → 40
Calls
2 calls:
5.0ms
(* x (+ 1/2 (* x 1/6)))
4.0ms
(* x 1/6)

series8.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* x (+ 1/2 (* x 1/6)))
2.0ms
(* x 1/6)

simplify111.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0178158
1781143
24248142
35001142

prune110.0ms

Filtered
46 candidates to 29 candidates (37.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh022
Picked011
Done000
Total46349

Merged error: 0b

Counts
49 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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:
4.0ms
(+ (exp x) 1.0)
6.0ms
(* (exp x) (exp x))
12.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
6.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

series18.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ (exp x) 1.0)
3.0ms
(* (exp x) (exp x))
10.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
4.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0376823
11712737
25001719

prune539.0ms

Filtered
112 candidates to 78 candidates (30.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh011
Picked011
Done011
Total1123115

Merged error: 0b

Counts
115 → 3

regimes36.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.3b

bsearch35.0ms

Steps
ItersRangePoint
8
-0.0038973504402139516
-5.93144934820363e-07
-0.00017550882047531985

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample1.0s

Algorithm
intervals
Results
425.0ms2290×body1280valid
206.0ms1623×body640valid
117.0ms5463×body80valid
64.0ms822×body320valid
22.0ms436×body160valid

Profiling

Loading profile data...