PigeonHolePrinciple
gapt.examples.PigeonHolePrinciple
object PigeonHolePrinciple
Constructs a formula representing the pigeon hole principle. More precisely: PigeonHolePrinciple( p, h ) states that if p pigeons are put into h holes then there is a hole which contains two pigeons. PigeonHolePrinciple( p, h ) is a tautology iff p > h.
Since we want to avoid empty disjunctions, we assume > 1 pigeons.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PigeonHolePrinciple.type
Members list
In this article