Skip to content

Instantly share code, notes, and snippets.

@stackdump
Last active June 13, 2024 13:41
Show Gist options
  • Save stackdump/2be8345c71ab111a6c37d97bdea84234 to your computer and use it in GitHub Desktop.
Save stackdump/2be8345c71ab111a6c37d97bdea84234 to your computer and use it in GitHub Desktop.
Describing Tic-Tac-Toe Using Dependent Sum Types

Problem

Can we use Type Theory to show that a given Petri-Net correctly models a game of Tic-Tac-Toe?

EDIT: removed a bad attempt to grapple with this problem originally in 2017