Details

Time bar (total: 8.3s)

sample21.0ms

Algorithm
intervals
Results
5.0ms49×body1280valid
4.0ms48×body640valid
3.0ms130×body80valid
1.0ms20×body320valid
0.0msbody160valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.3b

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

rewrite132.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:
5.0ms
(/ x (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
54.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series227.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ x (+ x 1.0))
45.0ms
(/ (+ x 1.0) (- x 1.0))
146.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify227.0ms

Algorithm
egg-herbie
Counts
744 → 744
Iterations

Useful iterations: 1 (56.0ms)

IterNodesCost
0231820312
1500317909

prune846.0ms

Filtered
744 candidates to 281 candidates (37.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New7404744
Fresh000
Picked101
Done000
Total7414745

Merged error: 0.1b

Counts
745 → 4

localize13.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))
1.9b
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

rewrite331.0ms

Algorithm
rewrite-expression-head
Rules
1801×add-sqr-sqrt
1345×*-un-lft-identity
1062×times-frac
810×associate-*l*
541×add-cube-cbrt
488×unswap-sqr
441×prod-diff
318×difference-of-squares
304×associate-*r*
228×distribute-lft-out--
168×frac-times
166×associate-*r/
152×frac-sub
145×distribute-lft-out
120×associate-/l/
104×flip3-- flip--
102×associate-/l*
91×associate-/r*
86×flip3-+ flip-+
84×associate-*l/
64×*-commutative
38×associate-/r/
37×div-inv
28×distribute-rgt-in distribute-lft-in
23×add-exp-log add-cbrt-cube
22×frac-2neg associate--l+ clear-num
15×fma-neg
pow1 associate--r+
cbrt-undiv +-commutative div-exp prod-exp cbrt-unprod add-log-exp
sub-neg div-sub
expm1-log1p-u log1p-expm1-u
pow-prod-down
diff-log
Counts
4 → 1417
Calls
4 calls:
13.0ms
(* (/ (+ x 1.0) x) (+ x 1.0))
105.0ms
(/ (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0))) (* (/ (+ x 1.0) x) (- x 1.0)))
18.0ms
(* (/ (+ x 1.0) x) (- x 1.0))
52.0ms
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (/ (+ x 1.0) x) (+ x 1.0))
102.0ms
(/ (- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0))) (* (/ (+ x 1.0) x) (- x 1.0)))
107.0ms
(* (/ (+ x 1.0) x) (- x 1.0))
37.0ms
(- (* 1 (- x 1.0)) (* (/ (+ x 1.0) x) (+ x 1.0)))

simplify337.0ms

Algorithm
egg-herbie
Counts
1429 → 1429
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0500132635

prune2.3s

Filtered
1429 candidates to 693 candidates (48.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New142721429
Fresh213
Picked101
Done000
Total143031433

Merged error: 0b

Counts
1433 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
668×*-un-lft-identity
612×times-frac
396×add-sqr-sqrt
315×associate-*l*
284×add-cube-cbrt
176×distribute-lft-out
145×distribute-lft-neg-in distribute-rgt-neg-in
80×associate-*r*
49×associate-/r*
48×frac-times
42×associate-/l*
38×associate-/r/
32×unswap-sqr
29×neg-mul-1
26×flip3-- flip--
24×associate-*l/
20×add-exp-log add-cbrt-cube
18×prod-diff div-inv
16×*-commutative associate-/l/ distribute-lft-out-- difference-of-squares
11×distribute-rgt-in distribute-lft-in
flip3-+ flip-+
frac-2neg clear-num
pow1 cbrt-undiv div-exp add-log-exp
expm1-log1p-u associate-*r/ prod-exp cbrt-unprod log1p-expm1-u
fma-def
sub-neg distribute-neg-frac
+-commutative neg-sub0 div-sub distribute-frac-neg pow-prod-down sum-log
Counts
4 → 645
Calls
4 calls:
10.0ms
(/ (+ x 1.0) x)
10.0ms
(+ 3.0 (* 1.0 (/ 1 x)))
39.0ms
(/ (- (+ 3.0 (* 1.0 (/ 1 x)))) (* (/ (+ x 1.0) x) (- x 1.0)))
14.0ms
(* (/ (+ x 1.0) x) (- x 1.0))

series287.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (+ x 1.0) x)
30.0ms
(+ 3.0 (* 1.0 (/ 1 x)))
92.0ms
(/ (- (+ 3.0 (* 1.0 (/ 1 x)))) (* (/ (+ x 1.0) x) (- x 1.0)))
112.0ms
(* (/ (+ x 1.0) x) (- x 1.0))

simplify140.0ms

Algorithm
egg-herbie
Counts
657 → 657
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
020508961
150028373

prune833.0ms

Filtered
657 candidates to 348 candidates (53.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New6552657
Fresh202
Picked101
Done000
Total6582660

Merged error: 0b

Counts
660 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
701×*-un-lft-identity
691×times-frac
491×add-sqr-sqrt
304×associate-*r*
295×add-cube-cbrt
155×distribute-lft-neg-in distribute-rgt-neg-in
142×distribute-lft-out
127×associate-*l*
60×distribute-lft-out--
58×difference-of-squares
53×associate-/l*
52×frac-times
51×associate-/r*
44×associate-/r/
32×unswap-sqr
31×neg-mul-1
30×flip3-+ flip-+
26×associate-*r/
20×add-exp-log add-cbrt-cube
18×div-inv
16×*-commutative associate-/l/
10×clear-num
frac-2neg
flip3-- flip--
pow1 cbrt-undiv div-exp un-div-inv add-log-exp
expm1-log1p-u associate-*l/ prod-exp cbrt-unprod log1p-expm1-u
fma-def
div-sub distribute-neg-frac
+-commutative neg-sub0 distribute-frac-neg pow-prod-down sum-log
Counts
4 → 672
Calls
4 calls:
7.0ms
(/ (- x 1.0) x)
11.0ms
(+ 3.0 (* 1.0 (/ 1 x)))
14.0ms
(* (+ x 1.0) (/ (- x 1.0) x))
42.0ms
(/ (- (+ 3.0 (* 1.0 (/ 1 x)))) (* (+ x 1.0) (/ (- x 1.0) x)))

series284.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (- x 1.0) x)
31.0ms
(+ 3.0 (* 1.0 (/ 1 x)))
110.0ms
(* (+ x 1.0) (/ (- x 1.0) x))
95.0ms
(/ (- (+ 3.0 (* 1.0 (/ 1 x)))) (* (+ x 1.0) (/ (- x 1.0) x)))

simplify140.0ms

Algorithm
egg-herbie
Counts
684 → 684
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
019879504
150029046

prune988.0ms

Filtered
684 candidates to 398 candidates (58.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New6831684
Fresh101
Picked011
Done000
Total6842686

Merged error: 0b

Counts
686 → 2

regimes13.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1319
2339
3339

end0.0ms

sample535.0ms

Algorithm
intervals
Results
186.0ms1656×body1280valid
104.0ms1191×body640valid
100.0ms4206×body80valid
40.0ms617×body320valid
15.0ms330×body160valid