# WAPS

Previous work on applying Knowledge compilation has focused on uniform sampling over all the variables. Since the constraints are written in high level languages such as Verilog, the popular CNF encoding schemes as Tseitin encoding introduces additional auxiliary variables. The resulting CNF formulas are not equivalent but equisatisfiable. In particular, for a formula $G$ specified in high level language we obtain a CNF formula F such that $G (X) = \exists Y F(X,Y)$. This makes one wonder if it is possible to extend Knowledge compilation based techniques to sample over a subset of variables. Furthermore, languages such as Verilog allow specification of weights to user-defined constraints, so there is a need to sample according to the posterior distribution. In this paper, we provide affirmative question to the above two questions: We propose KUS that samples over user defined subset of variables from posterior distribution for a given prior distribution defined over product spaces.

Relevant Papers:
{"ft_lang_label":"__label__en","ft_lang_prob":0.8873817,"math_prob":0.89037997,"size":1013,"snap":"2019-51-2020-05","text_gpt3_token_len":191,"char_repetition_ratio":0.099108025,"word_repetition_ratio":0.0,"special_character_ratio":0.17769003,"punctuation_ratio":0.0872093,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9822181,"pos_list":[0,1,2],"im_url_duplicate_count":[null,2,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-25T13:34:38Z\",\"WARC-Record-ID\":\"<urn:uuid:a4add409-ac0b-44fb-8254-78447d6e54b6>\",\"Content-Length\":\"13330\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:00fbf40f-6826-450e-81ae-fa92ff7d532a>\",\"WARC-Concurrent-To\":\"<urn:uuid:ab9bc100-2af9-4032-87a9-4ac768cdcde9>\",\"WARC-IP-Address\":\"185.199.108.153\",\"WARC-Target-URI\":\"https://meelgroup.github.io/software/waps/\",\"WARC-Payload-Digest\":\"sha1:4WGD74H4WJQFDXKIWP5ROCFUDIORSPQT\",\"WARC-Block-Digest\":\"sha1:UV2YJQWVDOYNM4W34ZRT55DD5DZ3AYRX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579251672537.90_warc_CC-MAIN-20200125131641-20200125160641-00342.warc.gz\"}"}