Details

Time bar (total: 2.8s)

sample19.0ms

Algorithm
intervals
Results
6.0ms212×body80valid
2.0ms19×body640valid
1.0ms12×body320valid
1.0ms10×body160valid
0.0msbody1280valid

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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.4b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite27.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:
10.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))

series22.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (- 1.0 x) y)
11.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0338401
11456359
25001359

prune109.0ms

Filtered
51 candidates to 72 candidates (-41.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.1b

Counts
73 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
12.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
5.0ms
(/ y (+ y 1.0))
3.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series22.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
2.0ms
(/ y (+ y 1.0))
13.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0400572
11790526
25001526

prune115.0ms

Filtered
70 candidates to 97 candidates (-38.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh033
Picked011
Done000
Total974101

Merged error: 0.1b

Counts
101 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

3.4b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite35.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)))
8.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))

series33.0ms

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

IterNodesCost
0287648
11151575
25001574

prune234.0ms

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh022
Picked011
Done011
Total1074111

Merged error: 0.1b

Counts
111 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.3b
(/ (* (- 1.0 x) y) (+ y 1.0))
13.4b
(/ (- (pow 1.0 3) (pow (/ (* (- 1.0 x) y) (+ y 1.0)) 3)) (+ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (+ (/ (* (- 1.0 x) y) (+ y 1.0)) 1.0)) (* 1.0 1.0)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
136×add-sqr-sqrt
92×*-un-lft-identity
87×times-frac
64×difference-of-squares
48×unpow-prod-down cube-prod
40×add-cube-cbrt
32×sqr-pow
28×associate-/l*
21×add-exp-log add-cbrt-cube
20×distribute-lft-out--
15×associate-/r*
associate-/r/ associate-/l/
cbrt-undiv div-exp
associate-*l/ distribute-lft-out
pow1 difference-cubes flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv add-log-exp
prod-exp cbrt-unprod
div-sub
Counts
4 → 201
Calls
4 calls:
8.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))
44.0ms
(/ (- (pow 1.0 3) (pow (/ (* (- 1.0 x) y) (+ y 1.0)) 3)) (+ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (+ (/ (* (- 1.0 x) y) (+ y 1.0)) 1.0)) (* 1.0 1.0)))

series171.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06604788
129544635
250014633

prune646.0ms

Filtered
135 candidates to 213 candidates (-57.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2130213
Fresh011
Picked011
Done022
Total2134217

Merged error: 0.1b

Counts
217 → 4

regimes277.0ms

Accuracy

96.8% (0.5b remaining)

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

bsearch28.0ms

Steps
ItersRangePoint
10
0.0364262917160445
10141565854128.094
236034278.43614227
5
-1.1493549481802984e+31
-4.946792646205334e+30
-4.9936238512859334e+30

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample574.0ms

Algorithm
intervals
Results
178.0ms6096×body80valid
84.0ms735×body640valid
51.0ms370×body1280valid
45.0ms509×body320valid
16.0ms290×body160valid

Profiling

Loading profile data...