Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
Results
9.0ms292×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
8.0ms
(* x (+ (/ x y) 1.0))
11.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series72.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0306352
11568305
25001304

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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.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:
12.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series114.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
67.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05041464
123901406
250021404

prune260.0ms

Filtered
156 candidates to 100 candidates (64.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh044
Picked011
Done000
Total1556161

Merged error: 0b

Counts
161 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
50×times-frac
40×*-un-lft-identity
31×add-exp-log
28×add-sqr-sqrt
26×add-cube-cbrt
19×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-/r* associate-/r/
cbrt-undiv flip3-+ flip-+ distribute-lft-out associate-/l*
pow1 div-inv
prod-exp
associate-*r*
expm1-log1p-u rec-exp 1-exp associate-*l* cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down *-commutative inv-pow unswap-sqr
Counts
3 → 124
Calls
3 calls:
10.0ms
(* x (+ (/ x y) 1.0))
18.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
12.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

series156.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* x (+ (/ x y) 1.0))
43.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
87.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify74.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04931039
12692905
25002850

prune143.0ms

Filtered
133 candidates to 72 candidates (54.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh224
Picked011
Done011
Total1345139

Merged error: 0b

Counts
139 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
794×times-frac
632×*-un-lft-identity
336×add-sqr-sqrt add-cube-cbrt
148×distribute-lft-out
77×associate-/r*
31×add-exp-log
28×div-inv
23×associate-/l*
19×div-exp add-cbrt-cube
11×associate-/r/
10×cbrt-undiv
flip3-+ flip-+
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 → 448
Calls
3 calls:
5.0ms
(/ (+ x 1.0) x)
17.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
22.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

series178.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ (+ x 1.0) x)
83.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
49.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
457 → 457
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011885498
150014969

prune517.0ms

Filtered
457 candidates to 229 candidates (50.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New4570457
Fresh022
Picked011
Done022
Total4575462

Merged error: 0b

Counts
462 → 5

regimes38.0ms

Accuracy

0% (0.0b 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

sample430.0ms

Algorithm
intervals
Results
287.0ms9093×body80valid

Profiling

Loading profile data...