Details

Time bar (total: 2.1s)

sample33.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.520795%

Results
6.0ms201×body80valid
2.0ms20×body640valid
2.0ms15×body1280valid
1.0ms11×body320valid
1.0msbody160valid

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.7b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.6b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.2b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite16.0ms

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

series18.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0287314
11151281
25001280

prune85.0ms

Filtered
35 candidates to 47 candidates (-34.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New41647
Fresh000
Picked101
Done000
Total42648

Merged error: 0.1b

Counts
48 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (- 1.0 x) (/ (+ y 1.0) y))
2.6b
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
155×times-frac
139×*-un-lft-identity
110×add-sqr-sqrt
67×add-cube-cbrt
20×difference-of-squares
18×distribute-lft-out distribute-lft-out--
16×associate-/r*
add-exp-log add-cbrt-cube div-inv
associate-/l*
add-log-exp
cbrt-undiv div-exp
pow1 flip3-- div-sub flip-- associate-/l/
sub-neg frac-2neg diff-log clear-num associate-/r/ associate--r-
Counts
2 → 136
Calls
2 calls:
10.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
24.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

series20.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06581349
124761305
250031305

prune173.0ms

Filtered
92 candidates to 142 candidates (-54.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1420142
Fresh055
Picked011
Done000
Total1426148

Merged error: 0.1b

Counts
148 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

2.6b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.2b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.2b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.2b
(/ (* (- 1.0 x) y) (+ y 1.0))

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

series29.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0287648
11151575
25001574

prune227.0ms

Filtered
79 candidates to 107 candidates (-35.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh044
Picked011
Done011
Total1076113

Merged error: 0.1b

Counts
113 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
5.0b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
18.5b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
10×*-un-lft-identity associate-*l*
add-cube-cbrt times-frac
flip3-- flip--
pow1 sub-neg associate-*r* prod-exp cbrt-unprod add-log-exp
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* associate-/r/ associate--r+ difference-of-squares
associate-*l/
frac-times associate-*r/ div-inv associate-/l/
frac-2neg diff-log pow-prod-down clear-num *-commutative associate-/l* distribute-lft-out-- unswap-sqr
Counts
3 → 83
Calls
3 calls:
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)))
11.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series61.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
37.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
12.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0517940
12749822
25001822

prune109.0ms

Filtered
66 candidates to 92 candidates (-39.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh213
Picked101
Done022
Total94498

Merged error: 0.1b

Counts
98 → 4

regimes243.0ms

Accuracy

98.8% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 14.3b

bsearch37.0ms

Steps
ItersRangePoint
9
5055205.202917329
2705890547756.2334
21266150.003705725
9
-5.989376410802681e+36
-8.444193260190215e+28
-8.645827923873514e+28

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03822
14222
24522
35122
45122

end0.0ms

sample593.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.520795%

Results
183.0ms6115×body80valid
81.0ms725×body640valid
54.0ms395×body1280valid
43.0ms495×body320valid
20.0ms270×body160valid

Profiling

Loading profile data...