unicode_fol_kit.rel_valid¶
- unicode_fol_kit.rel_valid(formula, max_worlds=2)[source]¶
Return True iff no B-countermodel to
formulais found within the bound.HONEST CONTRACT (mirroring
int_valid()’s first-order contract):Falseis definitive — it is backed by an explicit,rel_satisfies()-verified countermodel fromrel_countermodel(), so the formula is certainly not a theorem of B.Truemeans only “no countermodel with at mostmax_worldsworlds”: B is decidable, but this search is bounded, so a non-theorem whose smallest refuting interpretation needs more worlds than the bound is (spuriously) reported valid. Raisingmax_worldsnever turns aFalseinto aTrue; it is exponentially more expensive (seerel_countermodel()).