The Shulchan Aruch · Orach Chayim
אורח חיים תרל״אOrach Chayim 631
Siman 631 of 697 in Orach Chayim — 10 se'ifim
הלכות סוכהLaws of Sukkot· siman 631
Se’if 1א׳
סֻכָּה שֶׁחַמָּתָהּ וְצִלָּתָהּ שָׁוִים מִלְּמַעְלָה, פְּסוּלָה, לְפִי שֶׁהַחַמָּה מִתְפַּשֶּׁטֶת בְּרִחוּקָהּ וְיִהְיֶה לְמַטָּה חַמָּתָהּ מְרֻבָּה מִצִּלָּתָהּ; אֲבָל אִם חַמָּתָהּ וְצִלָּתָהּ שָׁוִים מִלְּמַטָּה, כְּשֵׁרָה.
A Sukkah whose Sunlit Area Exceeds its Shaded Area, & Other Laws Governing S’chach, containing 10 Seifim: A sukkah who's sunlit area is equal to its shaded area from above is invalid according to the idea that the sunlight diffuses as it gets more distant and is greater than the shaded area. However, if the sunlit area and shaded area are equal from below, it is valid.
Se’if 2ב׳
אִם בְּרֹב מִמֶּנָּה צִלָּתָהּ מְרֻבָּה שְׁנֵי מַשְׁהוּיִין, וּבְמִעוּט מִמֶּנָּה חַמָּתָהּ מְרֻבָּה מַשֶּׁהוּ בְּעִנְיָן שֶׁכְּשֶׁנְּצָרֵף יַחַד הַחַמָּה וְהַצֵּל שֶׁל כָּל הַסֻכָּה יִהְיֶה צִלָּתָהּ מְרֻבָּה מֵחַמָּתָהּ מַשֶּׁהוּ, כְּשֵׁרָה. הַגָּה: וְיֵשׁ מַחְמִירִין אִם הַסֻּכָּה גְּדוֹלָה וְיֵשׁ מָקוֹם ז' עַל ז' שֶׁחַמָּתוֹ מְרֻבָּה, אַף עַל פִּי שֶׁבְּצֵרוּף כָּל הַסֻּכָּה הָוֵי הַצֵּל מְרֻבֶּה (רַ"ן ספ"ק דְּסֻכָּה).
A sukkah is valid if the majority of the s’chach casts a shadow whose area is two small measures greater than the sunlit area and hence the empty space in the s’chach is [considered as] very little, while [under] a smaller part of the s’chach, the sunlit area exceeds the shaded part by a small measure. Rema: There are those who are stringent if the sukkah is large and there is a space that is 7 x 7 (tefachim) where the sunlight is the majority, even though when combined the entire sukkah has more shaded area (R"an).
Se’if 3ג׳
דֶּרֶךְ הַסִכּוּךְ לִהְיוֹת קַל, כְּדֵי שֶׁיֵּרָאוּ מִמֶּנּוּ הַכּוֹכָבִים הַגְּדוֹלִים; הָיְתָה מְעֻבָּה כְּמִין בַּיִת, אַף עַל פִּי שֶׁאֵין הַכּוֹכָבִים נִרְאִים מִתּוֹכָהּ, כְּשֵׁרָה.
As an initial and preferred option, the s’chach should be light so that large stars to be seen through it at night. [After the fact] even if [the s’chach] was very thick, [making it seem] like [the roof of] a house and not allowing the stars to be seen, it is valid.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0