הכי נמי מיסתברא דרב כרבי יהודה סבירא ליה דאמר רב מניחין נר על גבי דקל בשבת ואין מניחין נר על גבי דקל ביום טוב אי אמרת בשלמא דרב כרבי יהודה סבירא ליה היינו דשני בין שבת ליום טוב אלא אי אמרת כרבי שמעון סבירא ליה מה לי שבת ומה לי יום טוב
The Gemara adds: So too, it is reasonable to say that Rav holds in accordance with the opinion of Rabbi Yehuda, as Rav said: One may place a lamp atop a palm tree on Shabbat eve to burn on Shabbat, and one may not place a lamp atop a palm tree on a Festival. Granted, if you say that Rav holds in accordance with the opinion of Rabbi Yehuda in this matter; that is why there is a distinction between Shabbat and a Festival. Since the lamp is set-aside [muktze] on Shabbat one will not come to carry it. Since one is permitted to carry a lamp on a Festival, there is concern that one might climb the palm tree or make use of the tree on the Festival and thereby transgress the rabbinic prohibition against making use of something connected to the ground on a Festival. However, if you say that Rav holds in accordance with the opinion of Rabbi Shimon, who maintains that the lamp is not set-aside even on Shabbat, what difference is there to me between Shabbat and a Festival? Ostensibly, there should be no distinction between the two.
ורב כרבי יהודה סבירא ליה והא בעו מיניה דרב מהו לטלטולי שרגא דחנוכתא מקמי חברי בשבתא ואמר להו שפיר דמי שעת הדחק שאני דהא אמרו להו רב כהנא ורב אשי לרב הכי הלכתא אמר להו כדי הוא רבי שמעון לסמוך עליו בשעת הדחק
The Gemara asks: And does Rav really hold in accordance with the opinion of Rabbi Yehuda that it is prohibited to move an object that is set-aside? Didn’t they raise a dilemma before Rav: What is the ruling with regard to moving a Hanukkah candle from before the ḥabarei, Persian Zoroastrian fire priests, on Shabbat? Those priests prohibited lighting fires on certain days. In order to prevent them from discovering that he lit Hanukkah candles it was necessary to quickly move them. And he said to them: One may well do so. Apparently, Rav does not hold that there is a prohibition of set-aside. The Gemara answers: This is not a proof, as exigent circumstances are different and Rav permitted this due to the danger involved. As Rav Kahana and Rav Ashi said to Rav on this matter: Is that the halakha? He said to them: Rabbi Shimon is worthy to rely upon in exigent circumstances like this one.
בעא מיניה ריש לקיש מרבי יוחנן חטים שזרען בקרקע וביצים שתחת תרנגולת מהו כי לית ליה לרבי שמעון מוקצה היכא דלא דחייה בידים היכא דדחייה בידים אית ליה מוקצה או דילמא לא שנא אמר ליה אין מוקצה לרבי שמעון אלא שמן שבנר בשעה שהוא דולק הואיל והוקצה למצותו הוקצה לאיסורו
On this same matter Reish Lakish raised a dilemma before Rabbi Yoḥanan: Wheat kernels that he sowed in the ground that have not yet taken root and he could still gather them, and eggs that were placed beneath the hen and the incubation process has begun, what is the halakha in these cases? Would Rabbi Shimon agree that in these cases it is prohibited for use on Shabbat? One side of the dilemma is: When is Rabbi Shimon not of the opinion that there is a prohibition of set-aside? In a case where one did not reject the object with his own hands, i.e., he did not perform an action setting the object aside. However, in a case where he rejected it with his own hands, he is of the opinion that there is a prohibition of set-aside. When he sowed the wheat, he rejected it with his own hands. The same is true with regard to the egg; by placing it under the hen to hatch, he actively rejected it. The other side of the dilemma is: Or, perhaps there is no difference between the cases and Rabbi Shimon holds that there is no prohibition of set-aside in either case. Rabbi Yoḥanan said to him: There is only a prohibition of set-aside, according to Rabbi Shimon, in the case of oil that is in the lamp while it is burning. Since it was set aside for its mitzva, the lighting of Shabbat candles, and it was also set aside for its prohibition, it is prohibited due to the concern that one might inadvertently extinguish the flame if he moves it while it is burning.
ולית ליה הוקצה למצותו והתניא סיככה כהלכתה ועיטרה בקרמים ובסדינין המצויירין ותלה בה אגוזין אפרסקין שקדים ורמונין ואפרכלי של ענבים ועטרות של שבולין יינות שמנים וסלתות אסור להסתפק מהן עד מוצאי יום טוב האחרון ואם התנה עליהן הכל לפי תנאו
The Gemara asks: And does he not hold that the prohibition of set-aside applies to an object set aside only for its mitzva without any prohibition? Wasn’t it taught in a baraita: One who roofed the sukka in accordance with its halakhic requirements and decorated it for aesthetic purposes with colored hangings and tapestries, and hung as decorations nuts, peaches, almonds and pomegranates, and grape branches, and wreaths made of stalks, wine, oils, and fine flour, it is prohibited to supply himself from them until the conclusion of the last day of the Festival. Since they were all set aside for the mitzva of sukka, all other uses are prohibited. And if one stipulated at the time that he hung them in the sukka that he is not designating them exclusively for this purpose, but he intends to use them for other purposes as well, their use is entirely in accordance with his stipulation. He is permitted to use them as he chooses.
וממאי דרבי שמעון היא דתני רבי חייא בר יוסף קמיה דרבי יוחנן אין נוטלין עצים מן הסוכה ביום טוב אלא מן הסמוך לה ורבי שמעון מתיר ושוין בסוכת החג בחג שהיא אסורה ואם התנה עליה הכל לפי תנאו כעין שמן שבנר קאמרינן הואיל והוקצה למצותו הוקצה לאיסורו איתמר נמי אמר רבי חייא בר אבא אמר רבי יוחנן אין מוקצה לרבי שמעון אלא כעין שמן שבנר בשעה שהוא דולק הואיל והוקצה למצותו הוקצה לאיסורו
And from where do we know that this unattributed baraita is in accordance with the opinion of Rabbi Shimon? We ascertained this from a comparison to a baraita that was taught by Rabbi Ḥiyya bar Yosef. As Rabbi Ḥiyya bar Yosef taught before Rabbi Yoḥanan: One may not take wood from the sukka that was constructed for shade on any Festival, even if the wood fell from the sukka on the Festival. Because it is prohibited to destroy the sukka on the Festival, it was set aside before the Festival for the entire duration of the Festival. Rather, one may take wood only from what is beside the sukka, i.e., bundles of wood that are not being used for the sukka. When he placed them there, his intention was to use them during the Festival. And Rabbi Shimon permits taking wood even from the sukka itself, since he holds that there is no prohibition of set-aside. And Rabbi Yehuda and Rabbi Shimon agree that taking wood from the sukka constructed for the Sukkot festival is prohibited during the Festival. And if one stipulated about the wood that he will be able to use it during the Festival, everything is in accordance with his stipulation. Apparently, Rabbi Shimon prohibits using an object that was set aside due only to a mitzva, even though it was not set aside due to a prohibition. Therefore, the Gemara emends Rabbi Yoḥanan’s statement: There is no halakha of set-aside according to Rabbi Shimon except in a case similar to oil in the candle. It is not necessary that there be both a prohibited labor and a prohibition due to the mitzva. Rather, since it was set aside for the mitzva alone, it is thereby set aside for the prohibition. It was also stated: Rabbi Ḥiyya bar Abba said that Rabbi Yoḥanan said: There is only a prohibition of set-aside according to Rabbi Shimon in a case similar to oil in the candle while it is burning; since it was set aside for its mitzva, it was set aside for its prohibition.
אמר רב יהודה אמר שמואל אין מוקצה לרבי שמעון אלא גרוגרות וצימוקים בלבד ומידי אחרינא לא והתניא היה אוכל בתאנים והותיר והעלן לגג לעשות מהן גרוגרות בענבים והותיר והעלן לגג לעשות מהן צימוקין לא יאכל עד שיזמין וכן אתה אומר באפרסקין וחבושין ובשאר כל מיני פירות
Rav Yehuda said that Shmuel said: There is only a prohibition of set-aside according to Rabbi Shimon in the cases of dried figs and raisins alone. The case of one who takes figs and raisins up to his roof in order to dry them in the sun is the only situation in which Rabbi Shimon holds that they are prohibited on Shabbat due to the prohibition of set-aside. Since in the initial stages of the process they emit a bad odor and are unfit for consumption, one consciously sets them aside. The Gemara challenges: And other items are not included in the prohibition of set-aside? Wasn’t it taught in a baraita: One who was eating figs and left some over and took them up to the roof to make them into dried figs, and likewise one who was eating grapes and left some over and took them up to the roof to make them into raisins, one may not eat them on Shabbat unless he designates them to be eaten before Shabbat. Otherwise, they are prohibited as set-aside. And you would say the same with regard to peaches, and quinces, and all other types of fruit that one left out to dry. It is prohibited to eat them all on Shabbat due to set-aside.
מני אילימא רבי יהודה ומה היכא דלא דחייה בידים אית ליה מוקצה היכא דדחייה בידים לא כל שכן
The Gemara seeks to clarify: Whose opinion is it in the baraita? If you say that it is the opinion of Rabbi Yehuda, this baraita is superfluous. If in a case where one did not reject it with his own hands, he holds that there is a prohibition of set-aside, in a case where he rejected it by his own hand, all the more so that it is prohibited. There is no need to articulate the halakha in this unique case.
אלא לאו רבי שמעון היא לעולם רבי יהודה ואוכל אצטריכא ליה סלקא דעתך אמינא כיון דקאכיל ואזיל לא ליבעי הזמנה קמשמע לן כיון דהעלן לגג אסוחי אסחי לדעתיה מינייהו
Rather, isn’t this baraita in accordance with the opinion of Rabbi Shimon? Apparently, he expands the halakhot of set-aside beyond dried figs and raisins. The Gemara rejects this: Actually, this halakha is in accordance with Rabbi Yehuda who holds that there is a prohibition of set-aside. And the case cited here, where he was eating figs, is necessary in order to teach us a novel halakha. It may enter your mind to say that since one was in the course of eating, he does not require prior designation; and if he changed his mind he may immediately retrieve the dried figs that he placed on the roof. Therefore, the baraita teaches us that since he brought them up to the roof, he diverted his attention from them and they are completely set-aside.
בעא מיניה רבי שמעון בר רבי מרבי
On the same topic: Rabbi Shimon bar Rabbi Yehuda HaNasi, raised a dilemma before his father, Rabbi Yehuda HaNasi: