Theorems · Definition · logic and foundations
Relation.CutExpand
{α : Type u_1} → (α → α → Prop) → Multiset α → Multiset α → PropThe relation that specifies valid moves in our hydra game. CutExpand r s' s
means that s' is obtained by removing one head a ∈ s and adding back an arbitrary
multiset t of heads such that all a' ∈ t satisfy r a' a.
This is most directly translated into s' = s.erase a + t, but Multiset.erase requires
DecidableEq α, so we use the equivalent condition s' + {a} = s + t instead, which
is also easier to verify for explicit multisets s', s and t.
We also don't include the condition a ∈ s because s' + {a} = s + t already
guarantees a ∈ s + t, and if r is irreflexive then a ∉ t, which is the
case when r is well-founded, the case we are primarily interested in.
The lemma Relation.cutExpand_iff below converts between this convenient definition
and the direct translation when r is irreflexive.
- Defined in
- Mathlib.Logic.Hydra
- Cited by
- 19 results in Mathlib
- Foundations
- Depth 15 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Multisetstatement and proof · cited by 2,627
Cited by19
Results whose statement or proof uses this declaration.
- Relation.cutExpand_singleton_singletonstatement · cited by 4
- Relation.cutExpand_add_leftstatement · cited by 3
- Relation.cutExpand_add_rightstatement and proof · cited by 3
- Relation.acc_of_singletonstatement and proof · cited by 2
- Relation.cutExpand_iffstatement · cited by 2
- Relation.cutExpand_singletonstatement · cited by 2
- Acc.cutExpandstatement and proof · cited by 1
- Relation.not_cutExpand_zerostatement · cited by 1
- Relation.cutExpand_doublestatement · cited by 1
- Relation.cutExpand_fibrationstatement and proof · cited by 1
- Relation.cutExpand_add_singlestatement · cited by 0
- Relation.cutExpand_closedstatement · cited by 0