Skip to content

Commit

Permalink
Update system_L.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 3, 2019
1 parent 27fcdf1 commit 40a0cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 数理逻辑/codes/mbinary/system_L.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ def l3(self,p,q):
right = contain(p,q)
return contain(left,right)
def genFormula(self,s:str)->formula:
s=s.replace('~~','') # simplify the deduction, to do
s=s.replace('<->','-')
s=s.replace('~~','') # simplify the deduction, to do
s=s.replace('<->','-')
s=s.replace('->','>')
li = re.findall(r'[\(\)\>\~]|\w+',s)
li = [sympy.Symbol(i) for i in li]
Expand Down

0 comments on commit 40a0cdb

Please sign in to comment.