Details

Time bar (total: 7.1s)

sample38.0ms

Algorithm
intervals
Results
10.0ms54×body1280valid
9.0ms40×body640valid
5.0ms136×body80valid
2.0ms21×body320valid
0.0msbody160valid

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

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

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
8.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
40.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series200.0ms

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

simplify212.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune673.0ms

Filtered
605 candidates to 217 candidates (35.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New6014605
Fresh000
Picked101
Done000
Total6024606

Merged error: 0.1b

Counts
606 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite354.0ms

Algorithm
rewrite-expression-head
Rules
3703×times-frac
3383×*-un-lft-identity
2296×add-sqr-sqrt
1789×add-cube-cbrt
1494×prod-diff
553×distribute-lft-out
307×associate-/r/
247×difference-of-squares
241×distribute-lft-out--
164×div-inv
144×flip3-+ flip-+
34×associate-/r*
19×add-exp-log
18×fma-neg
13×add-cbrt-cube
11×associate-/l*
div-exp
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u
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 → 1754
Calls
4 calls:
8.0ms
(/ (- x 1.0) (+ x 1.0))
5.0ms
(/ x (+ x 1.0))
11.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
108.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (- x 1.0) (+ x 1.0))
35.0ms
(/ x (+ x 1.0))
41.0ms
(/ 1 (/ (- x 1.0) (+ x 1.0)))
129.0ms
(- (/ x (+ x 1.0)) (/ 1 (/ (- x 1.0) (+ x 1.0))))

simplify631.0ms

Algorithm
egg-herbie
Counts
1766 → 1766
Iterations

Useful iterations: 1 (67.0ms)

IterNodesCost
0328774392
1500161456

prune1.1s

Filtered
1766 candidates to 358 candidates (20.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New176511766
Fresh033
Picked011
Done000
Total176551770

Merged error: 0.1b

Counts
1770 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
0.1b
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
2.9b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
1139×*-un-lft-identity
796×times-frac
619×add-sqr-sqrt
468×prod-diff
415×add-cube-cbrt
215×distribute-lft-out
137×distribute-lft-out--
92×associate-/r/ difference-of-squares
46×div-inv
38×cbrt-prod
32×unpow-prod-down cube-prod
28×flip3-+ flip-+
21×flip3-- flip--
18×fma-neg
add-exp-log add-cbrt-cube
cube-div add-log-exp
pow1
expm1-log1p-u associate-/r* log1p-expm1-u
pow-unpow cbrt-div frac-sub associate-/l*
cube-mult unpow3 sqr-pow
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube rem-cube-cbrt
Counts
4 → 655
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
35.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
31.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
45.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x (+ x 1.0))
183.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
131.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
137.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify253.0ms

Algorithm
egg-herbie
Counts
667 → 667
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
0137219256
1458214246
2500114222

prune773.0ms

Filtered
667 candidates to 229 candidates (34.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New6652667
Fresh123
Picked011
Done011
Total6666672

Merged error: 0.1b

Counts
672 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0)))) (cbrt (/ (+ x 1.0) (- x 1.0))))
0.0b
(/ x (+ x 1.0))
0.0b
(* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0))))
2.9b
(- (/ x (+ x 1.0)) (* (* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0)))) (cbrt (/ (+ x 1.0) (- x 1.0)))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
296×*-un-lft-identity
188×cbrt-prod
187×times-frac
168×add-sqr-sqrt
92×add-cube-cbrt
58×associate-*r*
53×distribute-lft-out
51×swap-sqr
36×distribute-lft-out--
30×pow1 associate-*l*
28×cbrt-div
24×difference-of-squares
18×fma-neg prod-diff
16×associate-/r/
15×pow1/3
13×add-exp-log
12×unswap-sqr
11×frac-times associate-*l/ pow-prod-up
div-inv
pow-plus associate-*r/ pow-prod-down frac-sub add-cbrt-cube
flip3-- flip-- add-log-exp
pow-sqr
expm1-log1p-u prod-exp associate-/r* cbrt-unprod log1p-expm1-u
pow2 flip3-+ flip-+ associate-/l*
*-commutative
cbrt-undiv sub-neg frac-2neg diff-log div-exp pow3 clear-num
Counts
4 → 301
Calls
4 calls:
35.0ms
(* (* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0)))) (cbrt (/ (+ x 1.0) (- x 1.0))))
5.0ms
(/ x (+ x 1.0))
30.0ms
(* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0))))
12.0ms
(- (/ x (+ x 1.0)) (* (* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0)))) (cbrt (/ (+ x 1.0) (- x 1.0)))))

series441.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0)))) (cbrt (/ (+ x 1.0) (- x 1.0))))
40.0ms
(/ x (+ x 1.0))
185.0ms
(* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0))))
165.0ms
(- (/ x (+ x 1.0)) (* (* (cbrt (/ (+ x 1.0) (- x 1.0))) (cbrt (/ (+ x 1.0) (- x 1.0)))) (cbrt (/ (+ x 1.0) (- x 1.0)))))

simplify144.0ms

Algorithm
egg-herbie
Counts
313 → 313
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
08684792
136674077
250023945

prune509.0ms

Filtered
313 candidates to 189 candidates (60.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3130313
Fresh033
Picked011
Done022
Total3136319

Merged error: 0.1b

Counts
319 → 6

regimes63.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 29.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03222
13222

end0.0ms

sample532.0ms

Algorithm
intervals
Results
188.0ms1702×body1280valid
107.0ms1269×body640valid
94.0ms4110×body80valid
38.0ms616×body320valid
13.0ms303×body160valid