Details

Time bar (total: 1.6s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

rewrite41.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:
26.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
5.0ms
(/ 1.0 (- x 1.0))
6.0ms
(/ x (+ x 1.0))

series192.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
29.0ms
(/ 1.0 (- x 1.0))
38.0ms
(/ x (+ x 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0400551
11470525
25001521

prune230.0ms

Filtered
123 candidates to 94 candidates (76.4%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1221123
Fresh000
Picked101
Done000
Total1231124

Merged error: 0b

Counts
124 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
0.0b
(/ x (+ x 1.0))
0.6b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
11.7b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
37×times-frac
36×add-sqr-sqrt
31×add-cube-cbrt
18×associate-*l*
13×add-exp-log add-cbrt-cube
associate-/r*
difference-of-squares
pow1 flip3-+ associate-/r/ flip-+ associate-/l* add-log-exp
frac-add distribute-lft-out
expm1-log1p-u frac-times associate-*r/ associate-*r* log1p-expm1-u
cbrt-undiv div-exp div-inv
distribute-rgt-in associate-+l+ flip3-- frac-2neg distribute-lft-in associate-*l/ prod-exp clear-num flip-- cbrt-unprod unswap-sqr
+-commutative fma-def pow-prod-down sum-log *-commutative
Counts
4 → 137
Calls
4 calls:
15.0ms
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
5.0ms
(/ x (+ x 1.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
12.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

series306.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
38.0ms
(/ x (+ x 1.0))
48.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
50.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08171171
141901086
250011081

prune331.0ms

Filtered
149 candidates to 121 candidates (81.2%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1490149
Fresh000
Picked011
Done000
Total1491150

Merged error: 0b

Counts
150 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample283.0ms

Algorithm
intervals
Results
194.0ms8000×body80valid