Details

Time bar (total: 1.7s)

analyze122.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 98.05603%

sample20.0ms

Algorithm
intervals
Results
6.0ms200×body80valid
2.0ms21×body640valid
2.0ms15×body1280valid
1.0ms12×body320valid
0.0msbody160valid

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150015

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.9b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.3b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.2b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite26.0ms

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

series22.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (- 1.0 x) y)
11.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0338401
11456359
25001359

prune109.0ms

Filtered
51 candidates to 72 candidates (-41.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New66672
Fresh000
Picked101
Done000
Total67673

Merged error: 0.1b

Counts
73 → 6

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ y 1.0) y)
0.1b
(/ (- 1.0 x) (/ (+ y 1.0) y))
2.3b
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
167×times-frac
157×*-un-lft-identity
120×add-sqr-sqrt
77×add-cube-cbrt
22×distribute-lft-out
20×difference-of-squares
19×associate-/r*
18×distribute-lft-out--
10×add-exp-log add-cbrt-cube
associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp associate-/l/
pow1
flip3-- frac-2neg div-sub clear-num flip--
sub-neg flip3-+ diff-log associate-/r/ flip-+ associate--r-
Counts
3 → 169
Calls
3 calls:
5.0ms
(/ (+ y 1.0) y)
11.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
29.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

series22.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (+ y 1.0) y)
6.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
11.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

simplify74.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06891514
126461460
250021460

prune213.0ms

Filtered
117 candidates to 178 candidates (-52.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1771178
Fresh325
Picked011
Done000
Total1804184

Merged error: 0.1b

Counts
184 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1.0 x) (+ y 1.0))
0.1b
(* (/ (- 1.0 x) (+ y 1.0)) y)
3.5b
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
48×add-sqr-sqrt
41×times-frac
26×associate-*l*
25×add-cube-cbrt
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l* add-log-exp
associate-/r* associate-/r/
associate-*r*
cbrt-undiv flip3-- flip3-+ div-exp prod-exp flip-- cbrt-unprod flip-+ div-inv associate-/l/ unswap-sqr
sub-neg frac-2neg diff-log div-sub pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 103
Calls
3 calls:
10.0ms
(/ (- 1.0 x) (+ y 1.0))
11.0ms
(* (/ (- 1.0 x) (+ y 1.0)) y)
3.0ms
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

series23.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ (- 1.0 x) (+ y 1.0))
6.0ms
(* (/ (- 1.0 x) (+ y 1.0)) y)
12.0ms
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0434707
11480660
25001654

prune128.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh022
Picked011
Done011
Total1124116

Merged error: 0.1b

Counts
116 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

2.3b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.2b
(/ (* (- 1.0 x) y) (+ y 1.0))
10.2b
(/ (* (- 1.0 x) y) (+ y 1.0))
10.2b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-exp-log add-cbrt-cube
12×add-sqr-sqrt times-frac associate-/r*
10×add-cube-cbrt
cbrt-undiv div-exp associate-*l/ associate-/r/ associate-/l/ distribute-lft-out add-log-exp
pow1 flip3-- flip--
frac-2neg flip3-+ prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l*
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 95
Calls
4 calls:
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series31.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
6.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
7.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0287648
11151575
25001574

prune417.0ms

Filtered
79 candidates to 107 candidates (-35.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh011
Picked101
Done022
Total1074111

Merged error: 0.1b

Counts
111 → 4

regimes145.0ms

bsearch0.0ms

Profiling

Loading profile data...