fact: Definition push_spec {CS: compspecs} := DECLARE _push WITH pq: val, vertex : Z, weight : Z, priq_contents_val: list val PRE [tint, tint, tptr tint] PROP (0 <= vertex < size; size <= Int.max_signed; (@weight_inrange_priq weight)) PARAMS (Vint (Int.repr vertex); Vint (Int.repr weight); pq) GLOBALS () SEP (data_at Tsh (tarray tint size) priq_contents_val pq) POST [tvoid] PROP () LOCAL () SEP (data_at Tsh (tarray tint size) (upd_Znth vertex priq_contents_val (Vint (Int.repr weight))) pq).
imports: VST.floyd.proofauto CertiGraph.lib.find_lemmas CertiGraph.priq.is_empty_lemmas CertiGraph.priq.priq_arr