Details

Time bar (total: 10.9s)

sample20.0ms

Algorithm
intervals
Results
5.0ms46×body1280valid
3.0ms41×body640valid
3.0ms132×body80valid
2.0ms24×body320valid
1.0ms13×body160valid

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

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
1097×*-un-lft-identity
736×times-frac
653×add-sqr-sqrt
468×prod-diff
467×add-cube-cbrt
213×distribute-lft-out
140×frac-sub
115×associate-/r*
100×distribute-lft-out--
94×associate-/r/
91×difference-of-squares
89×associate-/l*
47×div-inv
39×flip3-+ flip-+
26×frac-2neg clear-num
22×associate-/l/
20×flip3-- flip--
18×fma-neg
add-exp-log add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp
sub-neg diff-log
Counts
3 → 735
Calls
3 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ x (+ x 1.0))
53.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series211.0ms

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

simplify207.0ms

Algorithm
egg-herbie
Counts
744 → 744
Iterations

Useful iterations: 1 (48.0ms)

IterNodesCost
0232320311
1500217909

prune1.0s

Filtered
744 candidates to 281 candidates (37.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New7413744
Fresh000
Picked101
Done000
Total7423745

Merged error: 0.2b

Counts
745 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ x 1.0) x) (- (- x 1.0)))
0.0b
(/ (- (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- (- x 1.0))))
0.0b
(* (/ (+ x 1.0) x) (+ x 1.0))
4.3b
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

rewrite653.0ms

Algorithm
rewrite-expression-head
Rules
3838×add-sqr-sqrt
2605×*-un-lft-identity
2465×times-frac
1397×associate-*l*
1096×unswap-sqr
930×add-cube-cbrt
894×distribute-lft-neg-in distribute-rgt-neg-in
805×difference-of-squares
792×associate-*r*
574×distribute-lft-out--
441×prod-diff
211×distribute-lft-out
168×frac-times
166×associate-*r/
152×frac-sub
130×distribute-neg-frac
124×associate-/l*
120×associate-/l/
104×flip3-- flip--
100×associate-/r*
86×flip3-+ *-commutative flip-+
84×associate-*l/
80×neg-mul-1
59×div-inv
38×associate-/r/
26×distribute-rgt-in distribute-lft-in
23×add-exp-log add-cbrt-cube
22×distribute-neg-in frac-2neg associate--l+ clear-num
15×fma-neg
pow1
cbrt-undiv div-exp prod-exp cbrt-unprod add-log-exp
sub-neg
+-commutative expm1-log1p-u log1p-expm1-u associate--r+
pow-prod-down
neg-sub0 diff-log div-sub distribute-frac-neg distribute-rgt-neg-out
Counts
4 → 2431
Calls
4 calls:
18.0ms
(* (/ (+ x 1.0) x) (- (- x 1.0)))
290.0ms
(/ (- (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- (- x 1.0))))
14.0ms
(* (/ (+ x 1.0) x) (+ x 1.0))
54.0ms
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (/ (+ x 1.0) x) (- (- x 1.0)))
79.0ms
(/ (- (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- (- x 1.0))))
34.0ms
(* (/ (+ x 1.0) x) (+ x 1.0))
42.0ms
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

simplify544.0ms

Algorithm
egg-herbie
Counts
2443 → 2443
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
0500160753

prune4.0s

Filtered
2443 candidates to 1158 candidates (47.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New244122443
Fresh112
Picked101
Done000
Total244332446

Merged error: 0b

Counts
2446 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
1677×*-un-lft-identity
1638×times-frac
1082×distribute-lft-neg-in distribute-rgt-neg-in
1015×add-sqr-sqrt
709×add-cube-cbrt
696×associate-*l*
476×associate-*r*
416×distribute-lft-out
148×neg-mul-1
68×distribute-lft-out-- difference-of-squares unswap-sqr
60×associate-/l*
58×associate-/r*
56×distribute-neg-frac
48×frac-times
38×associate-/r/
36×div-inv
34×*-commutative
26×flip3-- flip--
24×associate-*l/
22×distribute-neg-in
19×add-exp-log add-cbrt-cube
18×prod-diff
16×associate-/l/
11×distribute-rgt-in distribute-lft-in
frac-2neg flip3-+ clear-num flip-+
cbrt-undiv div-exp
pow1
associate-*r/ prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
sub-neg
neg-sub0 div-sub distribute-frac-neg pow-prod-down distribute-rgt-neg-out
Counts
3 → 1456
Calls
3 calls:
6.0ms
(/ (+ x 1.0) x)
18.0ms
(* (/ (+ x 1.0) x) (- (- x 1.0)))
61.0ms
(/ (- (- (+ 3.0 (* 1.0 (/ 1 x))))) (* (/ (+ x 1.0) x) (- (- x 1.0))))

series242.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(/ (+ x 1.0) x)
112.0ms
(* (/ (+ x 1.0) x) (- (- x 1.0)))
85.0ms
(/ (- (- (+ 3.0 (* 1.0 (/ 1 x))))) (* (/ (+ x 1.0) x) (- (- x 1.0))))

simplify277.0ms

Algorithm
egg-herbie
Counts
1465 → 1465
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
0372224142
1500223970

prune1.6s

Filtered
1465 candidates to 528 candidates (36.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New146321465
Fresh202
Picked101
Done000
Total146621468

Merged error: 0b

Counts
1468 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
601×add-sqr-sqrt
499×*-un-lft-identity
400×times-frac
240×distribute-lft-neg-in distribute-rgt-neg-in
165×add-cube-cbrt
136×difference-of-squares
114×unswap-sqr
86×associate-*l*
80×distribute-lft-out
72×prod-diff
68×distribute-lft-out--
52×associate-*r*
32×associate-/l*
30×neg-mul-1
24×fma-neg
associate-/r*
div-inv
add-exp-log *-commutative add-cbrt-cube distribute-neg-frac add-log-exp
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
cbrt-undiv neg-sub0 sub-neg frac-2neg flip3-+ diff-log div-sub distribute-frac-neg div-exp clear-num flip-+
Counts
2 → 465
Calls
2 calls:
23.0ms
(- (* 1.0 (/ 1 x)) x)
34.0ms
(/ (- (- (+ 3.0 (* 1.0 (/ 1 x))))) (- (* 1.0 (/ 1 x)) x))

series92.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(- (* 1.0 (/ 1 x)) x)
49.0ms
(/ (- (- (+ 3.0 (* 1.0 (/ 1 x))))) (- (* 1.0 (/ 1 x)) x))

simplify141.0ms

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
010056980
132766275
250015931

prune446.0ms

Filtered
471 candidates to 158 candidates (33.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New4710471
Fresh011
Picked011
Done000
Total4712473

Merged error: 0b

Counts
473 → 2

regimes21.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0209
1329
2489
3659
4789
5809
6809

end0.0ms

sample535.0ms

Algorithm
intervals
Results
177.0ms1670×body1280valid
100.0ms4170×body80valid
100.0ms1219×body640valid
42.0ms618×body320valid
14.0ms323×body160valid