Details

Time bar (total: 10.0m)

sample23.0ms

Algorithm
intervals
Results
6.0ms53×body640valid
4.0ms143×body80valid
3.0ms20×body1280valid
2.0ms26×body320valid
1.0ms14×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.7b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite514.0ms

Algorithm
rewrite-expression-head
Rules
1765×*-un-lft-identity
1348×add-sqr-sqrt
1261×associate-/r*
1132×add-cube-cbrt
1080×frac-sub
1012×frac-add
966×associate-/l*
703×times-frac
468×prod-diff
322×frac-2neg clear-num
236×associate-+l+
203×distribute-lft-out
109×distribute-lft-out--
104×difference-of-squares
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
13×flip3-- flip--
11×add-log-exp
10×fma-def
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg diff-log div-exp sum-log
+-commutative associate-+l-
Counts
4 → 1716
Calls
4 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
32.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
94.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ 1.0 (+ x 1.0))
29.0ms
(/ 1.0 (- x 1.0))
48.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
237.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify392.0ms

Algorithm
egg-herbie
Counts
1728 → 1728
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0500137459

prune2.8s

Filtered
1728 candidates to 918 candidates (46.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New172531728
Fresh000
Picked101
Done000
Total172631729

Merged error: 0.1b

Counts
1729 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))
0.3b
(* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)))
2.7b
(- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
15.2b
(/ (- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))

rewrite9.9m

Algorithm
rewrite-expression-head
Calls
4 calls:
26.0ms
(* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))
292.0ms
(* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)))
58.5s
(- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0))))
2.4m
(/ (- (* (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (- (/ 1.0 (+ x 1.0)) (/ 2.0 x))) (* (/ 1.0 (- x 1.0)) (/ 1.0 (- x 1.0)))) (- (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))