Added rigorous argument for correctness Q4.