Details

Time bar (total: 6.9s)

sample21.0ms

Algorithm
intervals
Results
6.0ms57×body1280valid
3.0ms40×body640valid
3.0ms131×body80valid
1.0ms14×body320valid
1.0ms14×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.1b

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

rewrite75.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))
10.0ms
(/ (+ x 1.0) (- x 1.0))
55.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series213.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ x (+ x 1.0))
50.0ms
(/ (+ x 1.0) (- x 1.0))
128.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0392760
11379726
25001716

prune206.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (- x 1.0) (+ x 1.0))
0.0b
(/ 1 (/ (- x 1.0) (+ x 1.0)))
3.3b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
211×times-frac
209×*-un-lft-identity
166×add-sqr-sqrt
91×add-cube-cbrt
34×associate-/r*
31×distribute-lft-out difference-of-squares
25×distribute-lft-out--
19×add-exp-log
13×associate-/r/ add-cbrt-cube
11×associate-/l*
div-exp
div-inv
flip3-+ flip-+ add-log-exp
pow1 cbrt-undiv
frac-2neg clear-num
rec-exp flip3-- 1-exp flip-- associate-/l/
sub-neg pow-flip diff-log div-sub frac-sub inv-pow
Counts
4 → 234
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
10.0ms
(/ (- x 1.0) (+ x 1.0))
15.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
95.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

series236.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ x (+ x 1.0))
38.0ms
(/ (- x 1.0) (+ x 1.0))
36.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
130.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

simplify77.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07422083
133901767
250011758

prune295.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0)))))
3.3b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
3.3b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
3.3b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

rewrite372.0ms

Algorithm
rewrite-expression-head
Rules
137×add-sqr-sqrt
84×times-frac
69×*-un-lft-identity
40×difference-of-squares
17×cbrt-prod
16×distribute-lft-out--
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log flip3-- frac-sub add-cbrt-cube flip-- div-inv distribute-lft-out
sub-neg cbrt-div diff-log
pow1/3
Counts
4 → 109
Calls
4 calls:
81.0ms
(cbrt (- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0)))))
93.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
96.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
97.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

series648.0ms

Counts
4 → 12
Calls
4 calls:
270.0ms
(cbrt (- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0)))))
126.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
127.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
125.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03981833
112651749
250011633

prune300.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ 1 (/ (- x 1.0) (+ x 1.0))) 3)) (+ (* (/ 1 (/ (- x 1.0) (+ x 1.0))) (+ (/ 1 (/ (- x 1.0) (+ x 1.0))) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))))
3.3b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ 1 (/ (- x 1.0) (+ x 1.0))) 3))
3.3b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
3.3b
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
959×add-sqr-sqrt
769×times-frac
429×*-un-lft-identity
308×difference-of-squares
306×cbrt-prod
280×unpow-prod-down cube-prod
101×add-cube-cbrt
76×distribute-lft-out--
72×sqr-pow
27×frac-add
23×associate-/r/
19×div-inv
18×distribute-lft-out
16×frac-times associate-*r/
10×associate-*l/ add-log-exp
flip3-+ flip-+
pow1 difference-cubes add-exp-log add-cbrt-cube
sub-neg flip3-- diff-log frac-sub flip--
cube-div
cbrt-div pow1/3
Counts
4 → 472
Calls
4 calls:
430.0ms
(cbrt (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ 1 (/ (- x 1.0) (+ x 1.0))) 3)) (+ (* (/ 1 (/ (- x 1.0) (+ x 1.0))) (+ (/ 1 (/ (- x 1.0) (+ x 1.0))) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))))
351.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ 1 (/ (- x 1.0) (+ x 1.0))) 3))
95.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
95.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

series1.3s

Counts
4 → 12
Calls
4 calls:
704.0ms
(cbrt (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ 1 (/ (- x 1.0) (+ x 1.0))) 3)) (+ (* (/ 1 (/ (- x 1.0) (+ x 1.0))) (+ (/ 1 (/ (- x 1.0) (+ x 1.0))) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))))
296.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ 1 (/ (- x 1.0) (+ x 1.0))) 3))
126.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))
134.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

simplify227.0ms

Algorithm
egg-herbie
Counts
484 → 484
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0186522435
1500122096

prune950.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

regimes39.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch99.0ms

Steps
ItersRangePoint
10
4.555257425893614e-05
47183757994.54101
9309.674525263445
9
-13600.963204601821
-0.00047371797307045637
-9843.534602931319

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04021
14021

end0.0ms

sample548.0ms

Algorithm
intervals
Results
186.0ms1725×body1280valid
116.0ms1317×body640valid
98.0ms4016×body80valid
41.0ms656×body320valid
12.0ms286×body160valid