Details

Time bar (total: 1.6s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

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: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
35×times-frac
30×add-sqr-sqrt
22×add-cube-cbrt
11×distribute-lft-out
associate-/r*
add-exp-log add-cbrt-cube
associate-/l* distribute-lft-out--
add-log-exp
associate-/r/ difference-of-squares
pow1
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
+-commutative flip3-- frac-add sum-log flip--
Counts
3 → 87
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
24.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))

series201.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ x (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
132.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0379534
11365507
25001502

prune173.0ms

Filtered
96 candidates to 70 candidates (72.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New95196
Fresh000
Picked101
Done000
Total96197

Merged error: 0b

Counts
97 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
204×*-un-lft-identity
167×times-frac
158×add-sqr-sqrt
90×add-cube-cbrt
51×swap-sqr
39×associate-*r* associate-*l*
30×add-exp-log add-cbrt-cube
29×distribute-lft-out--
20×distribute-lft-out difference-of-squares
18×pow1 associate-/r/
cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod unswap-sqr
flip3-- flip-- add-log-exp
associate-/r*
flip3-+ flip-+
associate-/l*
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up
sub-neg frac-2neg diff-log clear-num frac-sub
Counts
4 → 244
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
29.0ms
(- (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
19.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
21.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))

series216.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ 1.0 (- x 1.0))
97.0ms
(- (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
50.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
40.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
256 → 256
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010471994
150011826

prune491.0ms

Filtered
256 candidates to 159 candidates (62.1%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New2560256
Fresh000
Picked011
Done000
Total2561257

Merged error: 0b

Counts
257 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01217
11217

end0.0ms

sample273.0ms

Algorithm
intervals
Results
186.0ms8000×body80valid