Details

Time bar (total: 3.4s)

sample18.0ms

Algorithm
intervals
Results
10.0ms294×body80valid

simplify76.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.6b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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))
13.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series73.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(* x (+ (/ x y) 1.0))
43.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

prune105.0ms

Filtered
60 candidates to 42 candidates (70.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New54660
Fresh000
Picked101
Done000
Total55661

Merged error: 0b

Counts
61 → 6

localize7.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))

rewrite31.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)))
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series105.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))

simplify71.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05041464
123901406
250021404

prune239.0ms

Filtered
156 candidates to 99 candidates (63.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh055
Picked011
Done000
Total1566162

Merged error: 0b

Counts
162 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ (/ x y) 1.0))
0.3b
(cbrt (+ (/ x y) 1.0))
0.3b
(cbrt (+ (/ x y) 1.0))
9.0b
(/ (* (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (cbrt (+ (/ x y) 1.0))) (+ x 1.0))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
32×associate-*r/
31×flip3-+ flip-+
28×frac-times
26×associate-/l/
19×*-un-lft-identity
18×add-exp-log
14×associate-*l/
13×add-cbrt-cube
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
prod-exp cbrt-unprod
distribute-lft-out
pow1 cbrt-undiv expm1-log1p-u times-frac div-exp associate-/r* log1p-expm1-u add-log-exp
pow1/3
associate-/r/
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 105
Calls
4 calls:
7.0ms
(cbrt (+ (/ x y) 1.0))
6.0ms
(cbrt (+ (/ x y) 1.0))
6.0ms
(cbrt (+ (/ x y) 1.0))
37.0ms
(/ (* (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (cbrt (+ (/ x y) 1.0))) (+ x 1.0))

series760.0ms

Counts
4 → 12
Calls
4 calls:
235.0ms
(cbrt (+ (/ x y) 1.0))
248.0ms
(cbrt (+ (/ x y) 1.0))
235.0ms
(cbrt (+ (/ x y) 1.0))
41.0ms
(/ (* (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (cbrt (+ (/ x y) 1.0))) (+ x 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04551322
119321108
250011039

prune292.0ms

Filtered
117 candidates to 99 candidates (84.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh044
Picked011
Done011
Total1176123

Merged error: 0b

Counts
123 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
9.0b
(/ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ (/ x y) 1.0))) (+ x 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
16×add-cbrt-cube
13×*-un-lft-identity
cbrt-prod add-sqr-sqrt add-cube-cbrt
prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 expm1-log1p-u times-frac associate-*r/ associate-/r* log1p-expm1-u add-log-exp
pow1/3
flip3-+ associate-/r/ flip-+ associate-/l/ distribute-lft-out
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 74
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
18.0ms
(/ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ (/ x y) 1.0))) (+ x 1.0))

series600.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt x)
187.0ms
(cbrt x)
172.0ms
(cbrt x)
61.0ms
(/ (* (* (cbrt x) (cbrt x)) (* (cbrt x) (+ (/ x y) 1.0))) (+ x 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0389619
12150472
25002427

prune156.0ms

Filtered
86 candidates to 66 candidates (76.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh033
Picked011
Done022
Total86692

Merged error: 0b

Counts
92 → 6

regimes46.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample458.0ms

Algorithm
intervals
Results
315.0ms9179×body80valid

Profiling

Loading profile data...