Details

Time bar (total: 2.5s)

sample29.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
9.0ms64×body1280valid
4.0ms126×body80valid
4.0ms33×body640valid
2.0ms22×body320valid
1.0ms11×body160valid

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: 30.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
40×times-frac
35×add-sqr-sqrt
18×distribute-lft-out--
14×distribute-lft-out
13×add-cube-cbrt
difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ div-inv
Counts
2 → 71
Calls
2 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
34.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series10.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify145.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0317591
11003565
24494559
35003559

prune128.0ms

Filtered
50 candidates to 77 candidates (-54.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New72577
Fresh000
Picked101
Done000
Total73578

Merged error: 0.2b

Counts
78 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×*-un-lft-identity
32×times-frac
23×add-cube-cbrt
21×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 frac-sub
associate-/r* add-log-exp
frac-times flip3-+ div-exp associate-*l* associate-*l/ prod-exp associate-/r/ flip-+
flip3-- flip-- associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp associate-*r/ un-div-inv cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log pow-prod-down clear-num *-commutative distribute-lft-out inv-pow
Counts
3 → 108
Calls
3 calls:
5.0ms
(/ 1 (- x 1.0))
13.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
9.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

series12.0ms

Counts
3 → 9
Calls
3 calls:
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))))

simplify64.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0499779
12438701
25001647

prune123.0ms

Filtered
68 candidates to 117 candidates (-72.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh044
Picked011
Done000
Total1175122

Merged error: 0.2b

Counts
122 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3.0 (+ (/ 1 x) (/ 1 (pow x 3))))
0.3b
(/ 1 (pow x 3))
0.3b
(/ (neg 1.0) (pow x 2))
4.6b
(- (/ (neg 1.0) (pow x 2)) (* 3.0 (+ (/ 1 x) (/ 1 (pow x 3)))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
131×times-frac
101×*-un-lft-identity
86×add-sqr-sqrt
84×add-cube-cbrt
45×unpow-prod-down
27×distribute-lft-neg-in distribute-rgt-neg-in
20×add-exp-log associate-/r*
16×associate-*r*
15×sqr-pow
13×associate-/l*
12×cube-prod
11×unpow2
10×unpow3 add-cbrt-cube
neg-mul-1 div-exp
div-inv distribute-lft-out
pow1 associate-*r/ add-log-exp
distribute-rgt-out
cube-mult pow-to-exp pow-exp
rec-exp 1-exp associate-*l* frac-sub
cbrt-undiv neg-sub0 distribute-rgt-in frac-2neg distribute-lft-in flip3-+ div-sub frac-add clear-num flip-+ associate--r+
associate--l- sub-neg flip3-- pow-flip diff-log distribute-frac-neg pow-prod-down distribute-rgt1-in prod-exp *-commutative flip-- cbrt-unprod inv-pow unswap-sqr
Counts
4 → 241
Calls
4 calls:
34.0ms
(* 3.0 (+ (/ 1 x) (/ 1 (pow x 3))))
5.0ms
(/ 1 (pow x 3))
7.0ms
(/ (neg 1.0) (pow x 2))
23.0ms
(- (/ (neg 1.0) (pow x 2)) (* 3.0 (+ (/ 1 x) (/ 1 (pow x 3)))))

series17.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
07921515
146361252
250011238

prune290.0ms

Filtered
123 candidates to 253 candidates (-105.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2521253
Fresh033
Picked101
Done011
Total2535258

Merged error: 0b

Counts
258 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 3.0 x) (/ 3.0 (pow x 3)))
0.3b
(/ 3.0 (pow x 3))
0.3b
(/ (neg 1.0) (pow x 2))
4.6b
(- (/ (neg 1.0) (pow x 2)) (+ (/ 3.0 x) (/ 3.0 (pow x 3))))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
113×*-un-lft-identity
94×add-sqr-sqrt
82×add-cube-cbrt
46×unpow-prod-down
28×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
16×sqr-pow
14×add-exp-log
13×associate-/l*
12×cube-prod unpow2
11×add-log-exp
neg-mul-1 unpow3
add-cbrt-cube distribute-lft-out
div-exp
difference-of-squares
pow1 cube-mult distribute-rgt-out div-inv distribute-lft-out--
frac-sub
cbrt-undiv neg-sub0 pow-to-exp frac-2neg flip3-+ diff-log div-sub frac-add pow-exp clear-num sum-log flip-+
+-commutative associate--l- sub-neg flip3-- distribute-frac-neg distribute-rgt1-in flip-- associate--r+
Counts
4 → 228
Calls
4 calls:
26.0ms
(+ (/ 3.0 x) (/ 3.0 (pow x 3)))
5.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ (neg 1.0) (pow x 2))
84.0ms
(- (/ (neg 1.0) (pow x 2)) (+ (/ 3.0 x) (/ 3.0 (pow x 3))))

series21.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07491634
139131435
250011433

prune294.0ms

Filtered
132 candidates to 240 candidates (-81.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2400240
Fresh033
Picked011
Done011
Total2405245

Merged error: 0b

Counts
245 → 5

regimes46.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch52.0ms

Steps
ItersRangePoint
11
6.5916173492213286e-09
1894315959611.4365
7922.853945838826
9
-1231365629.8151755
-6.487422286971009
-6970.534977222905

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03421
13421

end0.0ms

sample718.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
268.0ms1736×body1280valid
154.0ms1247×body640valid
126.0ms4093×body80valid
59.0ms637×body320valid
17.0ms287×body160valid

Profiling

Loading profile data...