Details

Time bar (total: 2.6s)

sample20.0ms

Algorithm
intervals
Results
6.0ms190×body80valid
3.0ms26×body640valid
2.0ms16×body1280valid
1.0ms13×body320valid
1.0ms11×body160valid

simplify66.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.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.9b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.8b
(/ (* (- 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:
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series115.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0287314
11151281
25001280

prune97.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 0.1b

Counts
48 → 4

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)))
2.9b
(- 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:
5.0ms
(/ y (+ y 1.0))
15.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
3.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series146.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0400572
11790526
25002526

prune144.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.1b

Counts
101 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

series207.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0287648
11151575
25001574

prune239.0ms

Filtered
107 candidates to 79 candidates (73.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh022
Picked101
Done011
Total1074111

Merged error: 0.1b

Counts
111 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

3.9b
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
6.8b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.8b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.9b
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
36×add-exp-log
30×*-un-lft-identity
26×add-cbrt-cube
20×times-frac
18×associate-*r*
16×add-sqr-sqrt add-cube-cbrt
14×prod-exp
10×associate-*l/
pow1
div-exp associate-/r* cbrt-unprod
distribute-lft-out
cbrt-undiv associate-/r/ add-log-exp
flip3-- flip--
associate-/l/
flip3-+ pow-prod-down flip-+ div-inv
frac-times rec-exp frac-2neg 1-exp clear-num associate-/l*
sub-neg diff-log associate-*r/ associate-*l* un-div-inv *-commutative
Counts
4 → 113
Calls
4 calls:
3.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
17.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
43.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
47.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
43.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

simplify72.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0530794
12671679
25001661

prune285.0ms

Filtered
125 candidates to 85 candidates (68.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1241125
Fresh022
Picked011
Done011
Total1245129

Merged error: 0.1b

Counts
129 → 5

regimes134.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
9
24829118.025328
89835997810550.58
164524904.2284338
10
-421140047755963.56
-6.238959787773506
-168452353.48782256

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample513.0ms

Algorithm
intervals
Results
178.0ms6048×body80valid
85.0ms740×body640valid
55.0ms388×body1280valid
40.0ms503×body320valid
18.0ms321×body160valid

Profiling

Loading profile data...