Eruvin9: 2
גַּג גָּדוֹל סָמוּךְ לְקָטֹן, הַגָּדוֹל מֻתָּר וְהַקָּטֹן אָסוּר. חָצֵר גְּדוֹלָה שֶׁנִּפְרְצָה לִקְטַנָּה, גְּדוֹלָה מֻתֶּרֶת וּקְטַנָּה אֲסוּרָה, מִפְּנֵי שֶׁהִיא כְפִתְחָהּ שֶׁל גְּדוֹלָה. חָצֵר שֶׁנִּפְרְצָה לִרְשׁוּת הָרַבִּים, הַמַּכְנִיס מִתּוֹכָהּ לִרְשׁוּת הַיָּחִיד, אוֹ מֵרְשׁוּת הַיָּחִיד, לְתוֹכָהּ, חַיָּב — דִּבְרֵי רַבִּי אֱלִיעֶזֶר. וַחֲכָמִים אוֹמְרִים: מִתּוֹכָהּ לִרְשׁוּת הָרַבִּים, אוֹ מֵרְשׁוּת הָרַבִּים לְתוֹכָהּ, פָּטוּר, מִפְּנֵי שֶׁהִיא כְּכַרְמְלִית.
If a large roof is adjacent to a small one, the large one is permitted but the small one is prohibited. If a large courtyard was breached into a small one, the large one is permitted but the small one is prohibited, because it is like the entrance of the large one. If a courtyard was breached into a public domain, one who brings from there into a private domain, or from a private domain into it, is liable — [these are] the words of R’ Eliezer. But the Sages say: From it into the public domain, or from the public domain into it, is not liable, because it is like a karmelis.
Eruvin9: 3
חָצֵר שֶׁנִּפְרְצָה לִרְשׁוּת הָרַבִּים מִשְּׁתֵי רוּחוֹתֶיהָ, וְכֵן בַּיִת שֶׁנִּפְרַץ מִשְּׁתֵי רוּחוֹתָיו, וְכֵן מָבוֹי שֶׁנִּטְּלוּ קוֹרוֹתָיו אוֹ לְחָיָיו, מֻתָּרִין בְּאוֹתוֹ שַׁבָּת וַאֲסוּרִין לֶעָתִיד לָבוֹא — דִּבְרֵי רַבִּי יְהוּדָה. רַבִּי יוֹסֵי אוֹמֵר: אִם מֻתָּרִין לְאוֹתוֹ שַׁבָּת, מֻתָּרִין לֶעָתִיד לָבוֹא; וְאִם אֲסוּרִין לֶעָתִיד לָבוֹא, אֲסוּרִין לְאוֹתוֹ שַׁבָּת.
If a courtyard was breached into a public domain on two of its sides, or if a house was breached on two of its sides, or an alley whose crossbeams or poles were re-moved; they are permitted on that Sabbath but prohibited in the future — [these are] the words of R’ Yehudah. R’ Yose says: If they are permitted on that Sabbath, they are permitted in the future; and if they are prohibited in the future, they are prohibited on that Sabbath.