Details

Time bar (total: 21.4s)

sample19.0ms

Algorithm
intervals
Results
5.0ms48×body1280valid
4.0ms43×body640valid
3.0ms144×body80valid
1.0ms11×body320valid
1.0ms10×body160valid

simplify22.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.1b

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
215×*-un-lft-identity
140×frac-sub
115×associate-/r*
113×add-sqr-sqrt
89×associate-/l*
71×add-cube-cbrt
52×times-frac
42×distribute-lft-out
28×distribute-lft-out--
26×frac-2neg clear-num
22×associate-/l/
19×difference-of-squares
12×flip3-+ flip-+
add-exp-log add-cbrt-cube
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- div-exp flip-- div-inv
sub-neg diff-log
Counts
3 → 243
Calls
3 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ x (+ x 1.0))
42.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series221.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
014163130
150013054

prune304.0ms

Filtered
252 candidates to 143 candidates (43.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2484252
Fresh000
Picked101
Done000
Total2494253

Merged error: 0.2b

Counts
253 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) x)
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))))
2.0b
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

rewrite400.0ms

Algorithm
rewrite-expression-head
Rules
3348×add-sqr-sqrt
2269×times-frac
2127×*-un-lft-identity
1057×associate-*l*
1008×unswap-sqr
889×distribute-lft-neg-in distribute-rgt-neg-in
775×difference-of-squares
664×add-cube-cbrt
578×associate-*r*
544×distribute-lft-out--
164×associate-*r/
152×frac-sub
149×distribute-lft-out
144×frac-times
116×associate-/l/ associate-/l*
104×distribute-neg-frac
94×associate-/r*
91×flip3-- flip--
84×flip3-+ flip-+
79×neg-mul-1
72×associate-*l/
44×div-inv
42×*-commutative
38×associate-/r/
20×add-exp-log frac-2neg clear-num add-cbrt-cube
pow1 cbrt-undiv distribute-rgt-in distribute-lft-in div-exp add-log-exp
+-commutative prod-exp associate--l+ cbrt-unprod associate--r+
sub-neg
neg-sub0 diff-log div-sub distribute-frac-neg pow-prod-down
Counts
4 → 1912
Calls
4 calls:
6.0ms
(/ (+ x 1.0) x)
13.0ms
(* (/ (+ x 1.0) x) (+ x 1.0))
110.0ms
(/ (- (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- (- x 1.0))))
41.0ms
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ (+ x 1.0) x)
38.0ms
(* (/ (+ x 1.0) x) (+ x 1.0))
87.0ms
(/ (- (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))) (* (/ (+ x 1.0) x) (- (- x 1.0))))
44.0ms
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

simplify472.0ms

Algorithm
egg-herbie
Counts
1924 → 1924
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
0500145939

prune3.0s

Filtered
1924 candidates to 922 candidates (52.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New192131924
Fresh303
Picked101
Done000
Total192531928

Merged error: 0.0b

Counts
1928 → 3

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite198.0ms

Algorithm
rewrite-expression-head
Rules
1631×*-un-lft-identity
1625×times-frac
1077×distribute-lft-neg-in distribute-rgt-neg-in
976×add-sqr-sqrt
680×associate-*l*
679×add-cube-cbrt
462×associate-*r*
410×distribute-lft-out
147×neg-mul-1
66×distribute-lft-out-- difference-of-squares unswap-sqr
49×associate-/r*
48×associate-/l*
38×associate-/r/
35×div-inv
33×*-commutative
30×distribute-neg-frac
24×frac-times
13×add-exp-log flip3-- add-cbrt-cube flip--
12×associate-*l/
10×associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+
pow1 associate-*r/ prod-exp cbrt-unprod add-log-exp
neg-sub0 div-sub distribute-frac-neg
Counts
2 → 1344
Calls
2 calls:
5.0ms
(/ (+ x 1.0) x)
69.0ms
(/ (- (- (+ (* 1.0 (/ 1 x)) 3.0))) (* (/ (+ x 1.0) x) (- (- x 1.0))))

series140.0ms

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

simplify288.0ms

Algorithm
egg-herbie
Counts
1350 → 1350
Iterations

Useful iterations: 1 (59.0ms)

IterNodesCost
0334123060
1500122984

prune1.1s

Filtered
1350 candidates to 454 candidates (66.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New134821350
Fresh202
Picked011
Done000
Total135031353

Merged error: 0b

Counts
1353 → 3

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
13678×times-frac
10276×*-un-lft-identity
6518×add-sqr-sqrt
4988×add-cube-cbrt
4655×distribute-lft-neg-in distribute-rgt-neg-in
3612×associate-*l*
2380×associate-*r*
2304×distribute-lft-out
1141×neg-mul-1
573×associate-/r*
340×distribute-lft-out-- difference-of-squares unswap-sqr
184×div-inv
170×*-commutative
116×associate-/r/
112×associate-/l*
90×associate-/l/
76×distribute-neg-frac
48×frac-times
28×add-exp-log add-cbrt-cube
26×flip3-- flip--
24×associate-*l/
19×flip3-+ flip-+
13×cbrt-undiv div-exp
10×frac-2neg clear-num
associate-*r/ prod-exp cbrt-unprod
pow1 add-log-exp
distribute-frac-neg
neg-sub0 div-sub distribute-rgt-neg-out
Counts
3 → 6545
Calls
3 calls:
6.0ms
(/ (+ x 1.0) x)
50.0ms
(/ (* (/ (+ x 1.0) x) (- (- x 1.0))) (- (+ (* 1.0 (/ 1 x)) 3.0)))
225.0ms
(/ (- 1) (/ (* (/ (+ x 1.0) x) (- (- x 1.0))) (- (+ (* 1.0 (/ 1 x)) 3.0))))

series236.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ (+ x 1.0) x)
96.0ms
(/ (* (/ (+ x 1.0) x) (- (- x 1.0))) (- (+ (* 1.0 (/ 1 x)) 3.0)))
90.0ms
(/ (- 1) (/ (* (/ (+ x 1.0) x) (- (- x 1.0))) (- (+ (* 1.0 (/ 1 x)) 3.0))))

simplify1.7s

Algorithm
egg-herbie
Counts
6554 → 6554
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
05054141193

prune11.3s

Filtered
6554 candidates to 3254 candidates (50.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New655406554
Fresh011
Picked011
Done011
Total655436557

Merged error: 0b

Counts
6557 → 3

regimes17.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 (1.0ms)

IterNodesCost
02811
14411
26311
38311
410211
510411
610411

end0.0ms

sample533.0ms

Algorithm
intervals
Results
179.0ms1700×body1280valid
110.0ms1275×body640valid
93.0ms4093×body80valid
39.0ms616×body320valid
16.0ms316×body160valid