Proof using.
unfold raft_net_invariant_reboot, match_index_sanity, reboot.
simpl.
intros.
subst.
repeat find_higher_order_rewrite.
update_destruct_simplify.
- unfold assoc_default. simpl. omega.
- auto.
Qed.

(* Specifications: *)
Lemma match_index_sanity_invariant :
forall net,
raft_intermediate_reachable net ->
match_index_sanity net.