Using Formal Proof and B Method at System Level for