Details

Time bar (total: 2.8s)

sample17.0ms

Algorithm
intervals
Results
5.0ms197×body80valid
2.0ms19×body640valid
1.0ms14×body1280valid
1.0ms18×body320valid
0.0msbody160valid

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

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.6b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.5b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite26.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:
9.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))

series135.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(* (- 1.0 x) y)
66.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
41.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

prune128.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New66672
Fresh000
Picked101
Done000
Total67673

Merged error: 0.2b

Counts
73 → 6

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

rewrite23.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))))

series142.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0400572
11790526
25002526

prune136.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh055
Picked011
Done000
Total976103

Merged error: 0.2b

Counts
103 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y y) (* 1.0 1.0))
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
4.3b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
18.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite33.0ms

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

series345.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* y y) (* 1.0 1.0))
73.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
147.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
84.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05281020
12773891
25001891

prune179.0ms

Filtered
108 candidates to 78 candidates (72.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1071108
Fresh224
Picked011
Done011
Total1095114

Merged error: 0.1b

Counts
114 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
3.6b
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
18.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
18.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
12×times-frac
11×add-cube-cbrt *-un-lft-identity
10×associate-*r*
associate-/r*
pow1 cbrt-undiv flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod add-log-exp
difference-of-squares
associate-*l/ associate-/l/
associate-*l* div-inv
frac-2neg clear-num associate-/l*
sub-neg diff-log associate-*r/ pow-prod-down *-commutative unswap-sqr
Counts
4 → 96
Calls
4 calls:
12.0ms
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
3.0ms
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
11.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
11.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series321.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
98.0ms
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
84.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
87.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04361007
12320858
25002858

prune209.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1053108
Fresh112
Picked101
Done022
Total1076113

Merged error: 0.0b

Counts
113 → 6

regimes140.0ms

Accuracy

98.9% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 14.8b

bsearch107.0ms

Steps
ItersRangePoint
9
573.0632436401448
118875297.13418089
60021882.29519812
9
-39495616121.36297
-27949.393755151574
-68835468.42054991

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05336
15736
26436
37036
48336
59236
69436
79436

end0.0ms

sample426.0ms

Algorithm
intervals
Results
143.0ms6052×body80valid
62.0ms745×body640valid
43.0ms546×body320valid
38.0ms356×body1280valid
13.0ms301×body160valid