[Tex/LaTex] standard symbol for conditional independence

symbols

I have found this symbol defined as:

    \def\ci{\perp\!\!\!\perp}

on the wikipedia page for Conditional Independence. There's this from the Comprehensive LaTex Symbol List page 106:

Donald Arseneau posted the following \mathpalette-based definition of a probabilistic-independence symbol ⊥⊥ to comp.text.tex in June 2000:

    \newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}}
    \def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}

The \independent macro uses \mathpalette to pass the \independenT helper 
macro both the current math style and the \perp symbol. \independenT 
typesets \perp in the current math style, moves two math units to the 
right, and finally typesets a second—overlapping—copy of \perp, again 
in the current math style. \rlap, which enables text overlap, is described 
later on this page.

Frankly, I like the first version better, even though it doesn't typeset properly on my machine.

Are there any better alternatives?

Best Answer

The usual place at Comprehensive LaTeX Symbol List has the \upmodels symbol in the mnsymbol package, which looks more like the first symbol used in the Wikipedia article. The horizontal distance between the bars is be a bit smaller than the first version, though. See for yourself:

\documentclass{article}
\usepackage{MnSymbol}

\begin{document}

\def\ci{\perp\!\!\!\perp} % from Wikipedia
\newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}} % symbols-a4, p.106
\def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}} 

$\upmodels$ % mnsymbol
$\independent$
$\ci$
\end{document}