Chabad.org — English translation + Rashi
Torah Temimah (Shabbos 31b): “על פי ה׳ יחנו” informs the definition of constructive vs. destructive acts on Shabbos.
English: Ulla said: he holds like Rabbi Yehudah, and Rabbi Yose holds that one who demolishes in order to build in its place — that is demolishing. … There it is different, since it is written “at the word of the Lord they encamp,” it is like one who demolishes in order to build in its place.
Category D — Conceptual / logical / legal / theological / ethical inference.
Method: The repeated dismantling and rebuilding of the camp provides a legal analogy for Shabbos: dismantling in order to rebuild in the same place is treated as constructive work.
Textual trigger: “עַל פִּי ה׳ יַחֲנוּ” (Bamidbar 9:23), read with the repeated cycle of encampment and departure.
The Torah’s description of living under the cloud becomes a source for precise categories in the laws of Shabbos construction.