Details

Time bar (total: 3.4s)

sample20.0ms

Algorithm
intervals
Results
7.0ms63×body1280valid
3.0ms128×body80valid
3.0ms32×body640valid
2.0ms26×body320valid
0.0msbody160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.7b

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.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite79.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))
11.0ms
(/ (+ x 1.0) (- x 1.0))
57.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series392.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

prune206.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize10.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))
19.8b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
35×*-un-lft-identity
32×frac-sub
30×flip3-+ flip-+
25×add-sqr-sqrt
20×frac-times flip3-- flip--
19×add-cube-cbrt
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
distribute-rgt-in distribute-lft-in swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
associate--l+ associate-/r*
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 152
Calls
4 calls:
9.0ms
(* x (- x 1.0))
21.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
19.0ms
(* (+ x 1.0) (+ x 1.0))
9.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* x (- x 1.0))
48.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
15.0ms
(* (+ x 1.0) (+ x 1.0))
41.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify134.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
07691735
144371626
250011621

prune344.0ms

Filtered
164 candidates to 110 candidates (67.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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 flip3-+ associate-/r/ flip-+ associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 flip3-- frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 83
Calls
2 calls:
3.0ms
(+ (* 3.0 x) 1.0)
20.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series85.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0396962
11629925
25001919

prune177.0ms

Filtered
89 candidates to 70 candidates (78.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
510×times-frac
450×*-un-lft-identity
308×add-sqr-sqrt
214×add-cube-cbrt
87×distribute-lft-neg-in distribute-rgt-neg-in
71×distribute-lft-out
56×associate-/l*
47×distribute-lft-out-- difference-of-squares
29×neg-mul-1
16×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ associate-/r* flip-+
div-inv
add-log-exp
cbrt-undiv div-exp
pow1 div-sub distribute-frac-neg associate-/l/
neg-sub0 frac-2neg clear-num distribute-neg-frac
+-commutative flip3-- sum-log flip--
Counts
3 → 383
Calls
3 calls:
3.0ms
(+ (* 3.0 x) 1.0)
34.0ms
(/ (/ (- (+ (* 3.0 x) 1.0)) (+ x 1.0)) (- x 1.0))
20.0ms
(/ (- (+ (* 3.0 x) 1.0)) (+ x 1.0))

series140.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ (* 3.0 x) 1.0)
66.0ms
(/ (/ (- (+ (* 3.0 x) 1.0)) (+ x 1.0)) (- x 1.0))
43.0ms
(/ (- (+ (* 3.0 x) 1.0)) (+ x 1.0))

simplify141.0ms

Algorithm
egg-herbie
Counts
392 → 392
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
011645216
149475113
250015113

prune668.0ms

Filtered
392 candidates to 243 candidates (62.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes18.0ms

Accuracy

0% (0.2b 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
0187
1277
2277

end0.0ms

sample539.0ms

Algorithm
intervals
Results
196.0ms1775×body1280valid
100.0ms1202×body640valid
97.0ms4142×body80valid
38.0ms600×body320valid
16.0ms281×body160valid