Details

Time bar (total: 2.0s)

sample15.0ms

Algorithm
intervals
Results
7.0ms294×body80valid

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

Counts
2 → 1

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

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

series65.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0306352
11568305
25001304

prune92.0ms

Filtered
60 candidates to 42 candidates (70.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New56460
Fresh000
Picked101
Done000
Total57461

Merged error: 0b

Counts
61 → 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))

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

series106.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05041464
123901406
250021404

prune200.0ms

Filtered
156 candidates to 99 candidates (63.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh033
Picked011
Done000
Total1564160

Merged error: 0b

Counts
160 → 4

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

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

series73.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337638
11571584
25001580

prune120.0ms

Filtered
91 candidates to 59 candidates (64.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh022
Picked011
Done011
Total91495

Merged error: 0b

Counts
95 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (/ x y) 1.0))
0.1b
(* x (sqrt (+ (/ x y) 1.0)))
0.1b
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
5.7b
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
28×sqrt-div
22×add-sqr-sqrt *-un-lft-identity
20×add-exp-log add-cbrt-cube
18×associate-*r/
15×flip3-+ flip-+
14×associate-*r*
13×sqrt-prod
12×pow1 add-cube-cbrt
frac-times associate-/l/
prod-exp cbrt-unprod
times-frac distribute-lft-out
expm1-log1p-u associate-*l* pow-prod-down associate-*l/ associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv div-exp
associate-/r/ *-commutative hypot-def unswap-sqr
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num div-inv associate-/l*
Counts
4 → 116
Calls
4 calls:
11.0ms
(sqrt (+ (/ x y) 1.0))
10.0ms
(* x (sqrt (+ (/ x y) 1.0)))
18.0ms
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
21.0ms
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

series262.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(sqrt (+ (/ x y) 1.0))
113.0ms
(* x (sqrt (+ (/ x y) 1.0)))
25.0ms
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
42.0ms
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04931078
12435896
25002868

prune212.0ms

Filtered
128 candidates to 87 candidates (68.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh011
Picked011
Done022
Total1284132

Merged error: 0b

Counts
132 → 4

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

sample384.0ms

Algorithm
intervals
Results
238.0ms9120×body80valid