Proc index in the formula

This commit is contained in:
Artur Meski
2023-09-15 14:54:04 +01:00
parent 282f50bbf8
commit 1488ad1501

View File

@@ -257,10 +257,8 @@ class DRSGenerator:
def generate_formula(self): def generate_formula(self):
r = "rsctlk-property { f4 : AG( proc0.in IMPLIES C[proc0,proc1,proc2](~proc1.in AND ~proc2.in) ) };" disjunction = " OR ".join([f"proc{i}.TF" for i in range(1, self.y + 1)])
conjunction = " AND ".join([f"~proc{i}.TF" for i in range(1, self.y + 1)])
disjunction = " OR ".join([f"proc{i}.TF" for i in range(1, self.x + 1)])
conjunction = " AND ".join([f"~proc{i}.TF" for i in range(1, self.x + 1)])
r = ( r = (
"rsctlk-property { f0 : AG( K[proc0]( " "rsctlk-property { f0 : AG( K[proc0]( "