Details

Time bar (total: 6.7s)

analyze4.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.057979%

Guaranteed chance to sample good point: 99.987792%

sample19.0ms

Algorithm
intervals
Results
7.0ms72×body640valid
3.0ms125×body80valid
3.0ms40×body320valid
1.0ms19×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: 13.5b

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

rewrite27.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))
20.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

prune101.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.4b

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

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

prune81.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh022
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)

rewrite74.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:
14.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)

simplify92.0ms

Algorithm
egg-herbie
Counts
480 → 480
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015825673
150015480

prune982.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New4782480
Fresh033
Picked011
Done011
Total4787485

Merged error: 0b

Counts
485 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))) (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))))
0.4b
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
0.4b
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
0.4b
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
1254×times-frac
1135×*-un-lft-identity
737×cbrt-prod
723×add-sqr-sqrt
475×add-cube-cbrt
159×distribute-lft-out
152×swap-sqr
132×distribute-lft-out--
96×difference-of-squares
86×associate-*r* associate-*l*
49×associate-/r/
28×div-inv
21×flip3-- flip--
16×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 → 637
Calls
4 calls:
119.0ms
(* (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))) (cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0)))))
11.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
11.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))
11.0ms
(cbrt (/ 1.0 (/ (+ x 1.0) (- 0 1.0))))

series52.0ms

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

simplify215.0ms

Algorithm
egg-herbie
Counts
649 → 649
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
0110511063
1475210961
2500110839

prune4.0s

Filtered
399 candidates to 649 candidates (-62.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New6490649
Fresh044
Picked011
Done022
Total6497656

Merged error: 0b

Counts
656 → 7

regimes38.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

analyze4.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.057979%

Guaranteed chance to sample good point: 99.987792%

sample478.0ms

Algorithm
intervals
Results
168.0ms1867×body640valid
106.0ms4252×body80valid
88.0ms1251×body320valid
29.0ms630×body160valid

Profiling

Loading profile data...