Details

Time bar (total: 2.5s)

sample18.0ms

Algorithm
intervals
Results
4.0ms189×body80valid
2.0ms17×body1280valid
2.0ms19×body640valid
1.0ms21×body320valid
0.0ms10×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.3b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.3b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.7b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite64.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:
23.0ms
(* (- 1.0 x) y)
18.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
22.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series144.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune130.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ y 1.0) y)
0.1b
(/ (- 1.0 x) (/ (+ y 1.0) y))
3.3b
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
167×times-frac
157×*-un-lft-identity
120×add-sqr-sqrt
77×add-cube-cbrt
22×distribute-lft-out
20×difference-of-squares
19×associate-/r*
18×distribute-lft-out--
10×add-exp-log add-cbrt-cube
associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp associate-/l/
pow1
flip3-- frac-2neg div-sub clear-num flip--
sub-neg flip3-+ diff-log associate-/r/ flip-+ associate--r-
Counts
3 → 169
Calls
3 calls:
20.0ms
(/ (+ y 1.0) y)
25.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
49.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

series162.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06891514
126461460
250021460

prune293.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.0b
(/ 1 (+ y 1.0))
5.0b
(- 1.0 (* (/ 1 (+ y 1.0)) (* (- 1.0 x) y)))
9.8b
(* (/ 1 (+ y 1.0)) (* (- 1.0 x) y))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
32×add-exp-log
27×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt associate-*l*
20×add-cbrt-cube
13×prod-exp
12×pow1
associate-*l/ cbrt-unprod distribute-lft-out
div-exp add-log-exp
flip3-- associate-*r* pow-prod-down associate-/r* associate-/r/ flip--
cbrt-undiv rec-exp 1-exp associate-/l*
frac-times flip3-+ associate-*r/ *-commutative flip-+ div-inv
sub-neg pow-flip frac-2neg diff-log clear-num distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 117
Calls
4 calls:
20.0ms
(* (- 1.0 x) y)
12.0ms
(/ 1 (+ y 1.0))
8.0ms
(- 1.0 (* (/ 1 (+ y 1.0)) (* (- 1.0 x) y)))
54.0ms
(* (/ 1 (+ y 1.0)) (* (- 1.0 x) y))

series173.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (- 1.0 x) y)
24.0ms
(/ 1 (+ y 1.0))
81.0ms
(- 1.0 (* (/ 1 (+ y 1.0)) (* (- 1.0 x) y)))
38.0ms
(* (/ 1 (+ y 1.0)) (* (- 1.0 x) y))

simplify65.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0503734
12563633
25001601

prune190.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×*-un-lft-identity
14×times-frac
add-log-exp difference-of-squares
div-inv distribute-lft-out--
add-cube-cbrt associate-+l+
sub-neg distribute-rgt-out--
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
+-commutative flip3-- flip3-+ diff-log sum-log frac-sub flip-- flip-+ sub-div
Counts
2 → 43
Calls
2 calls:
30.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
24.0ms
(- (/ 1 y) (/ x y))

series55.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
21.0ms
(- (/ 1 y) (/ x y))

simplify75.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0224317
1627291
22889282
35001274

prune71.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes82.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 14.6b

bsearch57.0ms

Steps
ItersRangePoint
9
6031.575547282502
2908035933644.0933
35775621.88177118
7
-1873866393.190807
-8856295.28966565
-64063762.17706988

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
13111

end0.0ms

sample460.0ms

Algorithm
intervals
Results
134.0ms6069×body80valid
75.0ms779×body640valid
36.0ms350×body1280valid
35.0ms516×body320valid
15.0ms286×body160valid