Details

Time bar (total: 2.6s)

sample18.0ms

Algorithm
intervals
Results
5.0ms203×body80valid
2.0ms23×body640valid
2.0ms13×body1280valid
1.0ms10×body320valid
0.0msbody160valid

simplify64.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: 22.9b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

series144.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune133.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New67572
Fresh000
Picked101
Done000
Total68573

Merged error: 0.2b

Counts
73 → 5

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

rewrite26.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:
8.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)))
63.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify54.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0400572
11790526
25002526

prune152.0ms

Filtered
97 candidates to 69 candidates (71.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done000
Total975102

Merged error: 0.2b

Counts
102 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

1.5b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.6b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-exp-log add-cbrt-cube
12×add-sqr-sqrt times-frac associate-/r*
10×add-cube-cbrt
cbrt-undiv div-exp associate-*l/ associate-/r/ associate-/l/ distribute-lft-out add-log-exp
pow1 flip3-- flip--
frac-2neg flip3-+ prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l*
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 95
Calls
4 calls:
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series200.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
48.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))

simplify46.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0287648
11151575
25001574

prune235.0ms

Filtered
107 candidates to 79 candidates (73.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh123
Picked101
Done011
Total1084112

Merged error: 0.2b

Counts
112 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

1.5b
(- 1.0 (/ 1 (/ (+ y 1.0) (* (- 1.0 x) y))))
9.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.7b
(/ (+ y 1.0) (* (- 1.0 x) y))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
19×add-exp-log add-cbrt-cube
17×add-sqr-sqrt
14×times-frac
10×add-cube-cbrt
associate-/r*
cbrt-undiv div-exp associate-*l/ associate-/r/ associate-/l/ distribute-lft-out associate-/l* add-log-exp
pow1 flip3-- flip-- div-inv
frac-2neg flip3-+ prod-exp clear-num cbrt-unprod flip-+ difference-of-squares
distribute-lft-out--
sub-neg diff-log
Counts
4 → 98
Calls
4 calls:
14.0ms
(- 1.0 (/ 1 (/ (+ y 1.0) (* (- 1.0 x) y))))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
13.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (+ y 1.0) (* (- 1.0 x) y))

series213.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- 1.0 (/ 1 (/ (+ y 1.0) (* (- 1.0 x) y))))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
48.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
38.0ms
(/ (+ y 1.0) (* (- 1.0 x) y))

simplify54.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0433757
11843655
25002651

prune270.0ms

Filtered
110 candidates to 80 candidates (72.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh022
Picked101
Done011
Total1095114

Merged error: 0.2b

Counts
114 → 5

regimes103.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 14.2b

bsearch78.0ms

Steps
ItersRangePoint
9
137964.03928948785
661184882896.0549
154919718.94598407
8
-591661204.423747
-45386.90934105675
-146664422.27513087

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample463.0ms

Algorithm
intervals
Results
169.0ms6126×body80valid
67.0ms703×body640valid
45.0ms372×body1280valid
39.0ms541×body320valid
13.0ms258×body160valid