= Solution
Let $B(p,w)=\{z\in\mathbb R^L:p\cdot z\leq w\}$ be the set allowed by the <budget constraint>. A <demand correspondence> is understood to choose only feasible bundles: $x(p,w)\subseteq B(p,w)$. Define the direct <revealed preference> relation by
$$
yR_Dz\quad\Longleftrightarrow\quad\exists(p,w)\in\mathbb R_{++}^L\times\mathbb R_{++}:\ y\in x(p,w),\ z\in B(p,w).
$$
The <indirect revealed preference> relation is its reflexive transitive closure. Thus $yRz$ precisely when there is a finite chain $y=y_0,y_1,\ldots,y_m=z$ whose successive comparisons satisfy $y_jR_Dy_{j+1}$. \b[Chains of length zero are included.] This makes $R$ a <preorder> on all of $\mathbb R^L$, including alternatives that are never chosen. The associated <strict preference> is
$$
yPz\quad\Longleftrightarrow\quad yRz\ \text{and}\ \neg(zRy).
$$
If a convention defines indirect revelation using only positive-length chains, one must add the diagonal before the intersection assertion in part (c) can hold: every complete weak <preference relation> contains the diagonal.
Back to article page