Details

Time bar (total: 3.2s)

sample23.0ms

Algorithm
intervals
Results
6.0ms192×body80valid
2.0ms21×body640valid
2.0ms14×body1280valid
2.0ms20×body320valid
0.0msbody160valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150025

prune7.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: 23.7b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.5b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.9b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite23.0ms

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

series142.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(* (- 1.0 x) y)
67.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune194.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done000
Total71273

Merged error: 0.1b

Counts
73 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ y 1.0))
0.0b
(* (- 1.0 x) (/ y (+ y 1.0)))
3.5b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
28×add-sqr-sqrt
25×times-frac
21×add-cube-cbrt
18×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-*l* add-log-exp
associate-/r* associate-/r/
flip3-- flip-- associate-/l*
cbrt-undiv frac-times flip3-+ div-exp associate-*l/ prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 88
Calls
3 calls:
5.0ms
(/ y (+ y 1.0))
14.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
3.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series144.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ y (+ y 1.0))
46.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
65.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0400572
11790526
25001526

prune234.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh011
Picked011
Done000
Total97299

Merged error: 0.1b

Counts
99 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
0.0b
(- (/ 1 y) (/ x y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×*-un-lft-identity
14×times-frac
add-log-exp difference-of-squares
div-inv distribute-lft-out--
add-cube-cbrt associate-+l+
sub-neg distribute-rgt-out--
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
+-commutative flip3-- flip3-+ diff-log sum-log frac-sub flip-- flip-+ sub-div
Counts
2 → 43
Calls
2 calls:
16.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
12.0ms
(- (/ 1 y) (/ x y))

series50.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
19.0ms
(- (/ 1 y) (/ x y))

simplify76.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0224317
1627291
22875282
35001274

prune112.0ms

Filtered
49 candidates to 33 candidates (67.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New48149
Fresh000
Picked011
Done011
Total48351

Merged error: 0.1b

Counts
51 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (/ 1 y) (/ x y))) (cbrt (- (/ 1 y) (/ x y))))
9.6b
(cbrt (- (/ 1 y) (/ x y)))
9.6b
(cbrt (- (/ 1 y) (/ x y)))
9.6b
(cbrt (- (/ 1 y) (/ x y)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
156×add-sqr-sqrt
145×*-un-lft-identity
139×cbrt-prod
98×times-frac
52×cbrt-div
45×div-inv
43×distribute-lft-out--
42×difference-of-squares
29×add-cube-cbrt
28×swap-sqr
25×distribute-rgt-out--
20×associate-*r* associate-*l*
16×frac-times
13×flip3-- frac-sub flip-- sub-div
11×pow1
pow1/3
add-exp-log
associate-*r/ associate-*l/ add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 201
Calls
4 calls:
35.0ms
(* (cbrt (- (/ 1 y) (/ x y))) (cbrt (- (/ 1 y) (/ x y))))
12.0ms
(cbrt (- (/ 1 y) (/ x y)))
12.0ms
(cbrt (- (/ 1 y) (/ x y)))
14.0ms
(cbrt (- (/ 1 y) (/ x y)))

series313.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (cbrt (- (/ 1 y) (/ x y))) (cbrt (- (/ 1 y) (/ x y))))
75.0ms
(cbrt (- (/ 1 y) (/ x y)))
71.0ms
(cbrt (- (/ 1 y) (/ x y)))
76.0ms
(cbrt (- (/ 1 y) (/ x y)))

simplify75.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05202571
117792415
250012314

prune671.0ms

Filtered
213 candidates to 138 candidates (64.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2112213
Fresh000
Picked011
Done022
Total2115216

Merged error: 0.1b

Counts
216 → 5

regimes191.0ms

Accuracy

100% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 14.3b

bsearch82.0ms

Steps
ItersRangePoint
8
114238954.84408061
328637328821.9021
241892039.75311676
9
-51137879487.79511
-3090.2072336971705
-98825120.65124808

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample580.0ms

Algorithm
intervals
Results
176.0ms6113×body80valid
78.0ms704×body640valid
53.0ms364×body1280valid
41.0ms514×body320valid
17.0ms305×body160valid

Profiling

Loading profile data...