Details

Time bar (total: 3.6s)

sample28.0ms

Algorithm
intervals
Results
11.0ms202×body80valid
4.0ms21×body640valid
3.0ms19×body320valid
2.0msbody1280valid
0.0msbody160valid

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.8b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.0b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))

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

series144.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0338401
11456359
25001359

prune141.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.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:
7.0ms
(/ (+ y 1.0) y)
14.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
38.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

series164.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(/ (+ y 1.0) y)
43.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
70.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

simplify72.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06891514
126461460
250021460

prune314.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1.0 x) (+ y 1.0))
0.1b
(* (/ (- 1.0 x) (+ y 1.0)) y)
2.5b
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
48×add-sqr-sqrt
41×times-frac
26×associate-*l*
25×add-cube-cbrt
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l* add-log-exp
associate-/r* associate-/r/
associate-*r*
cbrt-undiv flip3-- flip3-+ div-exp prod-exp flip-- cbrt-unprod flip-+ div-inv associate-/l/ unswap-sqr
sub-neg frac-2neg diff-log div-sub pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 103
Calls
3 calls:
10.0ms
(/ (- 1.0 x) (+ y 1.0))
26.0ms
(* (/ (- 1.0 x) (+ y 1.0)) y)
2.0ms
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

series144.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0434707
11480660
25001654

prune197.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- 1.0 x) (+ y 1.0)) y)
0.1b
(* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y))
2.4b
(- (* 1.0 1.0) (* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y)))
10.3b
(/ (- (* 1.0 1.0) (* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y))) (+ 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y)))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
47×add-exp-log add-cbrt-cube
45×pow1
42×*-un-lft-identity
37×add-sqr-sqrt
33×times-frac
27×associate-*l*
24×add-cube-cbrt
23×prod-exp cbrt-unprod
18×pow-prod-down
difference-of-squares
cbrt-undiv div-exp
associate-*l/ add-log-exp
distribute-lft-out
associate-*r* associate-/r/ pow-sqr pow-prod-up associate-/l* distribute-lft-out--
associate-/r*
flip3-- flip3-+ pow-plus *-commutative flip-- flip-+ div-inv associate-/l/ unswap-sqr
pow2 frac-times sub-neg frac-2neg diff-log div-sub associate-*r/ swap-sqr clear-num
Counts
4 → 141
Calls
4 calls:
23.0ms
(* (/ (- 1.0 x) (+ y 1.0)) y)
50.0ms
(* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y))
3.0ms
(- (* 1.0 1.0) (* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y)))
11.0ms
(/ (- (* 1.0 1.0) (* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y))) (+ 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y)))

series580.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (/ (- 1.0 x) (+ y 1.0)) y)
55.0ms
(* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y))
86.0ms
(- (* 1.0 1.0) (* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y)))
395.0ms
(/ (- (* 1.0 1.0) (* (* (/ (- 1.0 x) (+ y 1.0)) y) (* (/ (- 1.0 x) (+ y 1.0)) y))) (+ 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y)))

simplify97.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06611857
129981575
250021571

prune272.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes85.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch103.0ms

Steps
ItersRangePoint
10
6835871.788935939
2.88914674873619e+20
156635002.8061508
9
-203252004905.3082
-1043668.381521804
-102786700.59358019

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample818.0ms

Algorithm
intervals
Results
323.0ms6093×body80valid
145.0ms727×body640valid
98.0ms367×body1280valid
77.0ms517×body320valid
29.0ms296×body160valid