Documentation

CombinatorialGames.Ruleset.Hackenbush.Color

Hackenbush colours #

Edges in Hackenbush are bLue (Left's), Red (Right's) or green (either player's).

Instances For
    @[instance_reducible]
    Equations

    Every colour may be cut by some player.

    theorem Hackenbush.Color.eq_ofPlayer_neg_of_ne {c : Color} {p : Player} (h_green : c ≠ green) (h_ne : c ≠ ofPlayer p) :
    c = ofPlayer (-p)
    theorem Hackenbush.Color.exists_eq_ofPlayer {c : Color} (h_green : c ≠ green) :
    ∃ (p : Player), c = ofPlayer p