Details

Time bar (total: 2.4s)

sample17.0ms

Algorithm
intervals
Results
9.0ms290×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
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: 12.3b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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 div-exp prod-exp associate-/r/ cbrt-unprod 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 → 50
Calls
2 calls:
9.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series66.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0296332
11504285
25001283

prune86.0ms

Filtered
56 candidates to 38 candidates (67.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New52456
Fresh000
Picked101
Done000
Total53457

Merged error: 0b

Counts
57 → 4

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

rewrite34.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 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 146
Calls
2 calls:
14.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series109.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
64.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04941442
123441386
250011384

prune198.0ms

Filtered
152 candidates to 95 candidates (62.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1520152
Fresh033
Picked011
Done000
Total1524156

Merged error: 0b

Counts
156 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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 div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 81
Calls
2 calls:
11.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
19.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

series77.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328616
11518563
25001558

prune111.0ms

Filtered
87 candidates to 55 candidates (63.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New87087
Fresh022
Picked011
Done011
Total87491

Merged error: 0b

Counts
91 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ x y) (/ x y))
0.3b
(pow (/ x y) 3)
0.5b
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
20.5b
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (+ (* 1.0 (- 1.0 (/ x y))) (* (/ x y) (/ x y))) (+ x 1.0)))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
59×*-un-lft-identity times-frac
49×add-cube-cbrt
33×add-exp-log add-cbrt-cube
31×associate-*r/
26×associate-/r/
23×frac-times
22×associate-*r*
18×frac-add
17×unpow-prod-down cube-prod
16×associate-*l*
15×associate-*l/
14×pow1 flip3-+ flip-+
13×swap-sqr
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod
div-inv
distribute-lft-out unswap-sqr
add-log-exp
pow-unpow
pow-prod-down pow-exp *-commutative associate-/l/ rem-cube-cbrt
cube-div pow2 distribute-rgt-in cube-mult pow-to-exp pow-pow frac-2neg distribute-lft-in pow-plus unpow3 clear-num associate-/r* pow-sqr sum-cubes pow-prod-up associate-/l* sqr-pow
Counts
4 → 190
Calls
4 calls:
10.0ms
(* (/ x y) (/ x y))
5.0ms
(pow (/ x y) 3)
31.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
42.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (+ (* 1.0 (- 1.0 (/ x y))) (* (/ x y) (/ x y))) (+ x 1.0)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (/ x y) (/ x y))
29.0ms
(pow (/ x y) 3)
89.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
98.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (+ (* 1.0 (- 1.0 (/ x y))) (* (/ x y) (/ x y))) (+ x 1.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012861907
150011676

prune448.0ms

Filtered
202 candidates to 126 candidates (62.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2020202
Fresh011
Picked011
Done022
Total2024206

Merged error: 0b

Counts
206 → 4

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

sample473.0ms

Algorithm
intervals
Results
317.0ms9189×body80valid

Profiling

Loading profile data...