Details

Time bar (total: 18.4s)

sample22.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.003052%

Guaranteed chance to sample good point: 99.990844%

Results
6.0ms72×body640valid
3.0ms131×body80valid
2.0ms37×body320valid
1.0ms16×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.6b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
28×times-frac
27×add-sqr-sqrt
15×add-cube-cbrt
distribute-lft-out--
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp difference-of-squares
div-inv associate-/l*
pow1 associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-- flip-+
Counts
2 → 58
Calls
2 calls:
9.0ms
(/ 1.0 (+ x 1.0))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series6.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(/ 1.0 (+ x 1.0))
4.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify153.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0266392
1898369
24171367
35002367

prune98.0ms

Filtered
47 candidates to 64 candidates (-36.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh000
Picked101
Done000
Total62365

Merged error: 0.3b

Counts
65 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
1.7b
(- x (+ x 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
12×*-un-lft-identity
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l* associate-*l/
associate-*r*
flip3-- flip3-+ diff-log associate-*r/ associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out distribute-lft-out--
sub-neg frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* associate--r+ difference-of-squares unswap-sqr
Counts
3 → 63
Calls
3 calls:
5.0ms
(* (+ x 1.0) x)
11.0ms
(/ (* 1.0 (- x (+ x 1.0))) (* (+ x 1.0) x))
5.0ms
(- x (+ x 1.0))

series8.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0345395
12045325
25003316

prune82.0ms

Filtered
48 candidates to 72 candidates (-50.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New69372
Fresh112
Picked011
Done000
Total70575

Merged error: 0.0b

Counts
75 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
0.1b
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
959×times-frac
669×*-un-lft-identity
509×add-sqr-sqrt
381×add-cube-cbrt
86×associate-/l*
80×distribute-lft-out
64×distribute-lft-out-- difference-of-squares
37×associate-/r/
29×associate-/r*
22×div-inv
16×add-exp-log flip3-- add-cbrt-cube flip--
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
associate-/l/
Counts
2 → 474
Calls
2 calls:
10.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
23.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series5.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
015825673
150015480

prune907.0ms

Filtered
316 candidates to 480 candidates (-51.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4791480
Fresh213
Picked011
Done011
Total4814485

Merged error: 0b

Counts
485 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)) (cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)))
15.3b
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))
15.3b
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))
15.3b
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))

rewrite1.3s

Algorithm
rewrite-expression-head
Rules
5889×times-frac
4109×*-un-lft-identity
2815×add-sqr-sqrt
2207×cbrt-prod
2129×add-cube-cbrt
477×distribute-lft-out
454×swap-sqr
396×distribute-lft-out--
288×difference-of-squares
256×associate-*r* associate-*l*
147×associate-/r/
91×div-inv
63×flip3-- flip--
25×unswap-sqr
11×pow1
pow1/3
cbrt-div
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 1798
Calls
4 calls:
722.0ms
(* (cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)) (cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)))
28.0ms
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))
25.0ms
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))
28.0ms
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))

series60.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)) (cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)))
12.0ms
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))
12.0ms
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))
12.0ms
(cbrt (/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x))

simplify411.0ms

Algorithm
egg-herbie
Counts
1810 → 1810
Iterations

Useful iterations: 1 (62.0ms)

IterNodesCost
0295239514
1500239412

prune14.5s

Filtered
1088 candidates to 1810 candidates (-66.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New181001810
Fresh011
Picked011
Done022
Total181041814

Merged error: 0b

Counts
1814 → 4

regimes29.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample531.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.003052%

Guaranteed chance to sample good point: 99.990844%

Results
181.0ms1972×body640valid
103.0ms4167×body80valid
82.0ms1238×body320valid
28.0ms623×body160valid

Profiling

Loading profile data...