Details

Time bar (total: 3.1s)

sample29.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.993896%

Results
8.0ms54×body1280valid
5.0ms41×body640valid
4.0ms135×body80valid
2.0ms18×body320valid
1.0msbody160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.2b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
1.9b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ x (+ x 1.0))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune166.0ms

Filtered
76 candidates to 113 candidates (-48.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.0b

Counts
114 → 3

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(* x (/ 1 (+ x 1.0)))
6.8b
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
50×add-sqr-sqrt
46×times-frac
33×add-cube-cbrt
19×add-exp-log
18×associate-*r*
13×add-cbrt-cube distribute-lft-out
associate-/r*
pow1 associate-/l*
associate-/r/ add-log-exp
div-exp distribute-lft-out-- difference-of-squares
prod-exp
cbrt-undiv flip3-+ associate-*l* flip-+ div-inv unswap-sqr
rec-exp flip3-- frac-2neg 1-exp associate-*r/ clear-num un-div-inv frac-sub flip-- cbrt-unprod associate-/l/
sub-neg pow-flip diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 137
Calls
4 calls:
5.0ms
(/ 1 (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
10.0ms
(* x (/ 1 (+ x 1.0)))
15.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

series17.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0507873
12099791
25002752

prune154.0ms

Filtered
92 candidates to 149 candidates (-62.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1481149
Fresh022
Picked011
Done000
Total1484152

Merged error: 0.0b

Counts
152 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
0.2b
(/ (- x 1.0) (sqrt (+ x 1.0)))
7.7b
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

rewrite289.0ms

Algorithm
rewrite-expression-head
Rules
645×times-frac
584×*-un-lft-identity
444×add-sqr-sqrt
362×sqrt-prod
261×add-cube-cbrt
93×distribute-lft-out
78×difference-of-squares
67×distribute-lft-out--
52×associate-/r*
21×associate-/r/
20×sqrt-div
15×associate-/l*
13×add-exp-log add-cbrt-cube
11×flip3-+ flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 associate-/l/
frac-2neg clear-num
flip3-- flip--
sub-neg diff-log div-sub frac-sub
Counts
4 → 479
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
21.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
9.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
216.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

series20.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ x (+ x 1.0))
3.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
7.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
7.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
491 → 491
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
011616935
150026229

prune641.0ms

Filtered
203 candidates to 491 candidates (-141.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4910491
Fresh022
Picked011
Done011
Total4914495

Merged error: 0.0b

Counts
495 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
0.4b
(/ (neg 1.0) (pow x 2))
0.4b
(/ 3.0 (pow x 3))
6.2b
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
57.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
7.0ms
(/ (neg 1.0) (pow x 2))
8.0ms
(/ 3.0 (pow x 3))
87.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series16.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
3.0ms
(/ (neg 1.0) (pow x 2))
3.0ms
(/ 3.0 (pow x 3))
4.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify95.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07381746
134221585
250021567

prune285.0ms

Filtered
129 candidates to 246 candidates (-90.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2442246
Fresh101
Picked011
Done022
Total2455250

Merged error: 0.0b

Counts
250 → 5

regimes49.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 29.5b

bsearch33.0ms

Steps
ItersRangePoint
10
1.4437145156770081e-08
53458.31144213736
11570.125805418835
10
-956708306565.215
-1.9686106269625575e-07
-12917.347634209089

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample786.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.993896%

Results
273.0ms1738×body1280valid
154.0ms1251×body640valid
134.0ms4073×body80valid
61.0ms613×body320valid
20.0ms325×body160valid

Profiling

Loading profile data...