Details

Time bar (total: 3.6s)

sample20.0ms

Algorithm
intervals
Results
6.0ms54×body1280valid
3.0ms40×body640valid
3.0ms136×body80valid
1.0ms21×body320valid
0.0msbody160valid

simplify21.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.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))
2.9b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite49.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))
8.0ms
(/ (+ x 1.0) (- x 1.0))
32.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series204.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ x (+ x 1.0))
40.0ms
(/ (+ x 1.0) (- x 1.0))
131.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0392760
11379726
25001716

prune190.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0b

Counts
114 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x 1.0) (+ x 1.0))
0.0b
(/ x (+ x 1.0))
0.0b
(/ 1 (/ (- x 1.0) (+ x 1.0)))
2.9b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
211×times-frac
209×*-un-lft-identity
166×add-sqr-sqrt
91×add-cube-cbrt
34×associate-/r*
31×distribute-lft-out difference-of-squares
25×distribute-lft-out--
19×add-exp-log
13×associate-/r/ add-cbrt-cube
11×associate-/l*
div-exp
div-inv
flip3-+ flip-+ add-log-exp
pow1 cbrt-undiv
frac-2neg clear-num
rec-exp flip3-- 1-exp flip-- associate-/l/
sub-neg pow-flip diff-log div-sub frac-sub inv-pow
Counts
4 → 234
Calls
4 calls:
7.0ms
(/ (- x 1.0) (+ x 1.0))
5.0ms
(/ x (+ x 1.0))
11.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
66.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

series237.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (- x 1.0) (+ x 1.0))
35.0ms
(/ x (+ x 1.0))
37.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
130.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

simplify85.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07422083
133901767
250011758

prune242.0ms

Filtered
246 candidates to 126 candidates (51.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2460246
Fresh033
Picked011
Done000
Total2464250

Merged error: 0b

Counts
250 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x 1.0))
0.0b
(/ x (+ x 1.0))
0.1b
(* (+ x 1.0) (/ 1 (- x 1.0)))
6.1b
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
54×add-sqr-sqrt
44×times-frac
33×add-cube-cbrt
21×associate-*r*
19×add-exp-log
13×add-cbrt-cube
associate-/r*
pow1 distribute-lft-out-- difference-of-squares
associate-/r/ frac-sub associate-/l* add-log-exp
flip3-+ div-exp flip-+ distribute-lft-out
frac-times associate-*l* associate-*l/ prod-exp
cbrt-undiv flip3-- flip-- div-inv unswap-sqr
rec-exp frac-2neg 1-exp associate-*r/ clear-num un-div-inv cbrt-unprod
sub-neg pow-flip diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 141
Calls
4 calls:
5.0ms
(/ 1 (- x 1.0))
5.0ms
(/ x (+ x 1.0))
16.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
9.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

series230.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1 (- x 1.0))
34.0ms
(/ x (+ x 1.0))
40.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
128.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

simplify73.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0576950
12837862
25001820

prune185.0ms

Filtered
153 candidates to 100 candidates (65.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1530153
Fresh022
Picked011
Done011
Total1534157

Merged error: 0b

Counts
157 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
0.1b
(/ (- x 1.0) (sqrt (+ x 1.0)))
7.4b
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

rewrite328.0ms

Algorithm
rewrite-expression-head
Rules
645×times-frac
584×*-un-lft-identity
444×add-sqr-sqrt
362×sqrt-prod
261×add-cube-cbrt
93×distribute-lft-out
78×difference-of-squares
67×distribute-lft-out--
52×associate-/r*
21×associate-/r/
20×sqrt-div
15×associate-/l*
13×add-exp-log add-cbrt-cube
11×flip3-+ flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 associate-/l/
frac-2neg clear-num
flip3-- flip--
sub-neg diff-log div-sub frac-sub
Counts
4 → 479
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
19.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
8.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
257.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

series302.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ x (+ x 1.0))
44.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
96.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
128.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
491 → 491
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
011226922
150026212

prune521.0ms

Filtered
491 candidates to 201 candidates (40.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4910491
Fresh011
Picked011
Done022
Total4914495

Merged error: 0b

Counts
495 → 4

regimes23.0ms

Accuracy

100% (0.0b remaining)

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

bsearch78.0ms

Steps
ItersRangePoint
10
0.475758948552502
3048118974.682059
10939.136774846365
9
-164485.30314980465
-0.009598081335721272
-14024.47786235224

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample534.0ms

Algorithm
intervals
Results
178.0ms1702×body1280valid
105.0ms4110×body80valid
103.0ms1269×body640valid
41.0ms616×body320valid
13.0ms303×body160valid