diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index c6885a201b9..5a864fbea6f 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -330,7 +330,7 @@ jobs: - name: 'Run K regression tests' run: | docker exec -u user k-pyk-regression-${{ github.sha }} uv sync - docker exec -u user k-pyk-regression-${{ github.sha }} make test-regression-new -j4 + docker exec -u user k-pyk-regression-${{ github.sha }} make test-regression-new -j8 - name: 'Tear down Docker' if: always() run: | diff --git a/pyk/regression-new/.gitignore b/pyk/regression-new/.gitignore index 8760a8fe416..e710e85d77d 100644 --- a/pyk/regression-new/.gitignore +++ b/pyk/regression-new/.gitignore @@ -1 +1,2 @@ *-kompiled/ +.depend-tmp diff --git a/pyk/regression-new/bison-glr-bug/iele.k b/pyk/regression-new/bison-glr-bug/iele.k index e6986d1d1eb..264dd6e7abe 100644 --- a/pyk/regression-new/bison-glr-bug/iele.k +++ b/pyk/regression-new/bison-glr-bug/iele.k @@ -307,7 +307,7 @@ module IELE-COMMON syntax ContractDeclaration ::= "external" "contract" IeleName syntax GlobalDefinition ::= - GlobalName "=" IntConstant [symbol(globalDefinition)] + GlobalName "=" IntConstant [klabel(globalDefinition)] syntax FunctionSignature ::= GlobalName "(" FunctionParameters ")" syntax FunctionParameters ::= diff --git a/pyk/regression-new/checkWarns/configVarInitial.k b/pyk/regression-new/checkWarns/configVarInitial.k new file mode 100644 index 00000000000..7b70abc316b --- /dev/null +++ b/pyk/regression-new/checkWarns/configVarInitial.k @@ -0,0 +1,15 @@ +module CONFIGVARINITIAL-SYNTAX +endmodule + +module CONFIGVARINITIAL +imports CONFIGVARINITIAL-SYNTAX + +configuration $PGM + + $FOO + + + $FOO + + +endmodule \ No newline at end of file diff --git a/pyk/regression-new/checkWarns/configVarInitial.k.out b/pyk/regression-new/checkWarns/configVarInitial.k.out new file mode 100644 index 00000000000..1c8d432f889 --- /dev/null +++ b/pyk/regression-new/checkWarns/configVarInitial.k.out @@ -0,0 +1,4 @@ +[Error] Compiler: Configuration variable found in declaration of collection cell . Implicitly, this causes the initial configuration to start with one element instead of zero. Add the `initial=""` attribute to make that behavior explicit. +[Error] Compiler: Had 1 parsing errors. +[ERROR] Running process failed with returncode 113: + kompile configVarInitial.k --md-selector k --emit-json --backend haskell --output-definition configVarInitial-kompiled --type-inference-mode checked --warnings all --warnings-to-errors --no-exc-wrap diff --git a/pyk/regression-new/checkWarns/noEvaluatorsExhaustive.k b/pyk/regression-new/checkWarns/noEvaluatorsExhaustive.k new file mode 100644 index 00000000000..770c1f6f4e5 --- /dev/null +++ b/pyk/regression-new/checkWarns/noEvaluatorsExhaustive.k @@ -0,0 +1,9 @@ +module NOEVALUATORSEXHAUSTIVE-SYNTAX + imports INT-SYNTAX + syntax Int ::= foo ( Int ) [function, total, no-evaluators] +endmodule + +module NOEVALUATORSEXHAUSTIVE + imports NOEVALUATORSEXHAUSTIVE-SYNTAX + rule 0 => foo(0) +endmodule diff --git a/pyk/regression-new/checkWarns/noEvaluatorsExhaustive.k.out b/pyk/regression-new/checkWarns/noEvaluatorsExhaustive.k.out new file mode 100644 index 00000000000..e69de29bb2d diff --git a/pyk/regression-new/checkWarns/nonUniqueOverload.k b/pyk/regression-new/checkWarns/nonUniqueOverload.k new file mode 100644 index 00000000000..e69777afc8d --- /dev/null +++ b/pyk/regression-new/checkWarns/nonUniqueOverload.k @@ -0,0 +1,48 @@ +module NONUNIQUEOVERLOAD-SYNTAX +endmodule + +module WARNS + syntax Foo1 ::= Foo2 + + syntax Foo1 ::= "foo" Foo1 [overload(foo), unused] + syntax Foo2 ::= "foo" Foo2 [overload(foo), unused] + + syntax Foo1 ::= "foo" Foo1 Foo1 [overload(foo), unused] + syntax Foo2 ::= "foo" Foo2 Foo2 [overload(foo), unused] +endmodule + +module WASM-REPRO + syntax EmptyStmt + + syntax Instr ::= EmptyStmt + syntax Defn ::= EmptyStmt + syntax Stmt ::= Instr | Defn + // ----------------------------- + + syntax EmptyStmts ::= List{EmptyStmt , ""} [overload(listStmt), terminator-symbol(".List{\"listStmt\"}"), unused] + syntax Instrs ::= List{Instr , ""} [overload(listStmt), unused] + syntax Defns ::= List{Defn , ""} [overload(listStmt), unused] + syntax Stmts ::= List{Stmt , ""} [overload(listStmt), unused] + // ------------------------------------------------------------- + + syntax Instrs ::= EmptyStmts + syntax Defns ::= EmptyStmts + syntax Stmts ::= Instrs | Defns +endmodule + +module NOWARNS + imports DOMAINS + imports WASM-REPRO + + syntax Exp ::= Int | Id + + syntax Exps ::= List{Exp, ","} [overload(exps), unused] + syntax Ids ::= List{Id, ","} [overload(exps), unused] + + syntax Exps ::= Ids +endmodule + +module NONUNIQUEOVERLOAD + imports WARNS + imports NOWARNS +endmodule diff --git a/pyk/regression-new/checkWarns/nonUniqueOverload.k.out b/pyk/regression-new/checkWarns/nonUniqueOverload.k.out new file mode 100644 index 00000000000..82ec3e8efb9 --- /dev/null +++ b/pyk/regression-new/checkWarns/nonUniqueOverload.k.out @@ -0,0 +1,13 @@ +[Error] Compiler: Overload `foo` is not unique. Consider renaming one of the overload sets with this key. + Source(nonUniqueOverload.k) + Location(7,19,7,53) + 7 | syntax Foo1 ::= "foo" Foo1 [overload(foo), unused] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Overload `foo` is not unique. Consider renaming one of the overload sets with this key. + Source(nonUniqueOverload.k) + Location(10,19,10,58) + 10 | syntax Foo1 ::= "foo" Foo1 Foo1 [overload(foo), unused] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Had 2 errors after compilation. +[ERROR] Running process failed with returncode 113: + kompile nonUniqueOverload.k --md-selector k --emit-json --backend haskell --output-definition nonUniqueOverload-kompiled --type-inference-mode checked --warnings all --warnings-to-errors --no-exc-wrap diff --git a/pyk/regression-new/checkWarns/singletonOverload.k b/pyk/regression-new/checkWarns/singletonOverload.k index 6466b993c45..3e3396b26be 100644 --- a/pyk/regression-new/checkWarns/singletonOverload.k +++ b/pyk/regression-new/checkWarns/singletonOverload.k @@ -1,7 +1,7 @@ module SINGLETONOVERLOAD-SYNTAX endmodule -module SINGLETONOVERLOAD +module WARNS imports ID syntax LVal ::= L() [unused] @@ -9,3 +9,27 @@ module SINGLETONOVERLOAD syntax Exp ::= LVal | Exp "." Id [unused, overload(_._)] endmodule + +module NOWARNS + imports DOMAINS + + syntax Foo ::= "foo" | "bar" + syntax Foos ::= List{Foo, ","} + + syntax Bool ::= test(Foo) [function, overload(test)] + | test(Foos) [function, overload(test)] + + rule test(foo) => true + rule test(bar) => false + + rule test(F, Rest) => test(F) andBool test(Rest) + rule test(.Foos) => true + + syntax KItem ::= disambiguate(KItem, KItem) [overload(disambiguate), unused] + | disambiguate(List, Set) [overload(disambiguate), unused] +endmodule + +module SINGLETONOVERLOAD + imports WARNS + imports NOWARNS +endmodule diff --git a/pyk/regression-new/checkWarns/symbolKLabel.k b/pyk/regression-new/checkWarns/symbolKLabel.k new file mode 100644 index 00000000000..125656ab331 --- /dev/null +++ b/pyk/regression-new/checkWarns/symbolKLabel.k @@ -0,0 +1,22 @@ +module SYMBOLKLABEL-SYNTAX +endmodule + +module PW1 + syntax Foo ::= "foo" [klabel(foo), symbol, unused] +endmodule + +module PW2 + syntax Foo ::= "foo" [klabel(foo), unused] +endmodule + +module PW3 + syntax Foo ::= Bar + syntax Foo ::= "foo" Foo [klabel(foo), unused] + syntax Bar ::= "foo" Bar [klabel(foo), unused] +endmodule + +module SYMBOLKLABEL + imports PW1 + imports PW2 + imports PW3 +endmodule diff --git a/pyk/regression-new/checkWarns/symbolKLabel.k.out b/pyk/regression-new/checkWarns/symbolKLabel.k.out new file mode 100644 index 00000000000..abb59af6290 --- /dev/null +++ b/pyk/regression-new/checkWarns/symbolKLabel.k.out @@ -0,0 +1,23 @@ +[Error] Compiler: The zero-argument form of `symbol` is deprecated. Replace `klabel(foo), symbol` by `symbol(foo)`. + Source(symbolKLabel.k) + Location(5,18,5,53) + 5 | syntax Foo ::= "foo" [klabel(foo), symbol, unused] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Attribute `klabel(_)` is deprecated. Either remove `klabel(foo)`, or replace it by `symbol(foo)`. + Source(symbolKLabel.k) + Location(9,20,9,47) + 9 | syntax Foo ::= "foo" [klabel(foo), unused] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Attribute `klabel(foo) is deprecated, but marks an overload. Add `overload(foo)`. + Source(symbolKLabel.k) + Location(14,20,14,51) + 14 | syntax Foo ::= "foo" Foo [klabel(foo), unused] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Attribute `klabel(foo) is deprecated, but marks an overload. Add `overload(foo)`. + Source(symbolKLabel.k) + Location(15,20,15,51) + 15 | syntax Bar ::= "foo" Bar [klabel(foo), unused] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Had 4 structural errors. +[ERROR] Running process failed with returncode 113: + kompile symbolKLabel.k --md-selector k --emit-json --backend haskell --output-definition symbolKLabel-kompiled --type-inference-mode checked --warnings all --warnings-to-errors --no-exc-wrap diff --git a/pyk/regression-new/checks/anywhereSimplification.k.out b/pyk/regression-new/checks/anywhereSimplification.k.out index adba282d7d2..c6a532b408e 100644 --- a/pyk/regression-new/checks/anywhereSimplification.k.out +++ b/pyk/regression-new/checks/anywhereSimplification.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile anywhereSimplification.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition anywhereSimplification-kompiled --type-inference-mode checked + kompile anywhereSimplification.k --md-selector k --emit-json --backend llvm --output-definition anywhereSimplification-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/anywhereSymbolic.k.out b/pyk/regression-new/checks/anywhereSymbolic.k.out index bb37093e586..5a669f75913 100644 --- a/pyk/regression-new/checks/anywhereSymbolic.k.out +++ b/pyk/regression-new/checks/anywhereSymbolic.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile anywhereSymbolic.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition anywhereSymbolic-kompiled --type-inference-mode checked + kompile anywhereSymbolic.k --md-selector k --emit-json --backend llvm --output-definition anywhereSymbolic-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/attParamForbidden.k.out b/pyk/regression-new/checks/attParamForbidden.k.out index 11da299e68d..6271438e9b8 100644 --- a/pyk/regression-new/checks/attParamForbidden.k.out +++ b/pyk/regression-new/checks/attParamForbidden.k.out @@ -4,4 +4,4 @@ 5 | rule a() => .K [owise(1)] . ^~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile attParamForbidden.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition attParamForbidden-kompiled --type-inference-mode checked + kompile attParamForbidden.k --md-selector k --emit-json --backend llvm --output-definition attParamForbidden-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/attParamRequired.k.out b/pyk/regression-new/checks/attParamRequired.k.out index dd2ef4a961f..331cd74fc0d 100644 --- a/pyk/regression-new/checks/attParamRequired.k.out +++ b/pyk/regression-new/checks/attParamRequired.k.out @@ -4,4 +4,4 @@ 5 | rule a() => .K [prec] . ^~~~ [ERROR] Running process failed with returncode 113: - kompile attParamRequired.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition attParamRequired-kompiled --type-inference-mode checked + kompile attParamRequired.k --md-selector k --emit-json --backend llvm --output-definition attParamRequired-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/badFunctionRuleWithContext.k.out b/pyk/regression-new/checks/badFunctionRuleWithContext.k.out index a53d3f50661..5089b1915d7 100644 --- a/pyk/regression-new/checks/badFunctionRuleWithContext.k.out +++ b/pyk/regression-new/checks/badFunctionRuleWithContext.k.out @@ -5,4 +5,4 @@ . ^~~~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile badFunctionRuleWithContext.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition badFunctionRuleWithContext-kompiled --type-inference-mode checked + kompile badFunctionRuleWithContext.k --md-selector k --emit-json --backend llvm --output-definition badFunctionRuleWithContext-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/binder.k.out b/pyk/regression-new/checks/binder.k.out index 0ab18b2dcc7..09d291e2283 100644 --- a/pyk/regression-new/checks/binder.k.out +++ b/pyk/regression-new/checks/binder.k.out @@ -10,4 +10,4 @@ . ^~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile binder.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition binder-kompiled --type-inference-mode checked + kompile binder.k --md-selector k --emit-json --backend llvm --output-definition binder-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkAssoc.k.out b/pyk/regression-new/checks/checkAssoc.k.out index 44feace8381..dfe210ccca6 100644 --- a/pyk/regression-new/checks/checkAssoc.k.out +++ b/pyk/regression-new/checks/checkAssoc.k.out @@ -24,4 +24,4 @@ Hint: One of the sub-sorting relations Bool <= Int or Bool <= Bool does not hold . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 4 structural errors. [ERROR] Running process failed with returncode 113: - kompile checkAssoc.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkAssoc-kompiled --type-inference-mode checked + kompile checkAssoc.k --md-selector k --emit-json --backend llvm --output-definition checkAssoc-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkBracket.k.out b/pyk/regression-new/checks/checkBracket.k.out index 4002391ad5d..06e357ed0c6 100644 --- a/pyk/regression-new/checks/checkBracket.k.out +++ b/pyk/regression-new/checks/checkBracket.k.out @@ -4,4 +4,4 @@ 3 | syntax Exp ::= "(" Exp Exp ")" [bracket] . ^~~~~~~~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkBracket.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkBracket-kompiled --type-inference-mode checked + kompile checkBracket.k --md-selector k --emit-json --backend llvm --output-definition checkBracket-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkBracketSubsort.k.out b/pyk/regression-new/checks/checkBracketSubsort.k.out index 0c0c79c51b4..c839cf79063 100644 --- a/pyk/regression-new/checks/checkBracketSubsort.k.out +++ b/pyk/regression-new/checks/checkBracketSubsort.k.out @@ -4,4 +4,4 @@ 5 | syntax Exp ::= "(" A ")" [bracket] . ^~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkBracketSubsort.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkBracketSubsort-kompiled --type-inference-mode checked + kompile checkBracketSubsort.k --md-selector k --emit-json --backend llvm --output-definition checkBracketSubsort-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkBracketSupersort.k.out b/pyk/regression-new/checks/checkBracketSupersort.k.out index a2e17ecb811..a046ff2e266 100644 --- a/pyk/regression-new/checks/checkBracketSupersort.k.out +++ b/pyk/regression-new/checks/checkBracketSupersort.k.out @@ -4,4 +4,4 @@ 5 | syntax A ::= "(" Exp ")" [bracket] . ^~~~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkBracketSupersort.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkBracketSupersort-kompiled --type-inference-mode checked + kompile checkBracketSupersort.k --md-selector k --emit-json --backend llvm --output-definition checkBracketSupersort-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkBracketUnrelatedsort.k.out b/pyk/regression-new/checks/checkBracketUnrelatedsort.k.out index 9d601ce02a3..9c5f6e9bf7a 100644 --- a/pyk/regression-new/checks/checkBracketUnrelatedsort.k.out +++ b/pyk/regression-new/checks/checkBracketUnrelatedsort.k.out @@ -4,4 +4,4 @@ 4 | syntax Exp ::= "(" A ")" [bracket] . ^~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkBracketUnrelatedsort.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkBracketUnrelatedsort-kompiled --type-inference-mode checked + kompile checkBracketUnrelatedsort.k --md-selector k --emit-json --backend llvm --output-definition checkBracketUnrelatedsort-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkCellSortDeclFail.k.out b/pyk/regression-new/checks/checkCellSortDeclFail.k.out index 305b358a03c..020d216266a 100644 --- a/pyk/regression-new/checks/checkCellSortDeclFail.k.out +++ b/pyk/regression-new/checks/checkCellSortDeclFail.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile checkCellSortDeclFail.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkCellSortDeclFail-kompiled --type-inference-mode checked + kompile checkCellSortDeclFail.k --md-selector k --emit-json --backend llvm --output-definition checkCellSortDeclFail-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkCircularList.k.out b/pyk/regression-new/checks/checkCircularList.k.out index c0f24391af8..cf126c1d69d 100644 --- a/pyk/regression-new/checks/checkCircularList.k.out +++ b/pyk/regression-new/checks/checkCircularList.k.out @@ -1,4 +1,4 @@ [Error] Compiler: Had 1 parsing errors. -[Error] Compiler: Illegal circular relation: Exp < ExpList < Exp +[Error] Compiler: Illegal circular relation: ExpList < Exp < ExpList [ERROR] Running process failed with returncode 113: - kompile checkCircularList.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkCircularList-kompiled --type-inference-mode checked + kompile checkCircularList.k --md-selector k --emit-json --backend llvm --output-definition checkCircularList-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkDuplicateList.k.out b/pyk/regression-new/checks/checkDuplicateList.k.out index 35e9b6f0f91..1f0d50d2a18 100644 --- a/pyk/regression-new/checks/checkDuplicateList.k.out +++ b/pyk/regression-new/checks/checkDuplicateList.k.out @@ -4,4 +4,4 @@ 9 | syntax MyList ::= List{Int,""} . ^~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkDuplicateList.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkDuplicateList-kompiled --type-inference-mode checked + kompile checkDuplicateList.k --md-selector k --emit-json --backend llvm --output-definition checkDuplicateList-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkFuncRuleAtt.k.out b/pyk/regression-new/checks/checkFuncRuleAtt.k.out index 2f81fbdbacb..50a43c3e4c3 100644 --- a/pyk/regression-new/checks/checkFuncRuleAtt.k.out +++ b/pyk/regression-new/checks/checkFuncRuleAtt.k.out @@ -27,4 +27,4 @@ . ~~~~~~~~~~~~~~~^ [Error] Compiler: Had 5 structural errors. [ERROR] Running process failed with returncode 113: - kompile checkFuncRuleAtt.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkFuncRuleAtt-kompiled --type-inference-mode checked + kompile checkFuncRuleAtt.k --md-selector k --emit-json --backend llvm --output-definition checkFuncRuleAtt-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkGroup.k.out b/pyk/regression-new/checks/checkGroup.k.out index 28c2b3c736a..dc93254ee0f 100644 --- a/pyk/regression-new/checks/checkGroup.k.out +++ b/pyk/regression-new/checks/checkGroup.k.out @@ -4,4 +4,4 @@ 4 | | Int "+" Int [group(fun,)] . ^~~~~~~~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkGroup.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkGroup-kompiled --type-inference-mode checked + kompile checkGroup.k --md-selector k --emit-json --backend llvm --output-definition checkGroup-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkInstantiation.k.out b/pyk/regression-new/checks/checkInstantiation.k.out index 7d0e995b7de..b3050921f99 100644 --- a/pyk/regression-new/checks/checkInstantiation.k.out +++ b/pyk/regression-new/checks/checkInstantiation.k.out @@ -4,4 +4,4 @@ 10 | syntax KItem ::= foo(MInt{6}) . ^~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkInstantiation.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkInstantiation-kompiled --type-inference-mode checked + kompile checkInstantiation.k --md-selector k --emit-json --backend llvm --output-definition checkInstantiation-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkIsSort.k.out b/pyk/regression-new/checks/checkIsSort.k.out index 834ade7a135..0414dfd167e 100644 --- a/pyk/regression-new/checks/checkIsSort.k.out +++ b/pyk/regression-new/checks/checkIsSort.k.out @@ -20,4 +20,4 @@ . ^~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 4 structural errors. [ERROR] Running process failed with returncode 113: - kompile checkIsSort.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkIsSort-kompiled --type-inference-mode checked + kompile checkIsSort.k --md-selector k --emit-json --backend llvm --output-definition checkIsSort-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkLexicalIdentifiers.k b/pyk/regression-new/checks/checkLexicalIdentifiers.k new file mode 100644 index 00000000000..aa2027c9f58 --- /dev/null +++ b/pyk/regression-new/checks/checkLexicalIdentifiers.k @@ -0,0 +1,17 @@ +module CHECKLEXICALIDENTIFIERS-SYNTAX +syntax lexical Foo1 = r"{Foo2}" +syntax lexical Foo2 = r"{Foo3}" +syntax lexical Foo3 = r"{Foo4}" +syntax lexical Foo4 = r"{Foo1}" +syntax lexical Cycle = r"{Cycle}" +syntax lexical Bar1 = r"{Bar1} {Foo1}" +syntax lexical Bad = r"{NotReal}" +syntax Bad1 +syntax Bad2 ::= r"{Bad1}" +syntax lexical StartAnchor = r"^foo" +syntax lexical EndAnchor = r"foo$" +endmodule + +module CHECKLEXICALIDENTIFIERS +imports CHECKLEXICALIDENTIFIERS-SYNTAX +endmodule diff --git a/pyk/regression-new/checks/checkLexicalIdentifiers.k.out b/pyk/regression-new/checks/checkLexicalIdentifiers.k.out new file mode 100644 index 00000000000..88b08b83f79 --- /dev/null +++ b/pyk/regression-new/checks/checkLexicalIdentifiers.k.out @@ -0,0 +1,38 @@ +[Error] Outer Parser: Circular dependency between lexical identifiers: [Foo1, Foo2, Foo3, Foo4] + Source(checkLexicalIdentifiers.k) + Location(2,1,2,32) + 2 | syntax lexical Foo1 = r"{Foo2}" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Circular dependency between lexical identifiers: [Cycle] + Source(checkLexicalIdentifiers.k) + Location(6,1,6,34) + 6 | syntax lexical Cycle = r"{Cycle}" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Circular dependency between lexical identifiers: [Bar1] + Source(checkLexicalIdentifiers.k) + Location(7,1,7,39) + 7 | syntax lexical Bar1 = r"{Bar1} {Foo1}" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Unrecognized lexical identifiers in regular expression: [NotReal] + Source(checkLexicalIdentifiers.k) + Location(8,1,8,34) + 8 | syntax lexical Bad = r"{NotReal}" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Unrecognized lexical identifiers in regular expression: [Bad1] + Source(checkLexicalIdentifiers.k) + Location(10,17,10,26) + 10 | syntax Bad2 ::= r"{Bad1}" + . ^~~~~~~~~ +[Error] Outer Parser: Named lexical syntax cannot contain line anchors. + Source(checkLexicalIdentifiers.k) + Location(11,1,11,37) + 11 | syntax lexical StartAnchor = r"^foo" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Named lexical syntax cannot contain line anchors. + Source(checkLexicalIdentifiers.k) + Location(12,1,12,35) + 12 | syntax lexical EndAnchor = r"foo$" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Had 7 parsing errors. +[ERROR] Running process failed with returncode 113: + kompile checkLexicalIdentifiers.k --md-selector k --emit-json --backend llvm --output-definition checkLexicalIdentifiers-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkListDecl1.k.out b/pyk/regression-new/checks/checkListDecl1.k.out index 665736c4e0f..33a25aeef29 100644 --- a/pyk/regression-new/checks/checkListDecl1.k.out +++ b/pyk/regression-new/checks/checkListDecl1.k.out @@ -4,4 +4,4 @@ 12 | syntax KItem ::= List{Int,""} . ^~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkListDecl1.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkListDecl1-kompiled --type-inference-mode checked + kompile checkListDecl1.k --md-selector k --emit-json --backend llvm --output-definition checkListDecl1-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkListDecl2.k.out b/pyk/regression-new/checks/checkListDecl2.k.out index 1149725e41b..ee4cf0ca10d 100644 --- a/pyk/regression-new/checks/checkListDecl2.k.out +++ b/pyk/regression-new/checks/checkListDecl2.k.out @@ -4,4 +4,4 @@ 12 | syntax Int ::= List{Int,""} . ^~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkListDecl2.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkListDecl2-kompiled --type-inference-mode checked + kompile checkListDecl2.k --md-selector k --emit-json --backend llvm --output-definition checkListDecl2-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkListDecl3.k.out b/pyk/regression-new/checks/checkListDecl3.k.out index 3c7203ac120..3821c7f572d 100644 --- a/pyk/regression-new/checks/checkListDecl3.k.out +++ b/pyk/regression-new/checks/checkListDecl3.k.out @@ -4,4 +4,4 @@ 12 | syntax KItem ::= Int "+" List{Int,""} . ^~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkListDecl3.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkListDecl3-kompiled --type-inference-mode checked + kompile checkListDecl3.k --md-selector k --emit-json --backend llvm --output-definition checkListDecl3-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkMIntLiteral.k.out b/pyk/regression-new/checks/checkMIntLiteral.k.out index 4af34773344..89bc7e48cdb 100644 --- a/pyk/regression-new/checks/checkMIntLiteral.k.out +++ b/pyk/regression-new/checks/checkMIntLiteral.k.out @@ -1,8 +1,8 @@ -[Error] Inner Parser: Unexpected sort MInt{32} for term parsed as production syntax MInt{32} ::= r"[\\+-]?[0-9]+[pP][0-9]+" [hook(MINT.literal), prec(2), token]. Expected: MInt{6} +[Error] Inner Parser: Unexpected sort MInt{32} for term parsed as production syntax MInt{32} ::= r"[+\\-]?[0-9]+[pP][0-9]+" [hook(MINT.literal), prec(2), token]. Expected: MInt{6} Source(checkMIntLiteral.k) Location(14,12,14,16) 14 | rule foo(0p32) => 0 . ^~~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile checkMIntLiteral.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkMIntLiteral-kompiled --type-inference-mode checked + kompile checkMIntLiteral.k --md-selector k --emit-json --backend llvm --output-definition checkMIntLiteral-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkModuleAtts.k.out b/pyk/regression-new/checks/checkModuleAtts.k.out index 6eec830fe68..833a6424e31 100644 --- a/pyk/regression-new/checks/checkModuleAtts.k.out +++ b/pyk/regression-new/checks/checkModuleAtts.k.out @@ -14,4 +14,4 @@ . ~~~~~~~~^ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile checkModuleAtts.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkModuleAtts-kompiled --type-inference-mode checked + kompile checkModuleAtts.k --md-selector k --emit-json --backend llvm --output-definition checkModuleAtts-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkNoSymbolOverload.k b/pyk/regression-new/checks/checkNoSymbolOverload.k new file mode 100644 index 00000000000..b21637e84bf --- /dev/null +++ b/pyk/regression-new/checks/checkNoSymbolOverload.k @@ -0,0 +1,13 @@ +module CHECKNOSYMBOLOVERLOAD-SYNTAX +endmodule + +module CHECKNOSYMBOLOVERLOAD + syntax LVal + syntax RVal + syntax Val ::= LVal | RVal + syntax Exp ::= Val + + syntax RVals ::= RVal [overload(arg)] + syntax Vals ::= Val [overload(arg), symbol(val)] + syntax Exps ::= Exp [overload(arg)] +endmodule diff --git a/pyk/regression-new/checks/checkNoSymbolOverload.k.out b/pyk/regression-new/checks/checkNoSymbolOverload.k.out new file mode 100644 index 00000000000..55a99a6c796 --- /dev/null +++ b/pyk/regression-new/checks/checkNoSymbolOverload.k.out @@ -0,0 +1,13 @@ +[Error] Compiler: Production would not be a KORE symbol and therefore cannot be overloaded. Add a `symbol(_)` attribute to the production. + Source(checkNoSymbolOverload.k) + Location(10,20,10,40) + 10 | syntax RVals ::= RVal [overload(arg)] + . ^~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Production would not be a KORE symbol and therefore cannot be overloaded. Add a `symbol(_)` attribute to the production. + Source(checkNoSymbolOverload.k) + Location(12,20,12,40) + 12 | syntax Exps ::= Exp [overload(arg)] + . ^~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Had 2 structural errors. +[ERROR] Running process failed with returncode 113: + kompile checkNoSymbolOverload.k --md-selector k --emit-json --backend llvm --output-definition checkNoSymbolOverload-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkParametricSort.k.out b/pyk/regression-new/checks/checkParametricSort.k.out index 3e03bd7d406..13fc0306e2c 100644 --- a/pyk/regression-new/checks/checkParametricSort.k.out +++ b/pyk/regression-new/checks/checkParametricSort.k.out @@ -4,4 +4,4 @@ 7 | syntax {S} Foo{S} . ^~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkParametricSort.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkParametricSort-kompiled --type-inference-mode checked + kompile checkParametricSort.k --md-selector k --emit-json --backend llvm --output-definition checkParametricSort-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkPriorityBlocks.k.out b/pyk/regression-new/checks/checkPriorityBlocks.k.out index 8c4d01f45ab..2b4d1bf5e63 100644 --- a/pyk/regression-new/checks/checkPriorityBlocks.k.out +++ b/pyk/regression-new/checks/checkPriorityBlocks.k.out @@ -5,4 +5,4 @@ . ^~~~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile checkPriorityBlocks.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkPriorityBlocks-kompiled --type-inference-mode checked + kompile checkPriorityBlocks.k --md-selector k --emit-json --backend llvm --output-definition checkPriorityBlocks-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkRecordProdDuplicateLabels.k.out b/pyk/regression-new/checks/checkRecordProdDuplicateLabels.k.out index 48779b32fa7..90a654ccfe1 100644 --- a/pyk/regression-new/checks/checkRecordProdDuplicateLabels.k.out +++ b/pyk/regression-new/checks/checkRecordProdDuplicateLabels.k.out @@ -10,4 +10,4 @@ . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 2 parsing errors. [ERROR] Running process failed with returncode 113: - kompile checkRecordProdDuplicateLabels.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkRecordProdDuplicateLabels-kompiled --type-inference-mode checked + kompile checkRecordProdDuplicateLabels.k --md-selector k --emit-json --backend llvm --output-definition checkRecordProdDuplicateLabels-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkRegexRanges.k b/pyk/regression-new/checks/checkRegexRanges.k new file mode 100644 index 00000000000..177c7d5a0c6 --- /dev/null +++ b/pyk/regression-new/checks/checkRegexRanges.k @@ -0,0 +1,8 @@ +// Copyright (c) Runtime Verification, Inc. All Rights Reserved. +module CHECKREGEXRANGES +syntax lexical Foo = r"a|[1-#]b" +syntax Bar ::= r"a|[1-#]b" + +syntax lexical Baz = r"(a|b|c){100,1}" +syntax Buz ::= r"(a|b|c){100,1}" +endmodule diff --git a/pyk/regression-new/checks/checkRegexRanges.k.out b/pyk/regression-new/checks/checkRegexRanges.k.out new file mode 100644 index 00000000000..7a2be66ea83 --- /dev/null +++ b/pyk/regression-new/checks/checkRegexRanges.k.out @@ -0,0 +1,23 @@ +[Error] Outer Parser: Invalid character range '1-#'. Start of range U+0031 is greater than end of range U+0023. + Source(checkRegexRanges.k) + Location(3,1,3,33) + 3 | syntax lexical Foo = r"a|[1-#]b" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Invalid character range '1-#'. Start of range U+0031 is greater than end of range U+0023. + Source(checkRegexRanges.k) + Location(4,16,4,27) + 4 | syntax Bar ::= r"a|[1-#]b" + . ^~~~~~~~~~~ +[Error] Outer Parser: Invalid numeric range '(a|(b|c)){100,1}'. Start of range 100 is greater than end of range 1. + Source(checkRegexRanges.k) + Location(6,1,6,39) + 6 | syntax lexical Baz = r"(a|b|c){100,1}" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Invalid numeric range '(a|(b|c)){100,1}'. Start of range 100 is greater than end of range 1. + Source(checkRegexRanges.k) + Location(7,16,7,33) + 7 | syntax Buz ::= r"(a|b|c){100,1}" + . ^~~~~~~~~~~~~~~~~ +[Error] Compiler: Had 4 parsing errors. +[ERROR] Running process failed with returncode 113: + kompile checkRegexRanges.k --md-selector k --emit-json --backend llvm --output-definition checkRegexRanges-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkRegexUnicode.k b/pyk/regression-new/checks/checkRegexUnicode.k new file mode 100644 index 00000000000..22bb5ac4a15 --- /dev/null +++ b/pyk/regression-new/checks/checkRegexUnicode.k @@ -0,0 +1,5 @@ +// Copyright (c) Runtime Verification, Inc. All Rights Reserved. +module CHECKREGEXUNICODE +syntax lexical Foo = r"[^a😊][😦-ab-🙁]" +syntax Bar ::= r"[^a😊][😦-ab-🙁]" [token] +endmodule diff --git a/pyk/regression-new/checks/checkRegexUnicode.k.out b/pyk/regression-new/checks/checkRegexUnicode.k.out new file mode 100644 index 00000000000..2a43337e544 --- /dev/null +++ b/pyk/regression-new/checks/checkRegexUnicode.k.out @@ -0,0 +1,33 @@ +[Error] Outer Parser: Invalid character range '😦-a'. Start of range U+1F626 is greater than end of range U+0061. + Source(checkRegexUnicode.k) + Location(3,1,3,41) + 3 | syntax lexical Foo = r"[^a😊][😦-ab-🙁]" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Unsupported non-ASCII characters found in character class range: [😦, 🙁] + Source(checkRegexUnicode.k) + Location(3,1,3,41) + 3 | syntax lexical Foo = r"[^a😊][😦-ab-🙁]" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Unsupported non-ASCII characters found in negated character class: [😊] + Source(checkRegexUnicode.k) + Location(3,1,3,41) + 3 | syntax lexical Foo = r"[^a😊][😦-ab-🙁]" + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Invalid character range '😦-a'. Start of range U+1F626 is greater than end of range U+0061. + Source(checkRegexUnicode.k) + Location(4,16,4,43) + 4 | syntax Bar ::= r"[^a😊][😦-ab-🙁]" [token] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Unsupported non-ASCII characters found in character class range: [😦, 🙁] + Source(checkRegexUnicode.k) + Location(4,16,4,43) + 4 | syntax Bar ::= r"[^a😊][😦-ab-🙁]" [token] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Outer Parser: Unsupported non-ASCII characters found in negated character class: [😊] + Source(checkRegexUnicode.k) + Location(4,16,4,43) + 4 | syntax Bar ::= r"[^a😊][😦-ab-🙁]" [token] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Had 6 parsing errors. +[ERROR] Running process failed with returncode 113: + kompile checkRegexUnicode.k --md-selector k --emit-json --backend llvm --output-definition checkRegexUnicode-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkReservedCellNames.k.out b/pyk/regression-new/checks/checkReservedCellNames.k.out index ca704f667c6..77f73614d3a 100644 --- a/pyk/regression-new/checks/checkReservedCellNames.k.out +++ b/pyk/regression-new/checks/checkReservedCellNames.k.out @@ -10,4 +10,4 @@ . ^~~~~~~~~~~~ [Error] Compiler: Had 2 parsing errors. [ERROR] Running process failed with returncode 113: - kompile checkReservedCellNames.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkReservedCellNames-kompiled --type-inference-mode checked + kompile checkReservedCellNames.k --md-selector k --emit-json --backend llvm --output-definition checkReservedCellNames-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkSymbolKlabel.k.out b/pyk/regression-new/checks/checkSymbolKlabel.k.out index 3aae632d68b..42b2687c32c 100644 --- a/pyk/regression-new/checks/checkSymbolKlabel.k.out +++ b/pyk/regression-new/checks/checkSymbolKlabel.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile checkSymbolKlabel.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkSymbolKlabel-kompiled --type-inference-mode checked + kompile checkSymbolKlabel.k --md-selector k --emit-json --backend llvm --output-definition checkSymbolKlabel-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkTerminatorSymbol.k.out b/pyk/regression-new/checks/checkTerminatorSymbol.k.out index d9f18d12fbb..247e33d9200 100644 --- a/pyk/regression-new/checks/checkTerminatorSymbol.k.out +++ b/pyk/regression-new/checks/checkTerminatorSymbol.k.out @@ -3,11 +3,11 @@ Location(4,20,4,50) 4 | | bar() [terminator-symbol(bar)] . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[Error] Compiler: Symbol .pipe-ints is not unique. Previously defined as: syntax Oops ::= "oops" "(" ")" [symbol(.pipe-ints)] +[Error] Compiler: Symbol .pipe-ints is not unique. Previously defined as: syntax PipeInts ::= ".PipeInts" [symbol(.pipe-ints), userList(*)] Source(checkTerminatorSymbol.k) - Location(8,23,8,88) - 8 | syntax PipeInts ::= List{Int, "|"} [symbol(pipe-ints), terminator-symbol(.pipe-ints)] - . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Location(9,19,9,46) + 9 | syntax Oops ::= oops() [symbol(.pipe-ints)] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile checkTerminatorSymbol.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkTerminatorSymbol-kompiled --type-inference-mode checked + kompile checkTerminatorSymbol.k --md-selector k --emit-json --backend llvm --output-definition checkTerminatorSymbol-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/checkUndeclaredTags.k.out b/pyk/regression-new/checks/checkUndeclaredTags.k.out index b089832448a..82457ec8945 100644 --- a/pyk/regression-new/checks/checkUndeclaredTags.k.out +++ b/pyk/regression-new/checks/checkUndeclaredTags.k.out @@ -4,4 +4,4 @@ 3 | syntax priority a > b . ^~~~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile checkUndeclaredTags.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition checkUndeclaredTags-kompiled --type-inference-mode checked + kompile checkUndeclaredTags.k --md-selector k --emit-json --backend llvm --output-definition checkUndeclaredTags-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/circularImports.k.out b/pyk/regression-new/checks/circularImports.k.out index de7e402b7c3..4bfe1648956 100644 --- a/pyk/regression-new/checks/circularImports.k.out +++ b/pyk/regression-new/checks/circularImports.k.out @@ -1,3 +1,3 @@ [Error] Compiler: Found circularity in module imports: E < D < C < B < A < E [ERROR] Running process failed with returncode 113: - kompile circularImports.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition circularImports-kompiled --type-inference-mode checked + kompile circularImports.k --md-selector k --emit-json --backend llvm --output-definition circularImports-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/claimInDef.k.out b/pyk/regression-new/checks/claimInDef.k.out index 66a743d2842..88c9f3706d5 100644 --- a/pyk/regression-new/checks/claimInDef.k.out +++ b/pyk/regression-new/checks/claimInDef.k.out @@ -5,4 +5,4 @@ . ^~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile claimInDef.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition claimInDef-kompiled --type-inference-mode checked + kompile claimInDef.k --md-selector k --emit-json --backend llvm --output-definition claimInDef-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/concrete.k.out b/pyk/regression-new/checks/concrete.k.out index 43acf6901ae..2e559c82115 100644 --- a/pyk/regression-new/checks/concrete.k.out +++ b/pyk/regression-new/checks/concrete.k.out @@ -40,4 +40,4 @@ . ^~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 8 structural errors. [ERROR] Running process failed with returncode 113: - kompile concrete.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition concrete-kompiled --type-inference-mode checked + kompile concrete.k --md-selector k --emit-json --backend llvm --output-definition concrete-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/duplicateAttRule.k.out b/pyk/regression-new/checks/duplicateAttRule.k.out index 08212ce4492..ddceb8f2fb1 100644 --- a/pyk/regression-new/checks/duplicateAttRule.k.out +++ b/pyk/regression-new/checks/duplicateAttRule.k.out @@ -4,4 +4,4 @@ 5 | rule a() => .K [concrete, concrete] . ^~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile duplicateAttRule.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition duplicateAttRule-kompiled --type-inference-mode checked + kompile duplicateAttRule.k --md-selector k --emit-json --backend llvm --output-definition duplicateAttRule-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/duplicateAttSyntax.k.out b/pyk/regression-new/checks/duplicateAttSyntax.k.out index 0aedcc928f9..4baeaa92737 100644 --- a/pyk/regression-new/checks/duplicateAttSyntax.k.out +++ b/pyk/regression-new/checks/duplicateAttSyntax.k.out @@ -4,4 +4,4 @@ 4 | syntax Foo ::= a() [left, left] . ^~~~ [ERROR] Running process failed with returncode 113: - kompile duplicateAttSyntax.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition duplicateAttSyntax-kompiled --type-inference-mode checked + kompile duplicateAttSyntax.k --md-selector k --emit-json --backend llvm --output-definition duplicateAttSyntax-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/duplicateContextLabels.k.out b/pyk/regression-new/checks/duplicateContextLabels.k.out index 6cecdc2979f..6583d48caf0 100644 --- a/pyk/regression-new/checks/duplicateContextLabels.k.out +++ b/pyk/regression-new/checks/duplicateContextLabels.k.out @@ -4,4 +4,4 @@ 9 | context [foo-left]: foo( HOLE, _ ) . ^~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile duplicateContextLabels.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition duplicateContextLabels-kompiled --type-inference-mode checked + kompile duplicateContextLabels.k --md-selector k --emit-json --backend llvm --output-definition duplicateContextLabels-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/duplicateKCells.k.out b/pyk/regression-new/checks/duplicateKCells.k.out index 239be48f76e..9a1958549fd 100644 --- a/pyk/regression-new/checks/duplicateKCells.k.out +++ b/pyk/regression-new/checks/duplicateKCells.k.out @@ -24,4 +24,4 @@ [Error] Compiler: Had 4 parsing errors. [Error] Compiler: Had 5 parsing errors. [ERROR] Running process failed with returncode 113: - kompile duplicateKCells.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition duplicateKCells-kompiled --type-inference-mode checked + kompile duplicateKCells.k --md-selector k --emit-json --backend llvm --output-definition duplicateKCells-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/duplicateModule.k.out b/pyk/regression-new/checks/duplicateModule.k.out index d90da920a2d..136ed17c058 100644 --- a/pyk/regression-new/checks/duplicateModule.k.out +++ b/pyk/regression-new/checks/duplicateModule.k.out @@ -8,4 +8,4 @@ . ~~~~~~~~^ [Error] Outer Parser: Had 1 outer parsing errors. [ERROR] Running process failed with returncode 113: - kompile duplicateModule.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition duplicateModule-kompiled --type-inference-mode checked + kompile duplicateModule.k --md-selector k --emit-json --backend llvm --output-definition duplicateModule-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/duplicateRules.k.out b/pyk/regression-new/checks/duplicateRules.k.out index 23e77eea93f..f2f1bcb0597 100644 --- a/pyk/regression-new/checks/duplicateRules.k.out +++ b/pyk/regression-new/checks/duplicateRules.k.out @@ -15,4 +15,4 @@ . ^~~~~~ [Error] Compiler: Had 3 structural errors. [ERROR] Running process failed with returncode 113: - kompile duplicateRules.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition duplicateRules-kompiled --type-inference-mode checked + kompile duplicateRules.k --md-selector k --emit-json --backend llvm --output-definition duplicateRules-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/emptyMapCollection.k.out b/pyk/regression-new/checks/emptyMapCollection.k.out index 038b82d8d7f..ea2c9113bb7 100644 --- a/pyk/regression-new/checks/emptyMapCollection.k.out +++ b/pyk/regression-new/checks/emptyMapCollection.k.out @@ -8,4 +8,4 @@ . ~~~~~~^ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile emptyMapCollection.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition emptyMapCollection-kompiled --type-inference-mode checked + kompile emptyMapCollection.k --md-selector k --emit-json --backend llvm --output-definition emptyMapCollection-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/errorExistential.k.out b/pyk/regression-new/checks/errorExistential.k.out index 63c71d510b8..52cff8c8175 100644 --- a/pyk/regression-new/checks/errorExistential.k.out +++ b/pyk/regression-new/checks/errorExistential.k.out @@ -5,4 +5,4 @@ . ^~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile errorExistential.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition errorExistential-kompiled --type-inference-mode checked + kompile errorExistential.k --md-selector k --emit-json --backend llvm --output-definition errorExistential-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/existentialCheck.k.out b/pyk/regression-new/checks/existentialCheck.k.out index c2ca286f755..9050b522e6d 100644 --- a/pyk/regression-new/checks/existentialCheck.k.out +++ b/pyk/regression-new/checks/existentialCheck.k.out @@ -40,4 +40,4 @@ . ^~~~~~ [Error] Compiler: Had 8 structural errors. [ERROR] Running process failed with returncode 113: - kompile existentialCheck.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition existentialCheck-kompiled --type-inference-mode checked + kompile existentialCheck.k --md-selector k --emit-json --backend llvm --output-definition existentialCheck-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/existsLHSBoundFail.k.out b/pyk/regression-new/checks/existsLHSBoundFail.k.out index e2edf4f728b..00ab114c7af 100644 --- a/pyk/regression-new/checks/existsLHSBoundFail.k.out +++ b/pyk/regression-new/checks/existsLHSBoundFail.k.out @@ -10,4 +10,4 @@ . ^~~ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile existsLHSBoundFail.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition existsLHSBoundFail-kompiled --type-inference-mode checked + kompile existsLHSBoundFail.k --md-selector k --emit-json --backend llvm --output-definition existsLHSBoundFail-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/expandMacroEnsures.k.out b/pyk/regression-new/checks/expandMacroEnsures.k.out index b674ffc1d94..ee9abf16676 100644 --- a/pyk/regression-new/checks/expandMacroEnsures.k.out +++ b/pyk/regression-new/checks/expandMacroEnsures.k.out @@ -8,4 +8,4 @@ Source(expandMacroEnsures.k) Location(12,10,12,49) [ERROR] Running process failed with returncode 113: - kompile expandMacroEnsures.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition expandMacroEnsures-kompiled --type-inference-mode checked + kompile expandMacroEnsures.k --md-selector k --emit-json --backend llvm --output-definition expandMacroEnsures-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/expandMacroRequires.k.out b/pyk/regression-new/checks/expandMacroRequires.k.out index 8f19db1ad4a..1386e4ffeeb 100644 --- a/pyk/regression-new/checks/expandMacroRequires.k.out +++ b/pyk/regression-new/checks/expandMacroRequires.k.out @@ -8,4 +8,4 @@ Source(expandMacroRequires.k) Location(12,10,12,49) [ERROR] Running process failed with returncode 113: - kompile expandMacroRequires.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition expandMacroRequires-kompiled --type-inference-mode checked + kompile expandMacroRequires.k --md-selector k --emit-json --backend llvm --output-definition expandMacroRequires-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/formatatt.k.out b/pyk/regression-new/checks/formatatt.k.out index 64aa2890ed9..d5cb23790f9 100644 --- a/pyk/regression-new/checks/formatatt.k.out +++ b/pyk/regression-new/checks/formatatt.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile formatatt.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition formatatt-kompiled --type-inference-mode checked + kompile formatatt.k --md-selector k --emit-json --backend llvm --output-definition formatatt-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/freshConfig.k.out b/pyk/regression-new/checks/freshConfig.k.out index e6aa2fe9b01..aa9da695158 100644 --- a/pyk/regression-new/checks/freshConfig.k.out +++ b/pyk/regression-new/checks/freshConfig.k.out @@ -5,4 +5,4 @@ 15 | !_:Foo . ^~ [ERROR] Running process failed with returncode 113: - kompile freshConfig.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition freshConfig-kompiled --type-inference-mode checked + kompile freshConfig.k --md-selector k --emit-json --backend llvm --output-definition freshConfig-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/functionContextInRewrite.k.out b/pyk/regression-new/checks/functionContextInRewrite.k.out index 425eb446150..6b5461d79da 100644 --- a/pyk/regression-new/checks/functionContextInRewrite.k.out +++ b/pyk/regression-new/checks/functionContextInRewrite.k.out @@ -5,4 +5,4 @@ . ^ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile functionContextInRewrite.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition functionContextInRewrite-kompiled --type-inference-mode checked + kompile functionContextInRewrite.k --md-selector k --emit-json --backend llvm --output-definition functionContextInRewrite-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/functionSimplification.k.out b/pyk/regression-new/checks/functionSimplification.k.out index 8bbc92172f8..b35cb560dbb 100644 --- a/pyk/regression-new/checks/functionSimplification.k.out +++ b/pyk/regression-new/checks/functionSimplification.k.out @@ -4,4 +4,4 @@ 10 | rule a() => b() [simplification] . ^~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile functionSimplification.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition functionSimplification-kompiled --type-inference-mode checked + kompile functionSimplification.k --md-selector k --emit-json --backend llvm --output-definition functionSimplification-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/intOperationInLHS.k.out b/pyk/regression-new/checks/intOperationInLHS.k.out index a6f5912d464..6a2baa88278 100644 --- a/pyk/regression-new/checks/intOperationInLHS.k.out +++ b/pyk/regression-new/checks/intOperationInLHS.k.out @@ -15,4 +15,4 @@ . ^~~~~~ [Error] Compiler: Had 3 structural errors. [ERROR] Running process failed with returncode 113: - kompile intOperationInLHS.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition intOperationInLHS-kompiled --type-inference-mode checked + kompile intOperationInLHS.k --md-selector k --emit-json --backend llvm --output-definition intOperationInLHS-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidAs.k.out b/pyk/regression-new/checks/invalidAs.k.out index bb56415f934..cd19c40a924 100644 --- a/pyk/regression-new/checks/invalidAs.k.out +++ b/pyk/regression-new/checks/invalidAs.k.out @@ -15,4 +15,4 @@ . ^~~~~~ [Error] Compiler: Had 3 structural errors. [ERROR] Running process failed with returncode 113: - kompile invalidAs.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidAs-kompiled --type-inference-mode checked + kompile invalidAs.k --md-selector k --emit-json --backend llvm --output-definition invalidAs-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidConstantExp.k.out b/pyk/regression-new/checks/invalidConstantExp.k.out index 83733f86ed7..e5eb690fc98 100644 --- a/pyk/regression-new/checks/invalidConstantExp.k.out +++ b/pyk/regression-new/checks/invalidConstantExp.k.out @@ -7,4 +7,4 @@ 5 | rule 0 => 1 /Int 0 . ^~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile invalidConstantExp.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidConstantExp-kompiled --type-inference-mode checked + kompile invalidConstantExp.k --md-selector k --emit-json --backend llvm --output-definition invalidConstantExp-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidConstructor.k.out b/pyk/regression-new/checks/invalidConstructor.k.out index 64f5c03368e..4e4a06513ed 100644 --- a/pyk/regression-new/checks/invalidConstructor.k.out +++ b/pyk/regression-new/checks/invalidConstructor.k.out @@ -15,4 +15,4 @@ . ^~~~~ [Error] Compiler: Had 3 structural errors. [ERROR] Running process failed with returncode 113: - kompile invalidConstructor.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidConstructor-kompiled --type-inference-mode checked + kompile invalidConstructor.k --md-selector k --emit-json --backend llvm --output-definition invalidConstructor-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidFormat.k.out b/pyk/regression-new/checks/invalidFormat.k.out index cca46712152..04e397ab3d4 100644 --- a/pyk/regression-new/checks/invalidFormat.k.out +++ b/pyk/regression-new/checks/invalidFormat.k.out @@ -35,4 +35,4 @@ . ^~~~~~~~ [Error] Compiler: Had 7 structural errors. [ERROR] Running process failed with returncode 113: - kompile invalidFormat.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidFormat-kompiled --type-inference-mode checked + kompile invalidFormat.k --md-selector k --emit-json --backend llvm --output-definition invalidFormat-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidLabel.k.out b/pyk/regression-new/checks/invalidLabel.k.out index ed0db28fa78..165f5bf1ea3 100644 --- a/pyk/regression-new/checks/invalidLabel.k.out +++ b/pyk/regression-new/checks/invalidLabel.k.out @@ -15,4 +15,4 @@ . ^~~~~~ [Error] Compiler: Had 3 structural errors. [ERROR] Running process failed with returncode 113: - kompile invalidLabel.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidLabel-kompiled --type-inference-mode checked + kompile invalidLabel.k --md-selector k --emit-json --backend llvm --output-definition invalidLabel-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidPrec.k.out b/pyk/regression-new/checks/invalidPrec.k.out index 0a50b28d9c7..914bef94c39 100644 --- a/pyk/regression-new/checks/invalidPrec.k.out +++ b/pyk/regression-new/checks/invalidPrec.k.out @@ -1,7 +1,7 @@ [Error] Compiler: Inconsistent token precedence detected. - Source(invalidPrec.k) - Location(4,17,4,34) - 4 | syntax Foo ::= r"[0-9]+" [token] - . ^~~~~~~~~~~~~~~~~ + Source(domains.md) + Location(1210,18,1210,52) + 1210 | syntax Int ::= r"[0-9]+" [prefer, token, prec(2)] + . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile invalidPrec.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidPrec-kompiled --type-inference-mode checked + kompile invalidPrec.k --md-selector k --emit-json --backend llvm --output-definition invalidPrec-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidSortPredicate.k.out b/pyk/regression-new/checks/invalidSortPredicate.k.out index fc4d2f2bfdf..6cd054e8f37 100644 --- a/pyk/regression-new/checks/invalidSortPredicate.k.out +++ b/pyk/regression-new/checks/invalidSortPredicate.k.out @@ -7,4 +7,4 @@ 8 | rule isExp(I) => isInt(I) andBool configFunction() . ^~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile invalidSortPredicate.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidSortPredicate-kompiled --type-inference-mode checked + kompile invalidSortPredicate.k --md-selector k --emit-json --backend llvm --output-definition invalidSortPredicate-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidStrict.k.out b/pyk/regression-new/checks/invalidStrict.k.out index bd0a68343f6..d2271c718d5 100644 --- a/pyk/regression-new/checks/invalidStrict.k.out +++ b/pyk/regression-new/checks/invalidStrict.k.out @@ -40,4 +40,4 @@ . ^~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 8 structural errors. [ERROR] Running process failed with returncode 113: - kompile invalidStrict.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidStrict-kompiled --type-inference-mode checked + kompile invalidStrict.k --md-selector k --emit-json --backend llvm --output-definition invalidStrict-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/invalidSymbol.k b/pyk/regression-new/checks/invalidSymbol.k index d538f158b1d..22830c4faa7 100644 --- a/pyk/regression-new/checks/invalidSymbol.k +++ b/pyk/regression-new/checks/invalidSymbol.k @@ -1,10 +1,10 @@ // Copyright (c) Runtime Verification, Inc. All Rights Reserved. module INVALIDSYMBOL -syntax Foo ::= foo() [klabel(#KToken), symbol] +syntax Foo ::= foo() [symbol(#KToken)] -syntax Bar ::= bar() [klabel(foo), symbol] -syntax Baz ::= baz() [klabel(foo), symbol] +syntax Bar ::= bar() [symbol(foo)] +syntax Baz ::= baz() [symbol(foo)] syntax Exp ::= Val syntax Val ::= "val" diff --git a/pyk/regression-new/checks/invalidSymbol.k.out b/pyk/regression-new/checks/invalidSymbol.k.out index 843e078fedf..a51b6b1c30b 100644 --- a/pyk/regression-new/checks/invalidSymbol.k.out +++ b/pyk/regression-new/checks/invalidSymbol.k.out @@ -1,13 +1,13 @@ -[Error] Compiler: Symbol #KToken is not unique. Previously defined as: syntax KBott ::= "#token" "(" KString "," KString ")" [klabel(#KToken), symbol] +[Error] Compiler: Symbol #KToken is not unique. Previously defined as: syntax KBott ::= "#token" "(" KString "," KString ")" [symbol(#KToken)] Source(invalidSymbol.k) - Location(4,16,4,47) - 4 | syntax Foo ::= foo() [klabel(#KToken), symbol] - . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[Error] Compiler: Symbol foo is not unique. Previously defined as: syntax Bar ::= "bar" "(" ")" [klabel(foo), symbol] + Location(4,16,4,39) + 4 | syntax Foo ::= foo() [symbol(#KToken)] + . ^~~~~~~~~~~~~~~~~~~~~~~ +[Error] Compiler: Symbol foo is not unique. Previously defined as: syntax Bar ::= "bar" "(" ")" [symbol(foo)] Source(invalidSymbol.k) - Location(7,16,7,43) - 7 | syntax Baz ::= baz() [klabel(foo), symbol] - . ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + Location(7,16,7,35) + 7 | syntax Baz ::= baz() [symbol(foo)] + . ^~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile invalidSymbol.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition invalidSymbol-kompiled --type-inference-mode checked + kompile invalidSymbol.k --md-selector k --emit-json --backend llvm --output-definition invalidSymbol-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/localDuplicateList.k.out b/pyk/regression-new/checks/localDuplicateList.k.out index 3941aee6806..8d5415dea20 100644 --- a/pyk/regression-new/checks/localDuplicateList.k.out +++ b/pyk/regression-new/checks/localDuplicateList.k.out @@ -1,7 +1,7 @@ -[Error] Compiler: Sort Foo previously declared as a user list at Source(localDuplicateList.k) and Location(9,18,9,32) +[Error] Compiler: Sort Foo previously declared as a user list at Source(localDuplicateList.k) and Location(8,18,8,33) Source(localDuplicateList.k) - Location(8,18,8,33) - 8 | syntax Foo ::= List{Bool, ","} - . ^~~~~~~~~~~~~~~ + Location(9,18,9,32) + 9 | syntax Foo ::= List{Int, ";"} + . ^~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile localDuplicateList.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition localDuplicateList-kompiled --type-inference-mode checked + kompile localDuplicateList.k --md-selector k --emit-json --backend llvm --output-definition localDuplicateList-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/macroWithFunction.k.out b/pyk/regression-new/checks/macroWithFunction.k.out index 84fde21f153..ac2583d5937 100644 --- a/pyk/regression-new/checks/macroWithFunction.k.out +++ b/pyk/regression-new/checks/macroWithFunction.k.out @@ -8,4 +8,4 @@ Source(macroWithFunction.k) Location(23,10,23,37) [ERROR] Running process failed with returncode 113: - kompile macroWithFunction.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition macroWithFunction-kompiled --type-inference-mode checked + kompile macroWithFunction.k --md-selector k --emit-json --backend llvm --output-definition macroWithFunction-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/markdownErrorLocation.md.out b/pyk/regression-new/checks/markdownErrorLocation.md.out index bb3f3641cff..54088011154 100644 --- a/pyk/regression-new/checks/markdownErrorLocation.md.out +++ b/pyk/regression-new/checks/markdownErrorLocation.md.out @@ -5,4 +5,4 @@ . ^~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile markdownErrorLocation.md --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition markdownErrorLocation-kompiled --type-inference-mode checked + kompile markdownErrorLocation.md --md-selector k --emit-json --backend llvm --output-definition markdownErrorLocation-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/missingBar.k.out b/pyk/regression-new/checks/missingBar.k.out index 33a1ce1c0c7..72196aff4ba 100644 --- a/pyk/regression-new/checks/missingBar.k.out +++ b/pyk/regression-new/checks/missingBar.k.out @@ -5,4 +5,4 @@ Was expecting one of: ["rule", "context", "configuration", "claim", "syntax", "e 5 | bar () . ^~~ [ERROR] Running process failed with returncode 113: - kompile missingBar.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition missingBar-kompiled --type-inference-mode checked + kompile missingBar.k --md-selector k --emit-json --backend llvm --output-definition missingBar-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/missingKResult.k.out b/pyk/regression-new/checks/missingKResult.k.out index 467c7220dfc..00fd1eaf46e 100644 --- a/pyk/regression-new/checks/missingKResult.k.out +++ b/pyk/regression-new/checks/missingKResult.k.out @@ -3,4 +3,4 @@ Source(missingKResult.k) Location(14,18,14,47) [ERROR] Running process failed with returncode 113: - kompile missingKResult.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition missingKResult-kompiled --type-inference-mode checked + kompile missingKResult.k --md-selector k --emit-json --backend llvm --output-definition missingKResult-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/missingModule.k.out b/pyk/regression-new/checks/missingModule.k.out index 7e43b1083db..7c10ef0d0f6 100644 --- a/pyk/regression-new/checks/missingModule.k.out +++ b/pyk/regression-new/checks/missingModule.k.out @@ -4,4 +4,4 @@ 3 | imports FOO . ^~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile missingModule.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition missingModule-kompiled --type-inference-mode checked + kompile missingModule.k --md-selector k --emit-json --backend llvm --output-definition missingModule-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/nestedFunctionContext.k.out b/pyk/regression-new/checks/nestedFunctionContext.k.out index e830d71037e..0520a1b39a3 100644 --- a/pyk/regression-new/checks/nestedFunctionContext.k.out +++ b/pyk/regression-new/checks/nestedFunctionContext.k.out @@ -10,4 +10,4 @@ . ^~~~~ [Error] Compiler: Had 2 parsing errors. [ERROR] Running process failed with returncode 113: - kompile nestedFunctionContext.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition nestedFunctionContext-kompiled --type-inference-mode checked + kompile nestedFunctionContext.k --md-selector k --emit-json --backend llvm --output-definition nestedFunctionContext-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/nestedFunctionContextInFun.k.out b/pyk/regression-new/checks/nestedFunctionContextInFun.k.out index a974b58d28e..3833e789531 100644 --- a/pyk/regression-new/checks/nestedFunctionContextInFun.k.out +++ b/pyk/regression-new/checks/nestedFunctionContextInFun.k.out @@ -10,4 +10,4 @@ . ^ [Error] Compiler: Had 2 parsing errors. [ERROR] Running process failed with returncode 113: - kompile nestedFunctionContextInFun.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition nestedFunctionContextInFun-kompiled --type-inference-mode checked + kompile nestedFunctionContextInFun.k --md-selector k --emit-json --backend llvm --output-definition nestedFunctionContextInFun-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/nestedRewrite.k.out b/pyk/regression-new/checks/nestedRewrite.k.out index d8f9a3eb6ac..ee52d681edf 100644 --- a/pyk/regression-new/checks/nestedRewrite.k.out +++ b/pyk/regression-new/checks/nestedRewrite.k.out @@ -10,4 +10,4 @@ . ^~~~~~ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile nestedRewrite.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition nestedRewrite-kompiled --type-inference-mode checked + kompile nestedRewrite.k --md-selector k --emit-json --backend llvm --output-definition nestedRewrite-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/nestedRewriteInFun.k.out b/pyk/regression-new/checks/nestedRewriteInFun.k.out index 44697c77f3f..af01bab48ad 100644 --- a/pyk/regression-new/checks/nestedRewriteInFun.k.out +++ b/pyk/regression-new/checks/nestedRewriteInFun.k.out @@ -20,4 +20,4 @@ . ^~~~~~ [Error] Compiler: Had 4 structural errors. [ERROR] Running process failed with returncode 113: - kompile nestedRewriteInFun.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition nestedRewriteInFun-kompiled --type-inference-mode checked + kompile nestedRewriteInFun.k --md-selector k --emit-json --backend llvm --output-definition nestedRewriteInFun-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/noImportFloat.k.out b/pyk/regression-new/checks/noImportFloat.k.out index c9929ea7f7e..e093a79c9cf 100644 --- a/pyk/regression-new/checks/noImportFloat.k.out +++ b/pyk/regression-new/checks/noImportFloat.k.out @@ -4,4 +4,4 @@ 4 | syntax Pgm ::= foo(x:Float) | bar() . ^~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile noImportFloat.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition noImportFloat-kompiled --type-inference-mode checked + kompile noImportFloat.k --md-selector k --emit-json --backend llvm --output-definition noImportFloat-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/noRewrite.k.out b/pyk/regression-new/checks/noRewrite.k.out index a0e2e7acd4e..43f91bf5b26 100644 --- a/pyk/regression-new/checks/noRewrite.k.out +++ b/pyk/regression-new/checks/noRewrite.k.out @@ -5,4 +5,4 @@ . ^ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile noRewrite.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition noRewrite-kompiled --type-inference-mode checked + kompile noRewrite.k --md-selector k --emit-json --backend llvm --output-definition noRewrite-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/noRewriteInFun.k.out b/pyk/regression-new/checks/noRewriteInFun.k.out index 5f0d362ab5d..add897b0e60 100644 --- a/pyk/regression-new/checks/noRewriteInFun.k.out +++ b/pyk/regression-new/checks/noRewriteInFun.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile noRewriteInFun.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition noRewriteInFun-kompiled --type-inference-mode checked + kompile noRewriteInFun.k --md-selector k --emit-json --backend llvm --output-definition noRewriteInFun-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/overloadKLabel.k.out b/pyk/regression-new/checks/overloadKLabel.k.out index 69b4881c3ab..f29867cdd57 100644 --- a/pyk/regression-new/checks/overloadKLabel.k.out +++ b/pyk/regression-new/checks/overloadKLabel.k.out @@ -1,8 +1,8 @@ -[Error] Compiler: The attributes `klabel(_)` and `overload(_)` may not occur together. +[Error] Compiler: The attributes `klabel` and `overload` may not occur together. Either remove `klabel(_._)`, or replace it by `symbol(_._)` Source(overloadKLabel.k) Location(4,19,4,59) 4 | | Exp "." Id [klabel(_._), overload(_._)] . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile overloadKLabel.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition overloadKLabel-kompiled --type-inference-mode checked + kompile overloadKLabel.k --md-selector k --emit-json --backend llvm --output-definition overloadKLabel-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/paramAmb.k.out b/pyk/regression-new/checks/paramAmb.k.out index 6640dfda3d0..fa838a870b8 100644 --- a/pyk/regression-new/checks/paramAmb.k.out +++ b/pyk/regression-new/checks/paramAmb.k.out @@ -1,14 +1,14 @@ [Error] Inner Parser: Parsing ambiguity. -1: syntax {Sort} Sort ::= Sort "=>" Sort [klabel(#KRewrite), symbol] +1: syntax {Sort} Sort ::= Sort "=>" Sort [symbol(#KRewrite)] + #KRewrite(#SemanticCastToA(#token("X","#KVariable")),`label(_,_)_PARAMAMB_KItem_N_T`(#SemanticCastToA(#token("X","#KVariable")),`wrap__PARAMAMB_T_M`(#SemanticCastToA(#token("X","#KVariable"))))) +2: syntax {Sort} Sort ::= Sort "=>" Sort [symbol(#KRewrite)] #KRewrite(#SemanticCastToB(#token("X","#KVariable")),`label(_,_)_PARAMAMB_KItem_N_T`(#SemanticCastToB(#token("X","#KVariable")),`wrap__PARAMAMB_T_M`(#SemanticCastToB(#token("X","#KVariable"))))) -2: syntax {Sort} Sort ::= Sort "=>" Sort [klabel(#KRewrite), symbol] +3: syntax {Sort} Sort ::= Sort "=>" Sort [symbol(#KRewrite)] #KRewrite(#SemanticCastToX(#token("X","#KVariable")),`label(_,_)_PARAMAMB_KItem_N_T`(#SemanticCastToX(#token("X","#KVariable")),`wrap__PARAMAMB_T_X`(#SemanticCastToX(#token("X","#KVariable"))))) -3: syntax {Sort} Sort ::= Sort "=>" Sort [klabel(#KRewrite), symbol] - #KRewrite(#SemanticCastToA(#token("X","#KVariable")),`label(_,_)_PARAMAMB_KItem_N_T`(#SemanticCastToA(#token("X","#KVariable")),`wrap__PARAMAMB_T_M`(#SemanticCastToA(#token("X","#KVariable"))))) Source(paramAmb.k) Location(12,8,12,29) 12 | rule X => label(X, wrap X) . ^~~~~~~~~~~~~~~~~~~~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile paramAmb.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition paramAmb-kompiled --type-inference-mode checked + kompile paramAmb.k --md-selector k --emit-json --backend llvm --output-definition paramAmb-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/parseErrorExpected.k.out b/pyk/regression-new/checks/parseErrorExpected.k.out index 40a033e170e..10030f633bf 100644 --- a/pyk/regression-new/checks/parseErrorExpected.k.out +++ b/pyk/regression-new/checks/parseErrorExpected.k.out @@ -25,4 +25,4 @@ . ^ [Error] Compiler: Had 5 parsing errors. [ERROR] Running process failed with returncode 113: - kompile parseErrorExpected.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition parseErrorExpected-kompiled --type-inference-mode checked + kompile parseErrorExpected.k --md-selector k --emit-json --backend llvm --output-definition parseErrorExpected-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/priorityError.k.out b/pyk/regression-new/checks/priorityError.k.out index 52c5a271e5e..cc3ba86ba00 100644 --- a/pyk/regression-new/checks/priorityError.k.out +++ b/pyk/regression-new/checks/priorityError.k.out @@ -19,4 +19,4 @@ . ^~~~~ [Error] Compiler: Had 3 parsing errors. [ERROR] Running process failed with returncode 113: - kompile priorityError.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition priorityError-kompiled --type-inference-mode checked + kompile priorityError.k --md-selector k --emit-json --backend llvm --output-definition priorityError-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/recordOnRhs.k.out b/pyk/regression-new/checks/recordOnRhs.k.out index fe086e82a99..52270eb62d8 100644 --- a/pyk/regression-new/checks/recordOnRhs.k.out +++ b/pyk/regression-new/checks/recordOnRhs.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile recordOnRhs.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition recordOnRhs-kompiled --type-inference-mode checked + kompile recordOnRhs.k --md-selector k --emit-json --backend llvm --output-definition recordOnRhs-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/removeUnit.k.out b/pyk/regression-new/checks/removeUnit.k.out index e82d92ada26..956441d15f5 100644 --- a/pyk/regression-new/checks/removeUnit.k.out +++ b/pyk/regression-new/checks/removeUnit.k.out @@ -4,4 +4,4 @@ 7 | syntax Foo ::= Foo Foo [left, function, total, hook(LIST.concat), klabel(_Foo_), unit(.Foo), element(FooItem)] . ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ERROR] Running process failed with returncode 113: - kompile removeUnit.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition removeUnit-kompiled --type-inference-mode checked + kompile removeUnit.k --md-selector k --emit-json --backend llvm --output-definition removeUnit-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/restrictedAtts.k.out b/pyk/regression-new/checks/restrictedAtts.k.out index 8f9efc4e2a9..76569ed681c 100644 --- a/pyk/regression-new/checks/restrictedAtts.k.out +++ b/pyk/regression-new/checks/restrictedAtts.k.out @@ -10,4 +10,4 @@ . ^~~~~~~~~ [Error] Compiler: Had 2 structural errors. [ERROR] Running process failed with returncode 113: - kompile restrictedAtts.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition restrictedAtts-kompiled --type-inference-mode checked + kompile restrictedAtts.k --md-selector k --emit-json --backend llvm --output-definition restrictedAtts-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/rewriteInFunctionContext.k.out b/pyk/regression-new/checks/rewriteInFunctionContext.k.out index 1c4e439a6d6..7c1140a556f 100644 --- a/pyk/regression-new/checks/rewriteInFunctionContext.k.out +++ b/pyk/regression-new/checks/rewriteInFunctionContext.k.out @@ -5,4 +5,4 @@ . ^~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile rewriteInFunctionContext.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition rewriteInFunctionContext-kompiled --type-inference-mode checked + kompile rewriteInFunctionContext.k --md-selector k --emit-json --backend llvm --output-definition rewriteInFunctionContext-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/signature.k.out b/pyk/regression-new/checks/signature.k.out index d42d17db2d5..4a71e442664 100644 --- a/pyk/regression-new/checks/signature.k.out +++ b/pyk/regression-new/checks/signature.k.out @@ -50,4 +50,4 @@ . ^ [Error] Compiler: Had 10 parsing errors. [ERROR] Running process failed with returncode 113: - kompile signature.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition signature-kompiled --type-inference-mode checked + kompile signature.k --md-selector k --emit-json --backend llvm --output-definition signature-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/smtLemmaCheck.k.out b/pyk/regression-new/checks/smtLemmaCheck.k.out index 79f6d20acb8..c6116f12b31 100644 --- a/pyk/regression-new/checks/smtLemmaCheck.k.out +++ b/pyk/regression-new/checks/smtLemmaCheck.k.out @@ -8,4 +8,4 @@ Source(smtLemmaCheck.k) Location(13,8,13,42) [ERROR] Running process failed with returncode 113: - kompile smtLemmaCheck.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition smtLemmaCheck-kompiled --type-inference-mode checked + kompile smtLemmaCheck.k --md-selector k --emit-json --backend llvm --output-definition smtLemmaCheck-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/tokenCheck.k.out b/pyk/regression-new/checks/tokenCheck.k.out index 0ce4ac4b45d..f5ec182e411 100644 --- a/pyk/regression-new/checks/tokenCheck.k.out +++ b/pyk/regression-new/checks/tokenCheck.k.out @@ -15,4 +15,4 @@ . ^~~~~~~ [Error] Compiler: Had 3 structural errors. [ERROR] Running process failed with returncode 113: - kompile tokenCheck.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition tokenCheck-kompiled --type-inference-mode checked + kompile tokenCheck.k --md-selector k --emit-json --backend llvm --output-definition tokenCheck-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/totalWithoutFunction.k.out b/pyk/regression-new/checks/totalWithoutFunction.k.out index 433eefe43bb..40e4c28b705 100644 --- a/pyk/regression-new/checks/totalWithoutFunction.k.out +++ b/pyk/regression-new/checks/totalWithoutFunction.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~~~ [Error] Compiler: Had 1 structural errors. [ERROR] Running process failed with returncode 113: - kompile totalWithoutFunction.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition totalWithoutFunction-kompiled --type-inference-mode checked + kompile totalWithoutFunction.k --md-selector k --emit-json --backend llvm --output-definition totalWithoutFunction-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/unexpandedMacro.k.out b/pyk/regression-new/checks/unexpandedMacro.k.out index fd35a78e1d8..6760b1a1199 100644 --- a/pyk/regression-new/checks/unexpandedMacro.k.out +++ b/pyk/regression-new/checks/unexpandedMacro.k.out @@ -8,4 +8,4 @@ Source(unexpandedMacro.k) Location(6,8,6,27) [ERROR] Running process failed with returncode 113: - kompile unexpandedMacro.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition unexpandedMacro-kompiled --type-inference-mode checked + kompile unexpandedMacro.k --md-selector k --emit-json --backend llvm --output-definition unexpandedMacro-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/wideningAnywhere.k.out b/pyk/regression-new/checks/wideningAnywhere.k.out index 80b621bd59a..7a8c88c91d3 100644 --- a/pyk/regression-new/checks/wideningAnywhere.k.out +++ b/pyk/regression-new/checks/wideningAnywhere.k.out @@ -5,4 +5,4 @@ . ^~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile wideningAnywhere.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition wideningAnywhere-kompiled --type-inference-mode checked + kompile wideningAnywhere.k --md-selector k --emit-json --backend llvm --output-definition wideningAnywhere-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/checks/wideningMacro.k.out b/pyk/regression-new/checks/wideningMacro.k.out index 11e3f150994..1f5efd3253f 100644 --- a/pyk/regression-new/checks/wideningMacro.k.out +++ b/pyk/regression-new/checks/wideningMacro.k.out @@ -5,4 +5,4 @@ . ^~~~~~~~~~~~~~~ [Error] Compiler: Had 1 parsing errors. [ERROR] Running process failed with returncode 113: - kompile wideningMacro.k --md-selector k --emit-json --warnings none --no-exc-wrap --backend llvm --output-definition wideningMacro-kompiled --type-inference-mode checked + kompile wideningMacro.k --md-selector k --emit-json --backend llvm --output-definition wideningMacro-kompiled --type-inference-mode checked --warnings none --no-exc-wrap diff --git a/pyk/regression-new/concrete-function-cache/Makefile b/pyk/regression-new/concrete-function-cache/Makefile index ebb86b2b7d0..e2e9a934ee6 100644 --- a/pyk/regression-new/concrete-function-cache/Makefile +++ b/pyk/regression-new/concrete-function-cache/Makefile @@ -2,7 +2,6 @@ DEF=a TESTDIR=. EXT=a KOMPILE_BACKEND=haskell -KOMPILE_FLAGS= %-spec.k %-spec.md: kompile ifeq ($(TESTDIR),$(RESULTDIR)) diff --git a/pyk/regression-new/context-alias-2/test.k b/pyk/regression-new/context-alias-2/test.k index c7236c77caa..1ed5ccc42a6 100644 --- a/pyk/regression-new/context-alias-2/test.k +++ b/pyk/regression-new/context-alias-2/test.k @@ -8,7 +8,7 @@ module TEST | Id "=" Int | Id | Int - | l(Exp) [klabel(l), symbol] | m(Exp) [klabel(m), symbol] | r(Exp) [klabel(r), symbol] + | l(Exp) [symbol(l)] | m(Exp) [symbol(m)] | r(Exp) [symbol(r)] syntax KResult ::= Int context alias [left]: HERE [context(l)] diff --git a/pyk/regression-new/context-labels/context-spec.k.out b/pyk/regression-new/context-labels/context-spec.k.out index 449ec6c2aa1..bae1a0cf828 100644 --- a/pyk/regression-new/context-labels/context-spec.k.out +++ b/pyk/regression-new/context-labels/context-spec.k.out @@ -3,31 +3,23 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ - Lblfoo'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A{}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}(), - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lblfoo{}( + Lbla'Unds'CONTEXT'Unds'A{}(), + Lbla'Unds'CONTEXT'Unds'A{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -38,42 +30,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ - Lbl'Hash'freezerfoo'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A0'Unds'{}( - /* T Fn D Sfa Cl */ + Lbl'Hash'freezerfoo0'Unds'{}( kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -84,42 +64,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ - Lbl'Hash'freezerfoo'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A0'Unds'{}( - /* T Fn D Sfa Cl */ + Lbl'Hash'freezerfoo0'Unds'{}( kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -130,34 +98,25 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ - Lblfoo'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A{}( - /* T Fn D Sfa Cli */ + Lblfoo{}( /* Inj: */ inj{SortInt{}, SortA{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -168,41 +127,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ - Lbl'Hash'freezerfoo'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A1'Unds'{}( - /* T Fn D Sfa Cl */ + Lbl'Hash'freezerfoo1'Unds'{}( kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -213,41 +161,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ - Lbl'Hash'freezerfoo'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A1'Unds'{}( - /* T Fn D Sfa Cl */ + Lbl'Hash'freezerfoo1'Unds'{}( kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -258,31 +195,23 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lblbar'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A{}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}(), - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}(), + Lbla'Unds'CONTEXT'Unds'A{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -293,42 +222,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ Lbl'Hash'freezerbar'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A0'Unds'{}( - /* T Fn D Sfa Cl */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -339,42 +256,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ Lbl'Hash'freezerbar'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A0'Unds'{}( - /* T Fn D Sfa Cl */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -385,34 +290,25 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lblbar'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortA{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -423,41 +319,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ Lbl'Hash'freezerbar'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A1'Unds'{}( - /* T Fn D Sfa Cl */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -468,41 +353,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ Lbl'Hash'freezerbar'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A1'Unds'{}( - /* T Fn D Sfa Cl */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -513,31 +387,23 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ - Lblbaz'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A{}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}(), - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lblbaz{}( + Lbla'Unds'CONTEXT'Unds'A{}(), + Lbla'Unds'CONTEXT'Unds'A{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -548,42 +414,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() + Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ - Lbl'Hash'freezerbaz'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A1'Unds'{}( - /* T Fn D Sfa Cl */ + Lbl'Hash'freezerbaz1'Unds'{}( kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) @@ -594,42 +448,30 @@ kore-repl: Debug (DebugAppliedLabeledRewriteRule): on configuration: \and{SortGeneratedTopCell{}}( /* term: */ - /* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortInt{}}("0") + \dv{SortInt{}}("0") ), - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa Cl */ - Lbl'Hash'freezerbaz'LParUndsCommUndsRParUnds'CONTEXT'Unds'A'Unds'A'Unds'A1'Unds'{}( - /* T Fn D Sfa Cl */ + Lbl'Hash'freezerbaz1'Unds'{}( kseq{}( - /* T Fn D Sfa Cli */ /* Inj: */ inj{SortA{}, SortKItem{}}( - /* T Fn D Sfa Cl */ Lbla'Unds'CONTEXT'Unds'A{}() ), - /* T Fn D Sfa Cl */ dotk{}() + dotk{}() ) ), - /* T Fn D Sfa */ Var'Unds'DotVar1:SortK{} + Var'Unds'DotVar1:SortK{} ) ) ), - /* T Fn D Sfa */ - Lbl'-LT-'generatedCounter'-GT-'{}( - /* T Fn D Sfa */ Var'Unds'Gen0:SortInt{} - ) + Lbl'-LT-'generatedCounter'-GT-'{}(Var'Unds'Gen0:SortInt{}) ), \and{SortGeneratedTopCell{}}( /* predicate: */ - /* D Sfa */ \top{SortGeneratedTopCell{}}(), + \top{SortGeneratedTopCell{}}(), /* substitution: */ \top{SortGeneratedTopCell{}}() )) diff --git a/pyk/regression-new/context-labels/context.k b/pyk/regression-new/context-labels/context.k index 37a68c1dcc4..9dcef35742a 100644 --- a/pyk/regression-new/context-labels/context.k +++ b/pyk/regression-new/context-labels/context.k @@ -5,9 +5,9 @@ module CONTEXT syntax KResult ::= Int syntax A ::= "a" | Int - | foo( A, A ) [seqstrict, klabel(foo)] + | foo( A, A ) [seqstrict, symbol(foo)] | bar( A, A ) - | baz( A, A ) [strict(2), klabel(baz)] + | baz( A, A ) [strict(2), symbol(baz)] context [bar1]: bar( HOLE, _ ) context [bar2]: bar( _, HOLE ) diff --git a/pyk/regression-new/glr/Makefile b/pyk/regression-new/glr/Makefile index aeebe031a0a..c547f370fcd 100644 --- a/pyk/regression-new/glr/Makefile +++ b/pyk/regression-new/glr/Makefile @@ -14,4 +14,4 @@ clean: rm -rf test.kore test-kompiled -KRUN=./parse +KRUN_OR_LEGACY=./parse diff --git a/pyk/regression-new/glr2/Makefile b/pyk/regression-new/glr2/Makefile index aeebe031a0a..c547f370fcd 100644 --- a/pyk/regression-new/glr2/Makefile +++ b/pyk/regression-new/glr2/Makefile @@ -14,4 +14,4 @@ clean: rm -rf test.kore test-kompiled -KRUN=./parse +KRUN_OR_LEGACY=./parse diff --git a/pyk/regression-new/glr3/Makefile b/pyk/regression-new/glr3/Makefile index aeebe031a0a..c547f370fcd 100644 --- a/pyk/regression-new/glr3/Makefile +++ b/pyk/regression-new/glr3/Makefile @@ -14,4 +14,4 @@ clean: rm -rf test.kore test-kompiled -KRUN=./parse +KRUN_OR_LEGACY=./parse diff --git a/pyk/regression-new/glr4/Makefile b/pyk/regression-new/glr4/Makefile index aeebe031a0a..c547f370fcd 100644 --- a/pyk/regression-new/glr4/Makefile +++ b/pyk/regression-new/glr4/Makefile @@ -14,4 +14,4 @@ clean: rm -rf test.kore test-kompiled -KRUN=./parse +KRUN_OR_LEGACY=./parse diff --git a/pyk/regression-new/imp-outer-json/Makefile b/pyk/regression-new/imp-outer-json/Makefile new file mode 100644 index 00000000000..bffd079b499 --- /dev/null +++ b/pyk/regression-new/imp-outer-json/Makefile @@ -0,0 +1,12 @@ +DEF=imp +EXT=imp +SOURCE_EXT=json +TESTDIR=../imp-llvm +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--outer-parsed-json +export KOMPILE_BACKEND + +include ../include/ktest.mak + +.depend: + diff --git a/pyk/regression-new/imp-outer-json/imp.json b/pyk/regression-new/imp-outer-json/imp.json new file mode 100644 index 00000000000..9fa9c1e32ca --- /dev/null +++ b/pyk/regression-new/imp-outer-json/imp.json @@ -0,0 +1 @@ +{"format":"KAST","version":4,"term":{"node":"KDefinition","mainModule":"IMP","modules":[{"node":"KFlatModule","name":"KSEQ","imports":[{"node":"KImport","name":"KAST","isPublic":true},{"node":"KImport","name":"K-TOP-SORT","isPublic":true}],"localSentences":[{"node":"KSyntaxAssociativity","assoc":"Left","tags":["#KSequence"],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[102,3,102,25],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#KSequence","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":"~>"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"left":"","assoc":"","klabel":"#KSequence","unit":"#EmptyK","symbol":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[101,16,101,82]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EmptyK","params":[]},"productionItems":[{"node":"KTerminal","value":"."}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"symbol":"","unparseAvoid":"","deprecated":"","klabel":"#EmptyK","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[100,16,100,77]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EmptyK","params":[]},"productionItems":[{"node":"KTerminal","value":".K"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EmptyK","symbol":"","org.kframework.attributes.Location":[99,16,99,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"bracketLabel":{"node":"KLabel","name":"(_)_KSEQ_Sort_Sort","params":[{"node":"KSort","name":"Sort","params":[]}]},"group":"defaultBracket","applyPriority":"1","bracket":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[103,30,103,96]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["#KSequence"],"att":{"node":"KAtt","att":{}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[96,1,104,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"pyR1vNdPgG7hPV+umVRePLUuIgGNgFKScMAkrsElxeY="}}},{"node":"KFlatModule","name":"PROGRAM-LISTS","imports":[{"node":"KImport","name":"SORT-K","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[401,1,413,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"ljgenSN1NyiROhfDNTKEEfzs1eFAxTqqqXpUqCXgJ8c="}}},{"node":"KFlatModule","name":"K","imports":[{"node":"KImport","name":"KREWRITE","isPublic":true},{"node":"KImport","name":"SORT-PREDICATES","isPublic":true},{"node":"KImport","name":"K-SORT-LATTICE","isPublic":true},{"node":"KImport","name":"AUTO-FOLLOW","isPublic":true},{"node":"KImport","name":"KSEQ-SYMBOLIC","isPublic":true},{"node":"KImport","name":"AUTO-CASTS","isPublic":true},{"node":"KImport","name":"RECORD-PRODUCTIONS","isPublic":true},{"node":"KImport","name":"REQUIRES-ENSURES","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#let","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#let"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort2","params":[]}},{"node":"KTerminal","value":"="},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort2","params":[]}},{"node":"KTerminal","value":"#in"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort1","params":[]},"att":{"node":"KAtt","att":{"klabel":"#let","symbol":"","org.kframework.attributes.Location":[468,35,468,92],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_:=K_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":":=K"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"equalEqualK","symbol":"","total":"","function":"","klabel":"_:=K_","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[480,19,480,99]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#KAs","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"#as"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"klabel":"#KAs","symbol":"","org.kframework.attributes.Location":[462,26,462,64],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#fun3","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#fun"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort2","params":[]}},{"node":"KTerminal","value":"=>"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":")"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort2","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort1","params":[]},"att":{"node":"KAtt","att":{"klabel":"#fun3","symbol":"","org.kframework.attributes.Location":[466,35,466,104],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_:=K_","_:/=K_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#fun2","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#fun"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"symbol":"","prefer":"","klabel":"#fun2","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[464,26,464,90]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_:/=K_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":":/=K"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"notEqualEqualK","symbol":"","total":"","function":"","klabel":"_:/=K_","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[481,19,481,103]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[452,1,482,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"d+pjA1EpVDGS7jSzxraM7uR+IpYqxcIJ6HAfwUxDSwk="}}},{"node":"KFlatModule","name":"ID-SYNTAX","imports":[],"localSentences":[{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Id","params":[]},"params":[],"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[2249,3,2249,20],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2248,1,2250,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"5CR14G1AFSwvw3G2rVmEOcrklCLhrUgwYGp0/HoDQhQ="}}},{"node":"KFlatModule","name":"BYTES-STRING-ENCODE","imports":[{"node":"KImport","name":"BYTES-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"decodeBytes(_,_)_BYTES-STRING-ENCODE_String_String_Bytes","params":[]},"productionItems":[{"node":"KTerminal","value":"decodeBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"encoding"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]},"name":"contents"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.decodeBytes","org.kframework.attributes.Location":[2000,23,2000,109],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"encodeBytes(_,_)_BYTES-STRING-ENCODE_Bytes_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"encodeBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"encoding"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"contents"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.encodeBytes","org.kframework.attributes.Location":[2001,22,2001,109],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[1992,1,2002,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"SUpTIvyIpmO9pV60lzrKrkTdGDWpVTiDhVDfICWeIQE="}}},{"node":"KFlatModule","name":"K-BOTTOM-SORT","imports":[{"node":"KImport","name":"SORT-KBOTT","isPublic":true}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KBott","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[370,26,370,31],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KBott","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[369,20,369,25],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[367,1,371,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"1j3v4wDccAtv2EZmq1Z8sNndHbR0uA3DbRg0vI9G9hY="}}},{"node":"KFlatModule","name":"K-REFLECTION","imports":[{"node":"KImport","name":"STRING","isPublic":true},{"node":"KImport","name":"BASIC-K","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#fresh(_)_K-REFLECTION_KItem_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#fresh"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"KREFLECTION.fresh","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2343,20,2343,80]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#argv()_K-REFLECTION_List","params":[]},"productionItems":[{"node":"KTerminal","value":"#argv"},{"node":"KTerminal","value":"("},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"KREFLECTION.argv","org.kframework.attributes.Location":[2352,19,2352,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#unparseKORE(_)_K-REFLECTION_String_Sort","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#unparseKORE"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"KREFLECTION.printKORE","org.kframework.attributes.Location":[2354,28,2354,86],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#configuration_K-REFLECTION_K","params":[]},"productionItems":[{"node":"KTerminal","value":"#configuration"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"KREFLECTION.configuration","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2341,16,2341,84]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#kompiledDirectory()_K-REFLECTION_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#kompiledDirectory"},{"node":"KTerminal","value":"("},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"KREFLECTION.kompiledDir","org.kframework.attributes.Location":[2348,21,2348,83],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#noParse","params":[]},"productionItems":[{"node":"KTerminal","value":"#noParse"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#noParse","symbol":"","org.kframework.attributes.Location":[2355,22,2355,74],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#sort(_)_K-REFLECTION_String_K","params":[]},"productionItems":[{"node":"KTerminal","value":"#sort"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"KREFLECTION.sort","org.kframework.attributes.Location":[2342,21,2342,64],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"getKLabel(_)_K-REFLECTION_KItem_K","params":[]},"productionItems":[{"node":"KTerminal","value":"getKLabel"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"KREFLECTION.getKLabel","org.kframework.attributes.Location":[2344,20,2344,73],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#getenv(_)_K-REFLECTION_K_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#getenv"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"KREFLECTION.getenv","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2346,16,2346,76]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2337,1,2357,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"S/weTDWi8/x95IGZ7fBs9rluZ1qD/aioVDkzDIvFiW4="}}},{"node":"KFlatModule","name":"ID","imports":[{"node":"KImport","name":"ID-COMMON","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2263,1,2265,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"9rYq0fCEnOKls3PH9XE8Qaanz14AaDZveKZU+48XsIo="}}},{"node":"KFlatModule","name":"INT-SYMBOLIC","imports":[{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"INT-SYMBOLIC-KORE","isPublic":true},{"node":"KImport","name":"INT-COMMON","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"X modInt N => X requires 0 <=Int X andBool X 0 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1366","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1366,3,1366,39]}}},{"node":"KBubble","sentenceType":"rule","contents":"I +Int 0 => I ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1358","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1358,3,1358,38]}}},{"node":"KBubble","sentenceType":"rule","contents":"X < X ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1365","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1365,3,1365,39]}}},{"node":"KBubble","sentenceType":"rule","contents":"X >>Int 0 => X ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1367","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1367,3,1367,39]}}},{"node":"KBubble","sentenceType":"rule","contents":"X %Int N => X requires 0 <=Int X andBool X I ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1359","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1359,3,1359,38]}}},{"node":"KBubble","sentenceType":"rule","contents":"0 >>Int _ => 0 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1368","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1368,3,1368,39]}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[1352,1,1369,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"UK5RaYZhcW6bzqAMGodD9e2/tCkCVZPEaMXnW0g7p2I="}}},{"node":"KFlatModule","name":"SET-KORE-SYMBOLIC","imports":[{"node":"KImport","name":"SET","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"K-EQUAL","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@S:Set SetItem(@E:KItem)) =>\n {(@E in @S) #Equals false} #And #Ceil(@S) #And #Ceil(@E)\n ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"830","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[830,3,832,21]}}},{"node":"KBubble","sentenceType":"rule","contents":"X in ((SetItem(X) S) |Set _ ) => true\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"886","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[886,3,887,78]}}},{"node":"KBubble","sentenceType":"rule","contents":".Set -Set _ => .Set ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"836","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[836,3,836,73]}}},{"node":"KBubble","sentenceType":"rule","contents":"intersectSet( S1 SetItem(X), S2 SetItem(X)) => intersectSet(S1, S2) SetItem(X)\n ensures notBool (X in S1)\n andBool notBool (X in S2) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"871","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[871,3,873,103]}}},{"node":"KBubble","sentenceType":"rule","contents":"intersectSet( S SetItem(X), SetItem(X)) => SetItem(X)\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"contentStartLine":"867","contentStartColumn":"8","simplification":"","comm":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[867,3,868,109]}}},{"node":"KBubble","sentenceType":"rule","contents":"S -Set (S SetItem(X)) => .Set\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"839","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[839,3,840,73]}}},{"node":"KBubble","sentenceType":"rule","contents":"S |Set .Set => S ","att":{"node":"KAtt","att":{"contentStartLine":"854","contentStartColumn":"8","simplification":"","comm":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[854,3,854,53]}}},{"node":"KBubble","sentenceType":"rule","contents":"E in (S SetItem(E)) => true\n ensures notBool (E in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"877","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[877,3,878,56]}}},{"node":"KBubble","sentenceType":"rule","contents":"_E in .Set => false ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"876","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[876,3,876,56]}}},{"node":"KBubble","sentenceType":"rule","contents":"intersectSet( S , S ) => S ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"865","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[865,3,865,60]}}},{"node":"KBubble","sentenceType":"rule","contents":"intersectSet(.Set, _ ) => .Set ","att":{"node":"KAtt","att":{"contentStartLine":"864","contentStartColumn":"8","simplification":"","comm":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[864,3,864,66]}}},{"node":"KBubble","sentenceType":"rule","contents":"S -Set .Set => S ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"835","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[835,3,835,73]}}},{"node":"KBubble","sentenceType":"rule","contents":"X in ( _ |Set (SetItem(X) S)) => true\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"888","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[888,3,889,78]}}},{"node":"KBubble","sentenceType":"rule","contents":"(S SetItem(X)) -Set S => SetItem(X)\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"841","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[841,3,842,73]}}},{"node":"KBubble","sentenceType":"rule","contents":"(S SetItem(X)) -Set SetItem(X) => S\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"843","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[843,3,844,73]}}},{"node":"KBubble","sentenceType":"rule","contents":"(S SetItem(X)) |Set SetItem(X) => S SetItem(X)\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"contentStartLine":"857","contentStartColumn":"8","simplification":"","comm":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[857,3,858,77]}}},{"node":"KBubble","sentenceType":"rule","contents":"S |Set S => S ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"855","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[855,3,855,47]}}},{"node":"KBubble","sentenceType":"rule","contents":"SetItem(X) -Set (S SetItem(X)) => .Set\n ensures notBool (X in S) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"837","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[837,3,838,73]}}}],"att":{"node":"KAtt","att":{"haskell":"","digest":"w0j7qN7fRp4kUx+Py+Qx6ca29yfGNHt/dLXYdP1IO00=","symbolic":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[817,1,891,10]}}},{"node":"KFlatModule","name":"KREWRITE","imports":[],"localSentences":[{"node":"KSyntaxAssociativity","assoc":"NonAssoc","tags":["#KRewrite"],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[447,3,447,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KSyntaxPriority","priorities":[["#KRewrite"],["#withConfig"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#KRewrite","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"=>"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"klabel":"#KRewrite","symbol":"","org.kframework.attributes.Location":[446,26,446,68],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[445,1,449,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"0ZtA19xcYF+jMIsJE6w5pCajjLwgV/s3RGx15GWImBY="}}},{"node":"KFlatModule","name":"AUTO-CASTS","imports":[],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[378,1,386,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"yeN10EyTfkiQX2DsdIf85Ct5WWWIbDASZRvjSdc89zk="}}},{"node":"KFlatModule","name":"ID-SYNTAX-PROGRAM-PARSING","imports":[{"node":"KImport","name":"BUILTIN-ID-TOKENS","isPublic":true}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"[A-Za-z0-9\\_]","regex":"[A-Za-z\\_][A-Za-z0-9\\_]*","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Id","params":[]},"att":{"node":"KAtt","att":{"prec":"1","token":"","org.kframework.attributes.Location":[2243,17,2243,86],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#LowerId","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Id","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[2244,17,2244,77],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#UpperId","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Id","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[2245,17,2245,77],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2241,1,2246,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"YZ/rfuH1qAwGsmyv2LIXqfRiRqE77D3HcazLPRjw8bU="}}},{"node":"KFlatModule","name":"ARRAY-SYMBOLIC","imports":[{"node":"KImport","name":"ARRAY-IN-K","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[188,1,190,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"ttMN4wSszKuet/wfi0siWcJoHJFGFBl0YMNbXf5UErg="}}},{"node":"KFlatModule","name":"K-TERM","imports":[{"node":"KImport","name":"KREWRITE","isPublic":true},{"node":"KImport","name":"SORT-PREDICATES","isPublic":true},{"node":"KImport","name":"K-SORT-LATTICE","isPublic":true},{"node":"KImport","name":"RECORD-PRODUCTIONS","isPublic":true},{"node":"KImport","name":"AUTO-FOLLOW","isPublic":true},{"node":"KImport","name":"KSEQ-SYMBOLIC","isPublic":true},{"node":"KImport","name":"AUTO-CASTS","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[485,1,493,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"ZIvdKjAMHjG4TchOZ4P3Ek2WtcquQgwHvyLbM8yJcJo="}}},{"node":"KFlatModule","name":"STRING-KORE","imports":[{"node":"KImport","name":"K-EQUAL","isPublic":false},{"node":"KImport","name":"STRING-COMMON","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"S1:String ==K S2:String => S1 ==String S2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1910","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1910,3,1910,66]}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[1906,1,1912,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"YShhkCdudopnQP5QkYaK9cAQ5kon4BVNoBoICs1IeHg="}}},{"node":"KFlatModule","name":"RANGEMAP","imports":[{"node":"KImport","name":"BOOL-SYNTAX","isPublic":false},{"node":"KImport","name":"INT-SYNTAX","isPublic":false},{"node":"KImport","name":"LIST","isPublic":false},{"node":"KImport","name":"SET","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"removeAll(_,_)_RANGEMAP_RangeMap_RangeMap_Set","params":[]},"productionItems":[{"node":"KTerminal","value":"removeAll"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"RANGEMAP.removeAll","org.kframework.attributes.Location":[616,23,616,95],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_r[_<-undef]","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Range","params":[]}},{"node":"KTerminal","value":"<-"},{"node":"KTerminal","value":"undef"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","klabel":"_r[_<-undef]","hook":"RANGEMAP.removeRng","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[579,23,579,129]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"keys(_)_RANGEMAP_Set_RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":"keys"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"RANGEMAP.keys","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[625,18,625,92]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":".RangeMap"}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":".RangeMap","hook":"RANGEMAP.unit","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[516,23,516,124]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"size(_)_RANGEMAP_Int_RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":"size"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","klabel":"sizeRangeMap","hook":"RANGEMAP.size","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[660,18,660,114]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_RangeMap_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"assoc":"","comm":"","function":"","element":"_r|->_","format":"%1%n%2","left":"","index":"0","unit":".RangeMap","symbol":"","klabel":"_RangeMap_","hook":"RANGEMAP.concat","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[508,23,508,204]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"RangeMap:update","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Range","params":[]},"name":"keyRange"},{"node":"KTerminal","value":"<-"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"symbol":"","prefer":"","function":"","klabel":"RangeMap:update","hook":"RANGEMAP.updateRng","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[569,23,569,161]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"keys_list(_)_RANGEMAP_List_RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":"keys_list"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"RANGEMAP.keys_list","org.kframework.attributes.Location":[634,19,634,90],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_in_keys(_)_RANGEMAP_Bool_KItem_RangeMap","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"in_keys"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"RANGEMAP.in_keys","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[643,19,643,99]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_-RangeMap__RANGEMAP_RangeMap_RangeMap_RangeMap","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":"-RangeMap"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"RANGEMAP.difference","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[591,23,591,113]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"find_range(_,_)_RANGEMAP_Range_RangeMap_KItem","params":[]},"productionItems":[{"node":"KTerminal","value":"find_range"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Range","params":[]},"att":{"node":"KAtt","att":{"function":"","klabel":"RangeMap:find_range","hook":"RANGEMAP.find_range","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[559,20,559,145]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_]orDefault__RANGEMAP_KItem_RangeMap_KItem_KItem","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"]"},{"node":"KTerminal","value":"orDefault"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","klabel":"RangeMap:lookupOrDefault","hook":"RANGEMAP.lookupOrDefault","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[549,20,549,149]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"values(_)_RANGEMAP_List_RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":"values"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"RANGEMAP.values","org.kframework.attributes.Location":[652,19,652,87],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxPriority","priorities":[["_r|->_"],[".RangeMap","_RangeMap_"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"choice(_)_RANGEMAP_KItem_RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":"choice"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"function":"","klabel":"RangeMap:choice","hook":"RANGEMAP.choice","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[682,20,682,116]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_r|->_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Range","params":[]}},{"node":"KTerminal","value":"r|->"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"injective":"","symbol":"","function":"","klabel":"_r|->_","hook":"RANGEMAP.elementRng","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[525,23,525,135]}}},{"node":"KSyntaxAssociativity","assoc":"NonAssoc","tags":["_r|->_"],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[528,3,528,26],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=RangeMap__RANGEMAP_Bool_RangeMap_RangeMap","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":"<=RangeMap"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"RANGEMAP.inclusion","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[671,19,671,107]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"updateRangeMap(_,_)_RANGEMAP_RangeMap_RangeMap_RangeMap","params":[]},"productionItems":[{"node":"KTerminal","value":"updateRangeMap"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"RangeMap","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"RANGEMAP.updateAll","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[605,23,605,112]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_RangeMap_"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"RangeMap","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"RANGEMAP.RangeMap","org.kframework.attributes.Location":[493,3,493,44],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"RangeMap:Range","params":[]},"productionItems":[{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Range","params":[]},"att":{"node":"KAtt","att":{"klabel":"RangeMap:Range","symbol":"","org.kframework.attributes.Location":[491,20,491,79],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"RangeMap:lookup","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"RangeMap","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","klabel":"RangeMap:lookup","hook":"RANGEMAP.lookup","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[538,20,538,128]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[480,1,683,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"cIkrAuVqEd8nSfBHWLeOWLHEgpmXdWmSHxnA5wV16EI="}}},{"node":"KFlatModule","name":"KVARIABLE-SYNTAX","imports":[],"localSentences":[{"node":"KSyntaxSort","sort":{"node":"KSort","name":"#KVariable","params":[]},"params":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[198,3,198,20],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[197,1,199,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"nF1oIka7Ca/Xb+XgmNjTORUo746FC642GBlXnX+0XGk="}}},{"node":"KFlatModule","name":"INT-SYNTAX","imports":[{"node":"KImport","name":"UNSIGNED-INT-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[\\+\\-]?[0-9]+","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"prec":"2","prefer":"","token":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1204,18,1204,59]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1202,1,1205,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"W3hc29QnjW2AtirOwIwnup4BhgNW2hCycaHRxWIJRsY="}}},{"node":"KFlatModule","name":"RULE-LISTS","imports":[],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[415,1,420,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"IvIn9r6rZWFy5pziEqMyoMOAqhjW7l37VKpCzHVo6Aw="}}},{"node":"KFlatModule","name":"COLLECTIONS","imports":[{"node":"KImport","name":"LIST","isPublic":true},{"node":"KImport","name":"MAP","isPublic":true},{"node":"KImport","name":"SET","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"Set2List(_)_COLLECTIONS_List_Set","params":[]},"productionItems":[{"node":"KTerminal","value":"Set2List"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"SET.set2list","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1058,19,1058,70]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"List2Set(_)_COLLECTIONS_Set_List","params":[]},"productionItems":[{"node":"KTerminal","value":"List2Set"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"SET.list2set","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1059,18,1059,70]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1053,1,1061,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"nkl6Vxk86b1mjBy0nVmGiFhml8rPjJY1txlFCDAzx6A="}}},{"node":"KFlatModule","name":"BOOL-KORE","imports":[{"node":"KImport","name":"BOOL-COMMON","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals @B1 orBool @B2} => {false #Equals @B1} #And {false #Equals @B2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1172","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1172,3,1172,103]}}},{"node":"KBubble","sentenceType":"rule","contents":"{notBool @B #Equals false} => {@B #Equals true} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1168","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1168,3,1168,72]}}},{"node":"KBubble","sentenceType":"rule","contents":"{@B1 andBool @B2 #Equals true} => {@B1 #Equals true} #And {@B2 #Equals true} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1171","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1171,3,1171,101]}}},{"node":"KBubble","sentenceType":"rule","contents":"{true #Equals @B1 andBool @B2} => {true #Equals @B1} #And {true #Equals @B2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1170","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1170,3,1170,101]}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals notBool @B} => {true #Equals @B} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1167","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1167,3,1167,72]}}},{"node":"KBubble","sentenceType":"rule","contents":"{true #Equals notBool @B} => {false #Equals @B} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1165","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1165,3,1165,72]}}},{"node":"KBubble","sentenceType":"rule","contents":"{@B1 orBool @B2 #Equals false} => {@B1 #Equals false} #And {@B2 #Equals false} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1173","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1173,3,1173,103]}}},{"node":"KBubble","sentenceType":"rule","contents":"{notBool @B #Equals true} => {@B #Equals false} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1166","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1166,3,1166,72]}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[1162,1,1174,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"45WfSOLZDZ6vN7wfij2V9A/PulAjs9c58ALUQlsSaCY="}}},{"node":"KFlatModule","name":"MAP-KORE-SYMBOLIC","imports":[{"node":"KImport","name":"K-EQUAL","isPublic":false},{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"MAP","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"M:Map [ K <- V ] => (K |-> V M) requires notBool (K in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"418","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[418,3,418,88]}}},{"node":"KBubble","sentenceType":"rule","contents":"(_MAP:Map [ K <- V1 ]) [ K ] orDefault _ => V1 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"439","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[439,3,439,73]}}},{"node":"KBubble","sentenceType":"rule","contents":"M:Map [ K <- _ ] [ K <- V ] => M [ K <- V ] ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"419","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[419,3,419,68]}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals @Key in_keys(.Map)} => #Ceil(@Key) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"449","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[449,3,449,74]}}},{"node":"KBubble","sentenceType":"rule","contents":"{@Key in_keys(.Map) #Equals false} => #Ceil(@Key) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"450","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[450,3,450,74]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K1 |-> _V M:Map) [ K2 ] => M [K2] requires K1 =/=K K2 ensures notBool (K1 in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"433","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[433,3,433,111]}}},{"node":"KBubble","sentenceType":"rule","contents":"K1 in_keys(M [ K2 <- _ ]) => true requires K1 ==K K2 orBool K1 in_keys(M) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"446","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[446,3,446,98]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K |-> V M:Map) [ K ] => V ensures notBool (K in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"432","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[432,3,432,85]}}},{"node":"KBubble","sentenceType":"rule","contents":"K in_keys(_M [ K <- _ ]) => true ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"445","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[445,3,445,57]}}},{"node":"KBubble","sentenceType":"rule","contents":"K in_keys(_M [ K <- undef ]) => false ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"444","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[444,3,444,62]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K |-> _ M:Map) [ K <- V ] => (K |-> V M) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"417","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[417,3,417,66]}}},{"node":"KBubble","sentenceType":"rule","contents":"{@Key in_keys(Key' |-> Val @M) #Equals false} => #Ceil(@Key) #And #Ceil(Key' |-> Val @M) #And #Not({@Key #Equals Key'}) #And {@Key in_keys(@M) #Equals false} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"452","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[452,3,452,182]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K1 |-> V1 M:Map) [ K2 <- V2 ] => (K1 |-> V1 (M [ K2 <- V2 ])) requires K1 =/=K K2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"422","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[422,3,422,107]}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals @Key in_keys(Key' |-> Val @M)} => #Ceil(@Key) #And #Ceil(Key' |-> Val @M) #And #Not({@Key #Equals Key'}) #And {false #Equals @Key in_keys(@M)} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"451","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[451,3,451,182]}}},{"node":"KBubble","sentenceType":"rule","contents":".Map [ _ ] orDefault D => D ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"441","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[441,3,441,52]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K1 |-> V1 M:Map) [ K2 <- undef ] => (K1 |-> V1 (M [ K2 <- undef ])) requires K1 =/=K K2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"429","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[429,3,429,113]}}},{"node":"KBubble","sentenceType":"rule","contents":"( MAP:Map [ K1 <- _V1 ]) [ K2 ] orDefault D => MAP [ K2 ] orDefault D requires K1 =/=K K2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"440","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[440,3,440,114]}}},{"node":"KBubble","sentenceType":"rule","contents":"K1 in_keys(M [ K2 <- _ ]) => K1 in_keys(M) requires K1 =/=K K2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"447","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[447,3,447,87]}}},{"node":"KBubble","sentenceType":"rule","contents":"( MAP:Map [ K1 <- _V1 ]) [ K2 ] => MAP [ K2 ] requires K1 =/=K K2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"435","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[435,3,435,90]}}},{"node":"KBubble","sentenceType":"rule","contents":"M:Map [ K <- undef ] => M requires notBool (K in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"426","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[426,3,426,82]}}},{"node":"KBubble","sentenceType":"rule","contents":"(_MAP:Map [ K <- V1 ]) [ K ] => V1 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"434","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[434,3,434,62]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K1 |-> _V M:Map) [ K2 ] orDefault D => M [K2] orDefault D requires K1 =/=K K2 ensures notBool (K1 in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"438","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[438,3,438,135]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K |-> V M:Map) [ K ] orDefault _ => V ensures notBool (K in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"437","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[437,3,437,97]}}},{"node":"KBubble","sentenceType":"rule","contents":"(K |-> _ M:Map) [ K <- undef ] => M ensures notBool (K in_keys(M)) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"425","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[425,3,425,91]}}},{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@M:Map [@K:KItem]) => {(@K in_keys(@M)) #Equals true} #And #Ceil(@M) #And #Ceil(@K) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"411","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[411,3,411,114]}}}],"att":{"node":"KAtt","att":{"haskell":"","digest":"MZrdo64fuhwS+eUcYBaekm5hCrLZyR5M1tgDa/H8AKg=","symbolic":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[406,1,461,10]}}},{"node":"KFlatModule","name":"DEFAULT-CONFIGURATION","imports":[{"node":"KImport","name":"BASIC-K","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"config","contents":" $PGM:K ","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[528,3,528,32],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","contentStartLine":"528","contentStartColumn":"17"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[525,1,529,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"scgFBLF8fNh5tJHxwsv0p6aJvrOfXkANL1GtCvdqE5Y="}}},{"node":"KFlatModule","name":"KSEQ-SYMBOLIC","imports":[{"node":"KImport","name":"ML-SYNTAX","isPublic":true},{"node":"KImport","name":"KSEQ","isPublic":true},{"node":"KImport","name":"KVARIABLE-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KConfigVar","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KBott","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[211,25,211,35],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#UpperId","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#KVariable","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[208,25,208,98],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#KVariable","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KBott","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[210,25,210,35],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"[A-Za-z0-9_\\$!\\?@]","regex":"(\\!|\\?|@)?([A-Z][A-Za-z0-9'_]*|_|_[A-Z][A-Za-z0-9'_]*)","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#KVariable","params":[]},"att":{"node":"KAtt","att":{"token":"","prec":"1","org.kframework.attributes.Location":[207,25,207,128],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"[A-Za-z0-9_\\$!\\?@]","regex":"(\\$)([A-Z][A-Za-z0-9'_]*)","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"KConfigVar","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[209,25,209,98],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[202,1,212,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"CiKntTAAtT5zel8cJ6e/kXJCMWi7rfbKl7PnXwgJhwk="}}},{"node":"KFlatModule","name":"DOMAINS-SYNTAX","imports":[{"node":"KImport","name":"UNSIGNED-INT-SYNTAX","isPublic":true},{"node":"KImport","name":"SORT-K","isPublic":true},{"node":"KImport","name":"STRING-SYNTAX","isPublic":true},{"node":"KImport","name":"ID-SYNTAX","isPublic":true},{"node":"KImport","name":"BOOL-SYNTAX","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[39,1,45,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"Zwy0P2Mp6xwwBxLx79bGaD/CoTNbcy2Rv1d4WVpiofg="}}},{"node":"KFlatModule","name":"RULE-CELLS","imports":[{"node":"KImport","name":"RULE-LISTS","isPublic":true},{"node":"KImport","name":"KCELLS","isPublic":true}],"localSentences":[{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Int","params":[]},"params":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[281,3,281,13],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"","params":[]},"productionItems":[{"node":"KTerminal","value":""},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":""}],"params":[],"sort":{"node":"KSort","name":"GeneratedCounterCell","params":[]},"att":{"node":"KAtt","att":{"cell":"","symbol":"","klabel":"","internal":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[290,35,290,134]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#dots","params":[]},"productionItems":[{"node":"KTerminal","value":"..."}],"params":[],"sort":{"node":"KSort","name":"#OptionalDots","params":[]},"att":{"node":"KAtt","att":{"klabel":"#dots","symbol":"","org.kframework.attributes.Location":[278,28,278,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#noDots","params":[]},"productionItems":[{"node":"KTerminal","value":""}],"params":[],"sort":{"node":"KSort","name":"#OptionalDots","params":[]},"att":{"node":"KAtt","att":{"klabel":"#noDots","symbol":"","org.kframework.attributes.Location":[279,28,279,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[270,1,291,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"8SgxgAsGzFWzBOfNDPzN0iwH8wcW3YRc13fB9DZkLpE="}}},{"node":"KFlatModule","name":"K-IO","imports":[{"node":"KImport","name":"INT","isPublic":false},{"node":"KImport","name":"LIST","isPublic":false},{"node":"KImport","name":"STRING","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENFILE","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENFILE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENFILE","symbol":"","org.kframework.attributes.Location":[2412,22,2412,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#systemResult","params":[]},"productionItems":[{"node":"KTerminal","value":"#systemResult"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"klabel":"#systemResult","symbol":"","org.kframework.attributes.Location":[2597,20,2597,143],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#E2BIG","params":[]},"productionItems":[{"node":"KTerminal","value":"#E2BIG"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#E2BIG","symbol":"","org.kframework.attributes.Location":[2394,22,2394,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENAMETOOLONG","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENAMETOOLONG"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENAMETOOLONG","symbol":"","org.kframework.attributes.Location":[2411,22,2411,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EHOSTDOWN","params":[]},"productionItems":[{"node":"KTerminal","value":"#EHOSTDOWN"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EHOSTDOWN","symbol":"","org.kframework.attributes.Location":[2458,22,2458,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"IOError","params":[]}}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2473,26,2473,33],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENETDOWN","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENETDOWN"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENETDOWN","symbol":"","org.kframework.attributes.Location":[2446,22,2446,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#putc(_,_)_K-IO_K_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#putc"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.putc","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2524,16,2524,93]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOTCONN","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOTCONN"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOTCONN","symbol":"","org.kframework.attributes.Location":[2453,22,2453,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#time()_K-IO_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#time"},{"node":"KTerminal","value":"("},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.time","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2569,18,2569,67]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ostream(_)_K-IO_Stream_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#ostream"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Stream","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2666,21,2666,34],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EACCES","params":[]},"productionItems":[{"node":"KTerminal","value":"#EACCES"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EACCES","symbol":"","org.kframework.attributes.Location":[2395,22,2395,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EAFNOSUPPORT","params":[]},"productionItems":[{"node":"KTerminal","value":"#EAFNOSUPPORT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EAFNOSUPPORT","symbol":"","org.kframework.attributes.Location":[2443,22,2443,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#open(_,_)_K-IO_IOInt_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#open"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"path"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"mode"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.open","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2485,18,2485,97]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#system(_)_K-IO_KItem_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#system"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.system","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2596,20,2596,74]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EALREADY","params":[]},"productionItems":[{"node":"KTerminal","value":"#EALREADY"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EALREADY","symbol":"","org.kframework.attributes.Location":[2433,22,2433,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"#stderr => 2","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2584,3,2584,20],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2584","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#unlock(_,_)_K-IO_K_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#unlock"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"endIndex"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.unlock","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2546,16,2546,95]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#istream(_)_K-IO_Stream_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#istream"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Stream","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2664,21,2664,34],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#parseInput(_,_)_K-IO_Stream_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#parseInput"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Stream","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2665,21,2665,48],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ECONNABORTED","params":[]},"productionItems":[{"node":"KTerminal","value":"#ECONNABORTED"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ECONNABORTED","symbol":"","org.kframework.attributes.Location":[2449,22,2449,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"#stdout => 1","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2583,3,2583,20],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2583","contentStartColumn":"8"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"IOString","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2474,23,2474,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOTTY","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOTTY"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOTTY","symbol":"","org.kframework.attributes.Location":[2422,22,2422,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOBUFS","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOBUFS"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOBUFS","symbol":"","org.kframework.attributes.Location":[2451,22,2451,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ELOOP","params":[]},"productionItems":[{"node":"KTerminal","value":"#ELOOP"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ELOOP","symbol":"","org.kframework.attributes.Location":[2460,22,2460,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ETIMEDOUT","params":[]},"productionItems":[{"node":"KTerminal","value":"#ETIMEDOUT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ETIMEDOUT","symbol":"","org.kframework.attributes.Location":[2456,22,2456,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#stdin_K-IO_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#stdin"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[2578,18,2578,46],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EADDRINUSE","params":[]},"productionItems":[{"node":"KTerminal","value":"#EADDRINUSE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EADDRINUSE","symbol":"","org.kframework.attributes.Location":[2444,22,2444,65],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EBADF","params":[]},"productionItems":[{"node":"KTerminal","value":"#EBADF"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EBADF","symbol":"","org.kframework.attributes.Location":[2397,22,2397,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EDESTADDRREQ","params":[]},"productionItems":[{"node":"KTerminal","value":"#EDESTADDRREQ"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EDESTADDRREQ","symbol":"","org.kframework.attributes.Location":[2435,22,2435,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EDEADLK","params":[]},"productionItems":[{"node":"KTerminal","value":"#EDEADLK"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EDEADLK","symbol":"","org.kframework.attributes.Location":[2400,22,2400,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EOVERFLOW","params":[]},"productionItems":[{"node":"KTerminal","value":"#EOVERFLOW"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EOVERFLOW","symbol":"","org.kframework.attributes.Location":[2461,22,2461,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ESPIPE","params":[]},"productionItems":[{"node":"KTerminal","value":"#ESPIPE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ESPIPE","symbol":"","org.kframework.attributes.Location":[2428,22,2428,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EMFILE","params":[]},"productionItems":[{"node":"KTerminal","value":"#EMFILE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EMFILE","symbol":"","org.kframework.attributes.Location":[2409,22,2409,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENETUNREACH","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENETUNREACH"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENETUNREACH","symbol":"","org.kframework.attributes.Location":[2447,22,2447,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EISDIR","params":[]},"productionItems":[{"node":"KTerminal","value":"#EISDIR"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EISDIR","symbol":"","org.kframework.attributes.Location":[2408,22,2408,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"IOError","params":[]}}],"params":[],"sort":{"node":"KSort","name":"IOFile","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2608,21,2608,28],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EFBIG","params":[]},"productionItems":[{"node":"KTerminal","value":"#EFBIG"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EFBIG","symbol":"","org.kframework.attributes.Location":[2404,22,2404,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EBUSY","params":[]},"productionItems":[{"node":"KTerminal","value":"#EBUSY"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EBUSY","symbol":"","org.kframework.attributes.Location":[2398,22,2398,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EISCONN","params":[]},"productionItems":[{"node":"KTerminal","value":"#EISCONN"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EISCONN","symbol":"","org.kframework.attributes.Location":[2452,22,2452,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#lock(_,_)_K-IO_K_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#lock"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"endIndex"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.lock","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2545,16,2545,91]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENETRESET","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENETRESET"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENETRESET","symbol":"","org.kframework.attributes.Location":[2448,22,2448,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EOF","params":[]},"productionItems":[{"node":"KTerminal","value":"#EOF"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EOF","symbol":"","org.kframework.attributes.Location":[2392,22,2392,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOTSOCK","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOTSOCK"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOTSOCK","symbol":"","org.kframework.attributes.Location":[2434,22,2434,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#stderr_K-IO_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#stderr"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[2580,19,2580,46],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EINPROGRESS","params":[]},"productionItems":[{"node":"KTerminal","value":"#EINPROGRESS"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EINPROGRESS","symbol":"","org.kframework.attributes.Location":[2432,22,2432,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EPERM","params":[]},"productionItems":[{"node":"KTerminal","value":"#EPERM"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EPERM","symbol":"","org.kframework.attributes.Location":[2424,22,2424,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EAGAIN","params":[]},"productionItems":[{"node":"KTerminal","value":"#EAGAIN"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EAGAIN","symbol":"","org.kframework.attributes.Location":[2396,22,2396,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOEXEC","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOEXEC"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOEXEC","symbol":"","org.kframework.attributes.Location":[2415,22,2415,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EADDRNOTAVAIL","params":[]},"productionItems":[{"node":"KTerminal","value":"#EADDRNOTAVAIL"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EADDRNOTAVAIL","symbol":"","org.kframework.attributes.Location":[2445,22,2445,71],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ECHILD","params":[]},"productionItems":[{"node":"KTerminal","value":"#ECHILD"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ECHILD","symbol":"","org.kframework.attributes.Location":[2399,22,2399,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENODEV","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENODEV"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENODEV","symbol":"","org.kframework.attributes.Location":[2413,22,2413,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EXDEV","params":[]},"productionItems":[{"node":"KTerminal","value":"#EXDEV"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EXDEV","symbol":"","org.kframework.attributes.Location":[2430,22,2430,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EWOULDBLOCK","params":[]},"productionItems":[{"node":"KTerminal","value":"#EWOULDBLOCK"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EWOULDBLOCK","symbol":"","org.kframework.attributes.Location":[2431,22,2431,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOLCK","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOLCK"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOLCK","symbol":"","org.kframework.attributes.Location":[2416,22,2416,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#logToFile","params":[]},"productionItems":[{"node":"KTerminal","value":"#logToFile"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"name"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"returnsUnit":"","symbol":"","total":"","impure":"","function":"","klabel":"#logToFile","hook":"IO.log","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2630,16,2630,136]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EMLINK","params":[]},"productionItems":[{"node":"KTerminal","value":"#EMLINK"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EMLINK","symbol":"","org.kframework.attributes.Location":[2410,22,2410,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EPROTONOSUPPORT","params":[]},"productionItems":[{"node":"KTerminal","value":"#EPROTONOSUPPORT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EPROTONOSUPPORT","symbol":"","org.kframework.attributes.Location":[2439,22,2439,75],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#seekEnd(_,_)_K-IO_K_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#seekEnd"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fromEnd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.seekEnd","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2501,16,2501,96]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#stdout_K-IO_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#stdout"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[2579,19,2579,46],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#accept(_)_K-IO_IOInt_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#accept"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.accept","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2559,20,2559,81]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ECONNREFUSED","params":[]},"productionItems":[{"node":"KTerminal","value":"#ECONNREFUSED"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ECONNREFUSED","symbol":"","org.kframework.attributes.Location":[2457,22,2457,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ERANGE","params":[]},"productionItems":[{"node":"KTerminal","value":"#ERANGE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ERANGE","symbol":"","org.kframework.attributes.Location":[2426,22,2426,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EEXIST","params":[]},"productionItems":[{"node":"KTerminal","value":"#EEXIST"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EEXIST","symbol":"","org.kframework.attributes.Location":[2402,22,2402,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#log","params":[]},"productionItems":[{"node":"KTerminal","value":"#log"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"returnsUnit":"","symbol":"","total":"","impure":"","function":"","klabel":"#log","hook":"IO.logString","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2639,16,2639,116]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ESOCKTNOSUPPORT","params":[]},"productionItems":[{"node":"KTerminal","value":"#ESOCKTNOSUPPORT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ESOCKTNOSUPPORT","symbol":"","org.kframework.attributes.Location":[2440,22,2440,75],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EINVAL","params":[]},"productionItems":[{"node":"KTerminal","value":"#EINVAL"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EINVAL","symbol":"","org.kframework.attributes.Location":[2406,22,2406,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#close(_)_K-IO_K_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#close"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.close","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2533,16,2533,75]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#trace","params":[]},"productionItems":[{"node":"KTerminal","value":"#trace"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"returnsUnit":"","symbol":"","total":"","impure":"","function":"","klabel":"#trace","hook":"IO.traceTerm","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2650,16,2650,119]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOMEM","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOMEM"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOMEM","symbol":"","org.kframework.attributes.Location":[2417,22,2417,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#remove(_)_K-IO_K_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#remove"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"path"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"total":"","impure":"","function":"","hook":"IO.remove","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2618,16,2618,80]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#tempFile","params":[]},"productionItems":[{"node":"KTerminal","value":"#tempFile"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"path"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOFile","params":[]},"att":{"node":"KAtt","att":{"klabel":"#tempFile","symbol":"","org.kframework.attributes.Location":[2609,21,2609,93],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EROFS","params":[]},"productionItems":[{"node":"KTerminal","value":"#EROFS"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EROFS","symbol":"","org.kframework.attributes.Location":[2427,22,2427,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#read(_,_)_K-IO_IOString_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#read"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOString","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.read","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2515,23,2515,99]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOSYS","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOSYS"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOSYS","symbol":"","org.kframework.attributes.Location":[2419,22,2419,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"IOError","params":[]}}],"params":[],"sort":{"node":"KSort","name":"IOString","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2474,32,2474,39],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EDOM","params":[]},"productionItems":[{"node":"KTerminal","value":"#EDOM"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EDOM","symbol":"","org.kframework.attributes.Location":[2401,22,2401,53],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EMSGSIZE","params":[]},"productionItems":[{"node":"KTerminal","value":"#EMSGSIZE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EMSGSIZE","symbol":"","org.kframework.attributes.Location":[2436,22,2436,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#shutdownWrite(_)_K-IO_K_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#shutdownWrite"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.shutdownWrite","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2560,16,2560,91]}}},{"node":"KBubble","sentenceType":"rule","contents":"#stdin => 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2582,3,2582,19],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2582","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#seek(_,_)_K-IO_K_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#seek"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.seek","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2500,16,2500,88]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EFAULT","params":[]},"productionItems":[{"node":"KTerminal","value":"#EFAULT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EFAULT","symbol":"","org.kframework.attributes.Location":[2403,22,2403,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ESRCH","params":[]},"productionItems":[{"node":"KTerminal","value":"#ESRCH"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ESRCH","symbol":"","org.kframework.attributes.Location":[2429,22,2429,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ESHUTDOWN","params":[]},"productionItems":[{"node":"KTerminal","value":"#ESHUTDOWN"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ESHUTDOWN","symbol":"","org.kframework.attributes.Location":[2454,22,2454,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ECONNRESET","params":[]},"productionItems":[{"node":"KTerminal","value":"#ECONNRESET"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ECONNRESET","symbol":"","org.kframework.attributes.Location":[2450,22,2450,65],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EPIPE","params":[]},"productionItems":[{"node":"KTerminal","value":"#EPIPE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EPIPE","symbol":"","org.kframework.attributes.Location":[2425,22,2425,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EIO","params":[]},"productionItems":[{"node":"KTerminal","value":"#EIO"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EIO","symbol":"","org.kframework.attributes.Location":[2407,22,2407,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EOPNOTSUPP","params":[]},"productionItems":[{"node":"KTerminal","value":"#EOPNOTSUPP"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EOPNOTSUPP","symbol":"","org.kframework.attributes.Location":[2441,22,2441,65],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#mkstemp(_)_K-IO_IOFile_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#mkstemp"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"template"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOFile","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.mkstemp","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2607,21,2607,84]}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2473,20,2473,23],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#getc(_)_K-IO_IOInt_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#getc"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.getc","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2514,20,2514,89]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ETOOMANYREFS","params":[]},"productionItems":[{"node":"KTerminal","value":"#ETOOMANYREFS"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ETOOMANYREFS","symbol":"","org.kframework.attributes.Location":[2455,22,2455,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOTDIR","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOTDIR"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOTDIR","symbol":"","org.kframework.attributes.Location":[2420,22,2420,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOENT","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOENT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOENT","symbol":"","org.kframework.attributes.Location":[2414,22,2414,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EPROTOTYPE","params":[]},"productionItems":[{"node":"KTerminal","value":"#EPROTOTYPE"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EPROTOTYPE","symbol":"","org.kframework.attributes.Location":[2437,22,2437,65],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#unknownIOError","params":[]},"productionItems":[{"node":"KTerminal","value":"#unknownIOError"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"errno"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#unknownIOError","symbol":"","org.kframework.attributes.Location":[2393,22,2393,83],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#write(_,_)_K-IO_K_Int_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#write"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.write","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2525,16,2525,93]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EHOSTUNREACH","params":[]},"productionItems":[{"node":"KTerminal","value":"#EHOSTUNREACH"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EHOSTUNREACH","symbol":"","org.kframework.attributes.Location":[2459,22,2459,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EINTR","params":[]},"productionItems":[{"node":"KTerminal","value":"#EINTR"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EINTR","symbol":"","org.kframework.attributes.Location":[2405,22,2405,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOSPC","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOSPC"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOSPC","symbol":"","org.kframework.attributes.Location":[2418,22,2418,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOTEMPTY","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOTEMPTY"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOTEMPTY","symbol":"","org.kframework.attributes.Location":[2421,22,2421,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EPFNOSUPPORT","params":[]},"productionItems":[{"node":"KTerminal","value":"#EPFNOSUPPORT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EPFNOSUPPORT","symbol":"","org.kframework.attributes.Location":[2442,22,2442,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#open(_)_K-IO_IOInt_String","params":[]},"productionItems":[{"node":"KTerminal","value":"#open"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"path"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[2484,20,2484,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#traceK","params":[]},"productionItems":[{"node":"KTerminal","value":"#traceK"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"returnsUnit":"","symbol":"","total":"","impure":"","function":"","klabel":"#traceK","hook":"IO.traceTerm","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2651,16,2651,120]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENXIO","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENXIO"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENXIO","symbol":"","org.kframework.attributes.Location":[2423,22,2423,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"#open(S:String) => #open(S:String, \"r+\")","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2487,3,2487,48],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2487","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ENOPROTOOPT","params":[]},"productionItems":[{"node":"KTerminal","value":"#ENOPROTOOPT"}],"params":[],"sort":{"node":"KSort","name":"IOError","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ENOPROTOOPT","symbol":"","org.kframework.attributes.Location":[2438,22,2438,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#tell(_)_K-IO_IOInt_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"#tell"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fd"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"IOInt","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"IO.tell","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2499,20,2499,77]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#buffer(_)_K-IO_Stream_K","params":[]},"productionItems":[{"node":"KTerminal","value":"#buffer"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Stream","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2663,21,2663,31],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2378,1,2668,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"arhLgE/rL4yFzGMdSXuaRjv+1OlSmea+mxLfvJERh3Y="}}},{"node":"KFlatModule","name":"SET","imports":[{"node":"KImport","name":"INT-SYNTAX","isPublic":false},{"node":"KImport","name":"BASIC-K","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"_Set_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"left":"","assoc":"","comm":"","idem":"","function":"","element":"SetItem","format":"%1%n%2","unit":".Set","symbol":"","klabel":"_Set_","hook":"SET.concat","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[721,18,721,165]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".Set","params":[]},"productionItems":[{"node":"KTerminal","value":".Set"}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":".Set","hook":"SET.unit","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[729,18,729,98]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Set:difference","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":"-Set"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":"Set:difference","hook":"SET.difference","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[769,18,769,114]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_|Set__SET_Set_Set_Set","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":"|Set"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"left":"","total":"","comm":"","function":"","hook":"SET.union","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[748,18,748,92]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_|Set__SET_Set_Set_Set"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Set:in","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"in"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":"Set:in","hook":"SET.in","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[777,19,777,102]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=Set__SET_Bool_Set_Set","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":"<=Set"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"SET.inclusion","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[786,19,786,81]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"size(_)_SET_Int_Set","params":[]},"productionItems":[{"node":"KTerminal","value":"size"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"SET.size","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[794,18,794,76]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"choice(_)_SET_KItem_Set","params":[]},"productionItems":[{"node":"KTerminal","value":"choice"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"function":"","klabel":"Set:choice","hook":"SET.choice","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[804,20,804,95]}}},{"node":"KBubble","sentenceType":"rule","contents":"S1:Set |Set S2:Set => S1 (S2 -Set S1) ","att":{"node":"KAtt","att":{"contentStartLine":"749","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[749,3,749,56],"contentStartColumn":"8","concrete":""}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"intersectSet(_,_)_SET_Set_Set_Set","params":[]},"productionItems":[{"node":"KTerminal","value":"intersectSet"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"total":"","comm":"","function":"","hook":"SET.intersection","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[759,18,759,90]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"SetItem","params":[]},"productionItems":[{"node":"KTerminal","value":"SetItem"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"injective":"","symbol":"","total":"","function":"","klabel":"SetItem","hook":"SET.element","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[737,18,737,119]}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Set","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"SET.Set","org.kframework.attributes.Location":[700,3,700,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_Set_"],"att":{"node":"KAtt","att":{}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[696,1,808,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"VvBc7BgavpgPsxr2dwYjC81KnoUgt0igAqeFz5DOFjY="}}},{"node":"KFlatModule","name":"FLOAT-SYNTAX","imports":[],"localSentences":[{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Float","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"FLOAT.Float","org.kframework.attributes.Location":[1479,3,1479,35],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"NaN([fFdD]|([pP][0-9]+[xX][0-9]+))?","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"token":"","prec":"3","org.kframework.attributes.Location":[1482,20,1482,75],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[\\+\\-]?Infinity([fFdD]|([pP][0-9]+[xX][0-9]+))?","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"token":"","prec":"3","org.kframework.attributes.Location":[1481,20,1481,87],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"([\\+\\-]?[0-9]+(\\.[0-9]*)?|\\.[0-9]+)([eE][\\+\\-]?[0-9]+)?([fFdD]|([pP][0-9]+[xX][0-9]+))?","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"token":"","prec":"1","org.kframework.attributes.Location":[1480,20,1480,129],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1478,1,1483,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"d68XW+gmIajB/fnSu2G0+SNnnS35E7IpPZ8JzQLtBxQ="}}},{"node":"KFlatModule","name":"BOOL-SYNTAX","imports":[{"node":"KImport","name":"SORT-BOOL","isPublic":true}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KTerminal","value":"false"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[1083,19,1083,34],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","productionItems":[{"node":"KTerminal","value":"true"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[1082,19,1082,34],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1080,1,1084,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"NyXw3ZE2lSn4HD166cKlUkGp6gngWYXMYcMitKhJyCA="}}},{"node":"KFlatModule","name":"AUTO-FOLLOW","imports":[],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[388,1,399,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"5VwlXEHlnJrYr5reTC8S4+bzFaAUMq0JsPENdLTjLfo="}}},{"node":"KFlatModule","name":"K-SORT-LATTICE","imports":[{"node":"KImport","name":"K-BOTTOM-SORT","isPublic":true},{"node":"KImport","name":"K-TOP-SORT","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[373,1,376,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"5sfKs0Ytbk1tmGlfzG5UWYrUr7nvc8fDGfC/Quz7OrA="}}},{"node":"KFlatModule","name":"ID-COMMON","imports":[{"node":"KImport","name":"ID-SYNTAX","isPublic":true},{"node":"KImport","name":"STRING","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"freshId(I:Int) => String2Id(\"_\" +String Int2String(I))","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2260,3,2260,62],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2260","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"freshId(_)_ID-COMMON_Id_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"freshId"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Id","params":[]},"att":{"node":"KAtt","att":{"total":"","freshGenerator":"","function":"","private":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2258,17,2258,75]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Id2String(_)_ID-COMMON_String_Id","params":[]},"productionItems":[{"node":"KTerminal","value":"Id2String"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Id","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.token2string","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2256,21,2256,85]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"String2Id(_)_ID-COMMON_Id_String","params":[]},"productionItems":[{"node":"KTerminal","value":"String2Id"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Id","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.string2token","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2257,17,2257,80]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2252,1,2261,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"FiP+WO61+SeCHGGVEM9a2kcGMZIP7rEW0MPLJB9E8Eg="}}},{"node":"KFlatModule","name":"K-EQUAL-SYNTAX","imports":[{"node":"KImport","name":"BASIC-K","isPublic":false},{"node":"KImport","name":"BOOL","isPublic":false}],"localSentences":[{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_==K_","_=/=K_"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxPriority","priorities":[["_==K_","_:=K_","_=/=K_","_:/=K_"],["#Exists","weakAlwaysFinally","#Ceil","notBool_","#AG","#Or","#Not","_xorBool_","_andBool_","_andThenBool_","#And","#Forall","_impliesBool_","_orBool_","#Equals","#Floor","weakExistsFinally","_orElseBool_","#Implies"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=/=K_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":"=/=K"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"notEqualEqualK","smt-hook":"distinct","symbol":"","total":"","comm":"","function":"","klabel":"_=/=K_","hook":"KEQUAL.ne","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2287,19,2287,146]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_==K_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":"==K"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"equalEqualK","smt-hook":"=","symbol":"","total":"","comm":"","function":"","klabel":"_==K_","hook":"KEQUAL.eq","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2286,19,2286,135]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"ite","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#if"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"#then"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"#else"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"#fi"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"ite","symbol":"ite","total":"","function":"","hook":"KEQUAL.ite","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2291,26,2291,132]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2281,1,2293,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"ANQzsoBiemjbE7x4ZTDGnBLkvgO7Svv0JIKz3BqUTiQ="}}},{"node":"KFlatModule","name":"KCELLS","imports":[{"node":"KImport","name":"KAST","isPublic":true}],"localSentences":[{"node":"KSyntaxAssociativity","assoc":"Left","tags":["#cells"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#cells","params":[]},"productionItems":[{"node":"KTerminal","value":".Bag"}],"params":[],"sort":{"node":"KSort","name":"Bag","params":[]},"att":{"node":"KAtt","att":{"klabel":"#cells","symbol":"","org.kframework.attributes.Location":[241,18,241,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bag","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bag","params":[]},"att":{"node":"KAtt","att":{"bracket":"","org.kframework.attributes.Location":[244,18,244,39],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","bracketLabel":{"node":"KLabel","name":"(_)_KCELLS_Bag_Bag","params":[]}}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Cell","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bag","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[243,18,243,22],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Cell","params":[]},"params":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[239,3,239,14],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KSyntaxAssociativity","assoc":"NonAssoc","tags":["#withConfig"],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[247,3,247,31],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#cells","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bag","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bag","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bag","params":[]},"att":{"node":"KAtt","att":{"left":"","assoc":"","klabel":"#cells","unit":"#cells","symbol":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[240,18,240,78]}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bag","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[245,20,245,23],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#withConfig","params":[]},"productionItems":[{"node":"KTerminal","value":"["},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":"]"},{"node":"KTerminal","value":"]"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bag","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#RuleBody","params":[]},"att":{"node":"KAtt","att":{"symbol":"","klabel":"#withConfig","avoid":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[246,24,246,85]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#cells","params":[]},"productionItems":[{"node":"KTerminal","value":".::Bag"}],"params":[],"sort":{"node":"KSort","name":"Bag","params":[]},"att":{"node":"KAtt","att":{"klabel":"#cells","symbol":"","org.kframework.attributes.Location":[242,18,242,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Cell","params":[]},"params":[],"att":{"node":"KAtt","att":{"temporary-cell-sort-decl":""}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KBott","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bag","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[248,18,248,23],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[236,1,249,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"z/ZHv9Uf1pEdjeUQueCzb+u2Me+rsKktcsMHVKZp0jo="}}},{"node":"KFlatModule","name":"IMP-SYNTAX","imports":[{"node":"KImport","name":"ID","isPublic":true},{"node":"KImport","name":"BOOL-SYNTAX","isPublic":true},{"node":"KImport","name":"INT-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"-__IMP-SYNTAX_AExp_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"-"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"AExp","params":[]},"att":{"node":"KAtt","att":{"format":"%1%2","org.kframework.attributes.Location":[9,20,9,61],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=__IMP-SYNTAX_BExp_AExp_AExp","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}},{"node":"KTerminal","value":"<="},{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}}],"params":[],"sort":{"node":"KSort","name":"BExp","params":[]},"att":{"node":"KAtt","att":{"seqstrict":"","color":"pink","org.kframework.attributes.Location":[14,20,14,71],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KSyntaxPriority","priorities":[["(_)_IMP-SYNTAX_BExp_BExp","!__IMP-SYNTAX_BExp_BExp","_<=__IMP-SYNTAX_BExp_AExp_AExp"],["_&&__IMP-SYNTAX_BExp_BExp_BExp"]],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_/__IMP-SYNTAX_AExp_AExp_AExp"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".List{\"_,__IMP-SYNTAX_Ids_Id_Ids\"}_Ids","params":[]},"productionItems":[{"node":"KTerminal","value":".Ids"}],"params":[],"sort":{"node":"KSort","name":"Ids","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[28,18,28,48],"org.kframework.attributes.Source":"../imp-llvm/imp.k","userList":"*","symbol":".List{\"_,__IMP-SYNTAX\"}"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"while(_)__IMP-SYNTAX_Stmt_BExp_Block","params":[]},"productionItems":[{"node":"KTerminal","value":"while"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"BExp","params":[]}},{"node":"KTerminal","value":")"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Block","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Stmt","params":[]},"att":{"node":"KAtt","att":{"colors":"yellow,white,white","format":"%1 %2%3%4 %5","org.kframework.attributes.Location":[24,20,24,97],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_/__IMP-SYNTAX_AExp_AExp_AExp","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}},{"node":"KTerminal","value":"/"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}}],"params":[],"sort":{"node":"KSort","name":"AExp","params":[]},"att":{"node":"KAtt","att":{"left":"","color":"pink","strict":"","org.kframework.attributes.Source":"../imp-llvm/imp.k","org.kframework.attributes.Location":[10,20,10,74]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_+__IMP-SYNTAX_AExp_AExp_AExp","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}},{"node":"KTerminal","value":"+"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}}],"params":[],"sort":{"node":"KSort","name":"AExp","params":[]},"att":{"node":"KAtt","att":{"left":"","color":"pink","strict":"","org.kframework.attributes.Source":"../imp-llvm/imp.k","org.kframework.attributes.Location":[12,20,12,74]}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"AExp","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[8,20,8,23],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","productionItems":[{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"AExp","params":[]},"att":{"node":"KAtt","att":{"bracket":"","org.kframework.attributes.Location":[11,20,11,56],"org.kframework.attributes.Source":"../imp-llvm/imp.k","bracketLabel":{"node":"KLabel","name":"(_)_IMP-SYNTAX_AExp_AExp","params":[]}}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_+__IMP-SYNTAX_AExp_AExp_AExp"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxPriority","priorities":[["if(_)_else__IMP-SYNTAX_Stmt_BExp_Block_Block","while(_)__IMP-SYNTAX_Stmt_BExp_Block","_=_;_IMP-SYNTAX_Stmt_Id_AExp"],["___IMP-SYNTAX_Stmt_Stmt_Stmt"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"int_;__IMP-SYNTAX_Pgm_Ids_Stmt","params":[]},"productionItems":[{"node":"KTerminal","value":"int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Ids","params":[]}},{"node":"KTerminal","value":";"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Stmt","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Pgm","params":[]},"att":{"node":"KAtt","att":{"format":"%1 %2%3%n%4","colors":"yellow,pink","org.kframework.attributes.Location":[27,18,27,89],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Id","params":[]}}],"params":[],"sort":{"node":"KSort","name":"AExp","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[8,26,8,28],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"BExp","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[13,20,13,24],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"if(_)_else__IMP-SYNTAX_Stmt_BExp_Block_Block","params":[]},"productionItems":[{"node":"KTerminal","value":"if"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"BExp","params":[]}},{"node":"KTerminal","value":")"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Block","params":[]}},{"node":"KTerminal","value":"else"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Block","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Stmt","params":[]},"att":{"node":"KAtt","att":{"strict":"1","colors":"yellow, white, white, yellow","format":"%1 %2%3%4 %5 %6 %7","org.kframework.attributes.Source":"../imp-llvm/imp.k","org.kframework.attributes.Location":[22,20,23,124]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"!__IMP-SYNTAX_BExp_BExp","params":[]},"productionItems":[{"node":"KTerminal","value":"!"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"BExp","params":[]}}],"params":[],"sort":{"node":"KSort","name":"BExp","params":[]},"att":{"node":"KAtt","att":{"strict":"","color":"pink","org.kframework.attributes.Location":[15,20,15,68],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"___IMP-SYNTAX_Stmt_Stmt_Stmt","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Stmt","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Stmt","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Stmt","params":[]},"att":{"node":"KAtt","att":{"left":"","format":"%1%n%2","org.kframework.attributes.Location":[25,20,25,69],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_&&__IMP-SYNTAX_BExp_BExp_BExp","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"BExp","params":[]}},{"node":"KTerminal","value":"&&"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"BExp","params":[]}}],"params":[],"sort":{"node":"KSort","name":"BExp","params":[]},"att":{"node":"KAtt","att":{"left":"","color":"pink","strict":"1","org.kframework.attributes.Source":"../imp-llvm/imp.k","org.kframework.attributes.Location":[17,20,17,77]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"{_}_IMP-SYNTAX_Block_Stmt","params":[]},"productionItems":[{"node":"KTerminal","value":"{"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Stmt","params":[]}},{"node":"KTerminal","value":"}"}],"params":[],"sort":{"node":"KSort","name":"Block","params":[]},"att":{"node":"KAtt","att":{"format":"%1%i%n%2%d%n%3","org.kframework.attributes.Location":[19,20,19,71],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KSyntaxPriority","priorities":[["_/__IMP-SYNTAX_AExp_AExp_AExp","(_)_IMP-SYNTAX_AExp_AExp","-__IMP-SYNTAX_AExp_Int"],["_+__IMP-SYNTAX_AExp_AExp_AExp"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=_;_IMP-SYNTAX_Stmt_Id_AExp","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Id","params":[]}},{"node":"KTerminal","value":"="},{"node":"KNonTerminal","sort":{"node":"KSort","name":"AExp","params":[]}},{"node":"KTerminal","value":";"}],"params":[],"sort":{"node":"KSort","name":"Stmt","params":[]},"att":{"node":"KAtt","att":{"color":"pink","strict":"2","format":"%1 %2 %3%4","org.kframework.attributes.Source":"../imp-llvm/imp.k","org.kframework.attributes.Location":[21,20,21,91]}}},{"node":"KProduction","productionItems":[{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"BExp","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"BExp","params":[]},"att":{"node":"KAtt","att":{"bracket":"","org.kframework.attributes.Location":[16,20,16,56],"org.kframework.attributes.Source":"../imp-llvm/imp.k","bracketLabel":{"node":"KLabel","name":"(_)_IMP-SYNTAX_BExp_BExp","params":[]}}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Block","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Stmt","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[20,20,20,25],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"{}_IMP-SYNTAX_Block","params":[]},"productionItems":[{"node":"KTerminal","value":"{"},{"node":"KTerminal","value":"}"}],"params":[],"sort":{"node":"KSort","name":"Block","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[18,20,18,27],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_&&__IMP-SYNTAX_BExp_BExp_BExp"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["___IMP-SYNTAX_Stmt_Stmt_Stmt"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_,__IMP-SYNTAX_Ids_Id_Ids","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Id","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Ids","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Ids","params":[]},"att":{"node":"KAtt","att":{"format":"%1%2 %3","org.kframework.attributes.Location":[28,18,28,48],"org.kframework.attributes.Source":"../imp-llvm/imp.k","userList":"*"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[3,1,29,10],"org.kframework.attributes.Source":"../imp-llvm/imp.k","digest":"ySFx8tfJ8xb34cLXoYej6QO5oEknMDBa1c3+/swLPKA="}}},{"node":"KFlatModule","name":"K-AMBIGUITIES","imports":[],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"amb","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"amb"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"klabel":"amb","symbol":"","org.kframework.attributes.Location":[549,26,549,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[547,1,551,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"jP3kAYm0pRMJKQKVvk3SQ/h8ZrNBN5sE9TxkX6LrDTM="}}},{"node":"KFlatModule","name":"STRING-SYNTAX","imports":[],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[\\\"](([^\\\"\\n\\r\\\\])|([\\\\][nrtf\\\"\\\\])|([\\\\][x][0-9a-fA-F]{2})|([\\\\][u][0-9a-fA-F]{4})|([\\\\][U][0-9a-fA-F]{8}))*[\\\"]","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[1693,21,1693,172],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"String","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"STRING.String","org.kframework.attributes.Location":[1692,3,1692,38],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1691,1,1694,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"urIvB5SBek3KkeQOK5p+0560jZezWFn42o/trLm4TBY="}}},{"node":"KFlatModule","name":"MINT","imports":[{"node":"KImport","name":"INT","isPublic":false},{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"MINT-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"roundMInt(_)_MINT_MInt_MInt","params":[{"node":"KSort","name":"Width1","params":[]},{"node":"KSort","name":"Width2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"roundMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width2","params":[]}]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Width1","params":[]},{"node":"KSort","name":"Width2","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width1","params":[]}]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MINT.round","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[3015,44,3015,103]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"~MInt__MINT_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KTerminal","value":"~MInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvnot","total":"","function":"","hook":"MINT.not","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2950,34,2950,104]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"sMinMInt(_,_)_MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KTerminal","value":"sMinMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"(ite (bvslt #1 #2) #1 #2)","total":"","function":"","hook":"MINT.smin","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[3001,34,3001,140]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>sMInt__MINT_Bool_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":">sMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"bvsgt","total":"","function":"","hook":"MINT.sgt","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2985,27,2985,110]}}},{"node":"KBubble","sentenceType":"rule","contents":"uoverflowMInt(N:Int, I:Int)\n =>\n I Int umaxMInt(N)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2919,3,2922,49],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2920","contentStartColumn":"5"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"uoverflowMInt(_,_)_MINT_Bool_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"uoverflowMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"width"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[2914,19,2914,62],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_|MInt__MINT_MInt_MInt_MInt"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_+MInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"+MInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvadd","total":"","function":"","hook":"MINT.add","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2959,34,2959,116]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_<>aMInt__MINT_MInt_MInt_MInt","_>>lMInt__MINT_MInt_MInt_MInt"],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"soverflowMInt(N:Int, I:Int)\n =>\n I Int smaxMInt(N)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2915,3,2918,49],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2916","contentStartColumn":"5"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_/uMInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"/uMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvudiv","function":"","hook":"MINT.udiv","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2956,34,2956,112]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"soverflowMInt(_,_)_MINT_Bool_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"soverflowMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"width"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[2913,19,2913,62],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"uMinMInt(_,_)_MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KTerminal","value":"uMinMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"(ite (bvult #1 #2) #1 #2)","total":"","function":"","hook":"MINT.umin","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[3003,34,3003,140]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>=uMInt__MINT_Bool_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":">=uMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"bvuge","total":"","function":"","hook":"MINT.uge","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2988,27,2988,111]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"uminMInt(_)_MINT_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"uminMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[2898,18,2898,45],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_/sMInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"/sMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvsdiv","function":"","hook":"MINT.sdiv","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2954,34,2954,112]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_&MInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"&MInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvand","total":"","function":"","hook":"MINT.and","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2966,34,2966,116]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_*MInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"*MInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvmul","total":"","function":"","hook":"MINT.mul","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2953,34,2953,116]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_xorMInt__MINT_MInt_MInt_MInt"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>uMInt__MINT_Bool_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":">uMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"bvugt","total":"","function":"","hook":"MINT.ugt","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2986,27,2986,110]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"MInt2Unsigned(_)_MINT_Int_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KTerminal","value":"MInt2Unsigned"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"bv2int","total":"","function":"","hook":"MINT.uvalue","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2884,26,2884,111]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"bitwidthMInt(_)_MINT_Int_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KTerminal","value":"bitwidthMInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MINT.bitwidth","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2866,26,2866,92]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<>lMInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":">>lMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvlshr","function":"","hook":"MINT.lshr","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2964,34,2964,113]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Int2MInt(_)_MINT_MInt_Int","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KTerminal","value":"Int2MInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"int2bv","total":"","function":"","hook":"MINT.integer","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2886,34,2886,103]}}},{"node":"KSyntaxPriority","priorities":[["~MInt__MINT_MInt_MInt","--MInt__MINT_MInt_MInt"],["_/sMInt__MINT_MInt_MInt_MInt","_%uMInt__MINT_MInt_MInt_MInt","_%sMInt__MINT_MInt_MInt_MInt","_*MInt__MINT_MInt_MInt_MInt","_/uMInt__MINT_MInt_MInt_MInt"],["_+MInt__MINT_MInt_MInt_MInt","_-MInt__MINT_MInt_MInt_MInt"],["_<>aMInt__MINT_MInt_MInt_MInt","_>>lMInt__MINT_MInt_MInt_MInt"],["_&MInt__MINT_MInt_MInt_MInt"],["_xorMInt__MINT_MInt_MInt_MInt"],["_|MInt__MINT_MInt_MInt_MInt"]],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"sminMInt(N:Int) => 0 -Int (1 < (1 <=sMInt__MINT_Bool_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":">=sMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"bvsge","total":"","function":"","hook":"MINT.sge","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2987,27,2987,111]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>>aMInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":">>aMInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvashr","function":"","hook":"MINT.ashr","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2963,34,2963,113]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_|MInt__MINT_MInt_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"|MInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"smt-hook":"bvor","total":"","function":"","hook":"MINT.or","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2970,34,2970,114]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_+MInt__MINT_MInt_MInt_MInt","_-MInt__MINT_MInt_MInt_MInt"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=/=MInt__MINT_Bool_MInt_MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}},{"node":"KTerminal","value":"=/=MInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]}}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"distinct","total":"","function":"","hook":"MINT.ne","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2990,27,2990,113]}}},{"node":"KBubble","sentenceType":"rule","contents":"uminMInt(_:Int) => 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2902,3,2902,28],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2902","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"umaxMInt(N:Int) => (1 < Int2Bytes((log2Int(I) +Int 8) /Int 8, I, E)\n requires I >Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2213,3,2214,22],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2213","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"Int2Bytes(I::Int, E::Endianness, Signed) => Int2Bytes((log2Int(I) +Int 9) /Int 8, I, E)\n requires I >Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2216,3,2217,22],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2216","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"Int2Bytes(0, _::Endianness, _) => .Bytes","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2215,3,2215,48],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2215","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"Int2Bytes(-1, E::Endianness, Signed) => Int2Bytes(1, -1, E)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2220,3,2220,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2220","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"Int2Bytes(I::Int, E::Endianness, Signed) => Int2Bytes((log2Int(~Int I) +Int 9) /Int 8, I, E)\n requires I B1 requires C","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2318,3,2318,59],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2318","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"#if C:Bool #then _ #else B2::K #fi => B2 requires notBool C","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2319,3,2319,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2319","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"K1:K =/=K K2:K => notBool (K1 ==K K2)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2316,3,2316,45],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2316","contentStartColumn":"8"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2311,1,2321,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"RL4qRXvW1t4oZHGmDW48hWTnCBPUBHHtsKyZl9hfu8w="}}},{"node":"KFlatModule","name":"BOOL-COMMON","imports":[{"node":"KImport","name":"BOOL-SYNTAX","isPublic":true},{"node":"KImport","name":"BASIC-K","isPublic":false}],"localSentences":[{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_orElseBool_"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_==Bool_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"notBool_","params":[]},"productionItems":[{"node":"KTerminal","value":"notBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","smt-hook":"not","symbol":"","total":"","function":"","klabel":"notBool_","hook":"BOOL.not","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1109,19,1109,139]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_impliesBool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"impliesBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","symbol":"","total":"","function":"","left":"","smt-hook":"=>","klabel":"_impliesBool_","hook":"BOOL.implies","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1115,19,1115,153]}}},{"node":"KBubble","sentenceType":"rule","contents":"B:Bool impliesBool false => notBool B ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1157","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1157,3,1157,62]}}},{"node":"KBubble","sentenceType":"rule","contents":"B:Bool orBool false => B ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1147","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1147,3,1147,51]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_orBool_"],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"B1:Bool =/=Bool B2:Bool => notBool (B1 ==Bool B2)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1159,3,1159,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1159","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"B:Bool xorBool false => B:Bool ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1141","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1141,3,1141,55]}}},{"node":"KBubble","sentenceType":"rule","contents":"K::Bool orElseBool false => K ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1152","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1152,3,1152,54]}}},{"node":"KSyntaxPriority","priorities":[["notBool_"],["_impliesBool_","_orBool_","_xorBool_","_andBool_","_andThenBool_","_orElseBool_"],["_==Bool_","_=/=Bool_"]],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"_:Bool orBool true => true ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1145","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1145,3,1145,51]}}},{"node":"KBubble","sentenceType":"rule","contents":"false xorBool B:Bool => B:Bool","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1140,3,1140,38],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1140","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"false andThenBool _ => false","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1137,3,1137,36],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1137","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"true impliesBool B:Bool => B","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1154,3,1154,36],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1154","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_andBool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"andBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","symbol":"","total":"","function":"","left":"","smt-hook":"and","klabel":"_andBool_","hook":"BOOL.and","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1110,19,1110,146]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_==Bool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"==Bool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","comm":"","function":"","left":"","smt-hook":"=","klabel":"_==Bool_","hook":"BOOL.eq","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1117,19,1117,126]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_xorBool_"],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"B:Bool xorBool B:Bool => false","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1142,3,1142,38],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1142","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_orBool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"orBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","symbol":"","total":"","function":"","left":"","smt-hook":"or","klabel":"_orBool_","hook":"BOOL.or","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1113,19,1113,143]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_==Bool_","_=/=Bool_"],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"true andThenBool K::Bool => K","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1135,3,1135,37],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1135","contentStartColumn":"8"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_=/=Bool_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_andThenBool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"andThenBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","symbol":"","total":"","function":"","left":"","smt-hook":"and","klabel":"_andThenBool_","hook":"BOOL.andThen","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1111,19,1111,154]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_impliesBool_"],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"false orElseBool K::Bool => K","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1151,3,1151,37],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1151","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_xorBool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"xorBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","symbol":"","total":"","function":"","left":"","smt-hook":"xor","klabel":"_xorBool_","hook":"BOOL.xor","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1112,19,1112,146]}}},{"node":"KBubble","sentenceType":"rule","contents":"true orBool _:Bool => true","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1144,3,1144,34],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1144","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"_ orElseBool true => true ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1150","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1150,3,1150,54]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_andThenBool_"],"att":{"node":"KAtt","att":{}}},{"node":"KBubble","sentenceType":"rule","contents":"false orBool B:Bool => B","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1146,3,1146,32],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1146","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"K::Bool andThenBool true => K ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1136","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1136,3,1136,54]}}},{"node":"KBubble","sentenceType":"rule","contents":"B:Bool andBool true => B:Bool ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1131","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1131,3,1131,54]}}},{"node":"KBubble","sentenceType":"rule","contents":"false andBool _:Bool => false","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1132,3,1132,37],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1132","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"notBool true => false","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1127,3,1127,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1127","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"false impliesBool _:Bool => true","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1155,3,1155,40],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1155","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"_:Bool andBool false => false ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1133","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1133,3,1133,54]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_orElseBool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"orElseBool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"group":"boolOperation","symbol":"","total":"","function":"","left":"","smt-hook":"or","klabel":"_orElseBool_","hook":"BOOL.orElse","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1114,19,1114,151]}}},{"node":"KBubble","sentenceType":"rule","contents":"true orElseBool _ => true","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1149,3,1149,33],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1149","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"notBool false => true","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1128,3,1128,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1128","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"true andBool B:Bool => B:Bool","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1130,3,1130,37],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1130","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"_ andThenBool false => false ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1138","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1138,3,1138,54]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_andBool_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=/=Bool_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"=/=Bool"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","comm":"","function":"","left":"","smt-hook":"distinct","klabel":"_=/=Bool_","hook":"BOOL.ne","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1118,19,1118,134]}}},{"node":"KBubble","sentenceType":"rule","contents":"_:Bool impliesBool true => true ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1156","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1156,3,1156,62]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1086,1,1160,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"zxcUzQS8qruXwR/NFWnazglDMB3KHSGvpJGsB2qm0LU="}}},{"node":"KFlatModule","name":"STRING-BUFFER-IN-K","imports":[{"node":"KImport","name":"BASIC-K","isPublic":false},{"node":"KImport","name":"STRING","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":".StringBuffer_STRING-BUFFER-IN-K_StringBuffer","params":[]},"productionItems":[{"node":"KTerminal","value":".StringBuffer"}],"params":[],"sort":{"node":"KSort","name":"StringBuffer","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[1943,27,1943,60],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_+String__STRING-BUFFER-IN-K_StringBuffer_StringBuffer_String","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"StringBuffer","params":[]}},{"node":"KTerminal","value":"+String"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"StringBuffer","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","avoid":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1944,27,1944,81]}}},{"node":"KBubble","sentenceType":"rule","contents":".StringBuffer => \"\"","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1949,3,1949,27],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1949","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"{SB:String +String S:String}::StringBuffer => (SB +String S)::String","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1948,3,1948,76],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1948","contentStartColumn":"8"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"StringBuffer","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1945,27,1945,33],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"StringBuffer2String(_)_STRING-BUFFER-IN-K_String_StringBuffer","params":[]},"productionItems":[{"node":"KTerminal","value":"StringBuffer2String"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"StringBuffer","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[1946,21,1946,75],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"StringBuffer2String(S:String) => S","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1950,3,1950,42],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1950","contentStartColumn":"8"}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[1939,1,1951,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"Xlyv+rcyhcliyhCRP/o/YF4FDoYpbvP109DRLeIwzp8="}}},{"node":"KFlatModule","name":"UNSIGNED-INT-SYNTAX","imports":[],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[0-9]+","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"prec":"2","prefer":"","token":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1199,18,1199,52]}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Int","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"INT.Int","org.kframework.attributes.Location":[1198,3,1198,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1197,1,1200,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"Tfp9QYLXybwhv6hzgwVBLRC+1CgNZVPefQ2srkHIizk="}}},{"node":"KFlatModule","name":"ARRAY-IN-K","imports":[{"node":"KImport","name":"K-EQUAL","isPublic":false},{"node":"KImport","name":"ARRAY-SYNTAX","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"INT","isPublic":false},{"node":"KImport","name":"LIST","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"arr(L::List, I::Int, D::KItem) [ IDX::Int <- undef ] => arr(L, I, D) [ IDX <- D ]","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[179,3,179,89],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"179","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"updateArray(arr(L::List, I::Int, D::KItem), IDX::Int, L2::List) => arr(updateList(ensureOffsetList(L, IDX +Int size(L2) -Int 1, D), IDX, L2), I, D)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[181,3,181,155],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"181","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"fillArray(arr(L::List, I::Int, D::KItem), IDX::Int, LEN::Int, VAL::KItem) => arr(fillList(ensureOffsetList(L, IDX +Int LEN -Int 1, D), IDX, LEN, VAL), I, D)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[183,3,183,164],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"183","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"arr(_,_,_)_ARRAY-IN-K_Array_List_Int_KItem","params":[]},"productionItems":[{"node":"KTerminal","value":"arr"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Array","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[166,20,166,41],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"makeArray(I::Int, D::KItem) => arr(.List, I, D)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[168,3,168,55],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"168","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"arr(_ , _, D::KItem) [ _ ] => D ","att":{"node":"KAtt","att":{"owise":"","contentStartLine":"171","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[171,3,171,64]}}},{"node":"KBubble","sentenceType":"rule","contents":"ensureOffsetList(L::List, IDX::Int, _::KItem) => L requires notBool IDX >=Int size(L)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[175,3,175,130],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"175","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"arr(L::List, I::Int, D::KItem) [ IDX::Int <- VAL::KItem ] => arr(ensureOffsetList(L, IDX, D) [ IDX <- VAL ], I, D)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[177,3,177,122],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"177","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"ensureOffsetList(L::List, IDX::Int, D::KItem) => L makeList(IDX +Int 1 -Int size(L), D) requires IDX >=Int size(L)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[174,3,174,130],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"174","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"arr(L::List, _, _ ) [ IDX::Int ] => L[IDX] requires 0 <=Int IDX andBool IDX IDX >=Int 0 andBool IDX =Float__FLOAT_Bool_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":">=Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.geq","function":"","hook":"FLOAT.ge","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1628,19,1628,91]}}},{"node":"KSyntaxPriority","priorities":[["--Float__FLOAT_Float_Float"],["_^Float__FLOAT_Float_Float_Float"],["_%Float__FLOAT_Float_Float_Float","_/Float__FLOAT_Float_Float_Float","_*Float__FLOAT_Float_Float_Float"],["_-Float__FLOAT_Float_Float_Float","_+Float__FLOAT_Float_Float_Float"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"signFloat(_)_FLOAT_Bool_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"signFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.sign","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1521,19,1521,76]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=/=Float__FLOAT_Bool_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"=/=Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"(not (fp.eq #1 #2))","comm":"","function":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1631,19,1631,94]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_ rootFloat(F, 2)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1656,3,1656,45],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1656","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"exponentFloat(_)_FLOAT_Int_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"exponentFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.exponent","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1512,18,1512,78]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"rootFloat(_,_)_FLOAT_Float_Float_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"rootFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.root","org.kframework.attributes.Location":[1592,20,1592,77],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"isNaN(_)_FLOAT_Bool_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"isNaN"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.isNaN","total":"","function":"","hook":"FLOAT.isNaN","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1529,19,1529,97]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"ceilFloat(_)_FLOAT_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"ceilFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.ceil","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1596,20,1596,84]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"atan2Float(_,_)_FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"atan2Float"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.atan2","org.kframework.attributes.Location":[1606,20,1606,78],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"minFloat(_,_)_FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"minFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.min","function":"","hook":"FLOAT.min","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1608,20,1608,94]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>Float__FLOAT_Bool_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":">Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fg.gt","function":"","hook":"FLOAT.gt","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1629,19,1629,90]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"atanFloat(_)_FLOAT_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"atanFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.atan","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1605,20,1605,84]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_/Float__FLOAT_Float_Float_Float"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_-Float__FLOAT_Float_Float_Float"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=Float__FLOAT_Bool_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"<=Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.leq","function":"","hook":"FLOAT.le","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1626,19,1626,91]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_%Float__FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"%Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.rem","left":"","smt-hook":"(fp.rem roundNearestTiesToEven #1 #2)","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1552,20,1552,130]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"exponentBitsFloat(_)_FLOAT_Int_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"exponentBitsFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.exponentBits","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1504,18,1504,86]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_-Float__FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"-Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.sub","left":"","smt-hook":"(fp.sub roundNearestTiesToEven #1 #2)","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1555,20,1555,130]}}},{"node":"KBubble","sentenceType":"rule","contents":"isInfinite(F:Float) => F >Float maxValueFloat(precisionFloat(F), exponentBitsFloat(F)) orBool F notBool (F1 ==Float F2)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1633,3,1633,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1633","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"isInfinite(_)_FLOAT_Bool_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"isInfinite"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[1530,19,1530,58],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"--Float__FLOAT_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"--Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.neg","total":"","function":"","hook":"FLOAT.neg","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1547,20,1547,100]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"floorFloat(_)_FLOAT_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"floorFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.floor","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1595,20,1595,85]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_%Float__FLOAT_Float_Float_Float"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"cosFloat(_)_FLOAT_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"cosFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"FLOAT.cos","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1601,20,1601,83]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_==Float__FLOAT_Bool_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"==Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.eq","comm":"","function":"","klabel":"_==Float_","hook":"FLOAT.eq","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1630,19,1630,115]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"roundFloat(_,_,_)_FLOAT_Float_Float_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"roundFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"precision"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"exponentBits"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.round","org.kframework.attributes.Location":[1594,20,1594,103],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"maxFloat(_,_)_FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"maxFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"fp.max","function":"","hook":"FLOAT.max","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1607,20,1607,94]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_*Float__FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"*Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.mul","left":"","smt-hook":"(fp.mul roundNearestTiesToEven #1 #2)","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1550,20,1550,130]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"tanFloat(_)_FLOAT_Float_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"tanFloat"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"FLOAT.tan","org.kframework.attributes.Location":[1602,20,1602,76],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_^Float__FLOAT_Float_Float_Float","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":"^Float"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"left":"","function":"","hook":"FLOAT.pow","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1548,20,1548,81]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1485,1,1660,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"tvz2uKU8/q5/VahL+J2AiDmGolXiVAcLv+xYAUOnDBM="}}},{"node":"KFlatModule","name":"BYTES-SYMBOLIC-CEIL","imports":[{"node":"KImport","name":"BYTES-HOOKED","isPublic":true},{"node":"KImport","name":"INT","isPublic":false},{"node":"KImport","name":"BOOL","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(padRightBytes(_, LEN, VAL)) => {(0 <=Int LEN andBool 0 <=Int VAL andBool VAL {(0 <=Int LEN andBool 0 <=Int VAL andBool VAL \n ListItem(#ostream(_))\n ListItem(_)\n ListItem(#buffer(Buffer:String => Buffer +String Float2String(F)))\n (ListItem(F:Float) => .List)\n _:List\n \n // [stdout, stderr]\n ","att":{"node":"KAtt","att":{"label":"STDOUT-STREAM.stdoutBufferFloat","contentStartLine":"2768","priority":"25","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2767,3,2776,30]}}},{"node":"KBubble","sentenceType":"rule","contents":"\n ListItem(#ostream(_))\n ListItem(_)\n ListItem(#buffer(Buffer:String => Buffer +String Int2String(I)))\n (ListItem(I:Int) => .List)\n _:List\n \n // [stdout, stderr]\n ","att":{"node":"KAtt","att":{"label":"STDOUT-STREAM.stdoutBufferInt","contentStartLine":"2778","priority":"25","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2777,3,2786,30]}}},{"node":"KBubble","sentenceType":"rule","contents":"\n ListItem(#ostream(N:Int => {#write(N, S) ~> N:Int}:>Int))\n ListItem(\"on\")\n ListItem(#buffer(S:String => \"\"))\n _:List\n \n requires S =/=String \"\" // [stdout, stderr]\n ","att":{"node":"KAtt","att":{"label":"STDOUT-STREAM.stdoutWrite","contentStartLine":"2800","priority":"30","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2799,3,2807,30]}}},{"node":"KBubble","sentenceType":"rule","contents":"\n ListItem(#ostream(_))\n ListItem(_)\n ListItem(#buffer(Buffer:String => Buffer +String S))\n (ListItem(S:String) => .List)\n _:List\n \n // [stdout, stderr]\n ","att":{"node":"KAtt","att":{"label":"STDOUT-STREAM.stdoutBufferString","contentStartLine":"2788","priority":"25","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2787,3,2796,30]}}},{"node":"KBubble","sentenceType":"config","contents":" ListItem(#ostream(#stdout)) ListItem($IO:String) ListItem(#buffer(\"\")) ","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2764,3,2764,106],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2764","contentStartColumn":"17"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2759,1,2827,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"X1RssUm6lSuVOg+W8Q32VWCNda9HdxOpcVPaiAzEdLw="}}},{"node":"KFlatModule","name":"BYTES-SYNTAX","imports":[{"node":"KImport","name":"STRING-SYNTAX","isPublic":false}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"b[\\\"](([\\x20\\x21\\x23-\\x5B\\x5D-\\x7E])|([\\\\][tnfr\\\"\\\\])|([\\\\][x][0-9a-fA-F]{2}))*[\\\"]","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[1987,20,1987,137],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Bytes","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"BYTES.Bytes","org.kframework.attributes.Location":[1986,3,1986,35],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1983,1,1988,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"HGhkEsI1i3XA6C/e+ZL1qlK0+l0m3F47jHlK9Lh9xDc="}}},{"node":"KFlatModule","name":"STRING","imports":[{"node":"KImport","name":"STRING-KORE","isPublic":true},{"node":"KImport","name":"STRING-COMMON","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1914,1,1917,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"UKzjSiCmMez2OIJwgymX5LrIzKeoAwV+ul5a5DSq0MM="}}},{"node":"KFlatModule","name":"DEFAULT-LAYOUT","imports":[],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"_DEFAULT-LAYOUT_#Layout","params":[]},"productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"(\\/\\/[^\\n\\r]*)","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#Layout","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[513,24,513,45],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_DEFAULT-LAYOUT_#Layout","params":[]},"productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"([\\ \\n\\r\\t])","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#Layout","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[514,24,514,43],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_DEFAULT-LAYOUT_#Layout","params":[]},"productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"(\\/\\*([^\\*]|(\\*+([^\\*\\/])))*\\*+\\/)","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#Layout","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[512,24,512,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[511,1,515,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"QahWu5S5oYXowXdE9RMniNKGhTL7G1QCIXTkUlDi2m4="}}},{"node":"KFlatModule","name":"STDIN-STREAM","imports":[{"node":"KImport","name":"BOOL","isPublic":true},{"node":"KImport","name":"LIST","isPublic":true},{"node":"KImport","name":"K-REFLECTION","isPublic":true},{"node":"KImport","name":"K-IO","isPublic":true},{"node":"KImport","name":"INT","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"\n ListItem(#parseInput(_:String, Delimiters:String))\n ListItem(#buffer(S:String => S +String chrChar({#getc(N)}:>Int)))\n ListItem(\"on\")\n ListItem(#istream(N:Int))\n \n requires findChar(S, Delimiters, 0) ==Int -1 // [stdin]\n ","att":{"node":"KAtt","att":{"label":"STDIN-STREAM.stdinGetc","contentStartLine":"2687","priority":"200","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2686,3,2694,31]}}},{"node":"KBubble","sentenceType":"config","contents":" ListItem(#buffer($STDIN:String)) ListItem($IO:String) ListItem(#istream(#stdin)) ","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2683,3,2683,114],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"2683","contentStartColumn":"17"}}},{"node":"KBubble","sentenceType":"rule","contents":"\n (.List => ListItem(#parseInput(?Sort:String, ?Delimiters:String)))\n ListItem(#buffer(_:String))\n ...\n ","att":{"node":"KAtt","att":{"label":"STDIN-STREAM.stdinUnblock","contentStartLine":"2744","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2743,3,2748,16]}}},{"node":"KBubble","sentenceType":"rule","contents":"\n (ListItem(#parseInput(\"Int\", Delimiters:String))\n => ListItem(String2Int(substrString(S, 0, findChar(S, Delimiters, 0)))))\n ListItem(#buffer(S:String => substrString(S,findChar(S, Delimiters, 0) +Int 1, lengthString(S))))\n _:List\n \n requires findChar(S, Delimiters, 0) =/=Int -1\n andBool lengthString(S) >Int 1 // [stdin]\n ","att":{"node":"KAtt","att":{"label":"STDIN-STREAM.stdinParseInt","contentStartLine":"2708","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2707,3,2716,16]}}},{"node":"KBubble","sentenceType":"rule","contents":"\n ListItem(#parseInput(Sort:String, Delimiters:String))\n ListItem(#buffer(S:String => substrString(S, 1, lengthString(S))))\n _:List\n \n requires findChar(S, Delimiters, 0) =/=Int -1\n andBool Sort =/=String \"String\"\n andBool lengthString(S) <=Int 1 // [stdin]\n ","att":{"node":"KAtt","att":{"label":"STDIN-STREAM.stdinTrim","contentStartLine":"2719","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2718,3,2727,16]}}},{"node":"KBubble","sentenceType":"rule","contents":"\n (ListItem(#parseInput(\"String\", Delimiters:String)) => ListItem(S))\n ListItem(#buffer(S:String => \"\"))\n _:List\n \n requires findChar(S, Delimiters, 0) =/=Int -1 // [stdin]\n ","att":{"node":"KAtt","att":{"label":"STDIN-STREAM.stdinParseString","contentStartLine":"2698","stream":"","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2697,3,2704,16]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2676,1,2757,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"9XhZUf2LhShCOJ3m6CzPcOXraBJwNjtFmDm/atH3qbY="}}},{"node":"KFlatModule","name":"MAP-SYMBOLIC","imports":[{"node":"KImport","name":"MAP-KORE-SYMBOLIC","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[463,1,465,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"gk5oAmt6rIOnn1kR/fvi+4Ak+HRuqfEDjlOEhcbBKyU="}}},{"node":"KFlatModule","name":"STRING-BUFFER","imports":[{"node":"KImport","name":"STRING-BUFFER-HOOKED","isPublic":true},{"node":"KImport","name":"STRING-BUFFER-IN-K","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1963,1,1966,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"eH8rG6MrRONcZoSe7v3Fkv2yoEUHFh5bh9P24xHeQaA="}}},{"node":"KFlatModule","name":"K-TOP-SORT","imports":[{"node":"KImport","name":"SORT-KBOTT","isPublic":true}],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KBott","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[363,20,363,25],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[364,27,364,31],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[361,1,365,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"yk8jHTvB7QhXK+dxcMFAjX932Kx/ZMgQaZSTjwBQTew="}}},{"node":"KFlatModule","name":"IMP","imports":[{"node":"KImport","name":"SET","isPublic":true},{"node":"KImport","name":"IMP-SYNTAX","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":true},{"node":"KImport","name":"MAP","isPublic":true},{"node":"KImport","name":"INT","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"int .Ids; S => S","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[70,3,70,24],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"70","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"{S} => S","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[57,3,57,16],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"57","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"config","contents":"\n $PGM:Pgm \n .Map \n ","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[40,3,43,21],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"40","contentStartColumn":"17"}}},{"node":"KBubble","sentenceType":"rule","contents":"if (false) _ else S => S","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[64,3,64,32],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"64","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":" int (X,Xs => Xs);_ Rho:Map (.Map => X|->0) \n requires notBool (X in keys(Rho))","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[68,3,69,38],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"68","contentStartColumn":"8"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KResult","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[38,28,38,32],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 <= I2 => I1 <=Int I2","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[51,3,51,31],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"51","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 + I2 => I1 +Int I2","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[48,3,48,29],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"48","contentStartColumn":"8"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KResult","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[38,22,38,25],"org.kframework.attributes.Source":"../imp-llvm/imp.k"}}},{"node":"KBubble","sentenceType":"rule","contents":"{} => .K","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[56,3,56,16],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"56","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 / I2 => I1 /Int I2 requires I2 =/=Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[47,3,47,51],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"47","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"while (B) S => if (B) {S while (B) S} else {}","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[66,3,66,53],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"66","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":" X = I:Int; => .K ... ... X |-> (_ => I) ...","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[59,3,59,74],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"59","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"true && B => B","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[53,3,53,22],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"53","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"S1:Stmt S2:Stmt => S1 ~> S2","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[61,3,61,35],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"61","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"! T => notBool T","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[52,3,52,24],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"52","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"- I1 => 0 -Int I1","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[49,3,49,25],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"49","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"if (true) S else _ => S","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[63,3,63,32],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"63","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":" X:Id => I ... ... X |-> I ...","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[45,3,45,60],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"45","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"false && _ => false","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[54,3,54,27],"org.kframework.attributes.Source":"../imp-llvm/imp.k","contentStartLine":"54","contentStartColumn":"8"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[31,1,71,10],"org.kframework.attributes.Source":"../imp-llvm/imp.k","digest":"BAr2oRfc97XpPkrNMi/1TL16LufzJXtexzY06Q1wtpg="}}},{"node":"KFlatModule","name":"BYTES-CONCRETE","imports":[{"node":"KImport","name":"BYTES-HOOKED","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"concrete":"","org.kframework.attributes.Location":[2190,1,2192,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"ogFGOsVjDzsUbE54ABXmADoaxJIuDkdMFdVKvoEGt6Q="}}},{"node":"KFlatModule","name":"K-EQUAL-KORE","imports":[{"node":"KImport","name":"K-EQUAL-SYNTAX","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"{true #Equals K1 ==K K2} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2301","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2301,3,2301,68]}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 ==K K2 #Equals false} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2302","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2302,3,2302,75]}}},{"node":"KBubble","sentenceType":"rule","contents":"K1:Bool ==K K2:Bool => K1 ==Bool K2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2299","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2299,3,2299,60]}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals K1 ==K K2} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2303","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2303,3,2303,75]}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 ==K K2 #Equals true} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2300","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2300,3,2300,68]}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 =/=K K2 #Equals false} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2306","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2306,3,2306,70]}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 =/=K K2 #Equals true} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2304","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2304,3,2304,75]}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals K1 =/=K K2} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2307","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2307,3,2307,70]}}},{"node":"KBubble","sentenceType":"rule","contents":"{true #Equals K1 =/=K K2} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"2305","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2305,3,2305,75]}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[2295,1,2309,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"x7PrwVf+zkfd946Vl0aB6aFsd8o81zTPa9wTeXKIuHA="}}},{"node":"KFlatModule","name":"DOMAINS","imports":[{"node":"KImport","name":"SET","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":true},{"node":"KImport","name":"LIST","isPublic":true},{"node":"KImport","name":"ID","isPublic":true},{"node":"KImport","name":"INT","isPublic":true},{"node":"KImport","name":"BASIC-K","isPublic":true},{"node":"KImport","name":"STRING","isPublic":true},{"node":"KImport","name":"K-EQUAL","isPublic":true},{"node":"KImport","name":"DOMAINS-SYNTAX","isPublic":true},{"node":"KImport","name":"MAP","isPublic":true},{"node":"KImport","name":"K-IO","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[47,1,59,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"ULG+TUW+rRWWQeEgK2hv9V5EtM11manIpujSzITCSBM="}}},{"node":"KFlatModule","name":"MINT-SYNTAX","imports":[],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[\\+\\-]?[0-9]+[pP][0-9]+","followRegex":"#"}],"params":[{"node":"KSort","name":"Width","params":[]}],"sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"att":{"node":"KAtt","att":{"prec":"2","hook":"MINT.literal","token":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2852,34,2852,97]}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"MInt","params":[{"node":"KSort","name":"Width","params":[]}]},"params":[{"node":"KSort","name":"Width","params":[]}],"att":{"node":"KAtt","att":{"hook":"MINT.MInt","org.kframework.attributes.Location":[2849,3,2849,47],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2846,1,2853,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"G4lIZqEz/slCUtay1kUbQHKLut1l1wbWmxn3eMbmiLg="}}},{"node":"KFlatModule","name":"INT-SYMBOLIC-KORE","imports":[{"node":"KImport","name":"ML-SYNTAX","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"INT-COMMON","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@I1:Int /Int @I2:Int) => {(@I2 =/=Int 0) #Equals true} #And #Ceil(@I1) #And #Ceil(@I2) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1377","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1377,3,1377,119]}}},{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@I1:Int < {(@I2 >=Int 0) #Equals true} #And #Ceil(@I1) #And #Ceil(@I2) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1381","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1381,3,1381,119]}}},{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@I1:Int %Int @I2:Int) => {(@I2 =/=Int 0) #Equals true} #And #Ceil(@I1) #And #Ceil(@I2) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1378","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1378,3,1378,119]}}},{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@I1:Int >>Int @I2:Int) => {(@I2 >=Int 0) #Equals true} #And #Ceil(@I1) #And #Ceil(@I2) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1380","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1380,3,1380,119]}}},{"node":"KBubble","sentenceType":"rule","contents":"#Ceil(@I1:Int modInt @I2:Int) => {(@I2 =/=Int 0) #Equals true} #And #Ceil(@I1) #And #Ceil(@I2) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1379","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1379,3,1379,119]}}}],"att":{"node":"KAtt","att":{"haskell":"","digest":"lRb00oAL6kxVzYgdX6YMGIaaRk+0QMp+tbcUMJzwpH0=","symbolic":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1371,1,1382,10]}}},{"node":"KFlatModule","name":"ARRAY-SYNTAX","imports":[{"node":"KImport","name":"LIST","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_]_ARRAY-SYNTAX_KItem_Array_Int","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Array","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[86,20,86,48],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_in_keys(_)_ARRAY-SYNTAX_Bool_Int_Array","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"in_keys"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Array","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"function":"","total":"","org.kframework.attributes.Location":[132,19,132,64],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Array","params":[]},"params":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[76,3,76,15],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_<-undef]_ARRAY-SYNTAX_Array_Array_Int","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Array","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"<-"},{"node":"KTerminal","value":"undef"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"Array","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[104,20,104,61],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"updateArray(_,_,_)_ARRAY-SYNTAX_Array_Array_Int_List","params":[]},"productionItems":[{"node":"KTerminal","value":"updateArray"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Array","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Array","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[115,20,115,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"fillArray(_,_,_,_)_ARRAY-SYNTAX_Array_Array_Int_Int_KItem","params":[]},"productionItems":[{"node":"KTerminal","value":"fillArray"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Array","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Array","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[124,20,124,86],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_<-_]","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Array","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"key"},{"node":"KTerminal","value":"<-"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"Array","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","klabel":"_[_<-_]","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[95,20,95,96]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[73,1,136,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"WWDc6CRdcqfksuBhznq7p8b9+OiVgP0b8dvfNgTZ0Eo="}}},{"node":"KFlatModule","name":"ML-SYNTAX","imports":[{"node":"KImport","name":"SORT-K","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#Bottom","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Bottom"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlUnary","symbol":"","klabel":"#Bottom","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[140,26,140,77]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Or","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"#Or"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlOp","left":"","assoc":"","comm":"","mlOp":"","klabel":"#Or","format":"%i%1%d%n%2%n%i%3%d","unit":"#Bottom","symbol":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[150,26,150,144]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["#And"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Floor","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Floor"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort2","params":[]},"att":{"node":"KAtt","att":{"group":"mlUnary, mlOp","symbol":"","mlOp":"","klabel":"#Floor","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[144,35,144,110]}}},{"node":"KSyntaxPriority","priorities":[["#Implies"],["#Forall","#Exists"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Equals","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"{"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":"#Equals"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":"}"}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort2","params":[]},"att":{"node":"KAtt","att":{"group":"mlEquals, mlOp","symbol":"","comm":"","mlOp":"","klabel":"#Equals","format":"%1%i%n%2%d%n%3%i%n%4%d%n%5","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[145,35,145,161]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"weakAlwaysFinally","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#wAF"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlOp","symbol":"","mlOp":"","klabel":"weakAlwaysFinally","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[160,26,160,100]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Exists","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Exists"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":"."},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort2","params":[]}}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort2","params":[]},"att":{"node":"KAtt","att":{"group":"mlQuantifier, mlOp","symbol":"","mlOp":"","klabel":"#Exists","mlBinder":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[155,35,155,129]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Top","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Top"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlUnary","symbol":"","klabel":"#Top","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[139,26,139,71]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Forall","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Forall"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":"."},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort2","params":[]}}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort2","params":[]},"att":{"node":"KAtt","att":{"group":"mlQuantifier, mlOp","symbol":"","mlOp":"","klabel":"#Forall","mlBinder":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[156,35,156,129]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"weakExistsFinally","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#wEF"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlOp","symbol":"","mlOp":"","klabel":"weakExistsFinally","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[159,26,159,100]}}},{"node":"KSyntaxPriority","priorities":[["#Ceil","#Floor","#Top","#Not","#Bottom"],["#Equals"],["#And"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#AG","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#AG"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlOp","symbol":"","mlOp":"","klabel":"#AG","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[158,26,158,85]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Implies","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"#Implies"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlImplies, mlOp","symbol":"","mlOp":"","klabel":"#Implies","format":"%i%1%d%n%2%n%i%3%d","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[151,26,151,131]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Ceil","params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Ceil"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort1","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort1","params":[]},{"node":"KSort","name":"Sort2","params":[]}],"sort":{"node":"KSort","name":"Sort2","params":[]},"att":{"node":"KAtt","att":{"group":"mlUnary, mlOp","symbol":"","mlOp":"","klabel":"#Ceil","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[143,35,143,108]}}},{"node":"KSyntaxPriority","priorities":[["#And"],["#Or"],["#Implies"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#Not","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#Not"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlUnary, mlOp","symbol":"","mlOp":"","klabel":"#Not","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[141,26,141,96]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#And","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":"#And"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"group":"mlAnd, mlOp","left":"","assoc":"","comm":"","mlOp":"","klabel":"#And","format":"%i%1%d%n%2%n%i%3%d","unit":"#Top","symbol":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[149,26,149,150]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["#Or"],"att":{"node":"KAtt","att":{}}}],"att":{"node":"KAtt","att":{"not-lr1":"","org.kframework.attributes.Location":[136,1,161,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"2BWYOckO6QR3U1Ha5LoWj6Z02KP2seh0PIaM53935BY="}}},{"node":"KFlatModule","name":"INT","imports":[{"node":"KImport","name":"K-EQUAL","isPublic":false},{"node":"KImport","name":"INT-SYMBOLIC","isPublic":true},{"node":"KImport","name":"INT-KORE","isPublic":true},{"node":"KImport","name":"INT-COMMON","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"signExtendBitRangeInt(I::Int, IDX::Int, LEN::Int) => (bitRangeInt(I, IDX, LEN) +Int (1 < I","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1442,3,1442,28],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1442","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"minInt(I1:Int, I2:Int) => I1 requires I1 <=Int I2","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1435,3,1435,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1435","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1:Int modInt I2:Int\n =>\n ((I1 %Int absInt(I2)) +Int absInt(I2)) %Int absInt(I2)\n requires I2 =/=Int 0 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1430","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1429,3,1433,53],"contentStartColumn":"5","concrete":""}}},{"node":"KBubble","sentenceType":"rule","contents":"I1:Int =/=Int I2:Int => notBool (I1 ==Int I2)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1438,3,1438,53],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1438","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"minInt(I1:Int, I2:Int) => I2 requires I1 >=Int I2","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1436,3,1436,57],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1436","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"bitRangeInt(I::Int, IDX::Int, LEN::Int) => (I >>Int IDX) modInt (1 < (I1 -Int (I1 modInt I2)) /Int I2\n requires I2 =/=Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1427,3,1428,23],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1427","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"freshInt(_)_INT_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"freshInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","freshGenerator":"","function":"","private":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1441,18,1441,77]}}},{"node":"KBubble","sentenceType":"rule","contents":"(I1:Int dividesInt I2:Int) => (I2 %Int I1) ==Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1439,3,1439,58],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1439","contentStartColumn":"8"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1416,1,1443,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"OGBaMSqI6ew7j9i3tqM2JQmoMYPGAI9BIN6r5yPxjJo="}}},{"node":"KFlatModule","name":"REQUIRES-ENSURES","imports":[{"node":"KImport","name":"BASIC-K","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#ruleNoConditions","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#RuleBody","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#RuleContent","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ruleNoConditions","symbol":"","org.kframework.attributes.Location":[346,27,346,106],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ruleRequiresEnsures","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#RuleBody","params":[]}},{"node":"KTerminal","value":"requires"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}},{"node":"KTerminal","value":"ensures"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#RuleContent","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ruleRequiresEnsures","symbol":"","org.kframework.attributes.Location":[349,27,349,109],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#RuleBody","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[344,24,344,25],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ruleRequires","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#RuleBody","params":[]}},{"node":"KTerminal","value":"requires"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#RuleContent","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ruleRequires","symbol":"","org.kframework.attributes.Location":[347,27,347,102],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#ruleEnsures","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#RuleBody","params":[]}},{"node":"KTerminal","value":"ensures"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bool","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#RuleContent","params":[]},"att":{"node":"KAtt","att":{"klabel":"#ruleEnsures","symbol":"","org.kframework.attributes.Location":[348,27,348,101],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[341,1,350,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"9mFX7dRf+oPE7GKZntrP9ZOQ7AtkYrBM40wcpotzHKU="}}},{"node":"KFlatModule","name":"INT-COMMON","imports":[{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"INT-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"_%Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"%Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","left":"","smt-hook":"mod","klabel":"_%Int_","hook":"INT.tmod","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1246,18,1246,120]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_^Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"^Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","left":"","smt-hook":"^","klabel":"_^Int_","hook":"INT.pow","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1239,18,1239,117]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"~Int_","params":[]},"productionItems":[{"node":"KTerminal","value":"~Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"smtlib":"notInt","symbol":"","total":"","function":"","klabel":"~Int_","hook":"INT.not","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1237,18,1237,120]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_<>Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"maxInt(_,_)_INT-COMMON_Int_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"maxInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"(ite (< #1 #2) #2 #1)","total":"","function":"","hook":"INT.max","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1270,18,1270,114]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_/Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"/Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","left":"","smt-hook":"div","klabel":"_/Int_","hook":"INT.tdiv","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1245,18,1245,120]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"srandInt(_)_INT-COMMON_K_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"srandInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"K","params":[]},"att":{"node":"KAtt","att":{"impure":"","function":"","hook":"INT.srand","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1338,16,1338,65]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=/=Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"=/=Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"distinct","symbol":"","total":"","comm":"","function":"","klabel":"_=/=Int_","hook":"INT.ne","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1318,19,1318,126]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_-Int_","_+Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_*Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"*Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","comm":"","function":"","left":"","smt-hook":"*","klabel":"_*Int_","hook":"INT.mul","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1242,18,1242,130]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_^%Int__"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_/Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"absInt(_)_INT-COMMON_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"absInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"(ite (< #1 0) (- 0 #1) #1)","total":"","function":"","hook":"INT.abs","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1278,18,1278,119]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_^Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_^Int_","_^%Int__"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"<=Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"<=","symbol":"","total":"","function":"","klabel":"_<=Int_","hook":"INT.le","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1313,19,1313,113]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_+Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_|Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":">Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":">","symbol":"","total":"","function":"","klabel":"_>Int_","hook":"INT.gt","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1316,19,1316,111]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_xorInt_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_==Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"==Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":"=","symbol":"","total":"","comm":"","function":"","klabel":"_==Int_","hook":"INT.eq","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1317,19,1317,118]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>>Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":">>Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"left":"","smtlib":"shrInt","symbol":"","function":"","klabel":"_>>Int_","hook":"INT.shr","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1254,18,1254,121]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":">=Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"smt-hook":">=","symbol":"","total":"","function":"","klabel":"_>=Int_","hook":"INT.ge","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1315,19,1315,113]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_%Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"log2Int(_)_INT-COMMON_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"log2Int"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"INT.log2","org.kframework.attributes.Location":[1289,18,1289,75],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_divInt_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_-Int_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"-Int"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","left":"","smt-hook":"-","klabel":"_-Int_","hook":"INT.sub","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1252,18,1252,124]}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_>>Int_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"bitRangeInt(_,_,_)_INT-COMMON_Int_Int_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"bitRangeInt"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"INT.bitRange","org.kframework.attributes.Location":[1303,18,1303,103],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_dividesInt__INT-COMMON_Bool_Int_Int","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"dividesInt"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"function":"","org.kframework.attributes.Location":[1327,19,1327,53],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_<>Int_"],["_&Int_"],["_xorInt_"],["_|Int_"]],"att":{"node":"KAtt","att":{}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1207,1,1350,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"MFq5U4aABSoUuvJmzFhlSolaV1R97wH924rAZLukPHk="}}},{"node":"KFlatModule","name":"SORT-KBOTT","imports":[{"node":"KImport","name":"SORT-K","isPublic":true}],"localSentences":[{"node":"KSyntaxSort","sort":{"node":"KSort","name":"KBott","params":[]},"params":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[70,3,70,15],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[68,1,71,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"mYzTFEZOmAIiUtGzOWmOsUQEQ2s9bU5Q4chLCUpKwZk="}}},{"node":"KFlatModule","name":"STRING-COMMON","imports":[{"node":"KImport","name":"K-EQUAL","isPublic":false},{"node":"KImport","name":"FLOAT-SYNTAX","isPublic":false},{"node":"KImport","name":"BOOL","isPublic":false},{"node":"KImport","name":"INT","isPublic":false},{"node":"KImport","name":"STRING-SYNTAX","isPublic":true}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"String2Bool(\"true\") => true","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1778,3,1778,36],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1778","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"S1:String >String S2:String => S2 false","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1779,3,1779,37],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1779","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Int2String(_)_STRING-COMMON_String_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"Int2String"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.int2string","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1820,21,1820,99]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Float2String(_)_STRING-COMMON_String_Float","params":[]},"productionItems":[{"node":"KTerminal","value":"Float2String"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Float","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.float2string","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1798,21,1798,101]}}},{"node":"KBubble","sentenceType":"rule","contents":"replaceAll(Source:String, ToReplace:String, Replacement:String) => replace(Source, ToReplace, Replacement, countAllOccurrences(Source, ToReplace))","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1902,3,1902,154],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1902","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"replaceFirst(_,_,_)_STRING-COMMON_String_String_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"replaceFirst"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needle"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"replacement"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.replaceFirst","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1839,21,1839,151]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=String__STRING-COMMON_Bool_String_String","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":"<=String"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.le","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1855,19,1855,78]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"String2Float(_)_STRING-COMMON_Float_String","params":[]},"productionItems":[{"node":"KTerminal","value":"String2Float"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Float","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.string2float","org.kframework.attributes.Location":[1800,21,1800,94],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"lengthString(_)_STRING-COMMON_Int_String","params":[]},"productionItems":[{"node":"KTerminal","value":"lengthString"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.length","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1718,18,1718,80]}}},{"node":"KBubble","sentenceType":"rule","contents":"replaceFirst(Source:String, ToReplace:String, Replacement:String) => substrString(Source, 0, findString(Source, ToReplace, 0))\n +String Replacement +String substrString(Source, findString(Source, ToReplace, 0) +Int lengthString(ToReplace), lengthString(Source))\n requires findString(Source, ToReplace, 0) >=Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1886,3,1888,66],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1886","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"replaceAll(_,_,_)_STRING-COMMON_String_String_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"replaceAll"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needle"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"replacement"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.replaceAll","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1837,21,1837,149]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"rfindString(_,_,_)_STRING-COMMON_Int_String_String_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"rfindString"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needle"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.rfind","org.kframework.attributes.Location":[1754,18,1754,112],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"S1:String <=String S2:String => notBool (S2 Source\n requires Count >=Int 0 ","att":{"node":"KAtt","att":{"owise":"","contentStartLine":"1900","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1900,3,1901,39]}}},{"node":"KBubble","sentenceType":"rule","contents":"S1:String =/=String S2:String => notBool (S1 ==String S2)","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1852,3,1852,65],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1852","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"findChar(_, \"\", _) => -1","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1877,3,1877,32],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1877","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"findChar(_,_,_)_STRING-COMMON_Int_String_String_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"findChar"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needles"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.findChar","org.kframework.attributes.Location":[1764,18,1764,116],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"findString(_,_,_)_STRING-COMMON_Int_String_String_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"findString"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needle"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.find","org.kframework.attributes.Location":[1753,18,1753,111],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_+String__STRING-COMMON_String_String_String"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_ 1 +Int countAllOccurrences(substrString(Source, findString(Source, ToCount, 0) +Int lengthString(ToCount), lengthString(Source)), ToCount)\n requires findString(Source, ToCount, 0) >=Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1883,3,1884,60],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1883","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"Bool2String(true) => \"true\"","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1772,3,1772,36],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1772","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_>String__STRING-COMMON_Bool_String_String","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":">String"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.gt","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1856,19,1856,78]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"categoryChar(_)_STRING-COMMON_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"categoryChar"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.category","org.kframework.attributes.Location":[1867,21,1867,81],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"directionalityChar(_)_STRING-COMMON_String_String","params":[]},"productionItems":[{"node":"KTerminal","value":"directionalityChar"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.directionality","org.kframework.attributes.Location":[1868,21,1868,87],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"rfindChar(S1:String, S2:String, I:Int) => maxInt(rfindString(S1, substrString(S2, 0, 1), I), rfindChar(S1, substrString(S2, 1, lengthString(S2)), I)) requires S2 =/=String \"\"","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1878,3,1878,182],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1878","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_=/=String__STRING-COMMON_Bool_String_String","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":"=/=String"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","comm":"","function":"","hook":"STRING.ne","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1851,19,1851,85]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"String2Int(_)_STRING-COMMON_Int_String","params":[]},"productionItems":[{"node":"KTerminal","value":"String2Int"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.string2int","org.kframework.attributes.Location":[1819,21,1819,92],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"findChar(S1:String, S2:String, I:Int) => #if findString(S1, substrString(S2, 0, 1), I) ==Int -1 #then findChar(S1, substrString(S2, 1, lengthString(S2)), I) #else #if findChar(S1, substrString(S2, 1, lengthString(S2)), I) ==Int -1 #then findString(S1, substrString(S2, 0, 1), I) #else minInt(findString(S1, substrString(S2, 0, 1), I), findChar(S1, substrString(S2, 1, lengthString(S2)), I)) #fi #fi requires S2 =/=String \"\"","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1876,3,1876,431],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1876","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"S1:String >=String S2:String => notBool (S1 =String__STRING-COMMON_Bool_String_String","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":">=String"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"STRING.ge","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1857,19,1857,78]}}},{"node":"KBubble","sentenceType":"rule","contents":"countAllOccurrences(Source:String, ToCount:String) => 0\n requires findString(Source, ToCount, 0) \"false\"","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1773,3,1773,37],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1773","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"rfindChar(_,_,_)_STRING-COMMON_Int_String_String_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"rfindChar"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needles"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.rfindChar","org.kframework.attributes.Location":[1765,18,1765,117],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"replace(_,_,_,_)_STRING-COMMON_String_String_String_String_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"replace"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"haystack"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"needle"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]},"name":"replacement"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"times"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"STRING.replace","org.kframework.attributes.Location":[1838,21,1838,146],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KBubble","sentenceType":"rule","contents":"replaceFirst(Source:String, ToReplace:String, _:String) => Source\n requires findString(Source, ToReplace, 0) \n substrString(Source, 0, findString(Source, ToReplace, 0)) +String Replacement +String\n replace(substrString(Source, findString(Source, ToReplace, 0) +Int lengthString(ToReplace), lengthString(Source)), ToReplace, Replacement, Count -Int 1)\n requires Count >Int 0 andBool findString(Source, ToReplace, 0) >=Int 0","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1896,3,1899,79],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1896","contentStartColumn":"8"}}},{"node":"KBubble","sentenceType":"rule","contents":"rfindChar(_, \"\", _) => -1","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1879,3,1879,33],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"1879","contentStartColumn":"8"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1696,1,1904,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"bEMLSP+R+UkHDrRp9YJPeLLY3yuVRS7/6jXlha+6IG0="}}},{"node":"KFlatModule","name":"STRING-BUFFER-HOOKED","imports":[{"node":"KImport","name":"STRING","isPublic":true},{"node":"KImport","name":"BASIC-K","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"StringBuffer2String(_)_STRING-BUFFER-HOOKED_String_StringBuffer","params":[]},"productionItems":[{"node":"KTerminal","value":"StringBuffer2String"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"StringBuffer","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BUFFER.toString","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1960,21,1960,98]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".StringBuffer_STRING-BUFFER-HOOKED_StringBuffer","params":[]},"productionItems":[{"node":"KTerminal","value":".StringBuffer"}],"params":[],"sort":{"node":"KSort","name":"StringBuffer","params":[]},"att":{"node":"KAtt","att":{"total":"","impure":"","function":"","hook":"BUFFER.empty","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1958,27,1958,88]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_+String__STRING-BUFFER-HOOKED_StringBuffer_StringBuffer_String","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"StringBuffer","params":[]}},{"node":"KTerminal","value":"+String"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}}],"params":[],"sort":{"node":"KSort","name":"StringBuffer","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BUFFER.concat","avoid":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1959,27,1959,102]}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"StringBuffer","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"BUFFER.StringBuffer","org.kframework.attributes.Location":[1957,3,1957,50],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"concrete":"","org.kframework.attributes.Location":[1953,1,1961,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"PTyN9QGqDuvwjwMChcKUEXrJ3wHEFeQSWluzjKcy4+A="}}},{"node":"KFlatModule","name":"LIST","imports":[{"node":"KImport","name":"INT-SYNTAX","isPublic":false},{"node":"KImport","name":"BASIC-K","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"updateList(_,_,_)_LIST_List_List_Int_List","params":[]},"productionItems":[{"node":"KTerminal","value":"updateList"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]},"name":"dest"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]},"name":"src"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"LIST.updateAll","org.kframework.attributes.Location":[993,19,993,97],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_in__LIST_Bool_KItem_List","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"in"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","klabel":"_inList_","hook":"LIST.in","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1021,19,1021,97]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_List_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"left":"","total":"","function":"","element":"ListItem","format":"%1%n%2","smtlib":"smt_seq_concat","assoc":"","unit":".List","symbol":"","klabel":"_List_","hook":"LIST.concat","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[929,19,929,188]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"List:range","params":[]},"productionItems":[{"node":"KTerminal","value":"range"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fromFront"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"fromBack"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","klabel":"List:range","hook":"LIST.range","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1012,19,1012,120]}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"List","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"LIST.List","org.kframework.attributes.Location":[913,3,913,32],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_<-_]_LIST_List_List_Int_KItem","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":"<-"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","klabel":"List:set","hook":"LIST.update","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[974,19,974,108]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"pushList","params":[]},"productionItems":[{"node":"KTerminal","value":"pushList"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":"pushList","hook":"LIST.push","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[953,19,953,107]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"makeList(_,_)_LIST_List_Int_KItem","params":[]},"productionItems":[{"node":"KTerminal","value":"makeList"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"LIST.make","org.kframework.attributes.Location":[983,19,983,82],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_List_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".List","params":[]},"productionItems":[{"node":"KTerminal","value":".List"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"smtlib":"smt_seq_nil","symbol":"","total":"","function":"","klabel":".List","hook":"LIST.unit","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[937,19,937,121]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"fillList(_,_,_,_)_LIST_List_List_Int_Int_KItem","params":[]},"productionItems":[{"node":"KTerminal","value":"fillList"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"LIST.fill","org.kframework.attributes.Location":[1002,19,1002,100],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"size(_)_LIST_Int_List","params":[]},"productionItems":[{"node":"KTerminal","value":"size"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"smtlib":"smt_seq_len","total":"","function":"","klabel":"sizeList","hook":"LIST.size","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1029,18,1029,117]}}},{"node":"KBubble","sentenceType":"rule","contents":"pushList(K::KItem, L1::List) => ListItem(K) L1","att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[954,3,954,54],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","contentStartLine":"954","contentStartColumn":"8"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"ListItem","params":[]},"productionItems":[{"node":"KTerminal","value":"ListItem"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"smtlib":"smt_seq_elem","symbol":"","total":"","function":"","klabel":"ListItem","hook":"LIST.element","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[945,19,945,132]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"List:get","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"List","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","klabel":"List:get","hook":"LIST.get","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[965,20,965,99]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[909,1,1033,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"YaTJmPj95yNzJJZkmQzUcGNKQtljAYMLZSG3Zzu19Sc="}}},{"node":"KFlatModule","name":"BYTES-HOOKED","imports":[{"node":"KImport","name":"BYTES-SYNTAX","isPublic":true},{"node":"KImport","name":"BYTES-STRING-ENCODE","isPublic":true},{"node":"KImport","name":"STRING-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"bigEndianBytes","params":[]},"productionItems":[{"node":"KTerminal","value":"BE"}],"params":[],"sort":{"node":"KSort","name":"Endianness","params":[]},"att":{"node":"KAtt","att":{"klabel":"bigEndianBytes","symbol":"","org.kframework.attributes.Location":[2028,25,2028,62],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Bytes2String(_)_BYTES-HOOKED_String_Bytes","params":[]},"productionItems":[{"node":"KTerminal","value":"Bytes2String"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"String","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BYTES.bytes2string","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2078,21,2078,84]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_+Bytes__BYTES-HOOKED_Bytes_Bytes_Bytes","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":"+Bytes"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.concat","total":"","right":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2179,20,2179,85]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"String2Bytes(_)_BYTES-HOOKED_Bytes_String","params":[]},"productionItems":[{"node":"KTerminal","value":"String2Bytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BYTES.string2bytes","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2079,20,2079,84]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"memsetBytes(_,_,_,_)_BYTES-HOOKED_Bytes_Bytes_Int_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"memsetBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]},"name":"dest"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"count"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"v"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.memset","org.kframework.attributes.Location":[2137,20,2137,107],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Bytes2Int(_,_,_)_BYTES-HOOKED_Int_Bytes_Endianness_Signedness","params":[]},"productionItems":[{"node":"KTerminal","value":"Bytes2Int"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Endianness","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Signedness","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BYTES.bytes2int","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2066,18,2066,99]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_<-_]_BYTES-HOOKED_Bytes_Bytes_Int_Int","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":"<-"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"value"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.update","org.kframework.attributes.Location":[2090,20,2090,91],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"signedBytes","params":[]},"productionItems":[{"node":"KTerminal","value":"Signed"}],"params":[],"sort":{"node":"KSort","name":"Signedness","params":[]},"att":{"node":"KAtt","att":{"klabel":"signedBytes","symbol":"","org.kframework.attributes.Location":[2037,25,2037,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_]_BYTES-HOOKED_Int_Bytes_Int","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.get","org.kframework.attributes.Location":[2099,18,2099,63],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Right","tags":["_+Bytes__BYTES-HOOKED_Bytes_Bytes_Bytes"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"reverseBytes(_)_BYTES-HOOKED_Bytes_Bytes","params":[]},"productionItems":[{"node":"KTerminal","value":"reverseBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BYTES.reverse","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2161,20,2161,78]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"padRightBytes(_,_,_)_BYTES-HOOKED_Bytes_Bytes_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"padRightBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.padRight","org.kframework.attributes.Location":[2150,20,2150,98],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Int2Bytes(_,_,_)_BYTES-HOOKED_Bytes_Int_Endianness_Signedness","params":[]},"productionItems":[{"node":"KTerminal","value":"Int2Bytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Endianness","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Signedness","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","klabel":"Int2BytesNoLen","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2068,20,2068,100]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"substrBytes(_,_,_)_BYTES-HOOKED_Bytes_Bytes_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"substrBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"startIndex"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"endIndex"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.substr","org.kframework.attributes.Location":[2111,20,2111,101],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"littleEndianBytes","params":[]},"productionItems":[{"node":"KTerminal","value":"LE"}],"params":[],"sort":{"node":"KSort","name":"Endianness","params":[]},"att":{"node":"KAtt","att":{"klabel":"littleEndianBytes","symbol":"","org.kframework.attributes.Location":[2027,25,2027,65],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"replaceAtBytes(_,_,_)_BYTES-HOOKED_Bytes_Bytes_Int_Bytes","params":[]},"productionItems":[{"node":"KTerminal","value":"replaceAtBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]},"name":"dest"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"index"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]},"name":"src"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.replaceAt","org.kframework.attributes.Location":[2123,20,2123,105],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Int2Bytes(_,_,_)_BYTES-HOOKED_Bytes_Int_Int_Endianness","params":[]},"productionItems":[{"node":"KTerminal","value":"Int2Bytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Endianness","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BYTES.int2bytes","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2067,20,2067,100]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".Bytes_BYTES-HOOKED_Bytes","params":[]},"productionItems":[{"node":"KTerminal","value":".Bytes"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"BYTES.empty","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2017,20,2017,65]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"unsignedBytes","params":[]},"productionItems":[{"node":"KTerminal","value":"Unsigned"}],"params":[],"sort":{"node":"KSort","name":"Signedness","params":[]},"att":{"node":"KAtt","att":{"klabel":"unsignedBytes","symbol":"","org.kframework.attributes.Location":[2038,25,2038,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"lengthBytes(_)_BYTES-HOOKED_Int_Bytes","params":[]},"productionItems":[{"node":"KTerminal","value":"lengthBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"smtlib":"lengthBytes","total":"","function":"","hook":"BYTES.length","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[2169,18,2169,95]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"padLeftBytes(_,_,_)_BYTES-HOOKED_Bytes_Bytes_Int_Int","params":[]},"productionItems":[{"node":"KTerminal","value":"padLeftBytes"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Bytes","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"length"},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]},"name":"value"},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bytes","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"BYTES.padLeft","org.kframework.attributes.Location":[2151,20,2151,96],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[2006,1,2181,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"q7uAuReruo8UDkdRmhSSw+yWRvGnjMELoXDN6urxu88="}}},{"node":"KFlatModule","name":"SET-SYMBOLIC","imports":[{"node":"KImport","name":"SET-KORE-SYMBOLIC","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[893,1,895,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"DqMm3uYHidC6AoEis14YAiFD2qtOLZ+17wrmtErb0XQ="}}},{"node":"KFlatModule","name":"BUILTIN-ID-TOKENS","imports":[],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[a-z][a-zA-Z0-9]*","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#LowerId","params":[]},"att":{"node":"KAtt","att":{"prec":"2","token":"","org.kframework.attributes.Location":[64,23,64,79],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[A-Z][a-zA-Z0-9]*","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#UpperId","params":[]},"att":{"node":"KAtt","att":{"prec":"2","token":"","org.kframework.attributes.Location":[65,23,65,79],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[63,1,66,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"/99H3owdhBQOyynByjmemNq1DkW5pJFycvp958aSSUU="}}},{"node":"KFlatModule","name":"ARRAY","imports":[{"node":"KImport","name":"ARRAY-KORE","isPublic":true},{"node":"KImport","name":"ARRAY-SYMBOLIC","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[196,1,199,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"5hS0VDcoSgKGaIVL/tvXjvsV2tANyv6mKqyhpTbgXIY="}}},{"node":"KFlatModule","name":"SORT-K","imports":[],"localSentences":[{"node":"KSyntaxSort","sort":{"node":"KSort","name":"K","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"K.K","org.kframework.attributes.Location":[27,3,27,23],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[26,1,28,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"ckybQDoW3lupp9Jaq14Mywas3AdxNTkBtgcsdMM6ZZ8="}}},{"node":"KFlatModule","name":"K-LOCATIONS","imports":[{"node":"KImport","name":"STRING-SYNTAX","isPublic":true},{"node":"KImport","name":"INT-SYNTAX","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#location","params":[{"node":"KSort","name":"Sort","params":[]}]},"productionItems":[{"node":"KTerminal","value":"#location"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Sort","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"String","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Int","params":[]}},{"node":"KTerminal","value":")"}],"params":[{"node":"KSort","name":"Sort","params":[]}],"sort":{"node":"KSort","name":"Sort","params":[]},"att":{"node":"KAtt","att":{"symbol":"","klabel":"#location","format":"%3","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[569,26,569,109]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[564,1,571,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"oe55Yn8iHmaC4E/fTVZBonohrCiVLsMuLXlKxVjobUg="}}},{"node":"KFlatModule","name":"BOOL","imports":[{"node":"KImport","name":"BOOL-COMMON","isPublic":true},{"node":"KImport","name":"BOOL-KORE","isPublic":true}],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[1176,1,1179,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"RdEgTFZlwJdEvHFWhkT1TCy32jqjhDpuCuAJMymVXp8="}}},{"node":"KFlatModule","name":"KSTRING","imports":[],"localSentences":[{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[\\\"](([^\\\"\\n\\r\\\\])|([\\\\][nrtf\\\"\\\\])|([\\\\][x][0-9a-fA-F]{2})|([\\\\][u][0-9a-fA-F]{4})|([\\\\][U][0-9a-fA-F]{8}))*[\\\"]","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"KString","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[59,22,59,173],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[58,1,61,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"CZRMkUWit9YS8OyP6FODwAGIFHK2Jsd3MZjHC2ZeXYY="}}},{"node":"KFlatModule","name":"INT-KORE","imports":[{"node":"KImport","name":"K-EQUAL","isPublic":false},{"node":"KImport","name":"INT-COMMON","isPublic":true},{"node":"KImport","name":"BOOL","isPublic":false}],"localSentences":[{"node":"KBubble","sentenceType":"rule","contents":"{true #Equals K1 ==Int K2} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1391","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1391,3,1391,70]}}},{"node":"KBubble","sentenceType":"rule","contents":"{true #Equals K1 =/=Int K2} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1395","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1395,3,1395,77]}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 +Int (I2 -Int C) => (I1 +Int I2) -Int C ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1407","symbolic":"C","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1407,3,1407,98],"contentStartColumn":"8","concrete":"I1, I2"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 +Int (B +Int I3) => B +Int (I1 +Int I3) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1404","symbolic":"B","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1404,3,1404,98],"contentStartColumn":"8","concrete":"I1, I3"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 -Int (I2 -Int C) => (I1 -Int I2) +Int C ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1410","symbolic":"C","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1410,3,1410,98],"contentStartColumn":"8","concrete":"I1, I2"}}},{"node":"KBubble","sentenceType":"rule","contents":"A -Int I => A +Int (0 -Int I) ","att":{"node":"KAtt","att":{"simplification":"51","contentStartLine":"1401","symbolic":"A","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1401,3,1401,84],"contentStartColumn":"8","concrete":"I"}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals K1 ==Int K2} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1393","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1393,3,1393,77]}}},{"node":"KBubble","sentenceType":"rule","contents":"(I1 -Int B) +Int I3 => (I1 +Int I3) -Int B ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1408","symbolic":"B","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1408,3,1408,98],"contentStartColumn":"8","concrete":"I1, I3"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 -Int (I2 +Int C) => (I1 -Int I2) -Int C ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1409","symbolic":"C","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1409,3,1409,98],"contentStartColumn":"8","concrete":"I1, I2"}}},{"node":"KBubble","sentenceType":"rule","contents":"I +Int B => B +Int I ","att":{"node":"KAtt","att":{"simplification":"51","contentStartLine":"1400","symbolic":"B","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1400,3,1400,84],"contentStartColumn":"8","concrete":"I"}}},{"node":"KBubble","sentenceType":"rule","contents":"(C -Int I2) -Int I3 => C -Int (I2 +Int I3) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1411","symbolic":"C","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1411,3,1411,98],"contentStartColumn":"8","concrete":"I2, I3"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 +Int (I2 +Int C) => (I1 +Int I2) +Int C ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1406","symbolic":"C","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1406,3,1406,98],"contentStartColumn":"8","concrete":"I1, I2"}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 =/=Int K2 #Equals true} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1394","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1394,3,1394,77]}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 &Int (I2 &Int C) => (I1 &Int I2) &Int C ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1413","symbolic":"C","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1413,3,1413,98],"contentStartColumn":"8","concrete":"I1, I2"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1 -Int (B +Int I3) => (I1 -Int I3) -Int B ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1405","symbolic":"B","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1405,3,1405,98],"contentStartColumn":"8","concrete":"I1, I3"}}},{"node":"KBubble","sentenceType":"rule","contents":"I1:Int ==K I2:Int => I1 ==Int I2 ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1389","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1389,3,1389,57]}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 =/=Int K2 #Equals false} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1396","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1396,3,1396,72]}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 ==Int K2 #Equals true} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1390","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1390,3,1390,70]}}},{"node":"KBubble","sentenceType":"rule","contents":"(A +Int I2) +Int I3 => A +Int (I2 +Int I3) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1403","symbolic":"A","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1403,3,1403,98],"contentStartColumn":"8","concrete":"I2, I3"}}},{"node":"KBubble","sentenceType":"rule","contents":"{K1 ==Int K2 #Equals false} => #Not({K1 #Equals K2}) ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1392","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1392,3,1392,77]}}},{"node":"KBubble","sentenceType":"rule","contents":"{false #Equals K1 =/=Int K2} => {K1 #Equals K2} ","att":{"node":"KAtt","att":{"simplification":"","contentStartLine":"1397","contentStartColumn":"8","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[1397,3,1397,72]}}}],"att":{"node":"KAtt","att":{"symbolic":"","org.kframework.attributes.Location":[1384,1,1414,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"lFF7huioWZY2fn8S8r+M1pepTzb1M086jh/pRe2Ob3I="}}},{"node":"KFlatModule","name":"CONFIG-CELLS","imports":[{"node":"KImport","name":"KCELLS","isPublic":true},{"node":"KImport","name":"RULE-LISTS","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#externalCell","params":[]},"productionItems":[{"node":"KTerminal","value":"<"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"#CellName","params":[]}},{"node":"KTerminal","value":"/>"}],"params":[],"sort":{"node":"KSort","name":"Cell","params":[]},"att":{"node":"KAtt","att":{"klabel":"#externalCell","symbol":"","org.kframework.attributes.Location":[314,19,314,69],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"[a-zA-Z][a-zA-Z0-9\\-]*","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"#CellName","params":[]},"att":{"node":"KAtt","att":{"token":"","prec":"1","org.kframework.attributes.Location":[309,24,309,68],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#cellPropertyListTerminator","params":[]},"productionItems":[{"node":"KTerminal","value":""}],"params":[],"sort":{"node":"KSort","name":"#CellProperties","params":[]},"att":{"node":"KAtt","att":{"klabel":"#cellPropertyListTerminator","symbol":"","org.kframework.attributes.Location":[317,30,317,105],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#UpperId","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#CellName","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[311,24,311,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#cellPropertyList","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#CellProperty","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"#CellProperties","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#CellProperties","params":[]},"att":{"node":"KAtt","att":{"klabel":"#cellPropertyList","symbol":"","org.kframework.attributes.Location":[316,30,316,95],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#cellProperty","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#CellName","params":[]}},{"node":"KTerminal","value":"="},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KString","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#CellProperty","params":[]},"att":{"node":"KAtt","att":{"klabel":"#cellProperty","symbol":"","org.kframework.attributes.Location":[318,28,318,91],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#LowerId","params":[]}}],"params":[],"sort":{"node":"KSort","name":"#CellName","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[310,24,310,51],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#configCell","params":[]},"productionItems":[{"node":"KTerminal","value":"<"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"#CellName","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"#CellProperties","params":[]}},{"node":"KTerminal","value":">"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}},{"node":"KTerminal","value":""}],"params":[],"sort":{"node":"KSort","name":"Cell","params":[]},"att":{"node":"KAtt","att":{"klabel":"#configCell","symbol":"","org.kframework.attributes.Location":[313,19,313,103],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[306,1,319,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"MhWYJiW23UdCL1YQ8jwmwNqitL5G7YPC3C9kmHpl1Qs="}}},{"node":"KFlatModule","name":"MAP","imports":[{"node":"KImport","name":"INT-SYNTAX","isPublic":false},{"node":"KImport","name":"BOOL-SYNTAX","isPublic":false},{"node":"KImport","name":"SET","isPublic":false},{"node":"KImport","name":"LIST","isPublic":false}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"values(_)_MAP_List_Map","params":[]},"productionItems":[{"node":"KTerminal","value":"values"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"MAP.values","org.kframework.attributes.Location":[365,19,365,77],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_<=Map__MAP_Bool_Map_Map","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":"<=Map"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MAP.inclusion","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[383,19,383,87]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_-Map__MAP_Map_Map_Map","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":"-Map"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MAP.difference","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[311,18,311,88]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_Map_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"assoc":"","comm":"","function":"","element":"_|->_","format":"%1%n%2","left":"","index":"0","unit":".Map","symbol":"","klabel":"_Map_","hook":"MAP.concat","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[240,18,240,173]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_in_keys(_)_MAP_Bool_KItem_Map","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"in_keys"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Bool","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MAP.in_keys","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[357,19,357,89]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"removeAll(_,_)_MAP_Map_Map_Set","params":[]},"productionItems":[{"node":"KTerminal","value":"removeAll"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Set","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MAP.removeAll","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[333,18,333,87]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Map:lookup","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"symbol":"","function":"","klabel":"Map:lookup","hook":"MAP.lookup","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[271,20,271,113]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":".Map","params":[]},"productionItems":[{"node":"KTerminal","value":".Map"}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":".Map","hook":"MAP.unit","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[248,18,248,104]}}},{"node":"KSyntaxPriority","priorities":[["_|->_"],[".Map","_Map_"]],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"choice(_)_MAP_KItem_Map","params":[]},"productionItems":[{"node":"KTerminal","value":"choice"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"function":"","klabel":"Map:choice","hook":"MAP.choice","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[393,20,393,101]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_<-undef]","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"<-"},{"node":"KTerminal","value":"undef"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","function":"","klabel":"_[_<-undef]","hook":"MAP.remove","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[299,18,299,117]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"keys_list(_)_MAP_List_Map","params":[]},"productionItems":[{"node":"KTerminal","value":"keys_list"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"List","params":[]},"att":{"node":"KAtt","att":{"function":"","hook":"MAP.keys_list","org.kframework.attributes.Location":[349,19,349,80],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["_Map_"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_|->_","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"|->"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"injective":"","symbol":"","total":"","function":"","klabel":"_|->_","hook":"MAP.element","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[257,18,257,127]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"Map:update","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"key"},{"node":"KTerminal","value":"<-"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]},"name":"value"},{"node":"KTerminal","value":"]"}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"symbol":"","total":"","prefer":"","function":"","klabel":"Map:update","hook":"MAP.update","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[290,18,290,140]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"size(_)_MAP_Int_Map","params":[]},"productionItems":[{"node":"KTerminal","value":"size"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Int","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","klabel":"sizeMap","hook":"MAP.size","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[373,18,373,99]}}},{"node":"KSyntaxAssociativity","assoc":"NonAssoc","tags":["_|->_"],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[260,3,260,25],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KSyntaxSort","sort":{"node":"KSort","name":"Map","params":[]},"params":[],"att":{"node":"KAtt","att":{"hook":"MAP.Map","org.kframework.attributes.Location":[218,3,218,29],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"keys(_)_MAP_Set_Map","params":[]},"productionItems":[{"node":"KTerminal","value":"keys"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Set","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MAP.keys","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[341,18,341,82]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"updateMap(_,_)_MAP_Map_Map_Map","params":[]},"productionItems":[{"node":"KTerminal","value":"updateMap"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"Map","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","hook":"MAP.updateAll","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[324,18,324,87]}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"_[_]orDefault__MAP_KItem_Map_KItem_KItem","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"Map","params":[]}},{"node":"KTerminal","value":"["},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}},{"node":"KTerminal","value":"]"},{"node":"KTerminal","value":"orDefault"},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KItem","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"total":"","function":"","klabel":"Map:lookupOrDefault","hook":"MAP.lookupOrDefault","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","org.kframework.attributes.Location":[281,20,281,134]}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[212,1,404,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/domains.md","digest":"ov1UF+8PqpPw/F1gSvGCV2c7mlX5fDqG7WH/4mSBNXw="}}},{"node":"KFlatModule","name":"RECORD-PRODUCTIONS","imports":[],"localSentences":[],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[422,1,427,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"+hjBMZMdjvQLQc9fz9o5jh1bWeelKiYTXhzP5XyMp00="}}},{"node":"KFlatModule","name":"KAST","imports":[{"node":"KImport","name":"KSTRING","isPublic":true},{"node":"KImport","name":"SORT-KBOTT","isPublic":true},{"node":"KImport","name":"BUILTIN-ID-TOKENS","isPublic":true},{"node":"KImport","name":"BASIC-K","isPublic":true}],"localSentences":[{"node":"KProduction","klabel":{"node":"KLabel","name":"#KToken","params":[]},"productionItems":[{"node":"KTerminal","value":"#token"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KString","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KString","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KBott","params":[]},"att":{"node":"KAtt","att":{"klabel":"#KToken","symbol":"","org.kframework.attributes.Location":[79,20,79,83],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#KList","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KList","params":[]}},{"node":"KTerminal","value":","},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KList","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KList","params":[]},"att":{"node":"KAtt","att":{"left":"","assoc":"","prefer":"","klabel":"#KList","unit":"#EmptyKList","symbol":"","org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","org.kframework.attributes.Location":[91,20,91,102]}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"#","regex":"`(\\\\`|\\\\\\\\|[^`\\\\\\n\\r])+`","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"KLabel","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[84,21,84,66],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KBott","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KItem","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[82,20,82,25],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#WrappedKLabel","params":[]},"productionItems":[{"node":"KTerminal","value":"#klabel"},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KLabel","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KBott","params":[]},"att":{"node":"KAtt","att":{"klabel":"#WrappedKLabel","symbol":"","org.kframework.attributes.Location":[80,20,80,90],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#EmptyKList","params":[]},"productionItems":[{"node":"KTerminal","value":".KList"}],"params":[],"sort":{"node":"KSort","name":"KList","params":[]},"att":{"node":"KAtt","att":{"klabel":"#EmptyKList","symbol":"","org.kframework.attributes.Location":[90,20,90,67],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KRegexTerminal","precedeRegex":"[a-zA-Z0-9]","regex":"[#a-z][a-zA-Z0-9]*","followRegex":"#"}],"params":[],"sort":{"node":"KSort","name":"KLabel","params":[]},"att":{"node":"KAtt","att":{"token":"","prec":"1","org.kframework.attributes.Location":[86,21,86,89],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"K","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KList","params":[]},"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[89,20,89,21],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KProduction","klabel":{"node":"KLabel","name":"#KApply","params":[]},"productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"KLabel","params":[]}},{"node":"KTerminal","value":"("},{"node":"KNonTerminal","sort":{"node":"KSort","name":"KList","params":[]}},{"node":"KTerminal","value":")"}],"params":[],"sort":{"node":"KSort","name":"KBott","params":[]},"att":{"node":"KAtt","att":{"klabel":"#KApply","symbol":"","org.kframework.attributes.Location":[81,20,81,83],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}},{"node":"KSyntaxAssociativity","assoc":"Left","tags":["#KList"],"att":{"node":"KAtt","att":{}}},{"node":"KProduction","productionItems":[{"node":"KNonTerminal","sort":{"node":"KSort","name":"#LowerId","params":[]}}],"params":[],"sort":{"node":"KSort","name":"KLabel","params":[]},"att":{"node":"KAtt","att":{"token":"","org.kframework.attributes.Location":[85,21,85,71],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md"}}}],"att":{"node":"KAtt","att":{"org.kframework.attributes.Location":[73,1,92,10],"org.kframework.attributes.Source":"../../../target/release/k/include/kframework/builtin/kast.md","digest":"bwC0i+R7EI96VbrD4fdSG8NNNw/g9CuksxVKR4m7jMg="}}}],"att":{"node":"KAtt","att":{"syntaxModule":"IMP-SYNTAX"}}}} diff --git a/pyk/regression-new/include/ktest-common.mak b/pyk/regression-new/include/ktest-common.mak new file mode 100644 index 00000000000..efb6c560a2a --- /dev/null +++ b/pyk/regression-new/include/ktest-common.mak @@ -0,0 +1,52 @@ +SHELL=/bin/bash +# path to the current makefile +MAKEFILE_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) +ROOT=$(abspath $(MAKEFILE_PATH)/../..) +UV_RUN?=uv --project $(ROOT) run -- +# path to builtin include directory +BUILTIN_DIR=$(abspath $(shell dirname $(shell which kompile))/../include/kframework/builtin) +# path to binary directory of this distribution +K_BIN=$(abspath $(MAKEFILE_PATH)/../../bin) +# path to the kompile binary of this distribuition +KOMPILE=$(UV_RUN) pyk kompile +# and krun +KRUN=$(UV_RUN) pyk run +# and kdep +KDEP=${K_BIN}/kdep +# and kprove +KPROVE=$(UV_RUN) pyk prove +# and kast +KAST=$(UV_RUN) pyk parse +# and kparse +KPARSE=$(UV_RUN) pyk parse +# and kserver +KSERVER=$(UV_RUN) pyk kserver +# and ksearch +KSEARCH:=$(KRUN) --search-all +# and kprint +KPRINT=$(UV_RUN) pyk parse +# and llvm-krun +LLVM_KRUN=$(UV_RUN) pyk llvm-krun + +# command to strip paths from test outputs +REMOVE_PATHS=| sed 's!\('`pwd`'\)/\(\./\)\{0,2\}!!g' | sed 's!\('${BUILTIN_DIR}'\)/\(\./\)\{0,2\}!!g' | sed 's!\('/nix/store/..*/include/kframework/builtin'\)/\(\./\)\{0,2\}!!g' + +VERBOSITY?= + +KOMPILE_FLAGS+=--no-exc-wrap --type-inference-mode checked $(VERBOSITY) +KPROVE_FLAGS+=--type-inference-mode checked --failure-info $(VERBOSITY) +KRUN_FLAGS+=$(VERBOSITY) +KAST_FLAGS+=$(VERBOSITY) + +ifeq ($(UNAME), Darwin) + KOMPILE_FLAGS+=--no-haskell-binary +endif + +KRUN_OR_LEGACY=$(KRUN) + +CHECK?=| diff - +CONSIDER_ERRORS=2>&1 + +PIPEFAIL?=set -o pipefail; +# null by default, add CONSIDER_PROVER_ERRORS=2>&1 to the local Makefile to test kprove output +#CONSIDER_PROVER_ERRORS= diff --git a/pyk/regression-new/include/ktest-fail.mak b/pyk/regression-new/include/ktest-fail.mak index bb73dc07091..c0824935f10 100644 --- a/pyk/regression-new/include/ktest-fail.mak +++ b/pyk/regression-new/include/ktest-fail.mak @@ -1,12 +1,6 @@ -SHELL=/bin/bash - -ROOT=$(abspath $(MAKEFILE_PATH)/../..) -UV_RUN?=uv --project $(ROOT) run -- -# path to the current makefile MAKEFILE_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) -# path to the kompile binary of this distribuition -KOMPILE=$(UV_RUN) pyk kompile -KAST=$(UV_RUN) pyk parse +include $(MAKEFILE_PATH)/ktest-common.mak + # path to put -kompiled directory in DEFDIR?=. # all tests in test directory with matching file extension @@ -15,15 +9,7 @@ TESTS?=$(wildcard $(DEFDIR)/*.md) $(wildcard $(DEFDIR)/*.k) KOMPILE_BACKEND?=llvm KAST_TESTS?=$(wildcard ./*.kast) -VERBOSITY?= - -KOMPILE_FLAGS+=--no-exc-wrap --type-inference-mode checked $(VERBOSITY) -KPROVE_FLAGS+=$(VERBOSITY) -KRUN_FLAGS+=$(VERBOSITY) - -CHECK=| diff - - -.PHONY: kompile all clean update-results dummy krun proofs searches strat kast +.PHONY: kompile all clean update-results dummy krun proofs searches kast # run all tests all: kompile kast @@ -36,10 +22,10 @@ kast: $(KAST_TESTS) dummy: %.k %.md: dummy - $(KOMPILE) $(KOMPILE_FLAGS) --backend $(KOMPILE_BACKEND) $(DEBUG_FAIL) $@ --output-definition $(DEFDIR)/$(basename $@)-kompiled 2>&1 | sed 's!'`pwd`'/\(\./\)\{0,2\}!!g' $(CHECK) $@.out $(CHECK2) + $(KOMPILE) $(KOMPILE_FLAGS) --backend $(KOMPILE_BACKEND) $(DEBUG_FAIL) $@ --output-definition $(DEFDIR)/$(basename $@)-kompiled 2>&1 $(REMOVE_PATHS) $(CHECK) $@.out $(CHECK2) %.kast: kompile - $(KAST) $@ $(KAST_FLAGS) $(DEBUG) 2>&1 | sed 's!'`pwd`'/\(\./\)\{0,2\}!!g' $(CHECK) $@.out + $(KAST) $@ $(KAST_FLAGS) 2>&1 $(REMOVE_PATHS) $(CHECK) $@.out # run all tests and regenerate output files update-results: kompile kast diff --git a/pyk/regression-new/include/ktest-group.mak b/pyk/regression-new/include/ktest-group.mak index fca8b1d3f15..877481ae44c 100644 --- a/pyk/regression-new/include/ktest-group.mak +++ b/pyk/regression-new/include/ktest-group.mak @@ -4,10 +4,9 @@ SUBKOMPILE=$(addsuffix .kompile,$(SUBDIRS)) SUBKRUN=$(addsuffix .krun,$(SUBDIRS)) SUBPROOFS=$(addsuffix .proofs,$(SUBDIRS)) SUBSEARCHES=$(addsuffix .searches,$(SUBDIRS)) -SUBSTRAT=$(addsuffix .strat,$(SUBDIRS)) SUBKAST=$(addsuffix .kast,$(SUBDIRS)) -.PHONY: all update-results clean kompile krun proofs searches strat kast $(SUBDIRS) $(SUBCLEAN) $(SUBUPDATE) $(SUBKOMPILE) $(SUBKRUN) $(SUBPROOFS) $(SUBSEARCHES) $(SUBSTRAT) $(SUBKAST) +.PHONY: all update-results clean kompile krun proofs searches kast $(SUBDIRS) $(SUBCLEAN) $(SUBUPDATE) $(SUBKOMPILE) $(SUBKRUN) $(SUBPROOFS) $(SUBSEARCHES) $(SUBKAST) all: $(SUBDIRS) clean: $(SUBCLEAN) @@ -16,7 +15,6 @@ kompile: $(SUBKOMPILE) krun: $(SUBKRUN) proofs: $(SUBPROOFS) searches: $(SUBSEARCHES) -strat: $(SUBSTRAT) kast: $(SUBKAST) $(SUBDIRS): @@ -40,8 +38,5 @@ $(SUBPROOFS): %.proofs: $(SUBSEARCHES): %.searches: $(MAKE) -C $* searches -$(SUBSTRAT): %.strat: - $(MAKE) -C $* strat - $(SUBKAST): %.kast: $(MAKE) -C $* kast diff --git a/pyk/regression-new/include/ktest-kdep.mak b/pyk/regression-new/include/ktest-kdep.mak index d274092f478..cc259b47017 100644 --- a/pyk/regression-new/include/ktest-kdep.mak +++ b/pyk/regression-new/include/ktest-kdep.mak @@ -1,16 +1,9 @@ -SHELL=/bin/bash - -# path to the current makefile MAKEFILE_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) -# path to the kdep binary of this distribuition -K_BIN=$(abspath $(MAKEFILE_PATH)/../../bin) -KDEP=${K_BIN}/kdep +include $(MAKEFILE_PATH)/ktest-common.mak + # all tests in test directory with matching file extension TESTS?=$(wildcard ./*.md) $(wildcard ./*.k) -CHECK=| diff - -PIPEFAIL?=set -o pipefail; - .PHONY: all all: $(TESTS) @@ -18,7 +11,7 @@ all: $(TESTS) dummy: %.k %.md: dummy - $(PIPEFAIL) $(KDEP) $(KDEP_FLAGS) $@ | sed 's!'`pwd`'/\(\./\)\{0,2\}!!g' $(CHECK) $@.out + $(PIPEFAIL) $(KDEP) $(KDEP_FLAGS) $@ $(REMOVE_PATHS) $(CHECK) $@.out # run all tests and regenerate output files update-results: all diff --git a/pyk/regression-new/include/ktest.mak b/pyk/regression-new/include/ktest.mak index f6a9001cd91..41e4e893f78 100644 --- a/pyk/regression-new/include/ktest.mak +++ b/pyk/regression-new/include/ktest.mak @@ -1,44 +1,20 @@ -SHELL=/bin/bash +MAKEFILE_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) +include $(MAKEFILE_PATH)/ktest-common.mak UNAME := $(shell uname) -ROOT=$(abspath $(MAKEFILE_PATH)/../..) -UV_RUN?=uv --project $(ROOT) run -- -# path to the current makefile -MAKEFILE_PATH := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) -# path to the kompile binary of this distribuition -KOMPILE=$(UV_RUN) pyk kompile -# ditto for krun -KRUN=$(UV_RUN) pyk run -# and kdep -KDEP=$(UV_RUN) pyk kdep -# and kprove -KPROVE=$(UV_RUN) pyk prove -# and kast -KAST=$(UV_RUN) pyk parse -# and kparse -KPARSE=$(UV_RUN) pyk parse -# and kserver -KSERVER=$(UV_RUN) pyk kserver -# and ksearch -KSEARCH:=$(KRUN) --search-all -# and kprint -KPRINT=$(UV_RUN) pyk parse -# and llvm-krun -LLVM_KRUN=$(UV_RUN) pyk llvm-krun # path relative to current definition of test programs TESTDIR?=tests -# path relative to current definition of output/input files -RESULTDIR?=$(TESTDIR) # path to put -kompiled directory in DEFDIR?=. # path to kompile output directory KOMPILED_DIR=$(DEFDIR)/$(notdir $(DEF))-kompiled +# path relative to current definition of output/input files +RESULTDIR?=$(TESTDIR) # all tests in test directory with matching file extension -RUN_TESTS?=$(wildcard $(TESTDIR)/*.$(EXT)) $(wildcard $(TESTDIR)/krun.nopgm) +RUN_TESTS?=$(wildcard $(TESTDIR)/krun.nopgm) $(wildcard $(TESTDIR)/*.$(EXT)) PROOF_TESTS?=$(wildcard $(TESTDIR)/*-spec.k) $(wildcard $(TESTDIR)/*-spec.md) SEARCH_TESTS?=$(wildcard $(TESTDIR)/*.$(EXT).search) -STRAT_TESTS?=$(wildcard $(TESTDIR)/*.strat) KAST_TESTS?=$(wildcard $(TESTDIR)/*.kast) KPARSE_TESTS?=$(wildcard $(TESTDIR)/*.kparse) KAST_BISON_TESTS?=$(wildcard $(TESTDIR)/*.kast-bison) @@ -48,24 +24,10 @@ KOMPILE_BACKEND?=llvm # if not, default to .k to give error message SOURCE_EXT?=$(or $(and $(wildcard $(DEF).k), k), $(or $(and $(wildcard $(DEF).md), md), k)) -VERBOSITY?= - -KOMPILE_FLAGS+=--no-exc-wrap --type-inference-mode checked $(VERBOSITY) -KRUN_FLAGS+=$(VERBOSITY) -KPROVE_FLAGS+=--type-inference-mode checked --failure-info $(VERBOSITY) - -CHECK?=| diff - -REMOVE_PATHS=| sed 's!'`pwd`'/\(\./\)\{0,2\}!!g' -CONSIDER_ERRORS=2>&1 - -PIPEFAIL?=set -o pipefail; -# null by default, add CONSIDER_PROVER_ERRORS=2>&1 to the local Makefile to test kprove output -#CONSIDER_PROVER_ERRORS= - -.PHONY: kompile all clean update-results proofs krun searches strat kast kast-bison kparse +.PHONY: kompile krun all clean update-results proofs # run all tests -all: kompile krun proofs searches strat kast kast-bison kparse +all: kompile krun proofs searches kast kast-bison kparse # run only kompile kompile: $(KOMPILED_DIR)/timestamp @@ -79,8 +41,6 @@ proofs: $(PROOF_TESTS) searches: $(SEARCH_TESTS) -strat: $(STRAT_TESTS) - kast: $(KAST_TESTS) kparse: $(KPARSE_TESTS) @@ -96,16 +56,16 @@ update-results: CHECK=> # specified in the makefile prior to including ktest.mak. %.$(EXT): kompile ifeq ($(TESTDIR),$(RESULTDIR)) - $(PIPEFAIL) (cat $@.in 2>/dev/null || true) | $(KRUN) $@ $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $@.out + $(PIPEFAIL) (cat $@.in 2>/dev/null || true) | $(KRUN_OR_LEGACY) $@ $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $@.out else - $(PIPEFAIL) (cat $(RESULTDIR)/$(notdir $@).in 2>/dev/null || true) | $(KRUN) $@ $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $(RESULTDIR)/$(notdir $@).out + $(PIPEFAIL) (cat $(RESULTDIR)/$(notdir $@).in 2>/dev/null || true) | $(KRUN_OR_LEGACY) $@ $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $(RESULTDIR)/$(notdir $@).out endif krun.nopgm: kompile ifeq ($(TESTDIR),$(RESULTDIR)) - $(PIPEFAIL) (cat $@.in 2>/dev/null || true) | $(KRUN) $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $@.out + $(PIPEFAIL) (cat $@.in 2>/dev/null || true) | $(KRUN_OR_LEGACY) $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $@.out else - $(PIPEFAIL) (cat $(RESULTDIR)/$(notdir $@).in 2>/dev/null || true) | $(KRUN) $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $(RESULTDIR)/$(notdir $@).out + $(PIPEFAIL) (cat $(RESULTDIR)/$(notdir $@).in 2>/dev/null || true) | $(KRUN_OR_LEGACY) $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $(RESULTDIR)/$(notdir $@).out endif %-spec.k %-spec.md: kompile @@ -129,13 +89,6 @@ else $(PIPEFAIL) $(KSEARCH) $@ $(KSEARCH_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $(RESULTDIR)/$(notdir $@).out endif -%.strat: kompile -ifeq ($(TESTDIR),$(RESULTDIR)) - $(PIPEFAIL) $(KRUN) $@.input $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) -cSTRATEGY="$(shell cat $@)" $(CHECK) $@.out -else - $(PIPEFAIL) $(KRUN) $@.input $(KRUN_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) -cSTRATEGY="$(shell cat $@)" $(CHECK) $(RESULT_DIR)/$(notdir $@).out -endif - %.kast: kompile ifeq ($(TESTDIR),$(RESULTDIR)) $(PIPEFAIL) $(KAST) $@ $(KAST_FLAGS) $(DEBUG) --definition $(KOMPILED_DIR) $(CHECK) $@.out @@ -159,7 +112,15 @@ else endif clean: - rm -rf $(KOMPILED_DIR) .kompile-* .krun-* .kprove-* kore-exec.tar.gz + rm -rf $(KOMPILED_DIR) .depend-tmp .depend .kompile-* .krun-* .kprove-* kore-exec.tar.gz ifeq ($(KOMPILE_BACKEND),kore) rm -f $(DEF).kore endif + +.depend: + @$(KDEP) $(KDEP_FLAGS) $(DEF).$(SOURCE_EXT) > .depend-tmp + @mv .depend-tmp .depend + +ifneq ($(MAKECMDGOALS),clean) +-include .depend +endif diff --git a/pyk/regression-new/int2bytes-no-len/0.test b/pyk/regression-new/int2bytes-no-len/0.test new file mode 100644 index 00000000000..573541ac970 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/0.test @@ -0,0 +1 @@ +0 diff --git a/pyk/regression-new/int2bytes-no-len/0.test.out b/pyk/regression-new/int2bytes-no-len/0.test.out new file mode 100644 index 00000000000..0ae73551da3 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/0.test.out @@ -0,0 +1,8 @@ + + + b"" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/1.test b/pyk/regression-new/int2bytes-no-len/1.test new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/1.test @@ -0,0 +1 @@ +1 diff --git a/pyk/regression-new/int2bytes-no-len/1.test.out b/pyk/regression-new/int2bytes-no-len/1.test.out new file mode 100644 index 00000000000..616eab505e4 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/1.test.out @@ -0,0 +1,8 @@ + + + b"\x01\x04" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/10.test b/pyk/regression-new/int2bytes-no-len/10.test new file mode 100644 index 00000000000..f599e28b8ab --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/10.test @@ -0,0 +1 @@ +10 diff --git a/pyk/regression-new/int2bytes-no-len/10.test.out b/pyk/regression-new/int2bytes-no-len/10.test.out new file mode 100644 index 00000000000..0ae73551da3 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/10.test.out @@ -0,0 +1,8 @@ + + + b"" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/11.test b/pyk/regression-new/int2bytes-no-len/11.test new file mode 100644 index 00000000000..b4de3947675 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/11.test @@ -0,0 +1 @@ +11 diff --git a/pyk/regression-new/int2bytes-no-len/11.test.out b/pyk/regression-new/int2bytes-no-len/11.test.out new file mode 100644 index 00000000000..31b3732a403 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/11.test.out @@ -0,0 +1,8 @@ + + + b"\x04\x01" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/12.test b/pyk/regression-new/int2bytes-no-len/12.test new file mode 100644 index 00000000000..48082f72f08 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/12.test @@ -0,0 +1 @@ +12 diff --git a/pyk/regression-new/int2bytes-no-len/12.test.out b/pyk/regression-new/int2bytes-no-len/12.test.out new file mode 100644 index 00000000000..31b3732a403 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/12.test.out @@ -0,0 +1,8 @@ + + + b"\x04\x01" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/13.test b/pyk/regression-new/int2bytes-no-len/13.test new file mode 100644 index 00000000000..b1bd38b62a0 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/13.test @@ -0,0 +1 @@ +13 diff --git a/pyk/regression-new/int2bytes-no-len/13.test.out b/pyk/regression-new/int2bytes-no-len/13.test.out new file mode 100644 index 00000000000..214a9a79add --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/13.test.out @@ -0,0 +1,8 @@ + + + b"\xff" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/14.test b/pyk/regression-new/int2bytes-no-len/14.test new file mode 100644 index 00000000000..8351c19397f --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/14.test @@ -0,0 +1 @@ +14 diff --git a/pyk/regression-new/int2bytes-no-len/14.test.out b/pyk/regression-new/int2bytes-no-len/14.test.out new file mode 100644 index 00000000000..1e439e19628 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/14.test.out @@ -0,0 +1,8 @@ + + + b"\xfb\xff" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/2.test b/pyk/regression-new/int2bytes-no-len/2.test new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/2.test @@ -0,0 +1 @@ +2 diff --git a/pyk/regression-new/int2bytes-no-len/2.test.out b/pyk/regression-new/int2bytes-no-len/2.test.out new file mode 100644 index 00000000000..616eab505e4 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/2.test.out @@ -0,0 +1,8 @@ + + + b"\x01\x04" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/3.test b/pyk/regression-new/int2bytes-no-len/3.test new file mode 100644 index 00000000000..00750edc07d --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/3.test @@ -0,0 +1 @@ +3 diff --git a/pyk/regression-new/int2bytes-no-len/3.test.out b/pyk/regression-new/int2bytes-no-len/3.test.out new file mode 100644 index 00000000000..214a9a79add --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/3.test.out @@ -0,0 +1,8 @@ + + + b"\xff" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/4.test b/pyk/regression-new/int2bytes-no-len/4.test new file mode 100644 index 00000000000..b8626c4cff2 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/4.test @@ -0,0 +1 @@ +4 diff --git a/pyk/regression-new/int2bytes-no-len/4.test.out b/pyk/regression-new/int2bytes-no-len/4.test.out new file mode 100644 index 00000000000..9d11d8ed5b7 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/4.test.out @@ -0,0 +1,8 @@ + + + b"\xff\xfb" ~> .K + + + 0 + + diff --git a/pyk/regression-new/int2bytes-no-len/Makefile b/pyk/regression-new/int2bytes-no-len/Makefile new file mode 100644 index 00000000000..831bdfe3cce --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/Makefile @@ -0,0 +1,6 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST +include ../include/ktest.mak diff --git a/pyk/regression-new/int2bytes-no-len/test.k b/pyk/regression-new/int2bytes-no-len/test.k new file mode 100644 index 00000000000..87d338c03b4 --- /dev/null +++ b/pyk/regression-new/int2bytes-no-len/test.k @@ -0,0 +1,23 @@ +// Copyright (c) Runtime Verification, Inc. All Rights Reserved. +// testing that krun pretty prints corectly Bytes +// kx should replace krun though, so if this test +// prevents a future upgrade, it should be removed + +module TEST + imports BYTES + imports INT + + configuration $PGM:Int + rule 0 => Int2Bytes(0, LE, Unsigned) +Bytes Int2Bytes(0, LE, Signed) + rule 1 => Int2Bytes(1025, LE, Unsigned) + rule 2 => Int2Bytes(1025, LE, Signed) + rule 3 => Int2Bytes(-1, LE, Signed) + rule 4 => Int2Bytes(-1025, LE, Signed) + + rule 10 => Int2Bytes(0, BE, Unsigned) +Bytes Int2Bytes(0, BE, Signed) + rule 11 => Int2Bytes(1025, BE, Unsigned) + rule 12 => Int2Bytes(1025, BE, Signed) + rule 13 => Int2Bytes(-1, BE, Signed) + rule 14 => Int2Bytes(-1025, BE, Signed) + +endmodule diff --git a/pyk/regression-new/issue-1676-koreBytes/1.test.out b/pyk/regression-new/issue-1676-koreBytes/1.test.out index e44971b5eeb..376d2f3ede0 100644 --- a/pyk/regression-new/issue-1676-koreBytes/1.test.out +++ b/pyk/regression-new/issue-1676-koreBytes/1.test.out @@ -1,16 +1,9 @@ -/* T Fn D Sfa Cl */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa Cl */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa Cl */ kseq{}( - /* T Fn D Sfa Cli */ - /* Inj: */ inj{SortBytes{}, SortKItem{}}( - /* T Fn D Sfa Cl */ \dv{SortBytes{}}("") - ), - /* T Fn D Sfa Cl */ dotk{}() + /* Inj: */ inj{SortBytes{}, SortKItem{}}(\dv{SortBytes{}}("")), + dotk{}() ) ), - /* T Fn D Sfa Cl */ - Lbl'-LT-'generatedCounter'-GT-'{}(/* T Fn D Sfa Cl */ \dv{SortInt{}}("0")) + Lbl'-LT-'generatedCounter'-GT-'{}(\dv{SortInt{}}("0")) ) diff --git a/pyk/regression-new/issue-1682-korePrettyPrint/1.test.out b/pyk/regression-new/issue-1682-korePrettyPrint/1.test.out index 409d08dec4d..144bf00e750 100644 --- a/pyk/regression-new/issue-1682-korePrettyPrint/1.test.out +++ b/pyk/regression-new/issue-1682-korePrettyPrint/1.test.out @@ -1,16 +1,9 @@ -/* T Fn D Sfa */ Lbl'-LT-'generatedTop'-GT-'{}( - /* T Fn D Sfa */ Lbl'-LT-'k'-GT-'{}( - /* T Fn D Sfa */ kseq{}( - /* T Fn D Sfa */ - /* Inj: */ inj{SortInt{}, SortKItem{}}( - /* T Fn D Sfa */ Var'QuesUnds'Gen0:SortInt{} - ), - /* T Fn D Sfa Cl */ dotk{}() + /* Inj: */ inj{SortInt{}, SortKItem{}}(Var'QuesUnds'Gen0:SortInt{}), + dotk{}() ) ), - /* T Fn D Sfa Cl */ - Lbl'-LT-'generatedCounter'-GT-'{}(/* T Fn D Sfa Cl */ \dv{SortInt{}}("0")) + Lbl'-LT-'generatedCounter'-GT-'{}(\dv{SortInt{}}("0")) ) diff --git a/pyk/regression-new/issue-1682-korePrettyPrint/test.k b/pyk/regression-new/issue-1682-korePrettyPrint/test.k index eed64262310..59eb3f06d57 100644 --- a/pyk/regression-new/issue-1682-korePrettyPrint/test.k +++ b/pyk/regression-new/issue-1682-korePrettyPrint/test.k @@ -4,5 +4,5 @@ module TEST syntax X ::= "a" configuration $PGM:X rule a => ?_:Int - syntax Bool ::= pred1 ( Int ) [function, total, klabel(pred1), symbol, no-evaluators] + syntax Bool ::= pred1 ( Int ) [function, total, symbol(pred1), no-evaluators] endmodule diff --git a/pyk/regression-new/issue-1683-cfgVarsWarns/Makefile b/pyk/regression-new/issue-1683-cfgVarsWarns/Makefile index fda1bd02df1..2aa02121f5e 100644 --- a/pyk/regression-new/issue-1683-cfgVarsWarns/Makefile +++ b/pyk/regression-new/issue-1683-cfgVarsWarns/Makefile @@ -7,4 +7,4 @@ KRUN_FLAGS=-cA=.K include ../include/ktest.mak %.$(EXT): kompile - $(KRUN) $@ $(KRUN_FLAGS) $(DEBUG) --definition $(DEF)-kompiled $(CONSIDER_ERRORS) $(REMOVE_PATHS) $(CHECK) $@.out + $(KRUN_OR_LEGACY) $@ $(KRUN_FLAGS) $(DEBUG) --definition $(DEF)-kompiled $(CONSIDER_ERRORS) $(REMOVE_PATHS) $(CHECK) $@.out diff --git a/pyk/regression-new/issue-2321-kprovexCrash/test.k b/pyk/regression-new/issue-2321-kprovexCrash/test.k index 4a1a3043d98..fa394701525 100644 --- a/pyk/regression-new/issue-2321-kprovexCrash/test.k +++ b/pyk/regression-new/issue-2321-kprovexCrash/test.k @@ -4,17 +4,17 @@ module TEST imports INT syntax Exp ::= Int | Bool - | pair(Int, Int) [klabel(pair), symbol] + | pair(Int, Int) [symbol(pair)] - syntax KItem ::= "#assume" Exp [klabel(assume), symbol] + syntax KItem ::= "#assume" Exp [symbol(assume)] rule #assume true => .K rule #assume false => #Bottom - syntax KItem ::= "#assert" Exp [klabel(assert), symbol] + syntax KItem ::= "#assert" Exp [symbol(assert)] | "#fail" rule #assert true => .K rule #assert false => #fail // Uninterpreted functions - syntax Int ::= i(Int, Int) [function, total, no-evaluators, smtlib(fi), klabel(i)] + syntax Int ::= i(Int, Int) [function, total, no-evaluators, smtlib(fi), symbol(i)] endmodule diff --git a/pyk/regression-new/issue-3647-debugTokens/a.test.kast.out b/pyk/regression-new/issue-3647-debugTokens/a.test.kast.out index 903a7ba1fd5..1a8750ab1b6 100644 --- a/pyk/regression-new/issue-3647-debugTokens/a.test.kast.out +++ b/pyk/regression-new/issue-3647-debugTokens/a.test.kast.out @@ -1,15 +1,15 @@ |"Match" | (location) | Terminal | |---------------------------------------------------------------------------------|---------------|---------------------| -|"1" | (1,1,1,2) | r"[\\+-]?[0-9]+" | +|"1" | (1,1,1,2) | r"[0-9]+" | |"+" | (1,3,1,4) | "+" | -|"2" | (1,5,1,6) | r"[\\+-]?[0-9]+" | +|"2" | (1,5,1,6) | r"[0-9]+" | |"+" | (1,7,1,8) | "+" | |"aaaaaaaaaaaa" | (1,9,1,21) | r"[a-z][a-zA-Z0-9]*"| |"+" | (12,1,12,2) | "+" | -|"10000000" | (12,3,12,11) | r"[\\+-]?[0-9]+" | +|"10000000" | (12,3,12,11) | r"[0-9]+" | |"+" | (13,1,13,2) | "+" | -|"\"str\"" | (13,3,13,8) | r"[\\\"](([^\\\"\\n\\r\\\\])|([\\\\][nrtf\\\"\\\\])|([\\\\][x][0-9a-fA-F]{2})|([\\\\][u][0-9a-fA-F]{4})|([\\\\][U][0-9a-fA-F]{8}))*[\\\"]"| +|"\"str\"" | (13,3,13,8) | r"[\"]([^\"\\n\\r\\\\]|([\\\\][nrtf\"\\\\]|([\\\\][x][0-9a-fA-F]{2}|([\\\\][u][0-9a-fA-F]{4}|[\\\\][U][0-9a-fA-F]{8}))))*[\"]"| |"+" | (14,1,14,2) | "+" | -|"\"long str that breaks alighnment\"" | (14,3,14,103) | r"[\\\"](([^\\\"\\n\\r\\\\])|([\\\\][nrtf\\\"\\\\])|([\\\\][x][0-9a-fA-F]{2})|([\\\\][u][0-9a-fA-F]{4})|([\\\\][U][0-9a-fA-F]{8}))*[\\\"]"| +|"\"long str that breaks alighnment\"" | (14,3,14,103) | r"[\"]([^\"\\n\\r\\\\]|([\\\\][nrtf\"\\\\]|([\\\\][x][0-9a-fA-F]{2}|([\\\\][u][0-9a-fA-F]{4}|[\\\\][U][0-9a-fA-F]{8}))))*[\"]"| |"" | (15,1,15,1) | "" | diff --git a/pyk/regression-new/issue-3647-debugTokens/b.test.kast.out b/pyk/regression-new/issue-3647-debugTokens/b.test.kast.out index 1525daf1bc8..e740c27f69d 100644 --- a/pyk/regression-new/issue-3647-debugTokens/b.test.kast.out +++ b/pyk/regression-new/issue-3647-debugTokens/b.test.kast.out @@ -1,8 +1,8 @@ |"Match" | (location) | Terminal | |--------|------------|---------------------| -|"1" | (1,1,1,2) | r"[\\+-]?[0-9]+" | +|"1" | (1,1,1,2) | r"[0-9]+" | |"+" | (1,3,1,4) | "+" | -|"2" | (1,5,1,6) | r"[\\+-]?[0-9]+" | +|"2" | (1,5,1,6) | r"[0-9]+" | |"+" | (1,7,1,8) | "+" | |"aaa" | (1,9,1,12) | r"[a-z][a-zA-Z0-9]*"| |"" | (2,1,2,1) | "" | diff --git a/pyk/regression-new/issue-3672-debugParse/Makefile b/pyk/regression-new/issue-3672-debugParse/Makefile index 1968723661c..bf38bb84a5c 100644 --- a/pyk/regression-new/issue-3672-debugParse/Makefile +++ b/pyk/regression-new/issue-3672-debugParse/Makefile @@ -6,3 +6,5 @@ PIPEFAIL= CHECK=$(CONSIDER_ERRORS) $(REMOVE_PATHS) | diff - include ../include/ktest.mak + +update-results: CHECK=$(CONSIDER_ERRORS) $(REMOVE_PATHS) > diff --git a/pyk/regression-new/issue-4114-overload-injection/1.test b/pyk/regression-new/issue-4114-overload-injection/1.test new file mode 100644 index 00000000000..c55933e26e1 --- /dev/null +++ b/pyk/regression-new/issue-4114-overload-injection/1.test @@ -0,0 +1 @@ +test(foo) diff --git a/pyk/regression-new/issue-4114-overload-injection/1.test.out b/pyk/regression-new/issue-4114-overload-injection/1.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/issue-4114-overload-injection/1.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4114-overload-injection/Makefile b/pyk/regression-new/issue-4114-overload-injection/Makefile new file mode 100644 index 00000000000..6e966add968 --- /dev/null +++ b/pyk/regression-new/issue-4114-overload-injection/Makefile @@ -0,0 +1,7 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/issue-4114-overload-injection/test.k b/pyk/regression-new/issue-4114-overload-injection/test.k new file mode 100644 index 00000000000..6bf5c30e0ec --- /dev/null +++ b/pyk/regression-new/issue-4114-overload-injection/test.k @@ -0,0 +1,12 @@ +module TEST + imports DOMAINS + + syntax Foo ::= "foo" + syntax Bar ::= Foo | "bar" + + syntax Bool ::= test(Foo) [function, overload(test)] + | test(Bar) [function, overload(test)] + + rule test(foo) => true + rule test(_) => false +endmodule diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/Makefile b/pyk/regression-new/issue-4142-no-symbol-overload/Makefile new file mode 100644 index 00000000000..7634e9d98ce --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/Makefile @@ -0,0 +1,6 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/exps.test b/pyk/regression-new/issue-4142-no-symbol-overload/exps.test new file mode 100644 index 00000000000..a9f17866dc6 --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/exps.test @@ -0,0 +1 @@ +rv(0), rv(1), rv(2), (1, 2) diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/exps.test.out b/pyk/regression-new/issue-4142-no-symbol-overload/exps.test.out new file mode 100644 index 00000000000..8d543f5de76 --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/exps.test.out @@ -0,0 +1,8 @@ + + + exps ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/rvals.test b/pyk/regression-new/issue-4142-no-symbol-overload/rvals.test new file mode 100644 index 00000000000..f5faa7fb543 --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/rvals.test @@ -0,0 +1 @@ +rv(0), rv(1), rv(2) diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/rvals.test.out b/pyk/regression-new/issue-4142-no-symbol-overload/rvals.test.out new file mode 100644 index 00000000000..97ea2e9bbb0 --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/rvals.test.out @@ -0,0 +1,8 @@ + + + rvals ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/test.k b/pyk/regression-new/issue-4142-no-symbol-overload/test.k new file mode 100644 index 00000000000..6587cf9cc5a --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/test.k @@ -0,0 +1,39 @@ +module TEST + imports DOMAINS + + syntax LVal ::= lv(Int) | lv(Id) + syntax RVal ::= rv(Int) + syntax Val ::= LVal | RVal + + syntax Exp ::= Int + | Id + | Val + | "(" Exp ")" [bracket] + > left: + Exp "," Exp [group(comma)] + + syntax RVals ::= RVal [overload(arg), group(assignExp), symbol(rval), avoid] + | RVals "," RVal [overload(exps), group(assignExp)] + + syntax Vals ::= Val [overload(arg), group(assignExp), symbol(val), avoid] + | Vals "," Val [overload(exps), group(assignExp)] + + syntax Exps ::= Exp [overload(arg), group(assignExp), symbol(exp), avoid] + | Exps "," Exp [overload(exps), group(assignExp)] + + syntax Exps ::= Vals + syntax Vals ::= RVals + + syntax priority assignExp > comma + + syntax KItem ::= "rvals" + | "vals" + | "exps" + + configuration + $PGM:Exps + + rule _:RVals => rvals + rule _:Vals => vals + rule _:Exps => exps [owise] +endmodule diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/vals.test b/pyk/regression-new/issue-4142-no-symbol-overload/vals.test new file mode 100644 index 00000000000..bb34114721f --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/vals.test @@ -0,0 +1 @@ +rv(0), lv(x), rv(2) diff --git a/pyk/regression-new/issue-4142-no-symbol-overload/vals.test.out b/pyk/regression-new/issue-4142-no-symbol-overload/vals.test.out new file mode 100644 index 00000000000..bab47f3aaa9 --- /dev/null +++ b/pyk/regression-new/issue-4142-no-symbol-overload/vals.test.out @@ -0,0 +1,8 @@ + + + vals ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4153-missing-module/Makefile b/pyk/regression-new/issue-4153-missing-module/Makefile new file mode 100644 index 00000000000..dd222f36fea --- /dev/null +++ b/pyk/regression-new/issue-4153-missing-module/Makefile @@ -0,0 +1,2 @@ +KOMPILE_FLAGS=--syntax-module FOO +include ../include/ktest-fail.mak diff --git a/pyk/regression-new/issue-4153-missing-module/test.k b/pyk/regression-new/issue-4153-missing-module/test.k new file mode 100644 index 00000000000..e005642e865 --- /dev/null +++ b/pyk/regression-new/issue-4153-missing-module/test.k @@ -0,0 +1,2 @@ +module TEST +endmodule diff --git a/pyk/regression-new/issue-4153-missing-module/test.k.out b/pyk/regression-new/issue-4153-missing-module/test.k.out new file mode 100644 index 00000000000..841ed697238 --- /dev/null +++ b/pyk/regression-new/issue-4153-missing-module/test.k.out @@ -0,0 +1,3 @@ +[Error] Compiler: Could not find main syntax module with name FOO in definition. +[ERROR] Running process failed with returncode 113: + kompile test.k --syntax-module FOO --md-selector k --emit-json --backend llvm --output-definition test-kompiled --type-inference-mode checked --no-exc-wrap diff --git a/pyk/regression-new/issue-4380-regex-range/1.test b/pyk/regression-new/issue-4380-regex-range/1.test new file mode 100644 index 00000000000..78981922613 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/1.test @@ -0,0 +1 @@ +a diff --git a/pyk/regression-new/issue-4380-regex-range/1.test.out b/pyk/regression-new/issue-4380-regex-range/1.test.out new file mode 100644 index 00000000000..81f52f74713 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/1.test.out @@ -0,0 +1,8 @@ + + + a ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4380-regex-range/2.test b/pyk/regression-new/issue-4380-regex-range/2.test new file mode 100644 index 00000000000..e61ef7b965e --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/2.test @@ -0,0 +1 @@ +aa diff --git a/pyk/regression-new/issue-4380-regex-range/2.test.out b/pyk/regression-new/issue-4380-regex-range/2.test.out new file mode 100644 index 00000000000..1e7d0318cc7 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/2.test.out @@ -0,0 +1,8 @@ + + + aa ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4380-regex-range/3.test b/pyk/regression-new/issue-4380-regex-range/3.test new file mode 100644 index 00000000000..72943a16fb2 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/3.test @@ -0,0 +1 @@ +aaa diff --git a/pyk/regression-new/issue-4380-regex-range/3.test.out b/pyk/regression-new/issue-4380-regex-range/3.test.out new file mode 100644 index 00000000000..00042dba625 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/3.test.out @@ -0,0 +1,8 @@ + + + aaa ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4380-regex-range/4.test b/pyk/regression-new/issue-4380-regex-range/4.test new file mode 100644 index 00000000000..5d308e1d060 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/4.test @@ -0,0 +1 @@ +aaaa diff --git a/pyk/regression-new/issue-4380-regex-range/4.test.out b/pyk/regression-new/issue-4380-regex-range/4.test.out new file mode 100644 index 00000000000..b07d2d344d2 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/4.test.out @@ -0,0 +1,8 @@ + + + aaaa ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4380-regex-range/5.test b/pyk/regression-new/issue-4380-regex-range/5.test new file mode 100644 index 00000000000..ccc3e7b48da --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/5.test @@ -0,0 +1 @@ +aaaaa diff --git a/pyk/regression-new/issue-4380-regex-range/5.test.out b/pyk/regression-new/issue-4380-regex-range/5.test.out new file mode 100644 index 00000000000..bca13ba38f1 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/5.test.out @@ -0,0 +1,8 @@ + + + aaaaa ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4380-regex-range/6.test b/pyk/regression-new/issue-4380-regex-range/6.test new file mode 100644 index 00000000000..90b451628d8 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/6.test @@ -0,0 +1 @@ +aaaaaa diff --git a/pyk/regression-new/issue-4380-regex-range/6.test.out b/pyk/regression-new/issue-4380-regex-range/6.test.out new file mode 100644 index 00000000000..51ddb296e77 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/6.test.out @@ -0,0 +1,8 @@ + + + aaaaaa ~> .K + + + 0 + + diff --git a/pyk/regression-new/issue-4380-regex-range/Makefile b/pyk/regression-new/issue-4380-regex-range/Makefile new file mode 100644 index 00000000000..cf29d40ed1d --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/Makefile @@ -0,0 +1,6 @@ +DEF=regex +EXT=test +TESTDIR=. +KOMPILE_FLAGS+=--syntax-module REGEX + +include ../include/ktest.mak diff --git a/pyk/regression-new/issue-4380-regex-range/regex.k b/pyk/regression-new/issue-4380-regex-range/regex.k new file mode 100644 index 00000000000..2005318ab75 --- /dev/null +++ b/pyk/regression-new/issue-4380-regex-range/regex.k @@ -0,0 +1,15 @@ + +module REGEX-SYNTAX + + syntax Foo ::= r"[a]{1,6}" [token] + +endmodule + + +module REGEX + imports REGEX-SYNTAX + imports INT + + configuration $PGM:Foo + +endmodule diff --git a/pyk/regression-new/issue-4683/1.test b/pyk/regression-new/issue-4683/1.test new file mode 100644 index 00000000000..d4b7157b64e --- /dev/null +++ b/pyk/regression-new/issue-4683/1.test @@ -0,0 +1 @@ +thing(a, b) diff --git a/pyk/regression-new/issue-4683/1.test.out b/pyk/regression-new/issue-4683/1.test.out new file mode 100644 index 00000000000..8bfe0142c29 --- /dev/null +++ b/pyk/regression-new/issue-4683/1.test.out @@ -0,0 +1,8 @@ + + + .K + + + 0 + + diff --git a/pyk/regression-new/issue-4683/Makefile b/pyk/regression-new/issue-4683/Makefile new file mode 100644 index 00000000000..35a5a4ab8c6 --- /dev/null +++ b/pyk/regression-new/issue-4683/Makefile @@ -0,0 +1,6 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_FLAGS+=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/issue-4683/test.k b/pyk/regression-new/issue-4683/test.k new file mode 100644 index 00000000000..8aac863152f --- /dev/null +++ b/pyk/regression-new/issue-4683/test.k @@ -0,0 +1,17 @@ +module TEST + imports BOOL + + syntax KResult + + syntax Stuff ::= "a" | "b" | "c" + syntax KItem ::= thing(Stuff, Stuff) [seqstrict, result(MyResult)] + + rule thing(c, c) => .K + + rule b => c + rule a => c + + syntax Bool ::= isMyResult(K) [function, total, symbol(isMyResult)] + rule isMyResult(_) => false [owise] + rule isMyResult(c) => true +endmodule diff --git a/pyk/regression-new/issue-946/Makefile b/pyk/regression-new/issue-946/Makefile index e8a716df45f..b8e41e7fce1 100644 --- a/pyk/regression-new/issue-946/Makefile +++ b/pyk/regression-new/issue-946/Makefile @@ -4,4 +4,4 @@ KOMPILE_FLAGS=--syntax-module TEST include ../include/ktest.mak krun: kompile - $(KRUN) $(KRUN_FLAGS) $(DEBUG) --definition $(DEF)-kompiled $(CHECK) output + $(KRUN_OR_LEGACY) $(KRUN_FLAGS) $(DEBUG) --definition $(DEF)-kompiled $(CHECK) output diff --git a/pyk/regression-new/list-set/00.test b/pyk/regression-new/list-set/00.test new file mode 100644 index 00000000000..7b2f1465b52 --- /dev/null +++ b/pyk/regression-new/list-set/00.test @@ -0,0 +1 @@ +l(0, 0) diff --git a/pyk/regression-new/list-set/00.test.out b/pyk/regression-new/list-set/00.test.out new file mode 100644 index 00000000000..4a2fd36e918 --- /dev/null +++ b/pyk/regression-new/list-set/00.test.out @@ -0,0 +1,11 @@ + + + .K + + + ListItem ( 0 ) ListItem ( 1 ) ListItem ( 2 ) + + + 0 + + diff --git a/pyk/regression-new/list-set/01.test b/pyk/regression-new/list-set/01.test new file mode 100644 index 00000000000..16f2fff0444 --- /dev/null +++ b/pyk/regression-new/list-set/01.test @@ -0,0 +1 @@ +l(0, 1) diff --git a/pyk/regression-new/list-set/01.test.out b/pyk/regression-new/list-set/01.test.out new file mode 100644 index 00000000000..a3fd558d3c3 --- /dev/null +++ b/pyk/regression-new/list-set/01.test.out @@ -0,0 +1,11 @@ + + + l ( 0 , 1 ) ~> .K + + + ListItem ( 0 ) ListItem ( 1 ) ListItem ( 2 ) + + + 0 + + diff --git a/pyk/regression-new/list-set/11.test b/pyk/regression-new/list-set/11.test new file mode 100644 index 00000000000..fba64fc21b7 --- /dev/null +++ b/pyk/regression-new/list-set/11.test @@ -0,0 +1 @@ +l(1, 1) diff --git a/pyk/regression-new/list-set/11.test.out b/pyk/regression-new/list-set/11.test.out new file mode 100644 index 00000000000..4a2fd36e918 --- /dev/null +++ b/pyk/regression-new/list-set/11.test.out @@ -0,0 +1,11 @@ + + + .K + + + ListItem ( 0 ) ListItem ( 1 ) ListItem ( 2 ) + + + 0 + + diff --git a/pyk/regression-new/list-set/22.test b/pyk/regression-new/list-set/22.test new file mode 100644 index 00000000000..29c170d2bf1 --- /dev/null +++ b/pyk/regression-new/list-set/22.test @@ -0,0 +1 @@ +l(2, 2) diff --git a/pyk/regression-new/list-set/22.test.out b/pyk/regression-new/list-set/22.test.out new file mode 100644 index 00000000000..4a2fd36e918 --- /dev/null +++ b/pyk/regression-new/list-set/22.test.out @@ -0,0 +1,11 @@ + + + .K + + + ListItem ( 0 ) ListItem ( 1 ) ListItem ( 2 ) + + + 0 + + diff --git a/pyk/regression-new/list-set/Makefile b/pyk/regression-new/list-set/Makefile new file mode 100644 index 00000000000..6e966add968 --- /dev/null +++ b/pyk/regression-new/list-set/Makefile @@ -0,0 +1,7 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/list-set/test.k b/pyk/regression-new/list-set/test.k new file mode 100644 index 00000000000..6129c475fb8 --- /dev/null +++ b/pyk/regression-new/list-set/test.k @@ -0,0 +1,11 @@ +module TEST + imports LIST + imports INT + + configuration $PGM:K ListItem(0) ListItem(1) ListItem(2) + + syntax KItem ::= l(Int, Int) + + rule l(I, J) => .K ... + _ [ I <- J ] +endmodule diff --git a/pyk/regression-new/macro-rewrite/Makefile b/pyk/regression-new/macro-rewrite/Makefile new file mode 100644 index 00000000000..6e966add968 --- /dev/null +++ b/pyk/regression-new/macro-rewrite/Makefile @@ -0,0 +1,7 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/macro-rewrite/test.k b/pyk/regression-new/macro-rewrite/test.k new file mode 100644 index 00000000000..dcec8328ba8 --- /dev/null +++ b/pyk/regression-new/macro-rewrite/test.k @@ -0,0 +1,11 @@ +module TEST + imports INT + imports BOOL + imports LIST + + syntax List ::= Int ":" List [macro] + rule I : L => ListItem(I) L + + rule (5 => 6) : _ + +endmodule diff --git a/pyk/regression-new/mint-llvm-2/Makefile b/pyk/regression-new/mint-llvm-2/Makefile new file mode 100644 index 00000000000..6e966add968 --- /dev/null +++ b/pyk/regression-new/mint-llvm-2/Makefile @@ -0,0 +1,7 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/mint-llvm-2/test.k b/pyk/regression-new/mint-llvm-2/test.k new file mode 100644 index 00000000000..057b6c7576a --- /dev/null +++ b/pyk/regression-new/mint-llvm-2/test.k @@ -0,0 +1,12 @@ +module TEST + imports BOOL + imports MINT + + syntax MInt{64} + syntax MInt{32} + + syntax MInt{32} ::= m32() [function] + syntax MInt{64} ::= m64() [function] + rule m64() => 0p64 + rule m32() => 0p32 +endmodule diff --git a/pyk/regression-new/mint-llvm-3/Makefile b/pyk/regression-new/mint-llvm-3/Makefile new file mode 100644 index 00000000000..6e966add968 --- /dev/null +++ b/pyk/regression-new/mint-llvm-3/Makefile @@ -0,0 +1,7 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/mint-llvm-3/test.k b/pyk/regression-new/mint-llvm-3/test.k new file mode 100644 index 00000000000..f522b626f48 --- /dev/null +++ b/pyk/regression-new/mint-llvm-3/test.k @@ -0,0 +1,19 @@ +module TEST + imports BOOL + imports MINT + + syntax MInt{64} + syntax MInt{32} + + syntax KItem ::= foo(MInt{64}) + + syntax MInt{64} ::= m64() [function] + rule m64() => 0p64 + syntax MInt{32} ::= m32() [function] + rule m32() => 0p32 + + rule foo(X) => .K + requires (X +MInt m64()) <=uMInt (roundMInt(m32()) < foo(0p64) +endmodule diff --git a/pyk/regression-new/mint-llvm-4/1.test b/pyk/regression-new/mint-llvm-4/1.test new file mode 100644 index 00000000000..fe9e8f72e07 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/1.test @@ -0,0 +1 @@ +testBytes2MInt \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/1.test.out b/pyk/regression-new/mint-llvm-4/1.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/1.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/10.test b/pyk/regression-new/mint-llvm-4/10.test new file mode 100644 index 00000000000..f8134bf3497 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/10.test @@ -0,0 +1 @@ +testPadLeftBytes \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/10.test.out b/pyk/regression-new/mint-llvm-4/10.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/10.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/11.test b/pyk/regression-new/mint-llvm-4/11.test new file mode 100644 index 00000000000..f8672b412f1 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/11.test @@ -0,0 +1 @@ +testPadRightBytes \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/11.test.out b/pyk/regression-new/mint-llvm-4/11.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/11.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/12.test b/pyk/regression-new/mint-llvm-4/12.test new file mode 100644 index 00000000000..81c47156bb6 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/12.test @@ -0,0 +1 @@ +testSubstrBytes \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/12.test.out b/pyk/regression-new/mint-llvm-4/12.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/12.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/13.test b/pyk/regression-new/mint-llvm-4/13.test new file mode 100644 index 00000000000..dd849344fa5 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/13.test @@ -0,0 +1 @@ +testReplaceAtBytes \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/13.test.out b/pyk/regression-new/mint-llvm-4/13.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/13.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/2.test b/pyk/regression-new/mint-llvm-4/2.test new file mode 100644 index 00000000000..cc307ea5468 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/2.test @@ -0,0 +1 @@ +testMInt2Bytes \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/2.test.out b/pyk/regression-new/mint-llvm-4/2.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/2.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/3.test b/pyk/regression-new/mint-llvm-4/3.test new file mode 100644 index 00000000000..c3e12396bc0 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/3.test @@ -0,0 +1 @@ +testLengthBytes \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/3.test.out b/pyk/regression-new/mint-llvm-4/3.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/3.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/4.test b/pyk/regression-new/mint-llvm-4/4.test new file mode 100644 index 00000000000..a13d6e155eb --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/4.test @@ -0,0 +1 @@ +testBytesGet \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/4.test.out b/pyk/regression-new/mint-llvm-4/4.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/4.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/5.test b/pyk/regression-new/mint-llvm-4/5.test new file mode 100644 index 00000000000..661ed8dc8d9 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/5.test @@ -0,0 +1 @@ +testBytesUpdate \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/5.test.out b/pyk/regression-new/mint-llvm-4/5.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/5.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/6.test b/pyk/regression-new/mint-llvm-4/6.test new file mode 100644 index 00000000000..20eeb4ee2af --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/6.test @@ -0,0 +1 @@ +getMInt \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/6.test.out b/pyk/regression-new/mint-llvm-4/6.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/6.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/7.test b/pyk/regression-new/mint-llvm-4/7.test new file mode 100644 index 00000000000..cd0b9359dd2 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/7.test @@ -0,0 +1 @@ +testListSize \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/7.test.out b/pyk/regression-new/mint-llvm-4/7.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/7.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/8.test b/pyk/regression-new/mint-llvm-4/8.test new file mode 100644 index 00000000000..6172b552081 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/8.test @@ -0,0 +1 @@ +testListUpdate \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/8.test.out b/pyk/regression-new/mint-llvm-4/8.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/8.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/9.test b/pyk/regression-new/mint-llvm-4/9.test new file mode 100644 index 00000000000..54bd3bcbdbf --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/9.test @@ -0,0 +1 @@ +testMIntPowAll \ No newline at end of file diff --git a/pyk/regression-new/mint-llvm-4/9.test.out b/pyk/regression-new/mint-llvm-4/9.test.out new file mode 100644 index 00000000000..ba97e8ec365 --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/9.test.out @@ -0,0 +1,8 @@ + + + true ~> .K + + + 0 + + diff --git a/pyk/regression-new/mint-llvm-4/Makefile b/pyk/regression-new/mint-llvm-4/Makefile new file mode 100644 index 00000000000..b121cadab5a --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/Makefile @@ -0,0 +1,8 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak + diff --git a/pyk/regression-new/mint-llvm-4/test.k b/pyk/regression-new/mint-llvm-4/test.k new file mode 100644 index 00000000000..8ffc691507c --- /dev/null +++ b/pyk/regression-new/mint-llvm-4/test.k @@ -0,0 +1,124 @@ +module TEST + +imports INT +imports MINT +imports BYTES +imports BOOL +imports LIST +imports K-EQUAL + + syntax MInt{64} + syntax MInt{256} + + // Fixtures + + syntax Bytes ::= "bytesString1" [macro] + | "bytesString2" [macro] + + rule bytesString1 => // Bytes must be 256 bits (32 bytes) for some tests + b"\x1d)0\xdd\xcc#\xeb\x14)Q\x8bAG\xcf\xd46\xa7\xdb\x8f\xc6&\xc1=N\xb6\xa4\x81%\xc2\xd2\xf4o" + rule bytesString2 => + b"a\x00\x1b`\x00\x81`\x0b\x829\xf3`\x01`\x01Us\x8a\n\x19X\x951iBP\xd5p\x04" + + + syntax List ::= "listOfMInt" [macro] + rule listOfMInt => ListItem(2p64) (ListItem(3p64) (ListItem(4p64) .List)) + + syntax MInt{256} ::= "mintValue" [function] + rule mintValue => 13189850602041981829950296977395610463010118185856010131061817836684537164911p256 + + syntax Int ::= "intValue" [function] + rule intValue => 13189850602041981829950296977395610463010118185856010131061817836684537164911 + + + // Tests Syntax + syntax Bool ::= "testBytes2MInt" [function] + | "testMInt2Bytes" [function] + | "testLengthBytes" [function] + | "testBytesGet" [function] + | "testBytesUpdate" [function] + | "getMInt" [function] + | "testListSize" [function] + | "testListUpdate" [function] + | "testMIntPow" [function] + | "testMIntPowZero" [function] + | "testMIntPowOne" [function] + | "testMIntPowNegative" [function] + | "testMIntPowAll" [function] + | "testPadLeftBytes" [function] + | "testPadRightBytes" [function] + | "testSubstrBytes" [function] + | "testReplaceAtBytes" [function] + + + // Tests Rules + rule testMInt2Bytes => // Only supporting 256-bit MInt for this test in Big Endian format + MInt2Bytes(mintValue) ==K Int2Bytes(intValue, BE, Unsigned) andBool + MInt2Bytes(mintValue) ==K bytesString1 + + rule testBytes2MInt => // Only supporting 256-bit MInt for this test in Big Endian format + Bytes2MInt(bytesString1)::MInt{256} ==MInt Int2MInt(Bytes2Int(bytesString1, BE, Unsigned)) + + rule testLengthBytes => + lengthBytes(bytesString1):Int ==Int MInt2Unsigned(lengthBytes(bytesString1):MInt{64}) andBool + lengthBytes(bytesString1):Int ==Int MInt2Unsigned(lengthBytes(bytesString1):MInt{256}) + + rule testBytesGet => + {bytesString2[2p64]}:>MInt{64} ==MInt Int2MInt(bytesString2[2]) andBool + {bytesString2[2p256]}:>MInt{256} ==MInt Int2MInt(bytesString2[2]) + + rule testBytesUpdate => + bytesString2[2p64 <- 10p64] ==K bytesString2[2 <- 10] andBool + bytesString2[2p256 <- 10p256] ==K bytesString2[2 <- 10] + + rule getMInt => listOfMInt[1]:KItem ==K listOfMInt[1p64]:KItem andBool + listOfMInt[1]:KItem ==K listOfMInt[1p256]:KItem + + rule testListSize => + size(listOfMInt) ==Int MInt2Unsigned(size(listOfMInt)::MInt{64}) andBool + size(listOfMInt) ==Int MInt2Unsigned(size(listOfMInt)::MInt{256}) + + // This function only support MInt{64} for now, use MInt{256} can cause undefined behavior + rule testListUpdate => listOfMInt[2p64 <- 10p64] ==K listOfMInt[2 <- 10p64] + + rule testMIntPow => + MInt2Unsigned(2p256 ^MInt 255p256) ==Int 2 ^Int 255 andBool + MInt2Unsigned(2p64 ^MInt 63p64) ==Int 2 ^Int 63 + + rule testMIntPowZero => + MInt2Unsigned(2p256 ^MInt 0p256) ==Int 1 andBool + MInt2Unsigned(2p64 ^MInt 0p64) ==Int 1 + + rule testMIntPowOne => + MInt2Unsigned(2p256 ^MInt 1p256) ==Int 2 andBool + MInt2Unsigned(2p64 ^MInt 1p64) ==Int 2 + + rule testMIntPowNegative => + MInt2Signed(2p256 ^MInt -10p256) ==Int 0 andBool + MInt2Signed(2p64 ^MInt -10p64) ==Int 0 + + // MInt exponenciation always assume unsigned results, except for the + // exponentiation by zero, which is always 1. + rule testMIntPowAll => + testMIntPow andBool testMIntPowZero andBool + testMIntPowOne andBool testMIntPowNegative + + rule testPadLeftBytes => + padLeftBytes(bytesString1, 50, 15) ==K padLeftBytes(bytesString1, 50p256, 15p256) andBool + padLeftBytes(bytesString1, 50, 15) ==K padLeftBytes(bytesString1, 50p64, 15p64) + + rule testPadRightBytes => + padRightBytes(bytesString1, 50, 15) ==K padRightBytes(bytesString1, 50p256, 15p256) andBool + padRightBytes(bytesString1, 50, 15) ==K padRightBytes(bytesString1, 50p64, 15p64) + + rule testSubstrBytes => + substrBytes(bytesString1, 0, 5) ==K substrBytes(bytesString1, 0p64, 5p64) andBool + substrBytes(bytesString1, 0, 5) ==K substrBytes(bytesString1, 0p256, 5p256) + + rule testReplaceAtBytes => + replaceAtBytes(bytesString1, 2, String2Bytes("test")) ==K + replaceAtBytes(bytesString1, 2p64, String2Bytes("test")) andBool + replaceAtBytes(bytesString1, 2, String2Bytes("test")) ==K + replaceAtBytes(bytesString1, 2p256, String2Bytes("test")) + +endmodule \ No newline at end of file diff --git a/pyk/regression-new/no-junk-macro/1.test b/pyk/regression-new/no-junk-macro/1.test new file mode 100644 index 00000000000..27ba77ddaf6 --- /dev/null +++ b/pyk/regression-new/no-junk-macro/1.test @@ -0,0 +1 @@ +true diff --git a/pyk/regression-new/no-junk-macro/1.test.out b/pyk/regression-new/no-junk-macro/1.test.out new file mode 100644 index 00000000000..05129da6458 --- /dev/null +++ b/pyk/regression-new/no-junk-macro/1.test.out @@ -0,0 +1,9 @@ + + + false ~> .K + + + 0 + + +#And { true #Equals size ( ListItem ( ?X:Int ) ?L:List ) >=Int -1 } diff --git a/pyk/regression-new/no-junk-macro/Makefile b/pyk/regression-new/no-junk-macro/Makefile new file mode 100644 index 00000000000..42a10aad9c0 --- /dev/null +++ b/pyk/regression-new/no-junk-macro/Makefile @@ -0,0 +1,7 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=haskell +KOMPILE_FLAGS=--syntax-module TEST + +include ../include/ktest.mak diff --git a/pyk/regression-new/no-junk-macro/test.k b/pyk/regression-new/no-junk-macro/test.k new file mode 100644 index 00000000000..23534f7bd01 --- /dev/null +++ b/pyk/regression-new/no-junk-macro/test.k @@ -0,0 +1,15 @@ +module TEST + imports INT + imports BOOL + imports LIST + +syntax List ::= foo() [macro] +rule foo() => .List + +rule true => size(ListItem(?X:Int) ?L:List) + +rule I:Int => false requires I >=Int -1 + +rule size(L:List) >=Int 0 => true [simplification, smt-lemma] + +endmodule diff --git a/pyk/regression-new/parse-c/test.ref b/pyk/regression-new/parse-c/test.ref index 2fa20709a5b..0da1632b88e 100644 --- a/pyk/regression-new/parse-c/test.ref +++ b/pyk/regression-new/parse-c/test.ref @@ -5,11 +5,11 @@ amb ( .DeclSpecifiers typedef int AA ; , .DeclSpecifiers typedef int .InitD .BlockItems amb ( .DeclSpecifiers T .InitDecls , ( x ) ; , T ( x ) ; ) amb ( .DeclSpecifiers S .InitDecls , ( x ) ; , S ( x ) ; ) - amb ( T * y ; , .DeclSpecifiers T .InitDecls , * y ; ) + amb ( .DeclSpecifiers T .InitDecls , * y ; , T * y ; ) .DeclSpecifiers int .InitDecls , U , z ; - amb ( U * z ; , .DeclSpecifiers U .InitDecls , * z ; ) - func ( amb ( T * x , ( .SpecifierQuals T ) * x ) ) ; - func ( amb ( U * z , ( .SpecifierQuals U ) * z ) ) ; + amb ( .DeclSpecifiers U .InitDecls , * z ; , U * z ; ) + func ( amb ( ( .SpecifierQuals T ) * x , T * x ) ) ; + func ( amb ( ( .SpecifierQuals U ) * z , U * z ) ) ; amb ( .DeclSpecifiers int AA ; , .DeclSpecifiers int .InitDecls , AA ; ) .DeclSpecifiers int .InitDecls , BB = AA * 2 ; amb ( .DeclSpecifiers typedef int CC ; , .DeclSpecifiers typedef int .InitDecls , CC ; ) @@ -27,5 +27,5 @@ amb ( .DeclSpecifiers typedef int AA ; , .DeclSpecifiers typedef int .InitD amb ( .DeclSpecifiers typedef char C ; , .DeclSpecifiers typedef char .InitDecls , C ; ) .DeclSpecifiers void baz ( ) { .BlockItems - .DeclSpecifiers int .InitDecls , aa = amb ( sizeof C , sizeof ( .SpecifierQuals C ) ) , C , bb = amb ( sizeof C , sizeof ( .SpecifierQuals C ) ) ; + .DeclSpecifiers int .InitDecls , aa = amb ( sizeof ( .SpecifierQuals C ) , sizeof C ) , C , bb = amb ( sizeof ( .SpecifierQuals C ) , sizeof C ) ; } diff --git a/pyk/regression-new/parseNonPgm/Makefile b/pyk/regression-new/parseNonPgm/Makefile index e02d479f610..9f22508c58d 100644 --- a/pyk/regression-new/parseNonPgm/Makefile +++ b/pyk/regression-new/parseNonPgm/Makefile @@ -6,4 +6,4 @@ KRUN_FLAGS+=print include ../include/ktest.mak -KRUN=./test +KRUN_OR_LEGACY=./test diff --git a/pyk/regression-new/pl-tutorial/1_k/4_imp++/lesson_7/Makefile.concrete b/pyk/regression-new/pl-tutorial/1_k/4_imp++/lesson_7/Makefile.concrete index 8a7d6fd2521..85cb5ffe588 100644 --- a/pyk/regression-new/pl-tutorial/1_k/4_imp++/lesson_7/Makefile.concrete +++ b/pyk/regression-new/pl-tutorial/1_k/4_imp++/lesson_7/Makefile.concrete @@ -9,7 +9,7 @@ include ../../../../../../include/kframework/ktest.mak tests/div.imp: kompile - cat $@.in 2>/dev/null | $(KRUN) $@ --definition $(KOMPILED) --search $(CHECK) $@.out + cat $@.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(KOMPILED) --search $(CHECK) $@.out tests/spawn.imp: kompile - cat $@.in 2>/dev/null | $(KRUN) $@ --definition $(KOMPILED) --search --pattern " ListItem(_) ListItem(_) ListItem(#buffer(Out:String)) " $(CHECK) $@.out + cat $@.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(KOMPILED) --search --pattern " ListItem(_) ListItem(_) ListItem(#buffer(Out:String)) " $(CHECK) $@.out diff --git a/pyk/regression-new/pl-tutorial/2_languages/1_simple/1_untyped/Makefile b/pyk/regression-new/pl-tutorial/2_languages/1_simple/1_untyped/Makefile index b3d0f2b7039..18dc93aa0fe 100644 --- a/pyk/regression-new/pl-tutorial/2_languages/1_simple/1_untyped/Makefile +++ b/pyk/regression-new/pl-tutorial/2_languages/1_simple/1_untyped/Makefile @@ -8,7 +8,7 @@ KRUN_FLAGS=--output none --smt none include ../../../../include/ktest.mak tests/threads/threads_05.simple: kompile - cat $@.in 2>/dev/null | $(KRUN) $@ --definition $(DEF)-kompiled --search --bound 5 $(CHECK) $@.out + cat $@.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(DEF)-kompiled --search --bound 5 $(CHECK) $@.out tests/exceptions/exceptions_07.simple \ tests/threads/threads_01.simple \ @@ -17,4 +17,4 @@ tests/threads/threads_04.simple \ tests/threads/threads_06.simple \ tests/threads/threads_09.simple \ tests/diverse/div-nondet.simple: kompile - cat $@.in 2>/dev/null | $(KRUN) $@ --definition $(DEF)-kompiled --search --pattern ' ListItem(#ostream(1)) ListItem("off") ListItem(#buffer(S:String)) ' $(CHECK) $@.out + cat $@.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(DEF)-kompiled --search --pattern ' ListItem(#ostream(1)) ListItem("off") ListItem(#buffer(S:String)) ' $(CHECK) $@.out diff --git a/pyk/regression-new/pl-tutorial/2_languages/1_simple/2_typed/2_dynamic/Makefile b/pyk/regression-new/pl-tutorial/2_languages/1_simple/2_typed/2_dynamic/Makefile index 0aec67d2e09..ec7d219bc6b 100644 --- a/pyk/regression-new/pl-tutorial/2_languages/1_simple/2_typed/2_dynamic/Makefile +++ b/pyk/regression-new/pl-tutorial/2_languages/1_simple/2_typed/2_dynamic/Makefile @@ -6,7 +6,7 @@ KOMPILE_FLAGS=--enable-search KRUN_FLAGS=--output none %/threads/threads_05.simple: kompile - cat tests/threads_05.simple.in 2>/dev/null | $(KRUN) $@ --definition $(DEF)-kompiled --search --bound 5 $(CHECK) tests/threads_05.simple.out + cat tests/threads_05.simple.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(DEF)-kompiled --search --bound 5 $(CHECK) tests/threads_05.simple.out %/exceptions/exceptions_07.simple \ %/threads/threads_01.simple \ @@ -15,7 +15,7 @@ KRUN_FLAGS=--output none %/threads/threads_06.simple \ %/threads/threads_09.simple \ %/diverse/div-nondet.simple: kompile - cat tests/$(notdir $@).in 2>/dev/null | $(KRUN) $@ --definition $(DEF)-kompiled --search --pattern ' ListItem(#ostream(1)) ListItem("off") ListItem(#buffer(S:String)) ' $(CHECK) tests/$(notdir $@).out + cat tests/$(notdir $@).in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(DEF)-kompiled --search --pattern ' ListItem(#ostream(1)) ListItem("off") ListItem(#buffer(S:String)) ' $(CHECK) tests/$(notdir $@).out %/diverse/dekker.simple \ %/threads/threads_03.simple \ diff --git a/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/Makefile b/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/Makefile index a98d7ac2f4d..1c8b2aba30f 100644 --- a/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/Makefile +++ b/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/Makefile @@ -6,7 +6,7 @@ TESTDIR?=../programs RESULTDIR=tests %/cycle.kool: kompile - cat tests/cycle.kool.in 2>/dev/null | $(KRUN) $@ --definition $(DEF)-kompiled --search --pattern ' ListItem(#ostream(1)) ListItem("off") ListItem(#buffer(S:String)) ' $(CHECK) tests/cycle.kool.out + cat tests/cycle.kool.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(DEF)-kompiled --search --pattern ' ListItem(#ostream(1)) ListItem("off") ListItem(#buffer(S:String)) ' $(CHECK) tests/cycle.kool.out %/return-object.kool: kompile true diff --git a/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/kool-typed-static.md b/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/kool-typed-static.md index 7c55495b60f..e57e7c5018b 100644 --- a/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/kool-typed-static.md +++ b/pyk/regression-new/pl-tutorial/2_languages/2_kool/2_typed/2_static/kool-typed-static.md @@ -125,7 +125,7 @@ the wrapper in the generated documentation, we associate it an ```k syntax Type ::= "void" | "int" | "bool" | "string" - | Id [klabel("class"), symbol, avoid] // see next + | Id [symbol("class"), avoid] // see next | Type "[" "]" | "(" Type ")" [bracket] > Types "->" Type diff --git a/pyk/regression-new/pl-tutorial/2_languages/3_fun/1_untyped/1_environment/Makefile b/pyk/regression-new/pl-tutorial/2_languages/3_fun/1_untyped/1_environment/Makefile index 8a29c413e26..8ac275fade4 100644 --- a/pyk/regression-new/pl-tutorial/2_languages/3_fun/1_untyped/1_environment/Makefile +++ b/pyk/regression-new/pl-tutorial/2_languages/3_fun/1_untyped/1_environment/Makefile @@ -6,6 +6,6 @@ KOMPILE_FLAGS?=--enable-search KRUN_FLAGS?=--pattern " V:K " %/references-5.fun: kompile - cat tests/references-5.fun.in 2>/dev/null | $(KRUN) $@ --definition $(DEF)-kompiled --search --pattern " V:K " $(CHECK) tests/references-5.fun.out + cat tests/references-5.fun.in 2>/dev/null | $(KRUN_OR_LEGACY) $@ --definition $(DEF)-kompiled --search --pattern " V:K " $(CHECK) tests/references-5.fun.out include ../../../../../include/ktest.mak diff --git a/pyk/regression-new/proof-instrumentation-debug/.gitignore b/pyk/regression-new/proof-instrumentation-debug/.gitignore new file mode 100644 index 00000000000..c75c8d9c4ad --- /dev/null +++ b/pyk/regression-new/proof-instrumentation-debug/.gitignore @@ -0,0 +1 @@ +out.hint diff --git a/pyk/regression-new/proof-instrumentation-debug/Makefile b/pyk/regression-new/proof-instrumentation-debug/Makefile new file mode 100644 index 00000000000..e80525e0282 --- /dev/null +++ b/pyk/regression-new/proof-instrumentation-debug/Makefile @@ -0,0 +1,11 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm +KOMPILE_FLAGS+=--gen-glr-bison-parser --llvm-proof-hint-debugging +KRUN_FLAGS=--proof-hint + +include ../include/ktest.mak + +clean: + rm -rf out.hint test.kore $(KOMPILED_DIR) .depend-tmp .depend .kompile-* .krun-* .kprove-* kore-exec.tar.gz diff --git a/pyk/regression-new/proof-instrumentation-debug/input.test b/pyk/regression-new/proof-instrumentation-debug/input.test new file mode 100644 index 00000000000..eb28ef4401b --- /dev/null +++ b/pyk/regression-new/proof-instrumentation-debug/input.test @@ -0,0 +1 @@ +foo() diff --git a/pyk/regression-new/proof-instrumentation-debug/input.test.out b/pyk/regression-new/proof-instrumentation-debug/input.test.out new file mode 100644 index 00000000000..ef03e1e235d Binary files /dev/null and b/pyk/regression-new/proof-instrumentation-debug/input.test.out differ diff --git a/pyk/regression-new/proof-instrumentation-debug/test.k b/pyk/regression-new/proof-instrumentation-debug/test.k new file mode 100644 index 00000000000..6ae9dde9040 --- /dev/null +++ b/pyk/regression-new/proof-instrumentation-debug/test.k @@ -0,0 +1,9 @@ +// Copyright (c) Runtime Verification, Inc. All Rights Reserved. +module TEST-SYNTAX + syntax Foo ::= foo() | bar() +endmodule + +module TEST + imports TEST-SYNTAX + rule foo() => bar() +endmodule diff --git a/pyk/regression-new/proof-instrumentation/Makefile b/pyk/regression-new/proof-instrumentation/Makefile index 66853810611..af5afc15b7a 100644 --- a/pyk/regression-new/proof-instrumentation/Makefile +++ b/pyk/regression-new/proof-instrumentation/Makefile @@ -1,22 +1,11 @@ DEF=test +EXT=test +TESTDIR=. KOMPILE_BACKEND=llvm KOMPILE_FLAGS+=--gen-glr-bison-parser --llvm-proof-hint-instrumentation -LLVM_KRUN_FLAGS=-d ./test-kompiled --proof-hints - -check: out.hint - head -c4 out.hint | diff - <(echo -n 'HINT') - -out.hint: test.kore - rm -f $@ - $(LLVM_KRUN) $(LLVM_KRUN_FLAGS) \ - -c PGM $< Foo korefile -o $@ - -test.kore: test.in kompile - ./test-kompiled/parser_PGM $< > $@ +KRUN_FLAGS=--proof-hint include ../include/ktest.mak clean: rm -rf out.hint test.kore $(KOMPILED_DIR) .depend-tmp .depend .kompile-* .krun-* .kprove-* kore-exec.tar.gz - -update-results: CHECK=> test.out diff --git a/pyk/regression-new/proof-instrumentation/input.test b/pyk/regression-new/proof-instrumentation/input.test new file mode 100644 index 00000000000..eb28ef4401b --- /dev/null +++ b/pyk/regression-new/proof-instrumentation/input.test @@ -0,0 +1 @@ +foo() diff --git a/pyk/regression-new/proof-instrumentation/input.test.out b/pyk/regression-new/proof-instrumentation/input.test.out new file mode 100644 index 00000000000..24aac4eacce Binary files /dev/null and b/pyk/regression-new/proof-instrumentation/input.test.out differ diff --git a/pyk/regression-new/regex-prec/1.test.kast b/pyk/regression-new/regex-prec/1.test.kast new file mode 100644 index 00000000000..56a6051ca2b --- /dev/null +++ b/pyk/regression-new/regex-prec/1.test.kast @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/pyk/regression-new/regex-prec/1.test.kast.out b/pyk/regression-new/regex-prec/1.test.kast.out new file mode 100644 index 00000000000..1cdf8b72e0d --- /dev/null +++ b/pyk/regression-new/regex-prec/1.test.kast.out @@ -0,0 +1,5 @@ +|"Match" | (location) | Terminal | +|--------|------------|-----------| +|"1" | (1,1,1,2) | r"0?1" | +|"" | (1,2,1,2) | "" | + diff --git a/pyk/regression-new/regex-prec/Makefile b/pyk/regression-new/regex-prec/Makefile new file mode 100644 index 00000000000..ccb655ff627 --- /dev/null +++ b/pyk/regression-new/regex-prec/Makefile @@ -0,0 +1,6 @@ +DEF=test +EXT=test +TESTDIR=. +KAST_FLAGS=--debug-tokens + +include ../include/ktest.mak diff --git a/pyk/regression-new/regex-prec/test.k b/pyk/regression-new/regex-prec/test.k new file mode 100644 index 00000000000..0d88b58fddf --- /dev/null +++ b/pyk/regression-new/regex-prec/test.k @@ -0,0 +1,11 @@ +// Copyright (c) Runtime Verification, Inc. All Rights Reserved. +module TEST-SYNTAX + syntax Exp ::= r"1" [token, prec(-1)] + | r"0?1" [token] + | "foo" [token] +endmodule + +module TEST + imports TEST-SYNTAX + configuration $PGM:Exp +endmodule diff --git a/pyk/regression-new/regex-unicode/1.test b/pyk/regression-new/regex-unicode/1.test new file mode 100644 index 00000000000..1006d9f3e16 --- /dev/null +++ b/pyk/regression-new/regex-unicode/1.test @@ -0,0 +1 @@ +😊🙁 diff --git a/pyk/regression-new/regex-unicode/1.test.out b/pyk/regression-new/regex-unicode/1.test.out new file mode 100644 index 00000000000..bb43864e9f5 --- /dev/null +++ b/pyk/regression-new/regex-unicode/1.test.out @@ -0,0 +1,3 @@ + + 😊😦😦 ~> .K + diff --git a/pyk/regression-new/regex-unicode/Makefile b/pyk/regression-new/regex-unicode/Makefile new file mode 100644 index 00000000000..083497d5260 --- /dev/null +++ b/pyk/regression-new/regex-unicode/Makefile @@ -0,0 +1,6 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=llvm + +include ../include/ktest.mak diff --git a/pyk/regression-new/regex-unicode/test.k b/pyk/regression-new/regex-unicode/test.k new file mode 100644 index 00000000000..5fabca5674f --- /dev/null +++ b/pyk/regression-new/regex-unicode/test.k @@ -0,0 +1,13 @@ +// Copyright (c) Runtime Verification, Inc. All Rights Reserved. +module TEST-SYNTAX +syntax lexical Emote = r"😊?[😦🙁]+" + +syntax Emoji ::= r"{Emote}" [token] + +endmodule + +module TEST +imports TEST-SYNTAX +configuration $PGM:Emoji +rule 😊🙁 => 😊😦😦 +endmodule diff --git a/pyk/regression-new/skipped b/pyk/regression-new/skipped index d3666d457a9..284e1e9c8d0 100644 --- a/pyk/regression-new/skipped +++ b/pyk/regression-new/skipped @@ -4,7 +4,6 @@ bison-parser-library boundary-cells-opt cell-sort-haskell checkClaimError -checks concrete-function concrete-function-cache concrete-haskell @@ -25,8 +24,8 @@ imp-haskell imp-kore imp++-llvm imp-llvm +imp-outer-json io-llvm -issue-946 issue-1088 issue-1098 issue-1145 @@ -52,6 +51,7 @@ issue-3520-freshConfig issue-3647-debugTokens issue-3672-debugParse issue-582 +issue-946 ite-bug itp json-input @@ -90,9 +90,12 @@ poly-sort poly-unparsing profile proof-instrumentation +proof-instrumentation-debug proof-tests quadratic-poly-unparsing rat +regex-prec +regex-unicode search-bound set-symbolic-tests set_unification diff --git a/pyk/regression-new/total-proj/1.test b/pyk/regression-new/total-proj/1.test new file mode 100644 index 00000000000..eb28ef4401b --- /dev/null +++ b/pyk/regression-new/total-proj/1.test @@ -0,0 +1 @@ +foo() diff --git a/pyk/regression-new/total-proj/1.test.out b/pyk/regression-new/total-proj/1.test.out new file mode 100644 index 00000000000..ec7f043788e --- /dev/null +++ b/pyk/regression-new/total-proj/1.test.out @@ -0,0 +1,8 @@ + + + false ~> .K + + + 0 + + diff --git a/pyk/regression-new/total-proj/Makefile b/pyk/regression-new/total-proj/Makefile new file mode 100644 index 00000000000..32b29fad1f5 --- /dev/null +++ b/pyk/regression-new/total-proj/Makefile @@ -0,0 +1,6 @@ +DEF=test +EXT=test +TESTDIR=. +KOMPILE_BACKEND=haskell + +include ../include/ktest.mak diff --git a/pyk/regression-new/total-proj/test.k b/pyk/regression-new/total-proj/test.k new file mode 100644 index 00000000000..5fb930703dd --- /dev/null +++ b/pyk/regression-new/total-proj/test.k @@ -0,0 +1,15 @@ +module TEST + imports INT + imports BOOL + imports LIST + + configuration $PGM:Pgm + + syntax Pgm ::= foo() | Pgm2 + syntax Pgm2 ::= bar(baz: Int) + + rule foo() => ?X:Pgm2 + rule X:Pgm2 => baz(X) + rule I:Int => false + +endmodule