Details

Time bar (total: 3.6s)

sample20.0ms

Algorithm
intervals
Results
5.0ms189×body80valid
3.0ms27×body640valid
2.0ms17×body1280valid
1.0ms16×body320valid
0.0msbody160valid

simplify70.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
1150025

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

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

2.4b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.1b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite17.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)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series115.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
44.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

prune100.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New42547
Fresh000
Picked101
Done000
Total43548

Merged error: 0.2b

Counts
48 → 5

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.4b
(- 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))))

series151.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0400572
11790526
25001526

prune148.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done000
Total975102

Merged error: 0.2b

Counts
102 → 5

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

rewrite34.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:
18.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)))

series333.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
159.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
92.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0517940
12749822
25001822

prune158.0ms

Filtered
92 candidates to 66 candidates (71.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh033
Picked011
Done011
Total92597

Merged error: 0.2b

Counts
97 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.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:
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
12.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
45.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)))

series807.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (* (- 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))
676.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)))

simplify119.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06604788
129544635
250014633

prune449.0ms

Filtered
213 candidates to 135 candidates (63.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2112213
Fresh112
Picked101
Done112
Total2144218

Merged error: 0.2b

Counts
218 → 4

regimes173.0ms

Accuracy

99.8% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 24.8b

bsearch82.0ms

Steps
ItersRangePoint
10
58344.181109934616
6083383802802402.0
66324553.14053678
8
-1.1084991128726907e+17
-7221686071369.7705
-7341054639220.949

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13314

end0.0ms

sample504.0ms

Algorithm
intervals
Results
174.0ms6058×body80valid
84.0ms773×body640valid
49.0ms369×body1280valid
42.0ms482×body320valid
17.0ms318×body160valid

Profiling

Loading profile data...