proposition: Lemma CompilePop {idx} : forall vret vlst fpointer (env: Env ADTValue) ext tenv h (t: list (RealElemType idx)), GLabelMap.find fpointer env = Some (Axiomatic Pop) -> Lifted_MapsTo ext tenv vlst (wrap (h :: t)) -> Lifted_not_mapsto_adt ext tenv vret -> vret <> vlst -> vlst ∉ ext -> vret ∉ ext -> {{ tenv }} Call vret fpointer (vlst :: nil) {{ [[ `vret ->> h as _ ]] :: [[ `vlst ->> t as _ ]] :: DropName vlst (DropName vret tenv) }} ∪ {{ ext }} // env.
proof: Proof. repeat (SameValues_Facade_t_step || facade_cleanup_call || LiftPropertyToTelescope_t || injections); facade_eauto. Qed.
imports: CertifiedExtraction.Extraction.QueryStructures.CallRules.Core CertifiedExtraction.Extraction.External.Loops CertifiedExtraction.Extraction.External.FacadeLoops CertifiedExtraction.Extraction.External.Lists