Calculating propositional logic truth value data structure