It is stated in Shabbat (101a): "Those small boats of Meshan" — small boats that are narrow at the bottom like the edge of a knife, one may not carry in them except within four cubits. That is to say, even if they are ten handbreadths high and their width is four at the top, since they are narrow at the bottom, their partitions are not considered partitions and their law is like a karmelit. And we only said this if there is not a width of four within less than three, meaning that until it rises three in height, there is not yet a width of four. But if there is a width of four within less than three — that until it rises three handbreadths there is a width of four there — we have no concern with it, and it is a reshut hayachid. And if he filled them with reeds and willow branches — we have no concern with it, meaning, if he placed reeds and thin willows in the narrow place inside and nullified them there, we do not pay attention to the narrowness, even if it is three handbreadths high or more, and we calculate from the wide part. And if there are ten handbreadths until the top — it is a reshut hayachid, and this is according to the commentary of Rashi.
The Tosafot hesitate regarding this, for in any case, if because of the narrowness the law of reshut hayachid is nullified from it, if so, the status of karmelit should also be nullified from it, for there is no karmelit less than four, and it should be a makom patur; and the Rashba likewise raised a difficulty, see there. And the Rif, the Rambam, the Rosh, the Tur, and the Shulchan Aruch did not bring this at all; learn from this that they do not hold like Rashi but like Tosafot, that the interpretation is boats made with many hollows and filled with water, and naked people sit in them, see there, and this is not common among us, and therefore they had no need to bring them. But according to the commentary of Rashi, it is very common among us, for the small boats that stand on the banks of the rivers are made like this, very narrow at the bottom. Therefore, if they are not ten high where there is a width of four — it is a karmelit. And if they are ten high where their width is four — it is a reshut hayachid, and we do not pay attention to the narrowness. (And I wonder at the Gr"z in subsection 7 who wrote this law according to the commentary of Rashi, for the Tosafot and all the poskim disagree on this, and the halacha follows the many, especially in a rabbinic matter, see there.)
איתא בשבת (ק"א.): 'הני ביציתא דמישן' - ספינות קטנות וקצרות מלמטה עד כחודו של סכין, אין מטלטלין בהן אלא בד'. כלומר, אפילו הן גבוהות י' ורחבן ד' מלמעלה, כיון דלמטה הן קצרות - אין מחיצותיהן מחיצות ודינן ככרמלית. ולא אמרן, אלא שאין בפחות משלשה ארבעה, כלומר דעד שיעלה ג' בגובה, אין בהרוחב ד' עדיין. אבל יש בפחות מג' ארבעה - שעד שיעלה ג' טפחים יש שם רוחב ד', לית לן בה, והוי רשות היחיד. ואי מלינהו קני ואורבני - לית לן בה, כלומר, אם נתן על מקום הקצר בפנים קנים וערבות דקות וביטלן שם, לא משגחינן על הקצר, אפילו גבוה ג' טפחים ויותר, וחשבינן מהרחב. ואם יש עד למעלה י' טפחים - הוי רשות היחיד, וזהו לפירוש רש"י. והתוס' מגמגמים בזה, דממה נפשך, דאם מפני הקצר בטל ממנו דין רשות היחיד, אם כן יהא בטל ממנו גם שם כרמלית, דהא אין כרמלית פחותה מד', ותיהוי מקום פטור, וכן הקשה הרשב"א ע"ש. והרי"ף והרמב"ם והרא"ש והטור והש"ע לא הביאו זה כלל, שמע מינה, דלא סבירא ליה כרש"י אלא כתוס', דהפירוש הוא ספינות עשויות חללים חללים ומליאים מים, וערומים יושבים בהם ע"ש, וזה לא שכיח אצלינו, ולכן לא היה להם צורך להביאם. אבל לפירוש רש"י, שכיח הרבה אצלינו, דהספינות הקטנות העומדות על שפתי הנהרות, המה עשויים כזה קצרות מלמטה הרבה. ולכן אם אין גבוהות י' שבהן רוחב ד' - הוי כרמלית. ואם יש גבוהות י' שרוחבן ד' - הוה רשות היחיד, ולא משגחינן בהקצר. (ואני תמה על הגר"ז סק"ז שכתב דין זה כפי פירוש רש"י, והרי התוס' וכל הפוסקים חולקים בזה, והלכה כרבים, ובפרט בדרבנן ע"ש)