Details

Time bar (total: 4.7s)

sample24.0ms

Algorithm
intervals
Results
8.0ms56×body1280valid
4.0ms144×body80valid
4.0ms37×body640valid
1.0ms12×body320valid
0.0msbody160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.5b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
9.0ms
(/ (+ x 1.0) (- x 1.0))
28.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ x (+ x 1.0))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune171.0ms

Filtered
76 candidates to 113 candidates (-48.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1085113
Fresh000
Picked101
Done000
Total1095114

Merged error: 0.1b

Counts
114 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
0.0b
(/ (+ x 1.0) (- x 1.0))
1.6b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
1.6b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity
80×times-frac
64×add-sqr-sqrt
44×distribute-lft-out--
32×exp-prod
30×distribute-lft-out
18×add-cube-cbrt
17×log-pow difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 log-prod associate-/r*
exp-sum associate-/l*
sub-neg
flip3-- exp-diff diff-log associate-/r/ flip-- rem-exp-log associate-/l/
cbrt-undiv log-div frac-2neg flip3-+ div-exp rem-log-exp clear-num frac-sub flip-+ div-inv
Counts
4 → 130
Calls
4 calls:
28.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
7.0ms
(/ (+ x 1.0) (- x 1.0))
31.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
27.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series28.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04041009
11249941
25001931

prune192.0ms

Filtered
87 candidates to 142 candidates (-63.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1402142
Fresh044
Picked011
Done000
Total1407147

Merged error: 0.1b

Counts
147 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
0.0b
(pow (/ x (+ x 1.0)) 3)
0.0b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
1.6b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite306.0ms

Algorithm
rewrite-expression-head
Rules
1102×*-un-lft-identity
735×times-frac
560×add-sqr-sqrt
344×unpow-prod-down cube-prod
273×distribute-lft-out--
188×difference-of-squares
176×distribute-lft-out
124×add-cube-cbrt
77×associate-/l*
62×sqr-pow
31×associate-/r/
27×frac-add
16×frac-times associate-*r/
12×add-exp-log add-cbrt-cube
10×associate-*l/
flip3-+ flip-+
pow1 cube-div pow-unpow add-log-exp
difference-cubes div-inv
flip3-- pow-exp flip-- rem-cube-cbrt
cbrt-undiv div-exp associate-/r* associate-/l/
cube-mult pow-to-exp pow-pow unpow3 frac-sub
sub-neg frac-2neg diff-log div-sub clear-num
Counts
4 → 565
Calls
4 calls:
142.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
6.0ms
(pow (/ x (+ x 1.0)) 3)
11.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
93.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series58.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
3.0ms
(pow (/ x (+ x 1.0)) 3)
3.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
15.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify190.0ms

Algorithm
egg-herbie
Counts
577 → 577
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0167717362
1500117123

prune1.4s

Filtered
203 candidates to 577 candidates (-184.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5761577
Fresh055
Picked101
Done011
Total5777584

Merged error: 0.1b

Counts
584 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
0.1b
(cbrt (pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3))
0.1b
(pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3)
1.6b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite360.0ms

Algorithm
rewrite-expression-head
Rules
997×*-un-lft-identity
480×unpow-prod-down times-frac cube-prod
467×add-sqr-sqrt
273×distribute-lft-out--
188×difference-of-squares
170×distribute-lft-out
160×cbrt-prod
63×sqr-pow
31×add-cube-cbrt
13×cube-div
add-exp-log add-cbrt-cube
pow1 pow-unpow add-log-exp
difference-cubes flip3-- flip--
associate-/r/
cube-mult cbrt-div unpow3 pow-exp frac-sub rem-cube-cbrt
pow-to-exp pow-pow div-inv
cbrt-undiv sub-neg pow1/3 diff-log div-exp rem-cbrt-cube
Counts
4 → 505
Calls
4 calls:
10.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
105.0ms
(cbrt (pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3))
100.0ms
(pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3)
94.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series53.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
14.0ms
(cbrt (pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3))
16.0ms
(pow (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) 3)
14.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify177.0ms

Algorithm
egg-herbie
Counts
517 → 517
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
010077140
144286978
250016848

prune554.0ms

Filtered
116 candidates to 517 candidates (-345.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New5170517
Fresh055
Picked011
Done011
Total5177524

Merged error: 0.1b

Counts
524 → 7

regimes121.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.1b

bsearch24.0ms

Steps
ItersRangePoint
7
306.28763118649994
38212.35684414374
11886.148758601244
7
-34031.803709614505
-497.50744917941546
-9873.42801087238

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03427
13427

end0.0ms

sample709.0ms

Algorithm
intervals
Results
237.0ms1654×body1280valid
140.0ms1239×body640valid
128.0ms4124×body80valid
55.0ms654×body320valid
21.0ms329×body160valid

Profiling

Loading profile data...