Skip to content

Commit

Permalink
Missing some lemmas in run_proofs script
Browse files Browse the repository at this point in the history
  • Loading branch information
dstebila committed Mar 14, 2022
1 parent 36bb8ee commit b5036a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run_proofs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def run_tamarin(model: str, prove: Union[str, None], defines: List[str]) -> str:
return result.stdout


def get_lemmas(model: str) -> Iterable[str]:
def get_lemmas(model: str, defines) -> Iterable[str]:
"""Parse out the lemmas from the output of Tamarin"""
lines = run_tamarin(model, None, []).splitlines()
lines = run_tamarin(model, None, defines).splitlines()

for line in lines:
if m := LEMMA_REGEX.match(line):
Expand Down Expand Up @@ -76,7 +76,7 @@ def prove_lemmas(model, lemmas: Iterable[str], defines):
model = sys.argv[1]
defines = sys.argv[2:]

lemmas = get_lemmas(model)
lemmas = get_lemmas(model, defines)
start_time = datetime.now()
prove_lemmas(model, lemmas, defines)
duration = datetime.now() - start_time
Expand Down

0 comments on commit b5036a4

Please sign in to comment.