Details

Time bar (total: 2.5s)

sample21.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 100%

Space saved by search: 100%

Guaranteed chance to sample good point: 100%

Results
7.0ms256×pre80true
5.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.3b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
7.5b
(- (/ x0 (- 1.0 x1)) x0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
16×times-frac
12×add-cube-cbrt
difference-of-squares
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
5.0ms
(/ x0 (- 1.0 x1))
14.0ms
(- (/ x0 (- 1.0 x1)) x0)

series12.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ x0 (- 1.0 x1))
7.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify92.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0244328
1801315
23109310
35001310

prune65.0ms

Filtered
44 candidates to 58 candidates (-31.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 7.3b

Counts
59 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
1.0b
(/ x0 (- 1.0 x1))
1.0b
(/ x0 (- 1.0 x1))
7.0b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
54×*-un-lft-identity
34×times-frac
26×add-cube-cbrt
20×sqrt-prod difference-of-squares
12×distribute-lft-out--
11×associate-*r*
10×add-exp-log associate-/r* add-cbrt-cube
pow1 flip3-- flip-- associate-/l* add-log-exp
associate-*l*
frac-times associate-/r/
sub-neg flip3-+ flip-+
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in associate-*r/ div-exp associate-*l/ clear-num div-inv distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 134
Calls
4 calls:
30.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
7.0ms
(/ x0 (- 1.0 x1))
5.0ms
(/ x0 (- 1.0 x1))
14.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series60.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (+ (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
6.0ms
(/ x0 (- 1.0 x1))
6.0ms
(/ x0 (- 1.0 x1))
12.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify65.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04791254
122181139
250021119

prune216.0ms

Filtered
106 candidates to 146 candidates (-37.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1442146
Fresh101
Picked101
Done000
Total1462148

Merged error: 5.9b

Counts
148 → 2

localize21.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
5.8b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
7.0b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
7.5b
(+ (/ x0 (- 1.0 x1)) (neg x0))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
130×add-sqr-sqrt
66×sqrt-prod
60×difference-of-squares
42×unpow-prod-down cube-prod
36×*-un-lft-identity
16×times-frac
14×sqr-pow
13×distribute-lft-out--
12×add-log-exp
11×associate-*r*
10×associate-*l/
frac-times
flip3-- flip3-+ flip-- flip-+
pow1 add-exp-log add-cube-cbrt sqrt-div frac-add add-cbrt-cube
sub-neg
associate-*l*
distribute-rgt-in distribute-lft-in diff-log associate-*r/ sum-log distribute-lft-out
difference-cubes +-commutative neg-sub0 associate-+r- distribute-rgt-neg-in unsub-neg pow-prod-down neg-log prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 151
Calls
4 calls:
30.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
49.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
15.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
17.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

series79.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (+ (+ (/ x0 (- 1.0 x1)) x0) (* (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))) (- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0)))
27.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
12.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))
7.0ms
(+ (/ x0 (- 1.0 x1)) (neg x0))

simplify109.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07642500
137102382
250012380

prune342.0ms

Filtered
91 candidates to 163 candidates (-79.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1621163
Fresh011
Picked101
Done000
Total1632165

Merged error: 4.7b

Counts
165 → 2

localize24.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ x0 (- 1.0 x1))
5.8b
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
6.7b
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
7.0b
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
130×add-sqr-sqrt
59×difference-of-squares
57×sqrt-prod
44×*-un-lft-identity
42×unpow-prod-down cube-prod
29×times-frac
15×distribute-lft-out--
14×add-cube-cbrt sqr-pow
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 flip3-- flip--
sub-neg diff-log associate-/l*
associate-/r/
difference-cubes cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 140
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
49.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
11.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
15.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

series52.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x0 (- 1.0 x1))
24.0ms
(- (pow (sqrt (/ x0 (- 1.0 x1))) 3) (pow (sqrt x0) 3))
11.0ms
(- (* (/ x0 (- 1.0 x1)) (/ x0 (- 1.0 x1))) (* x0 x0))
11.0ms
(- (sqrt (/ x0 (- 1.0 x1))) (sqrt x0))

simplify75.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05941716
122821652
250011652

prune365.0ms

Filtered
87 candidates to 152 candidates (-74.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1511152
Fresh011
Picked101
Done000
Total1522154

Merged error: 4.7b

Counts
154 → 2

regimes86.0ms

Accuracy

0% (0.8b remaining)

Error of 5.5b against oracle of 4.7b and baseline of 5.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03143
13343
23343

end0.0ms

sample534.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 100%

Space saved by search: 100%

Guaranteed chance to sample good point: 100%

Results
213.0ms8000×pre80true
163.0ms8000×body80valid

Profiling

Loading profile data...