Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Fix injected module name in APRProver #840

Merged
merged 3 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
project = 'pyk'
author = 'Runtime Verification, Inc'
copyright = '2024, Runtime Verification, Inc'
version = '0.1.597'
release = '0.1.597'
version = '0.1.598'
release = '0.1.598'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.597
0.1.598
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pyk"
version = "0.1.597"
version = "0.1.598"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/pyk/proof/reachability.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def _inject_module(module_name: str, import_name: str, sentences: list[KRuleLike
dependencies_as_rules.append(apr_subproof.as_rule(priority=20))
circularity_rule = proof.as_rule(priority=20)

module_name = re.sub(r'[_%().:,]+', '-', self.proof.id.upper())
module_name = 'M-' + re.sub(r'[_%().:,]+', '-', self.proof.id.upper())
self.dependencies_module_name = module_name + '-DEPENDS-MODULE'
self.circularities_module_name = module_name + '-CIRCULARITIES-MODULE'
_inject_module(self.dependencies_module_name, self.main_module_name, dependencies_as_rules)
Expand Down