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
Also more interesting material here https://www.euclideanspace.com/maths/discrete/types/dependent/index.htm
It seems like we can claim that the vector representation in code is a dependent sum type.
Meets the rules:
It also has this commentary
In computer programs they provide a sort of
meta level capability to types in that
terms can be used at compile time and not just runtime.
https://partialflow.wordpress.com/2017/07/26/dependent-types-type-level-programming/
I should really try coding a petri-net in Idris or some theorem proving language
Some work from 2022 https://amr-sabry.luddy.indiana.edu/files/2022/01/popl22main-p31-p-32bd461e9d-54940-final.pdf
and more directly related to category theory
EDIT: removed some thoughts about state space...