Details

Time bar (total: 1.8s)

sample18.0ms

Algorithm
intervals
Results
8.0ms286×body80valid

simplify63.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.6b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.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)
8.0ms
(* x (+ (/ x y) 1.0))
11.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))

simplify46.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0301391
11508339
25001337

prune85.0ms

Filtered
71 candidates to 48 candidates (32.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh000
Picked101
Done000
Total68472

Merged error: 0b

Counts
72 → 4

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

rewrite36.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)
12.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

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

simplify64.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04991501
123491440
250021438

prune173.0ms

Filtered
167 candidates to 105 candidates (37.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1670167
Fresh033
Picked011
Done000
Total1674171

Merged error: 0b

Counts
171 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* x (+ (/ x y) 1.0))
0.1b
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
11.9b
(/ (* 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)
8.0ms
(* x (+ (/ x y) 1.0))
16.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series26.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0535991
13091849
25001848

prune123.0ms

Filtered
114 candidates to 78 candidates (31.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh022
Picked011
Done011
Total1144118

Merged error: 0b

Counts
118 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ x 1.0) (- (/ x y) 1.0))
0.2b
(* (/ x y) (/ x y))
1.2b
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
14.5b
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
42×times-frac
40×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log add-cbrt-cube
23×associate-*r*
20×associate-*l*
15×pow1
13×swap-sqr
10×prod-exp cbrt-unprod
frac-times associate-*r/
cbrt-undiv flip3-- div-exp associate-/r/ flip--
flip3-+ flip-+ unswap-sqr
associate-*l/ div-inv
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
pow-prod-down *-commutative difference-of-squares
associate-/l/
pow2 frac-2neg pow-plus clear-num associate-/r* pow-sqr pow-prod-up distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 157
Calls
4 calls:
11.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
9.0ms
(* (/ x y) (/ x y))
12.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
18.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

series30.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08611390
149501142
250011142

prune167.0ms

Filtered
169 candidates to 113 candidates (33.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done022
Total1694173

Merged error: 0b

Counts
173 → 4

regimes72.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
277.0ms9137×body80valid

Profiling

Loading profile data...