Details

Time bar (total: 2.3s)

sample20.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.520795%

Results
6.0ms71×body640valid
3.0ms134×body80valid
3.0ms40×body320valid
1.0ms11×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: 15.3b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
5.0ms
(/ 1.0 (+ x 1.0))
17.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 (23.0ms)

IterNodesCost
0266392
1898369
24171367
35002367

prune107.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New60464
Fresh000
Picked101
Done000
Total61465

Merged error: 0.4b

Counts
65 → 4

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.2b
(- x (+ x 1.0))

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

simplify53.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0345395
12045325
25003316

prune85.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh213
Picked101
Done000
Total71576

Merged error: 0.0b

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

rewrite79.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:
11.0ms
(/ 1.0 (/ (+ x 1.0) (- 0 1.0)))
26.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)

simplify87.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015825673
150015480

prune909.0ms

Filtered
317 candidates to 480 candidates (-51.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New4773480
Fresh224
Picked011
Done000
Total4796485

Merged error: 0b

Counts
485 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.4b
(/ (* 1.0 1.0) (neg (* (+ x 1.0) x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt times-frac associate-/r*
pow1 associate-*l* associate-*l/
associate-*r*
cbrt-undiv distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ distribute-neg-frac add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 50
Calls
2 calls:
5.0ms
(* (+ x 1.0) x)
5.0ms
(/ (* 1.0 1.0) (neg (* (+ x 1.0) x)))

series7.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* (+ x 1.0) x)
3.0ms
(/ (* 1.0 1.0) (neg (* (+ x 1.0) x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0283310
11533268
25001268

prune59.0ms

Filtered
41 candidates to 56 candidates (-36.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New55156
Fresh134
Picked011
Done011
Total56662

Merged error: 0b

Counts
62 → 6

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

sample542.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.520795%

Results
182.0ms1960×body640valid
106.0ms4185×body80valid
90.0ms1264×body320valid
27.0ms592×body160valid

Profiling

Loading profile data...