Details

Time bar (total: 2.4s)

sample17.0ms

Algorithm
intervals
Results
9.0ms296×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
1350015

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

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
8.7b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
9.0ms
(* x (+ (/ x y) 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series70.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(* x (+ (/ x y) 1.0))
42.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0306352
11568305
25001304

prune97.0ms

Filtered
60 candidates to 42 candidates (70.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New55560
Fresh000
Picked101
Done000
Total56561

Merged error: 0.0b

Counts
61 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
13.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
13.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series104.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
65.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05041464
123901406
250021404

prune212.0ms

Filtered
156 candidates to 99 candidates (63.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh044
Picked011
Done000
Total1556161

Merged error: 0b

Counts
161 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (+ (/ x y) 1.0) (+ x 1.0))
0.2b
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
33×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt associate-*r*
18×distribute-lft-out
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/r/ associate-/l*
flip3-+ associate-*l* flip-+
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 85
Calls
2 calls:
10.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
14.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
43.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337638
11571584
25001580

prune115.0ms

Filtered
91 candidates to 59 candidates (64.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh044
Picked011
Done011
Total91697

Merged error: 0b

Counts
97 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
812×times-frac
619×*-un-lft-identity
343×add-sqr-sqrt add-cube-cbrt
138×distribute-lft-out
77×associate-/r*
35×associate-/r/
31×add-exp-log
29×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
18×flip3-+ flip-+
10×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip inv-pow
Counts
3 → 460
Calls
3 calls:
14.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
25.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
62.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
40.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify89.0ms

Algorithm
egg-herbie
Counts
469 → 469
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012985782
150025246

prune533.0ms

Filtered
469 candidates to 248 candidates (52.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4681469
Fresh123
Picked011
Done022
Total4696475

Merged error: 0b

Counts
475 → 6

regimes60.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample407.0ms

Algorithm
intervals
Results
267.0ms9092×body80valid