Details

Time bar (total: 4.7s)

sample23.0ms

Algorithm
intervals
Results
9.0ms61×body1280valid
3.0ms39×body640valid
3.0ms121×body80valid
1.0ms23×body320valid
0.0ms12×body160valid

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: 31.6b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite48.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))
8.0ms
(/ (+ x 1.0) (- x 1.0))
31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series212.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune230.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
0.3b
(/ 3.0 (pow x 3))
0.5b
(/ (- 1.0) (pow x 2))
5.6b
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite177.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:
60.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
6.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
92.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
41.0ms
(/ 3.0 (pow x 3))
25.0ms
(/ (- 1.0) (pow x 2))
33.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify93.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07381754
134481596
250011578

prune477.0ms

Filtered
246 candidates to 133 candidates (54.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
342×*-un-lft-identity
208×times-frac
152×add-sqr-sqrt
88×add-cube-cbrt
73×distribute-lft-out
72×swap-sqr
44×associate-*r* associate-*l*
36×distribute-lft-out--
28×add-exp-log add-cbrt-cube
21×difference-of-squares
18×pow1
16×associate-/r/
frac-sub
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
flip3-- flip3-+ flip-- flip-+
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
+-commutative sub-neg diff-log frac-add sum-log
Counts
4 → 259
Calls
4 calls:
33.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
28.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
18.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
12.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series418.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
59.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
42.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
216.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify53.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011452720
150022529

prune626.0ms

Filtered
271 candidates to 142 candidates (52.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.1b
(* (+ x 1.0) (/ (/ (+ x 1.0) (- x 1.0)) (- x 1.0)))
5.3b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (+ x 1.0) (/ (/ (+ x 1.0) (- x 1.0)) (- x 1.0))))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
350×*-un-lft-identity
313×times-frac
231×add-sqr-sqrt
154×associate-*r*
118×add-cube-cbrt
61×distribute-lft-out
50×distribute-lft-out--
46×difference-of-squares
25×add-exp-log add-cbrt-cube
24×swap-sqr
22×associate-*l*
20×associate-/r/
15×frac-sub
14×frac-times associate-*l/
13×pow1 flip3-+ flip-+
10×associate-*r/ div-inv
add-log-exp
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod unswap-sqr
pow-prod-down *-commutative
+-commutative pow2 sub-neg pow-plus diff-log frac-add sum-log pow-sqr pow-prod-up
Counts
4 → 299
Calls
4 calls:
30.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
18.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
48.0ms
(* (+ x 1.0) (/ (/ (+ x 1.0) (- x 1.0)) (- x 1.0)))
13.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (+ x 1.0) (/ (/ (+ x 1.0) (- x 1.0)) (- x 1.0))))

series405.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
46.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
56.0ms
(* (+ x 1.0) (/ (/ (+ x 1.0) (- x 1.0)) (- x 1.0)))
203.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (+ x 1.0) (/ (/ (+ x 1.0) (- x 1.0)) (- x 1.0))))

simplify62.0ms

Algorithm
egg-herbie
Counts
311 → 311
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014413029
150022887

prune618.0ms

Filtered
311 candidates to 181 candidates (58.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes47.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 31.6b

bsearch110.0ms

Steps
ItersRangePoint
8
4050.4462513149238
24048332.968690775
9184.42281507242
7
-225931.74046194248
-3253.153967321615
-12923.888472784707

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06247
16247

end0.0ms

sample550.0ms

Algorithm
intervals
Results
189.0ms1666×body1280valid
106.0ms1273×body640valid
99.0ms4075×body80valid
43.0ms663×body320valid
14.0ms323×body160valid