Torah Temimah citing Berachos (pointer only). Shmuel’s practice with good and bad dreams.
English: When Shmuel saw a bad dream he would say “dreams speak vanity”…
Category D — Conceptual / logical / legal / theological / ethical inference.
Method: Shmuel’s practice applies the two teachings about dreams: he invokes the verse about vanity for a bad dream and the verse about Divine communication for a good dream.
Textual trigger: “וַחֲלֹמוֹת הַשָּׁוְא יְדַבֵּרוּ” (Zechariah 10:2) alongside “בַּחֲלוֹם אֲדַבֶּר בּוֹ” (Bamidbar 12:6), as applied in Berachos.