Skip to content

Instantly share code, notes, and snippets.

@themattchan
themattchan / Game.v
Created July 25, 2017 03:14 — forked from arthuraa/Game.v
Basic combinatorial game theory
Require Import Coq.Lists.List.
Open Scope bool_scope.
(* This is a direct definition of CGTs, using just one inductive type
instead of a pair of mutually-inductive types *)
Inductive game := Game {
left_moves : list game;
right_moves : list game