Details

Time bar (total: 2.1s)

analyze6.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14

sample27.0ms (1.3%)

Algorithm
intervals
Results
8.0ms57×body640valid
5.0ms136×body80valid
4.0ms24×body1280valid
2.0ms22×body320valid
1.0ms17×body160valid

simplify55.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
088015
188015

prune4.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 8.7b

Counts
2 → 1

localize9.0ms (0.5%)

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))
1.6b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite62.0ms (3%)

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l- associate-+l+
Counts
4 → 112
Calls

4 calls:

32.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))

series18.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.0ms
(/ 1.0 (- x 1.0))
2.0ms
(/ 1.0 (+ x 1.0))

simplify47.0ms (2.3%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049541594
149541594

prune238.0ms (11.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh000
Picked101
Done000
Total1223125

Merged error: 0.3b

Counts
125 → 3

localize17.0ms (0.8%)

Local error

Found 4 expressions with local error:

0.0b
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
0.0b
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
0.0b
(* x (- (* x x) (* 1.0 1.0)))
16.3b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite33.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
40×associate-*r/
20×flip3-- flip--
16×frac-add
14×add-sqr-sqrt
12×frac-times
10×*-un-lft-identity
flip3-+ flip-+
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r*
associate-*l/
associate-+r+
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative diff-log sum-log distribute-lft-out--
Counts
4 → 97
Calls

4 calls:

12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))
8.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
3.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))

series14.0ms (0.7%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(* x (- (* x x) (* 1.0 1.0)))
3.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
3.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

simplify44.0ms (2.2%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
053002792

prune286.0ms (13.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh022
Picked011
Done000
Total1084112

Merged error: 0.3b

Counts
112 → 4

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(* x (- (* x x) (* 1.0 1.0)))
0.3b
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

rewrite14.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 associate-*r/ associate-*r*
times-frac associate-*l* associate-/l*
cbrt-undiv sub-neg flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative div-inv difference-of-squares unswap-sqr
Counts
2 → 46
Calls

2 calls:

6.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))

series11.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

7.0ms
(* x (- (* x x) (* 1.0 1.0)))
5.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

simplify48.0ms (2.3%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05673585

prune99.0ms (4.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh202
Picked011
Done101
Total51556

Merged error: 0b

Counts
56 → 5

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

0.1b
(/ (/ 2.0 x) (- (* x x) (* 1.0 1.0)))

rewrite12.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
97×times-frac
50×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
14×difference-of-squares
13×associate-/l*
add-exp-log add-cbrt-cube div-inv
associate-/r*
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- frac-2neg clear-num flip-- associate-/l/ add-log-exp
Counts
1 → 86
Calls

1 calls:

8.0ms
(/ (/ 2.0 x) (- (* x x) (* 1.0 1.0)))

series5.0ms (0.2%)

Counts
1 → 3
Calls

1 calls:

4.0ms
(/ (/ 2.0 x) (- (* x x) (* 1.0 1.0)))

simplify43.0ms (2.1%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050151723

prune154.0ms (7.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New88189
Fresh123
Picked011
Done011
Total89594

Merged error: 0b

Counts
94 → 5

regimes33.0ms (1.6%)

Accuracy

Total 0.1b remaining (89.4%)

Threshold costs 0.1b (89.4%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02611
12611

end0.0ms (0%)

sample761.0ms (37.1%)

Algorithm
intervals
Results
264.0ms1882×body640valid
165.0ms4217×body80valid
98.0ms914×body320valid
94.0ms524×body1280valid
33.0ms463×body160valid

Profiling

Loading profile data...