Details

Time bar (total: 2.7s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0115
1125
2125

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
50×times-frac
45×add-sqr-sqrt
31×add-cube-cbrt
21×fma-def
11×distribute-lft-out
associate-/r* distribute-lft-out--
add-exp-log add-cbrt-cube difference-of-squares
associate-/r/ associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u div-inv
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+
+-commutative frac-add sum-log
Counts
3 → 114
Calls
3 calls:
48.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ x (+ x 1.0))

series183.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
32.0ms
(/ 1.0 (- x 1.0))
34.0ms
(/ x (+ x 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0400551
11470525
25001521

prune226.0ms

Filtered
123 candidates to 94 candidates (76.4%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
746×*-un-lft-identity
676×times-frac
586×add-sqr-sqrt
418×add-cube-cbrt
378×prod-diff
96×associate-/r/
85×distribute-lft-out--
76×difference-of-squares
74×distribute-lft-out
48×div-inv
39×unpow-prod-down cube-prod
27×swap-sqr
25×flip3-- flip--
24×flip3-+ flip-+
22×add-exp-log add-cbrt-cube
21×associate-*r* associate-*l*
18×fma-neg
13×pow1
cbrt-undiv pow-unpow div-exp add-log-exp
expm1-log1p-u pow-exp prod-exp cbrt-unprod log1p-expm1-u rem-cube-cbrt unswap-sqr
cube-div cube-mult pow-to-exp pow-pow unpow3 sqr-pow
pow2 frac-times sub-neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up frac-sub
Counts
4 → 641
Calls
4 calls:
67.0ms
(- (/ x (+ x 1.0)) (/ 1.0 (- x 1.0)))
8.0ms
(pow (/ x (+ x 1.0)) 3)
8.0ms
(pow (/ 1.0 (- x 1.0)) 3)
33.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- (/ x (+ x 1.0)) (/ 1.0 (- x 1.0)))
57.0ms
(pow (/ x (+ x 1.0)) 3)
48.0ms
(pow (/ 1.0 (- x 1.0)) 3)
47.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))

simplify152.0ms

Algorithm
egg-herbie
Counts
653 → 653
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
0192114052
1500110438

prune1.3s

Filtered
653 candidates to 280 candidates (42.9%)
Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01621
11621

end0.0ms

sample268.0ms

Algorithm
intervals
Results
181.0ms8000×body80valid