Proof using.
intros. unfold in_applied_entries.
induction (applied_entries (nwState net)); simpl in *; try congruence.
break_if; break_if; do_bool; intuition; try congruence; do_bool; eauto;
break_exists_exists; intuition.
Qed.

Lemma client_id_in_false_not_in_applied_entries :
forall net,
client_id_in (applied_entries (nwState net)) = false ->
~ in_applied_entries client id net.