In accordance with whom? In accordance with Beit Shammai? As it is taught in a baraita: Five who collected their eruv and placed it in two vessels—Beit Shammai say: Their eruv is not an eruv; and Beit Hillel say: Their eruv is an eruv.
כמאן כבית שמאי דתניא חמשה שגבו את עירובן ונתנוהו בשני כלים בית שמאי אומרים אין ערובן עירוב ובית הלל אומרים עירובן עירוב
Rav Aḥa, son of Rav Avya, said to Rav Ashi: It is difficult for Rav Yehuda and it is difficult for Rav Sheshet. It is difficult for Rav Yehuda, who said: For example, where the middle one placed its eruv in this one and its eruv in that one—since the middle one made an eruv with the outer one, they become one; and when it then made an eruv with the other, it performed its agency [for both].
א"ל רב אחא בריה דרב אויא לרב אשי לרב יהודה קשיא ולרב ששת קשיא לרב יהודה קשיא דאמר כגון שנתנה אמצעית עירובה בזו ועירובה בזו וכיון דעירבה אמצעית בהדי חיצונה הויא ליה חדא וכי הדרה וערבה בהדי אידך שליחותה עבדה
And it is difficult for Rav Sheshet: Let it be like five who dwell in one courtyard and one of them forgot and did not make an eruv, who render [carrying] prohibited for one another.
ולרב ששת קשיא תיהוי כחמשה ששרויין בחצר אחת ושכח אחד מהן ולא עירב דאסרי אהדדי
Rav Ashi said to him: It is difficult neither for Rav Yehuda nor for Rav Sheshet. For Rav Yehuda it is not difficult: Since the middle one made an eruv with the outer one, and the two outer ones did not make an eruv with each other, it revealed its intent that with this one it is content and with that one it is not content.
א"ל רב אשי לא לרב יהודה קשיא ולא לרב ששת קשיא לרב יהודה ל"ק כיון דעירבה לה אמצעית בהדי חיצונה ושתים חיצונות בהדי הדדי לא עירבו גליא דעתיה דבהא ניחא ליה ובהא לא ניחא ליה
Rav Yehuda said that Rav said: This is the statement of Rabbi Shimon, but the Rabbis say: One domain may serve two domains, but two domains may not serve one domain.
אמר רב יהודה אמר רב זו דברי ר' שמעון אבל חכמים אומרים רשות אחת משמשת לשתי רשויות אבל לא שתי רשויות משמשות לרשות אחת
Original: Eruvin 48b on Sefaria, version “Wikisource Talmud Bavli” (Hebrew Wikisource), license CC BY-SA. The original is reproduced without changes to its content, only divided into segments. The English translation is a derivative work produced by machine (the Claude model) and is distributed under the license CC BY-SA 4.0.
Original with vowels (the “With vowels” checkbox): vocalization from Sefaria, version “William Davidson Edition – Vocalized Aramaic” (Koren), license CC BY-NC 4.0, aligned with the original used here.