Details

Time bar (total: 3.1s)

sample28.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
0.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

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

rewrite46.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:
4.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:
3.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)))

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune165.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
(/ x (+ x 1.0))
0.0b
(/ 1 (- x 1.0))
0.1b
(* (+ x 1.0) (/ 1 (- x 1.0)))
6.8b
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

rewrite37.0ms

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

series14.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0576948
12837860
25001818

prune164.0ms

Filtered
99 candidates to 153 candidates (-54.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh022
Picked011
Done000
Total1524156

Merged error: 0.0b

Counts
156 → 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)))))

rewrite267.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))
22.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
8.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
202.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

series26.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))))
13.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)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
491 → 491
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
011616935
150026229

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

rewrite152.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:
53.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
6.0ms
(/ (neg 1.0) (pow x 2))
5.0ms
(/ 3.0 (pow x 3))
78.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series19.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
6.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)))

simplify94.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07381746
134221585
250021567

prune288.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

bsearch30.0ms

Steps
ItersRangePoint
10
1.4437145156770081e-08
53458.31144213736
11236.57622642589
10
-956708306565.215
-1.9686106269625575e-07
-9937.082738856892

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample762.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 99.993896%

Results
268.0ms1738×body1280valid
152.0ms1251×body640valid
129.0ms4073×body80valid
58.0ms613×body320valid
22.0ms325×body160valid

Profiling

Loading profile data...