This is actually a question related to calculus.
You'd be better off not describing X as X=0.9999999999999...
but rather X -> 1
which is to say, X approaches infinatly close to the value of 1, without ever actually becoming 1.
Treated algebraically, your proof is indeed correct, But as we...