We provide the first fully polynomial-time randomized approximation scheme for the following two counting problems: 1. Given a Context Free Grammar over alphabet , count the number of words of length exactly generated by . 2. Given a circuit in Decomposable Negation Normal Form (DNNF) over the set of Boolean variables , compute the number of assignments to such that evaluates to 1. Finding polynomial time algorithms for the aforementioned problems has been a longstanding open problem. Prior work could either only obtain a quasi-polynomial runtime (SODA 1995) or a polynomial-time randomized approximation scheme for restricted fragments, such as non-deterministic finite automata (JACM 2021) or non-deterministic tree automata (STOC 2021).

生成讲解博客的中文版本

生成AI智能校验的中文版本