Details

Time bar (total: 1.5s)

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

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

rewrite34.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:
21.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ x (+ x 1.0))

series182.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(+ (/ 1.0 (- x 1.0)) (/ x (+ x 1.0)))
27.0ms
(/ 1.0 (- x 1.0))
37.0ms
(/ x (+ x 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0379534
11365507
25001502

prune165.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

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.7b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
14.8b
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

rewrite39.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
frac-times associate-*r/ associate-*r*
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 pow-prod-down sum-log *-commutative
Counts
4 → 128
Calls
4 calls:
14.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)))
11.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

series292.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(+ (* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0)) (/ x (+ x 1.0)))
35.0ms
(/ x (+ x 1.0))
47.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
47.0ms
(* (/ 1.0 (- (* x x) (* 1.0 1.0))) (+ x 1.0))

simplify99.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07761139
139351063
250021061

prune295.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1139

end0.0ms

sample274.0ms

Algorithm
intervals
Results
188.0ms8000×body80valid