Details

Time bar (total: 1.9s)

sample41.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 25.32016%

Space saved by search: 50.102526%

Guaranteed chance to sample good point: 99.995433%

Results
18.0ms118×body1280valid
7.0ms80×body640valid
3.0ms256×pre80true
2.0ms36×body320valid
1.0ms16×body160valid
0.0msbody80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
062
172
272

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.6b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

4.2b
(- (exp x) 1.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 14
Calls
1 calls:
4.0ms
(- (exp x) 1.0)

series2.0ms

Counts
1 → 3
Calls
1 calls:
2.0ms
(- (exp x) 1.0)

simplify52.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
08172
118567
249966
3139966
4500266

prune35.0ms

Filtered
12 candidates to 17 candidates (-41.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New14317
Fresh000
Picked101
Done000
Total15318

Merged error: 0.1b

Counts
18 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series8.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0247238
11168215
25001215

prune62.0ms

Filtered
35 candidates to 55 candidates (-57.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New55055
Fresh022
Picked011
Done000
Total55358

Merged error: 0.1b

Counts
58 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
25×add-sqr-sqrt
23×add-cube-cbrt
18×exp-prod
16×times-frac
10×pow1
add-cbrt-cube
difference-of-squares
add-exp-log distribute-lft-out add-log-exp
pow-prod-down associate-/r* pow-sqr pow-prod-up associate-/l*
swap-sqr associate-*r* associate-*l*
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv pow2 sub-neg frac-2neg flip3-+ pow-plus diff-log div-sub div-exp prod-exp clear-num *-commutative cbrt-unprod flip-+ div-inv unswap-sqr
Counts
3 → 88
Calls
3 calls:
10.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
6.0ms
(* (exp x) (exp x))
6.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

series15.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
3.0ms
(* (exp x) (exp x))
4.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0354763
11642683
25001665

prune107.0ms

Filtered
67 candidates to 97 candidates (-44.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New93497
Fresh101
Picked101
Done101
Total964100

Merged error: 0.1b

Counts
100 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 0.5 (pow x 2)) (+ (* 0.16666666666666663 (pow x 3)) (* 1.0 x)))
0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.16666666666666663 (pow x 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp unswap-sqr
add-cbrt-cube
associate-*l* prod-exp
cube-prod sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod unpow2
+-commutative cube-mult associate-+r+ flip3-+ unpow3 flip-+
Counts
3 → 71
Calls
3 calls:
7.0ms
(+ (* 0.5 (pow x 2)) (+ (* 0.16666666666666663 (pow x 3)) (* 1.0 x)))
5.0ms
(* 0.5 (pow x 2))
7.0ms
(* 0.16666666666666663 (pow x 3))

series11.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (* 0.5 (pow x 2)) (+ (* 0.16666666666666663 (pow x 3)) (* 1.0 x)))
3.0ms
(* 0.5 (pow x 2))
4.0ms
(* 0.16666666666666663 (pow x 3))

simplify47.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0306383
11342341
25002331

prune97.0ms

Filtered
49 candidates to 80 candidates (-63.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh033
Picked011
Done000
Total79584

Merged error: 0.1b

Counts
84 → 5

regimes84.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1187

end0.0ms

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 25.32016%

Space saved by search: 50.102526%

Guaranteed chance to sample good point: 99.995433%

Results
539.0ms3502×body1280valid
232.0ms2430×body640valid
88.0ms8001×pre80true
81.0ms1275×body320valid
23.0ms588×body160valid
4.0ms205×body80valid
0.0msbody80invalid

Profiling

Loading profile data...