Details

Time bar (total: 2.8s)

sample235.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.31311%

Guaranteed chance to sample good point: 97.350695%

Results
13.0ms256×body80valid
1.0ms18×body80invalid

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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.3b

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

rewrite29.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:
6.0ms
(+ (/ x y) 1.0)
9.0ms
(* x (+ (/ x y) 1.0))
13.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
4.0ms
(* x (+ (/ x y) 1.0))
6.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0301391
11508339
25001337

prune100.0ms

Filtered
48 candidates to 71 candidates (-47.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New65671
Fresh000
Picked101
Done000
Total66672

Merged error: 0.0b

Counts
72 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
0.1b
(/ (+ 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:
6.0ms
(+ (/ x y) 1.0)
13.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
12.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series16.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
6.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
8.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04991501
123491440
250021438

prune183.0ms

Filtered
105 candidates to 167 candidates (-59.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1661167
Fresh145
Picked011
Done000
Total1676173

Merged error: 0b

Counts
173 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
0.3b
(* (/ x y) (/ x y))
5.2b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
5.7b
(* (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ x (- (/ x y) 1.0)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
338×times-frac
237×*-un-lft-identity
221×add-sqr-sqrt
161×add-cube-cbrt
84×associate-*l*
74×add-exp-log
44×add-cbrt-cube
39×difference-of-squares
37×associate-*r*
33×div-exp distribute-lft-out
26×associate-/r*
20×associate-/r/
18×prod-exp
17×cbrt-undiv
15×div-inv
14×pow1 unswap-sqr
13×swap-sqr
10×cbrt-unprod
flip3-- flip--
associate-/l*
rec-exp 1-exp
add-log-exp
distribute-lft-out--
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
pow2 pow-flip flip3-+ pow-plus pow-sqr pow-prod-up flip-+ inv-pow
Counts
4 → 356
Calls
4 calls:
14.0ms
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
10.0ms
(* (/ x y) (/ x y))
11.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
49.0ms
(* (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ x (- (/ x y) 1.0)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
5.0ms
(* (/ x y) (/ x y))
9.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
17.0ms
(* (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ x (- (/ x y) 1.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
368 → 368
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
014694661
150014252

prune522.0ms

Filtered
233 candidates to 368 candidates (-57.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3680368
Fresh044
Picked011
Done011
Total3686374

Merged error: 0b

Counts
374 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
0.1b
(* x (+ (/ x y) 1.0))
14.1b
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
17×add-sqr-sqrt *-un-lft-identity
13×associate-*l*
11×add-cube-cbrt
associate-*r*
pow1 times-frac
associate-*r/ prod-exp cbrt-unprod add-log-exp
cbrt-undiv flip3-- div-exp associate-/r* associate-/r/ flip-- difference-of-squares
distribute-rgt-in distribute-lft-in flip3-+ flip-+
frac-times sub-neg pow-prod-down *-commutative div-inv associate-/l/ distribute-lft-out unswap-sqr
+-commutative frac-2neg associate-*l/ clear-num sum-log associate-/l* distribute-lft-out--
Counts
4 → 102
Calls
4 calls:
6.0ms
(+ (/ x y) 1.0)
16.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
8.0ms
(* x (+ (/ x y) 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (/ x y) 1.0)
8.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
4.0ms
(* x (+ (/ x y) 1.0))
10.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify94.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0535991
13091849
25001848

prune120.0ms

Filtered
79 candidates to 114 candidates (-44.3%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh033
Picked011
Done022
Total1146120

Merged error: 0b

Counts
120 → 6

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

sample705.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.31311%

Guaranteed chance to sample good point: 97.350695%

Results
274.0ms8000×body80valid
23.0ms684×body80invalid

Profiling

Loading profile data...