Details

Time bar (total: 2.9s)

sample20.0ms

Algorithm
intervals
Results
5.0ms46×body1280valid
3.0ms41×body640valid
3.0ms132×body80valid
2.0ms24×body320valid
1.0ms13×body160valid

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.4b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.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:
7.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ x (+ x 1.0))
36.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series212.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (+ x 1.0) (- x 1.0))
40.0ms
(/ x (+ x 1.0))
134.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
25002716

prune218.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh000
Picked101
Done000
Total1113114

Merged error: 0.0b

Counts
114 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.0ms

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

series110.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(* (+ x 1.0) (+ x 1.0))
56.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
39.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify124.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
07191640
140331538
250021533

prune496.0ms

Filtered
135 candidates to 93 candidates (68.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1332135
Fresh112
Picked101
Done000
Total1353138

Merged error: 0.0b

Counts
138 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
12.5b
(/ (- (+ (* 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 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:
4.0ms
(+ (* 3.0 x) 1.0)
10.0ms
(/ (- (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series84.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0396962
11629925
25001919

prune178.0ms

Filtered
89 candidates to 70 candidates (78.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh112
Picked011
Done000
Total89392

Merged error: 0b

Counts
92 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
63×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×associate-/r*
16×difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative flip3-- div-sub sum-log flip--
Counts
3 → 137
Calls
3 calls:
4.0ms
(+ (* 3.0 x) 1.0)
10.0ms
(/ -1 (/ (- (* x x) (* 1.0 1.0)) (+ (* 3.0 x) 1.0)))
9.0ms
(/ (- (* x x) (* 1.0 1.0)) (+ (* 3.0 x) 1.0))

series140.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(+ (* 3.0 x) 1.0)
51.0ms
(/ -1 (/ (- (* x x) (* 1.0 1.0)) (+ (* 3.0 x) 1.0)))
52.0ms
(/ (- (* x x) (* 1.0 1.0)) (+ (* 3.0 x) 1.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06451737
133151654
250011573

prune265.0ms

Filtered
146 candidates to 107 candidates (73.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1460146
Fresh011
Picked011
Done011
Total1463149

Merged error: 0b

Counts
149 → 3

regimes23.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
9
0.3235305135594418
1774840.6331059302
96405.29383849494
9
-107831645193065.94
-647201329.329077
-7336262872.664932

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03415
13415

end0.0ms

sample539.0ms

Algorithm
intervals
Results
185.0ms1670×body1280valid
105.0ms1219×body640valid
95.0ms4170×body80valid
43.0ms618×body320valid
14.0ms323×body160valid