Skip to content

Commit

Permalink
Update dependency: deps/k_release (runtimeverification/pyk#1070)
Browse files Browse the repository at this point in the history
Related:
* #4146
* runtimeverification/haskell-backend#3761

---------

Co-authored-by: devops <devops@runtimeverification.com>
Co-authored-by: Tamás Tóth <tothtamas28@users.noreply.github.com>
  • Loading branch information
3 people authored and Baltoli committed Apr 10, 2024
1 parent 3ae7c75 commit 7517c16
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pyk/deps/k_release
@@ -1 +1 @@
6.3.75
6.3.77
4 changes: 2 additions & 2 deletions pyk/docs/conf.py
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 pyk/package/version
@@ -1 +1 @@
0.1.777
0.1.778
2 changes: 1 addition & 1 deletion pyk/pyproject.toml
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. <contact@runtimeverification.com>",
Expand Down
2 changes: 1 addition & 1 deletion pyk/src/pyk/__init__.py
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 pyk/src/pyk/konvert/_module_to_kore.py
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 pyk/src/tests/integration/proof/test_mini_kevm.py
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

0 comments on commit 7517c16

Please sign in to comment.