unicode_fol_kit.int_countermodel¶
- unicode_fol_kit.int_countermodel(formula, max_worlds=3, domain_elements=2, max_steps=300000)[source]¶
Return
(model, world)whereformulafails intuitionistically, or None.For a propositional formula this is a decision procedure: it searches every Kripke model up to
max_worldsworlds (intuitionistic propositional logic has the finite-model property), soNoneproves validity. For a first-order formula (containing ∀/∃) it is a bounded search over increasing-domain Kripke models (the formula’s constants plusdomain_elementsfresh individuals, up tomax_stepsvaluations): a returned model genuinely refutes validity, butNoneonly means “no counter-model within the bounds” — first-order intuitionistic logic is undecidable.