Details

Time bar (total: 3.2s)

sample23.0ms

Algorithm
intervals
Results
7.0ms55×body1280valid
4.0ms38×body640valid
4.0ms132×body80valid
2.0ms22×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.0b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.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))
28.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series213.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0392760
11379726
25001716

prune190.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 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0))
7.1b
(- (* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
14.3b
(/ x (- (* x x) (* 1.0 1.0)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
50×add-sqr-sqrt
45×times-frac
33×add-cube-cbrt
18×associate-*l*
13×add-exp-log add-cbrt-cube difference-of-squares
associate-/r*
flip3-- flip--
associate-/l*
pow1 associate-/r/ distribute-lft-out distribute-lft-out-- add-log-exp
sub-neg associate-*r* frac-sub
distribute-rgt-in frac-times distribute-lft-in associate-*r/ associate--l+
cbrt-undiv div-exp div-inv
frac-2neg associate-*l/ prod-exp clear-num cbrt-unprod associate-/l/ unswap-sqr
flip3-+ diff-log pow-prod-down *-commutative flip-+
Counts
4 → 146
Calls
4 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
15.0ms
(* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0))
18.0ms
(- (* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
5.0ms
(/ x (- (* x x) (* 1.0 1.0)))

series523.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (+ x 1.0) (- x 1.0))
56.0ms
(* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0))
357.0ms
(- (* (/ x (- (* x x) (* 1.0 1.0))) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
70.0ms
(/ x (- (* x x) (* 1.0 1.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06981357
133231273
250011271

prune255.0ms

Filtered
158 candidates to 119 candidates (75.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1571158
Fresh022
Picked011
Done000
Total1574161

Merged error: 0.0b

Counts
161 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.0ms

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

series65.0ms

Counts
1 → 3
Calls
1 calls:
65.0ms
(* x (+ 3.0 (* x 1.0)))

simplify103.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0144117
1680103
23770103
35002103

prune29.0ms

Filtered
25 candidates to 16 candidates (64.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New25025
Fresh022
Picked011
Done011
Total25429

Merged error: 0.0b

Counts
29 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
0.4b
(/ 3.0 (pow x 3))
0.5b
(/ (- 1.0) (pow x 2))
4.6b
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite153.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:
51.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
5.0ms
(/ 3.0 (pow x 3))
6.0ms
(/ (- 1.0) (pow x 2))
80.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series161.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
35.0ms
(/ 3.0 (pow x 3))
25.0ms
(/ (- 1.0) (pow x 2))
35.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify99.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07411813
135251605
250011602

prune340.0ms

Filtered
246 candidates to 133 candidates (54.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2451246
Fresh101
Picked011
Done022
Total2464250

Merged error: 0.0b

Counts
250 → 4

regimes25.0ms

Accuracy

100% (0.0b remaining)

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

bsearch97.0ms

Steps
ItersRangePoint
10
6.398614580632226
3002406562115.273
10912.93121807726
11
-55383.34621353126
-7.66540900750845e-16
-12155.681664534535

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03518
13518

end0.0ms

sample676.0ms

Algorithm
intervals
Results
250.0ms1763×body1280valid
137.0ms1251×body640valid
117.0ms4018×body80valid
53.0ms644×body320valid
18.0ms324×body160valid