Skip to content

Conversation

@andreiburdusa
Copy link
Contributor


Fixes #1869

Reviewer checklist
  • Test coverage: stack test --coverage
  • Public API documentation: stack haddock

@andreiburdusa
Copy link
Contributor Author

I runed a-to-c-spec.k from tiny using --dry-run. This is spec.kore:

[]
module A-TO-C-SPEC

// imports
import VERIFICATION []


// claims
// rule `<generatedTop>`(`<k>`(inj{S,KItem}(`a_TINY_S`(.KList))~>_DotVar1),_DotVar0)=>`<generatedTop>`(`<k>`(inj{S,KItem}(`c_TINY_S`(.KList))~>_DotVar1),_DotVar0) requires #token("true","Bool") ensures #token("true","Bool") [contentStartColumn(8), contentStartLine(9), org.kframework.attributes.Location(Location(9,8,9,14)), org.kframework.attributes.Source(Source(/home/andrei/kore/test/tiny/././a-to-c-automatic-repl-script-spec.k)), org.kframework.definition.Production(syntax #RuleContent ::= #RuleBody [klabel(#ruleNoConditions), symbol])]
  claim{} \implies{SortGeneratedTopCell{}} (
      \and{SortGeneratedTopCell{}} (
      \top{SortGeneratedTopCell{}}(), Lbl'-LT-'generatedTop'-GT-'{}(Lbl'-LT-'k'-GT-'{}(kseq{}(inj{SortS{}, SortKItem{}}(Lbla'Unds'TINY'Unds'S{}()),Var'Unds'DotVar1:SortK{})),Var'Unds'DotVar0:SortGeneratedCounterCell{})), weakAlwaysFinally{SortGeneratedTopCell{}} (
      \and{SortGeneratedTopCell{}} (
      \top{SortGeneratedTopCell{}}(), Lbl'-LT-'generatedTop'-GT-'{}(Lbl'-LT-'k'-GT-'{}(kseq{}(inj{SortS{}, SortKItem{}}(Lblc'Unds'TINY'Unds'S{}()),Var'Unds'DotVar1:SortK{})),Var'Unds'DotVar0:SortGeneratedCounterCell{}))))
  [org'Stop'kframework'Stop'attributes'Stop'Source{}(), org'Stop'kframework'Stop'definition'Stop'Production{}(), contentStartLine{}(), contentStartColumn{}(), org'Stop'kframework'Stop'attributes'Stop'Location{}()]

endmodule [org'Stop'kframework'Stop'attributes'Stop'Location{}(), org'Stop'kframework'Stop'attributes'Stop'Source{}()]

The only line that contains a location is commented (// rule `<generatedTop>`...)

@andreiburdusa andreiburdusa marked this pull request as ready for review August 5, 2020 13:37
@andreiburdusa andreiburdusa requested a review from ttuegel August 6, 2020 14:49
@ttuegel ttuegel self-requested a review August 10, 2020 14:20
@rv-jenkins rv-jenkins merged commit 18e8b2c into runtimeverification:master Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn when a claim is proven without taking any steps

3 participants