Random Formula Generators

10/08/2021
by   Ariel J. Roffe, et al.
0

In this article, we provide three generators of propositional formulae for arbitrary languages, which uniformly sample three different formulae spaces. They take the same three parameters as input, namely, a desired depth, a set of atomics and a set of logical constants (with specified arities). The first generator returns formulae of exactly the given depth, using all or some of the propositional letters. The second does the same but samples up-to the given depth. The third generator outputs formulae with exactly the desired depth and all the atomics in the set. To make the generators uniform (i.e. to make them return every formula in their space with the same probability), we will prove various cardinality results about those spaces.

READ FULL TEXT
research
12/18/2020

Reconstructing a single-head formula to facilitate logical forgetting

Logical forgetting may take exponential time in general, but it does not...
research
05/08/2020

The ghosts of forgotten things: A study on size after forgetting

Forgetting is removing variables from a logical formula while preserving...
research
10/04/2019

Formula Transformers and Combinatorial Test Generators for Propositional Intuitionistic Theorem Provers

We develop combinatorial test generation algorithms for progressively mo...
research
03/01/2022

Parsing Randomness: Unifying and Differentiating Parsers and Random Generators

"A generator is a parser of randomness." This perspective on generators ...
research
04/17/2018

Ruitenburg's Theorem via Duality and Bounded Bisimulations

For a given intuitionistic propositional formula A and a propositional v...
research
09/03/2022

Explainability via Short Formulas: the Case of Propositional Logic with Implementation

We conceptualize explainability in terms of logic and formula size, givi...
research
09/16/2020

One head is better than two: a polynomial restriction for propositional definite Horn forgetting

Logical forgetting is NP-complete even in the simple case of proposition...

Please sign up or login with your details

Forgot password? Click here to reset