Details

Time bar (total: 2.4s)

analyze10.0ms (0.4%)

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

sample36.0ms (1.5%)

Algorithm
intervals
Results
11.0ms69×body640valid
9.0ms116×body80valid
4.0ms21×body1280valid
4.0ms33×body320valid
1.0ms17×body160valid

simplify65.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.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: 11.7b

Counts
2 → 1

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite63.0ms (2.6%)

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:

30.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
19.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))

series17.0ms (0.7%)

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

simplify44.0ms (1.8%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049541594
149541594

prune237.0ms (9.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh000
Picked101
Done000
Total1223125

Merged error: 0.3b

Counts
125 → 3

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.0b
(/ (+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x)))) (* (- x 1.0) (* x (+ 1.0 x))))
0.1b
(* (- x 1.0) (* x (+ 1.0 x)))
18.0b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite59.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
90×associate-*r/
32×frac-add
30×flip3-- flip--
25×flip3-+ flip-+
24×frac-times
20×add-exp-log add-cbrt-cube
18×associate-/l/
13×add-sqr-sqrt *-un-lft-identity
12×associate-*l/
11×pow1
10×distribute-rgt-in distribute-lft-in
add-cube-cbrt
associate-*l* associate-/r/
prod-exp cbrt-unprod
add-log-exp
associate-*r*
associate-+r+ pow-prod-down
cbrt-undiv times-frac div-exp associate-/l*
sub-neg associate-+l+ *-commutative
+-commutative frac-2neg clear-num associate-/r* sum-log div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 137
Calls

4 calls:

23.0ms
(/ (+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x)))) (* (- x 1.0) (* x (+ 1.0 x))))
12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))
9.0ms
(* (- x 1.0) (* x (+ 1.0 x)))
6.0ms
(* x (+ 1.0 x))

series19.0ms (0.8%)

Counts
4 → 12
Calls

4 calls:

8.0ms
(* (- x 1.0) (* x (+ 1.0 x)))
6.0ms
(/ (+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x)))) (* (- x 1.0) (* x (+ 1.0 x))))
4.0ms
(* x (+ 1.0 x))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

simplify35.0ms (1.4%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
051444177

prune467.0ms (19.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1472149
Fresh112
Picked101
Done000
Total1493152

Merged error: 0.3b

Counts
152 → 3

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.1b
(* (- x 1.0) (* x (+ 1.0 x)))
0.4b
(/ 2.0 (* (- x 1.0) (* x (+ 1.0 x))))

rewrite31.0ms (1.3%)

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

3 calls:

13.0ms
(/ 2.0 (* (- x 1.0) (* x (+ 1.0 x))))
10.0ms
(* (- x 1.0) (* x (+ 1.0 x)))
6.0ms
(* x (+ 1.0 x))

series17.0ms (0.7%)

Counts
3 → 9
Calls

3 calls:

8.0ms
(* (- x 1.0) (* x (+ 1.0 x)))
5.0ms
(/ 2.0 (* (- x 1.0) (* x (+ 1.0 x))))
4.0ms
(* x (+ 1.0 x))

simplify49.0ms (2%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049571079
149571079

prune155.0ms (6.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New88795
Fresh202
Picked101
Done000
Total91798

Merged error: 0b

Counts
98 → 7

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite29.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
66×times-frac
55×add-sqr-sqrt *-un-lft-identity
33×add-cube-cbrt
24×associate-/l*
19×add-exp-log add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
associate-/r/
cbrt-undiv div-exp
associate-/r*
pow1
associate-*r/ associate-*r* div-inv
flip3-- associate-*l* prod-exp flip-- cbrt-unprod add-log-exp
frac-2neg flip3-+ clear-num flip-+
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative associate-/l/ distribute-lft-out unswap-sqr
Counts
3 → 124
Calls

3 calls:

12.0ms
(/ (/ 2.0 (- x 1.0)) (* x (+ 1.0 x)))
6.0ms
(* x (+ 1.0 x))
5.0ms
(/ 2.0 (- x 1.0))

series12.0ms (0.5%)

Counts
3 → 9
Calls

3 calls:

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

simplify56.0ms (2.3%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049761502
149761502

prune203.0ms (8.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1321133
Fresh246
Picked011
Done000
Total1346140

Merged error: 0b

Counts
140 → 6

regimes34.0ms (1.4%)

Accuracy

Total 0.1b remaining (87%)

Threshold costs 0.1b (87%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02011
12011

end0.0ms (0%)

sample746.0ms (30.7%)

Algorithm
intervals
Results
276.0ms1925×body640valid
152.0ms4160×body80valid
100.0ms573×body1280valid
93.0ms902×body320valid
30.0ms440×body160valid
0.0msbody80invalid

Profiling

Loading profile data...