Details

Time bar (total: 2.7s)

analyze4.0ms (0.1%)

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

sample25.0ms (0.9%)

Algorithm
intervals
Results
10.0ms66×body1280valid
4.0ms36×body640valid
4.0ms125×body80valid
1.0ms17×body160valid
1.0ms12×body320valid

simplify97.0ms (3.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
0100113
1100113

prune4.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 1

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
3.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite41.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
40×times-frac
35×add-sqr-sqrt
18×distribute-lft-out--
14×distribute-lft-out
13×add-cube-cbrt
difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ div-inv
Counts
2 → 70
Calls

2 calls:

31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
7.0ms
(/ (+ x 1.0) (- x 1.0))

series10.0ms (0.4%)

Counts
2 → 6
Calls

2 calls:

7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
3.0ms
(/ (+ x 1.0) (- x 1.0))

simplify32.0ms (1.2%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050241087

prune154.0ms (5.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh000
Picked101
Done000
Total74377

Merged error: 0.2b

Counts
77 → 3

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1.0 x) 3.0)
0.2b
(/ 3.0 (pow x 3))
0.2b
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
8.8b
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

rewrite46.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
46×times-frac
42×add-sqr-sqrt
41×*-un-lft-identity
37×add-cube-cbrt
14×add-exp-log
13×associate-*l*
12×unpow-prod-down cube-prod associate-/r*
11×add-cbrt-cube
add-log-exp
pow1
flip3-+ frac-sub flip-+
cube-mult frac-times unpow3 associate-*r/ div-exp associate-*r* sqr-pow
associate-/l*
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*l/ prod-exp associate--l+ cbrt-unprod div-inv distribute-lft-out unswap-sqr
+-commutative pow-to-exp sub-neg flip3-- frac-2neg diff-log pow-prod-down pow-exp clear-num sum-log *-commutative flip--
Counts
4 → 134
Calls

4 calls:

17.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))
11.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
7.0ms
(/ 3.0 (pow x 3))
6.0ms
(+ (/ 1.0 x) 3.0)

series16.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
4.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))
3.0ms
(/ 3.0 (pow x 3))
3.0ms
(+ (/ 1.0 x) 3.0)

simplify35.0ms (1.3%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052561609

prune288.0ms (10.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1433146
Fresh022
Picked101
Done000
Total1445149

Merged error: 0.1b

Counts
149 → 5

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1.0 x) 3.0)
0.1b
(/ (neg (+ (/ 1.0 x) 3.0)) x)
0.2b
(/ 3.0 (pow x 3))
8.8b
(- (/ (neg (+ (/ 1.0 x) 3.0)) x) (/ 3.0 (pow x 3)))

rewrite97.0ms (3.5%)

Algorithm
rewrite-expression-head
Rules
91×times-frac
87×*-un-lft-identity
85×add-sqr-sqrt
54×add-cube-cbrt
18×distribute-rgt-neg-in
16×distribute-lft-neg-in
15×associate-/r* associate-/l*
14×unpow-prod-down cube-prod
11×add-exp-log
10×distribute-lft-out difference-of-squares
add-cbrt-cube add-log-exp
sqr-pow
pow1 cube-mult neg-mul-1 unpow3 div-exp distribute-lft-out--
cbrt-undiv neg-sub0 frac-2neg flip3-+ div-sub clear-num flip-+ div-inv associate-/l/ distribute-neg-frac
+-commutative associate--l- pow-to-exp sub-neg flip3-- diff-log distribute-frac-neg pow-exp sum-log frac-sub flip--
Counts
4 → 171
Calls

4 calls:

67.0ms
(- (/ (neg (+ (/ 1.0 x) 3.0)) x) (/ 3.0 (pow x 3)))
11.0ms
(/ (neg (+ (/ 1.0 x) 3.0)) x)
7.0ms
(+ (/ 1.0 x) 3.0)
5.0ms
(/ 3.0 (pow x 3))

series17.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(/ (neg (+ (/ 1.0 x) 3.0)) x)
4.0ms
(- (/ (neg (+ (/ 1.0 x) 3.0)) x) (/ 3.0 (pow x 3)))
3.0ms
(/ 3.0 (pow x 3))
3.0ms
(+ (/ 1.0 x) 3.0)

simplify67.0ms (2.5%)

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049902284
149902284

prune357.0ms (13.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1830183
Fresh044
Picked011
Done000
Total1835188

Merged error: 0.1b

Counts
188 → 5

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
3.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
3.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
3.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite123.0ms (4.5%)

Algorithm
rewrite-expression-head
Rules
189×*-un-lft-identity
80×times-frac
53×add-sqr-sqrt
52×distribute-lft-out--
32×distribute-lft-out
16×cbrt-prod difference-of-squares
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log flip3-- frac-sub add-cbrt-cube flip--
sub-neg cbrt-div diff-log
pow1/3
Counts
4 → 102
Calls

4 calls:

31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
28.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
28.0ms
(cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series37.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(cbrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify40.0ms (1.5%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
049892272
149892272

prune388.0ms (14.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1131114
Fresh033
Picked101
Done011
Total1145119

Merged error: 0.0b

Counts
119 → 5

regimes86.0ms (3.2%)

Accuracy

Total 0.0b remaining (27.9%)

Threshold costs 0.0b (27.9%)

bsearch25.0ms (0.9%)

Steps
ItersRangePoint
7
12302.25956354686
381651.6294982458
15314.37957646558
9
-30114.87532477197
-0.16605346141893446
-11903.191960040664

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011669
111669

end0.0ms (0%)

sample703.0ms (25.8%)

Algorithm
intervals
Results
260.0ms1698×body1280valid
139.0ms1201×body640valid
130.0ms4139×body80valid
60.0ms628×body320valid
20.0ms334×body160valid

Profiling

Loading profile data...