# -*- coding: utf-8 -*-
# pytableaux, a multi-logic proof generator.
# Copyright (C) 2014-2026 Doug Owings.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from __future__ import annotations
from ..tools import group
from . import s4fde as S4FDE
from . import tnh as TNH
class Meta(TNH.Meta, S4FDE.Meta):
name = 'S4NH'
title = 'NH with S4 modal'
description = 'Modal version of NH based on S4 normal modal logic'
category_order = TNH.Meta.category_order + 1
extension_of = ('TNH')
class Model(TNH.Model, S4FDE.Model): pass
class System(TNH.System, S4FDE.System): pass
[docs]
class Rules(TNH.Rules, S4FDE.Rules):
groups = (
*TNH.Rules.nonbranching_groups,
group(S4FDE.Rules.Transitive),
*TNH.Rules.unmodal_groups,
group(TNH.Rules.Reflexive),
*TNH.Rules.branching_groups,
*TNH.Rules.unquantifying_groups)