סוכה א:י · Sukkah 1:10

בַּיִת שֶׁנִּפְחַת וְסִכֵּךְ עַל גַּבָּיו, אִם יֵשׁ מִן הַכֹּתֶל לַסִּכּוּךְ אַרְבַּע אַמּוֹת, פְּסוּלָה. וְכֵן חָצֵר שֶׁהִיא מֻקֶּפֶת אַכְסַדְרָה. סֻכָּה גְדוֹלָה, שֶׁהִקִּיפוּהָ בְדָבָר שֶׁאֵין מְסַכְּכִים בּוֹ, אִם יֵשׁ תַּחְתָּיו אַרְבַּע אַמּוֹת, פְּסוּלָה:
In the case of a house that was breached, creating a hole in the middle of the roof, and one roofed over the breach, if from the wall to the roofing there are four or more cubits of the remaining original roof, it is an unfit sukka . If the roofing is less than four cubits from the wall, the sukka is fit, based on the principle of curved wall; the remaining intact ceiling is considered an extension of the vertical wall. And likewise, in the case of a courtyard that is surrounded on three sides by a portico, which has a roof but no walls, if one placed roofing over the courtyard between the different sides of the portico and the roof of the portico is four cubits wide, the sukka is unfit. Similarly, a large sukka that was surrounded at the edge of its roofing with material with which one may not roof a sukka , e.g., vessels susceptible to ritual impurity, if there are four cubits beneath the unfit roofing, the sukka is unfit. The principle of curved wall does not apply to unfit roofing that measures four cubits or more.

Word-by-word Breakdown (מילים ושרשים)

בַּיִת → a house [ב - י - ת]שֶׁנִּפְחַת → that was breached [פ - ח - ת]וְסִכֵּךְ → and one roofed over [ס - כ - ך]עַל → upon גַּבָּיו → its top [ג - ב - ב]אִם → if יֵשׁ → there is [י - ש - ה]מִן → from הַכֹּתֶל → the wall [כ - ת - ל]לַסִּכּוּךְ → to the roofing [ס - כ - ך]אַרְבַּע → four [ר - ב - ע]אַמּוֹת → cubits [א - מ - מ]פְּסוּלָה → it is unfit [פ - ס - ל]וְכֵן → and likewise [כ - ו - ן]חָצֵר → a courtyard [ח - צ - ר]שֶׁהִיא → that it is מֻקֶּפֶת → surrounded [נ - ק - פ]אַכְסַדְרָה → by a portico [א - כ - ס - ד - ר]סֻכָּה → a sukkah [ס - כ - ך]גְדוֹלָה → large [ג - ד - ל]שֶׁהִקִּיפוּהָ → that they surrounded it [נ - ק - פ]בְדָבָר → with something [ד - ב - ר]שֶׁאֵין → that... not מְסַכְּכִים → they roof [ס - כ - ך]בּוֹ → with it אִם → if יֵשׁ → there is [י - ש - ה]תַּחְתָּיו → beneath it [ת - ח - ת]אַרְבַּע → four [ר - ב - ע]אַמּוֹת → cubits [א - מ - מ]פְּסוּלָה → it is unfit [פ - ס - ל]