Details

Time bar (total: 2.8s)

sample23.0ms

Algorithm
intervals
Results
7.0ms53×body1280valid
4.0ms44×body640valid
4.0ms131×body80valid
1.0ms20×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

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 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.3b
(- (/ 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))
7.0ms
(/ (+ x 1.0) (- x 1.0))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series201.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

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

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.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
(/ x (+ x 1.0))
5.0ms
(/ 1 (- x 1.0))
12.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
9.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

series229.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0576948
12837860
25001818

prune192.0ms

Filtered
153 candidates to 99 candidates (64.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh022
Picked011
Done000
Total1524156

Merged error: 0.0b

Counts
156 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x (+ 3.0 (* x 1.0))) 1.0)
0.0b
(* x (+ 3.0 (* x 1.0)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 35
Calls
2 calls:
5.0ms
(+ (* x (+ 3.0 (* x 1.0))) 1.0)
5.0ms
(* x (+ 3.0 (* x 1.0)))

series86.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* x (+ 3.0 (* x 1.0))) 1.0)
65.0ms
(* x (+ 3.0 (* x 1.0)))

simplify35.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209215
1933199
25002199

prune54.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh022
Picked011
Done011
Total41445

Merged error: 0.0b

Counts
45 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
0.2b
(/ 3.0 (pow x 3))
0.2b
(/ (neg 1.0) (pow x 2))
7.6b
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
52.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
5.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ (neg 1.0) (pow x 2))
81.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
35.0ms
(/ 3.0 (pow x 3))
30.0ms
(/ (neg 1.0) (pow x 2))
33.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify96.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07381746
134171585
250011567

prune351.0ms

Filtered
246 candidates to 129 candidates (52.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2451246
Fresh011
Picked011
Done022
Total2455250

Merged error: 0b

Counts
250 → 5

regimes33.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 29.8b

bsearch88.0ms

Steps
ItersRangePoint
10
2.2826621327002547e-07
125321.6248081686
15438.843691545057
9
-650632332.7510262
-11.514549394350572
-14198.77538024074

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample621.0ms

Algorithm
intervals
Results
213.0ms1718×body1280valid
135.0ms1258×body640valid
114.0ms4042×body80valid
48.0ms642×body320valid
17.0ms340×body160valid

Profiling

Loading profile data...