Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
10.0ms301×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

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

series79.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ (/ x y) 1.0)
24.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0301391
11508339
25001337

prune107.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh000
Picked101
Done000
Total68472

Merged error: 0.0b

Counts
72 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
158×*-un-lft-identity
146×times-frac
72×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
26×associate-/r*
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative sum-log
Counts
3 → 158
Calls
3 calls:
7.0ms
(+ (/ x y) 1.0)
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
14.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

series117.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(+ (/ x y) 1.0)
60.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
43.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04991501
123491440
250021438

prune223.0ms

Filtered
167 candidates to 106 candidates (63.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1652167
Fresh123
Picked011
Done000
Total1665171

Merged error: 0b

Counts
171 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
812×times-frac
622×*-un-lft-identity
344×add-sqr-sqrt add-cube-cbrt
139×distribute-lft-out
77×associate-/r*
35×associate-/r/
32×add-exp-log
29×associate-/l*
23×div-inv
20×add-cbrt-cube
19×flip3-+ div-exp flip-+
10×cbrt-undiv
add-log-exp
pow1
rec-exp frac-2neg 1-exp clear-num associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 466
Calls
4 calls:
7.0ms
(+ (/ x y) 1.0)
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
15.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
25.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series194.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (/ x y) 1.0)
64.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
79.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
40.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify90.0ms

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012915812
150015274

prune604.0ms

Filtered
478 candidates to 252 candidates (52.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New4780478
Fresh033
Picked011
Done011
Total4785483

Merged error: 0b

Counts
483 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.0b
(/ 1 (+ x 1.0))
0.1b
(* x (+ (/ x y) 1.0))
10.3b
(* (* x (+ (/ x y) 1.0)) (/ 1 (+ x 1.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
32×add-exp-log
25×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
22×associate-*r*
20×add-cbrt-cube
13×prod-exp
12×pow1
distribute-lft-out
associate-*r/ cbrt-unprod
flip3-+ div-exp flip-+ add-log-exp
associate-*l* pow-prod-down associate-/r* associate-/r/
cbrt-undiv rec-exp 1-exp associate-/l*
frac-times associate-*l/ *-commutative div-inv
+-commutative distribute-rgt-in pow-flip frac-2neg distribute-lft-in clear-num sum-log un-div-inv inv-pow unswap-sqr
Counts
4 → 119
Calls
4 calls:
10.0ms
(+ (/ x y) 1.0)
5.0ms
(/ 1 (+ x 1.0))
9.0ms
(* x (+ (/ x y) 1.0))
17.0ms
(* (* x (+ (/ x y) 1.0)) (/ 1 (+ x 1.0)))

series104.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (/ x y) 1.0)
27.0ms
(/ 1 (+ x 1.0))
24.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(* (* x (+ (/ x y) 1.0)) (/ 1 (+ x 1.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0493754
12790639
25001604

prune144.0ms

Filtered
131 candidates to 72 candidates (55.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh022
Picked011
Done022
Total1315136

Merged error: 0b

Counts
136 → 5

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

sample467.0ms

Algorithm
intervals
Results
317.0ms9148×body80valid

Profiling

Loading profile data...