Details

Time bar (total: 2.7s)

sample26.0ms

Algorithm
intervals
Results
9.0ms39×body320valid
4.0ms53×body640valid
3.0ms144×body80valid
1.0ms20×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1124
2124

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

series84.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ 1.0 (+ x 1.0))
58.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 x))

simplify157.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0266392
1898369
24171367
35002367

prune154.0ms

Filtered
64 candidates to 47 candidates (73.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New61364
Fresh000
Picked101
Done000
Total62365

Merged error: 0.6b

Counts
65 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series41.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0322315
11765251
25001242

prune93.0ms

Filtered
48 candidates to 31 candidates (64.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New46248
Fresh112
Picked101
Done000
Total48351

Merged error: 0.0b

Counts
51 → 3

localize7.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)))
22.0ms
(/ (/ 1.0 (/ (+ x 1.0) (- 0 1.0))) x)

series64.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015825673
150015480

prune1.0s

Filtered
480 candidates to 317 candidates (66.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4782480
Fresh112
Picked011
Done000
Total4794483

Merged error: 0b

Counts
483 → 4

localize6.0ms

Local error

Found 1 expressions with local error:

0.6b
(/ (* 1.0 1.0) (neg (* (+ x 1.0) x)))

rewrite6.0ms

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

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(/ (* 1.0 1.0) (neg (* (+ x 1.0) x)))

simplify31.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0220224
11074194
25001194

prune64.0ms

Filtered
32 candidates to 25 candidates (78.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh022
Picked011
Done011
Total32436

Merged error: 0b

Counts
36 → 4

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

sample633.0ms

Algorithm
intervals
Results
224.0ms1242×body320valid
161.0ms1898×body640valid
99.0ms4215×body80valid
27.0ms645×body160valid

Profiling

Loading profile data...