Details

Time bar (total: 3.8s)

sample21.0ms

Algorithm
intervals
Results
6.0ms59×body1280valid
3.0ms38×body640valid
3.0ms131×body80valid
1.0ms19×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: 29.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
963×*-un-lft-identity
724×times-frac
575×add-sqr-sqrt
468×prod-diff
409×add-cube-cbrt
185×distribute-lft-out
92×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
46×div-inv
28×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub
Counts
2 → 561
Calls
2 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
48.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series177.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ (+ x 1.0) (- x 1.0))
134.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify204.0ms

Algorithm
egg-herbie
Counts
567 → 567
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0116118191
1335013265
2500213161

prune680.0ms

Filtered
567 candidates to 199 candidates (35.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New5625567
Fresh000
Picked101
Done000
Total5635568

Merged error: 0.1b

Counts
568 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
18.6b
(- (* (cbrt x) (* (cbrt x) (/ (cbrt x) (+ x 1.0)))) (/ (+ x 1.0) (- x 1.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
26×prod-diff
25×add-sqr-sqrt
20×times-frac
17×add-cube-cbrt
cbrt-prod
add-log-exp
distribute-lft-out
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out-- difference-of-squares
pow1/3
flip3-- associate-*r/ associate-/r/ flip--
sub-neg fma-neg diff-log frac-sub div-inv
Counts
4 → 81
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
25.0ms
(- (* (cbrt x) (* (cbrt x) (/ (cbrt x) (+ x 1.0)))) (/ (+ x 1.0) (- x 1.0)))

series695.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt x)
179.0ms
(cbrt x)
179.0ms
(cbrt x)
151.0ms
(- (* (cbrt x) (* (cbrt x) (/ (cbrt x) (+ x 1.0)))) (/ (+ x 1.0) (- x 1.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05461354
12067936
25001824

prune188.0ms

Filtered
93 candidates to 63 candidates (67.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh044
Picked011
Done000
Total93598

Merged error: 0.1b

Counts
98 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
0.0b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
0.0b
(* (+ x 1.0) (+ x 1.0))
17.9b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
49×add-sqr-sqrt
44×associate-*r/
43×add-cube-cbrt
37×prod-diff
32×frac-sub
30×flip3-+ flip-+
24×distribute-rgt-in distribute-lft-in
22×associate--l+
20×frac-times flip3-- flip--
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
expm1-log1p-u associate-/r* log1p-expm1-u
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus fma-neg diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 198
Calls
4 calls:
8.0ms
(* x (- x 1.0))
17.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
9.0ms
(* (+ x 1.0) (+ x 1.0))
11.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series157.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* x (- x 1.0))
56.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
16.0ms
(* (+ x 1.0) (+ x 1.0))
44.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09062204
150021888

prune407.0ms

Filtered
210 candidates to 139 candidates (66.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2082210
Fresh123
Picked101
Done011
Total2105215

Merged error: 0.1b

Counts
215 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
15.1b
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×distribute-lft-neg-in distribute-rgt-neg-in
11×difference-of-squares
10×associate-/l*
neg-mul-1
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 flip3-- fma-def frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 88
Calls
2 calls:
4.0ms
(+ (* 3.0 x) 1.0)
10.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series88.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* 3.0 x) 1.0)
54.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0410971
11643910
25001900

prune170.0ms

Filtered
94 candidates to 76 candidates (80.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New90494
Fresh213
Picked101
Done011
Total93699

Merged error: 0.0b

Counts
99 → 6

regimes21.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1146
2146

end0.0ms

sample545.0ms

Algorithm
intervals
Results
182.0ms1705×body1280valid
108.0ms1231×body640valid
99.0ms4133×body80valid
42.0ms625×body320valid
14.0ms306×body160valid