Game addition relation #
This file defines, given relations rα : α → α → Prop
and rβ : β → β → Prop
, a relation
Prod.GameAdd
on pairs, such that GameAdd rα rβ x y
iff x
can be reached from y
by
decreasing either entry (with respect to rα
and rβ
). It is so called since it models the
subsequency relation on the addition of combinatorial games.
We also define Sym2.GameAdd
, which is the unordered pair analog of Prod.GameAdd
.
Main definitions and results #
Prod.GameAdd
: the game addition relation on ordered pairs.WellFounded.prod_gameAdd
: formalizes induction on ordered pairs, where exactly one entry decreases at a time.Sym2.GameAdd
: the game addition relation on unordered pairs.WellFounded.sym2_gameAdd
: formalizes induction on unordered pairs, where exactly one entry decreases at a time.
Prod.GameAdd rα rβ x y
means that x
can be reached from y
by decreasing either entry with
respect to the relations rα
and rβ
.
It is so called, as it models game addition within combinatorial game theory. If rα a₁ a₂
means
that a₂ ⟶ a₁
is a valid move in game α
, and rβ b₁ b₂
means that b₂ ⟶ b₁
is a valid move
in game β
, then GameAdd rα rβ
specifies the valid moves in the juxtaposition of α
and β
:
the player is free to choose one of the games and make a move in it, while leaving the other game
unchanged.
See Sym2.GameAdd
for the unordered pair analog.
- fst {α : Type u_1} {β : Type u_2} {rα : α → α → Prop} {rβ : β → β → Prop} {a₁ a₂ : α} {b : β} : rα a₁ a₂ → Prod.GameAdd rα rβ (a₁, b) (a₂, b)
- snd {α : Type u_1} {β : Type u_2} {rα : α → α → Prop} {rβ : β → β → Prop} {a : α} {b₁ b₂ : β} : rβ b₁ b₂ → Prod.GameAdd rα rβ (a, b₁) (a, b₂)
Instances For
Prod.GameAdd
is a subrelation of Prod.Lex
.
Prod.RProd
is a subrelation of the transitive closure of Prod.GameAdd
.
If a
is accessible under rα
and b
is accessible under rβ
, then (a, b)
is
accessible under Prod.GameAdd rα rβ
. Notice that Prod.lexAccessible
requires the
stronger condition ∀ b, Acc rβ b
.
The Prod.GameAdd
relation on well-founded inputs is well-founded.
In particular, the sum of two well-founded games is well-founded.
Recursion on the well-founded Prod.GameAdd
relation.
Note that it's strictly more general to recurse on the lexicographic order instead.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Induction on the well-founded Prod.GameAdd
relation.
Note that it's strictly more general to induct on the lexicographic order instead.
Sym2.GameAdd rα x y
means that x
can be reached from y
by decreasing either entry with
respect to the relation rα
.
See Prod.GameAdd
for the ordered pair analog.
Equations
- Sym2.GameAdd rα = Sym2.lift₂ ⟨fun (a₁ b₁ a₂ b₂ : α) => Prod.GameAdd rα rα (a₁, b₁) (a₂, b₂) ∨ Prod.GameAdd rα rα (b₁, a₁) (a₂, b₂), ⋯⟩
Instances For
The Sym2.GameAdd
relation on well-founded inputs is well-founded.
Recursion on the well-founded Sym2.GameAdd
relation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Induction on the well-founded Sym2.GameAdd
relation.