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

Update dependency: deps/k_release #1070

Merged
merged 5 commits into from
Apr 9, 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
2 changes: 1 addition & 1 deletion deps/k_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.75
6.3.77
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.777'
release = '0.1.777'
version = '0.1.778'
release = '0.1.778'

# -- 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.777
0.1.778
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.777"
version = "0.1.778"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/pyk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from typing import Final


K_VERSION: Final = '6.3.75'
K_VERSION: Final = '6.3.77'
20 changes: 12 additions & 8 deletions src/pyk/konvert/_module_to_kore.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,20 +722,27 @@ def simplified_module(definition: KDefinition, module_name: str | None = None) -
PullUpRewrites(),
DiscardSymbolAtts(
[
Atts.ASSOC,
Atts.CELL,
Atts.CELL_FRAGMENT,
Atts.CELL_NAME,
Atts.CELL_OPT_ABSENT,
Atts.COLOR,
Atts.COLORS,
Atts.COMM,
Atts.FORMAT,
Atts.GROUP,
Atts.IMPURE,
Atts.INDEX,
Atts.INITIALIZER,
Atts.LEFT,
Atts.MAINCELL,
Atts.PREDICATE,
Atts.PREFER,
Atts.PRIVATE,
Atts.PRODUCTION,
Atts.PROJECTION,
Atts.RIGHT,
Atts.SEQSTRICT,
Atts.STRICT,
Atts.USER_LIST,
Expand All @@ -747,14 +754,6 @@ def simplified_module(definition: KDefinition, module_name: str | None = None) -
AddSymbolAtts(Atts.FUNCTIONAL(None), _is_functional),
AddSymbolAtts(Atts.INJECTIVE(None), _is_injective),
AddSymbolAtts(Atts.CONSTRUCTOR(None), _is_constructor),
AddDefaultFormatAtts(),
DiscardFormatAtts(),
InlineFormatTerminals(),
AddColorAtts(),
DiscardSymbolAtts([Atts.COLOR]),
AddTerminalAtts(),
AddPrioritiesAtts(),
AddAssocAtts(),
)
definition = reduce(lambda defn, step: step.execute(defn), pipeline, definition)
module = definition.modules[0]
Expand Down Expand Up @@ -1118,6 +1117,11 @@ def _update(self, production: KProduction) -> KProduction:
return production.let(att=production.att.discard(self.keys))


# -----------------
# Syntax attributes
# -----------------


@dataclass
class AddDefaultFormatAtts(SingleModulePass):
"""Add a default format attribute value to each symbol profuction missing one."""
Expand Down
2 changes: 2 additions & 0 deletions src/tests/integration/proof/test_mini_kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def leaf_number(proof: APRProof) -> int:

class TestMiniKEVM(KCFGExploreTest, KProveTest):
KOMPILE_MAIN_FILE = K_FILES / 'mini-kevm.k'
# Disabled until resolved: https://github.com/runtimeverification/haskell-backend/issues/3761
DISABLE_LEGACY = True

@pytest.mark.parametrize(
'test_id,spec_file,spec_module,claim_id,max_iterations,max_depth,cut_rules,proof_status,expected_leaf_number',
Expand Down
Loading