Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = [
build-backend = "hatchling.build"
[project]
name = "itp_interface"
version = "1.1.2"
version = "1.1.4"
authors = [
{ name="Amitayush Thakur", email="amitayush@utexas.edu" },
]
Expand Down
4 changes: 2 additions & 2 deletions src/itp_interface/rl/simple_proof_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def _foward_to_lemma_proof(self):
lemma_name = self._dynamic_proof_executor.get_lemma_name_if_running()
if lemma_name is not None:
lemma_name = lemma_name.strip()
lemma_found = lemma_name.startswith(self.lemma_name) if lemma_name is not None else False
lemma_found = lemma_name == self.lemma_name if lemma_name is not None else False
if not lemma_found:
_ = list(self._dynamic_proof_executor.run_to_finish_lemma_return_exec())
if self._dynamic_proof_executor.execution_complete:
Expand All @@ -544,7 +544,7 @@ def _foward_to_lemma_proof(self):
lemma_name = self._dynamic_proof_executor.get_lemma_name_if_running()
if lemma_name is not None:
lemma_name = lemma_name.strip()
lemma_found = lemma_name.startswith(self.lemma_name) if lemma_name is not None else False
lemma_found = lemma_name == self.lemma_name if lemma_name is not None else False
if not lemma_found:
_ = list(self._dynamic_proof_executor.run_to_finish_lemma_return_exec())
if self._dynamic_proof_executor.execution_complete:
Expand Down