Conway's Game of Life in pure pickle for fun and profitlinus.space1 points·by lheck·3 tháng trước·0 comments
My band of elephants is more accurate than your neural networklinus.space2 points·by lheck·năm ngoái·0 comments
lheck·năm ngoái·discussalmost-one-liner (though it will give you the full model): import z3; z3.solve([z3.Sum([ord(a) == z3.Int(f"k{i}") for i, a in enumerate(r[0])]) == r[1] for r in [("bbababbabb", 7), ("baaababaaa", 5), ("baaabbbaba", 3), ("bbaaabbaaa", z3.Int("x"))]])
lheck·năm ngoái·discussColleagues of mine are using it to verify concurrent programs: https://iris-project.org/tutorial-material.html