Details

Time bar (total: 3.1s)

sample20.0ms

Algorithm
intervals
Results
6.0ms192×body80valid
2.0ms16×body1280valid
2.0ms19×body640valid
2.0ms19×body320valid
1.0ms10×body160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

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: 21.7b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.6b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.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)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series142.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune124.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.0b

Counts
73 → 4

localize6.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.6b
(- 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))
12.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:
34.0ms
(/ y (+ y 1.0))
46.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
64.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0400572
11790526
25002526

prune141.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh033
Picked011
Done000
Total974101

Merged error: 0.0b

Counts
101 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
5.1b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
16.9b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite35.0ms

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

series344.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (- 1.0 x) y)
77.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
154.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
86.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05671027
13078900
25001900

prune181.0ms

Filtered
117 candidates to 82 candidates (70.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh022
Picked011
Done011
Total1174121

Merged error: 0.0b

Counts
121 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

5.9b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.9b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.9b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.9b
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
28×times-frac
21×add-exp-log add-cbrt-cube
20×add-sqr-sqrt add-cube-cbrt
16×associate-/r*
11×distribute-lft-out
associate-/r/ associate-/l/
cbrt-undiv div-exp associate-/l*
associate-*l/
difference-of-squares
pow1 flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv add-log-exp
prod-exp cbrt-unprod
div-sub
Counts
4 → 122
Calls
4 calls:
12.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
12.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

series530.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
47.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
394.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

simplify70.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04311543
120191406
250011406

prune235.0ms

Filtered
134 candidates to 98 candidates (73.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh011
Picked101
Done022
Total1344138

Merged error: 0.0b

Counts
138 → 4

regimes148.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch92.0ms

Steps
ItersRangePoint
9
172312.70592171172
58211804231.258
94936908.52428018
10
-4.445579369187069e+17
-1822035.3400642718
-21195722.51507012

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13314

end0.0ms

sample518.0ms

Algorithm
intervals
Results
181.0ms6058×body80valid
83.0ms757×body640valid
56.0ms371×body1280valid
47.0ms550×body320valid
15.0ms264×body160valid