File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ requires = [
55build-backend = " hatchling.build"
66[project ]
77name = " itp_interface"
8- version = " 1.1.10 "
8+ version = " 1.1.11 "
99authors = [
1010 {
name =
" Amitayush Thakur" ,
email =
" [email protected] " },
1111]
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ class Lean4SyncExecutor:
3030 # We ONLY support proofs which are written in tactic mode i.e. with := syntax
3131 theorem_endings = r"(:=|(\|[\S|\s]*=>))"
3232 theorem_end_regex = r"(theorem|lemma|example)([\s|\S]*?)(:=|=>)"
33- theorem_regex = r"((((theorem|lemma)[\s]+([\S ]*))|example)([\S|\s]*?)(:=|=>)[\s]*?)[\s]+"
34- theorem_name_regex = r"(((theorem|lemma)[\s]+([\S ]*))|example)"
33+ theorem_regex = r"((((theorem|lemma)[\s]+([^\s: ]*))|example)([\S|\s]*?)(:=|=>)[\s]*?)[\s]+"
34+ theorem_name_regex = r"(((theorem|lemma)[\s]+([^\s: ]*))|example)"
3535 remove_proof_regex = r"([\s|\S]*(:=|\|))[\s|\S]*?"
3636 proof_context_separator = "⊢"
3737 proof_context_regex = r"((\d+) goals)*([\s|\S]*?)\n\n"
You can’t perform that action at this time.
0 commit comments