Details

Time bar (total: 6.0s)

sample21.0ms

Algorithm
intervals
Results
9.0ms288×body80valid

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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
8.0ms
(* x (+ (/ x y) 1.0))
11.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series11.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0296332
11504285
25001283

prune148.0ms

Filtered
56 candidates to 38 candidates (32.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50656
Fresh000
Picked101
Done000
Total51657

Merged error: 0.0b

Counts
57 → 6

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

series14.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
8.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04941442
123441386
250011384

prune499.0ms

Filtered
152 candidates to 96 candidates (36.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1511152
Fresh145
Picked011
Done000
Total1526158

Merged error: 0.0b

Counts
158 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
26×add-sqr-sqrt times-frac
21×add-cube-cbrt
13×associate-*r*
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-/r* associate-/l*
flip3-+ associate-*l* flip-+
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 84
Calls
3 calls:
5.0ms
(+ (* x (/ x y)) (* x 1.0))
6.0ms
(* x (/ x y))
9.0ms
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

series15.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0390634
11859571
25001566

prune337.0ms

Filtered
93 candidates to 65 candidates (30.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh044
Picked011
Done011
Total93699

Merged error: 0.0b

Counts
99 → 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))
2.6b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
7.0b
(* (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ x (- (/ x y) 1.0)))

rewrite102.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:
13.0ms
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
9.0ms
(* (/ x y) (/ x y))
10.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
47.0ms
(* (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ x (- (/ x y) 1.0)))

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

simplify78.0ms

Algorithm
egg-herbie
Counts
368 → 368
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
014694661
150014252

prune3.8s

Filtered
368 candidates to 233 candidates (36.7%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3680368
Fresh033
Picked011
Done022
Total3686374

Merged error: 0.0b

Counts
374 → 6

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

sample491.0ms

Algorithm
intervals
Results
270.0ms9109×body80valid

Profiling

Loading profile data...