formal methods, Hybrid modal logic, interactive theorem proving, Lean 4, many-sorted signatures, modal logic.