Bertrands Ballot Theorem
Bertrands Ballot Theorem
FORMALIZED MATHEMATICS
Vol. 22, No. 2, Pages 119–123, 2014
DOI: 10.2478/forma-2014-0014 degruyter.com/view/j/forma
Karol Pąk
Institute of Informatics
University of Białystok
Sosnowa 64, 15-887 Białystok
Poland
The notation and terminology used in this paper have been introduced in the
following articles: [24], [1], [14], [15], [18], [4], [5], [10], [21], [6], [12], [3], [11],
[25], [26], [16], [8], [13], [23], and [9].
1. Preliminaries
- 10.2478/forma-2014-0014
Downloaded from PubFactory at 08/08/2016 10:53:46PM
via free access
120 karol pąk
number] ≡ for every real-valued finite sequence f such that len f = $1 and
rng f ⊆ {0, r} holds f = r · f −1 ({r}). P[0] by [8, (72)]. For every n
P
such that P[n] holds P[n + 1] by [22, (55)], [8, (74)], [25, (70)], [2, (11)].
For every n, P[n] from [2, Sch. 2].
2. Properties of Elections
- 10.2478/forma-2014-0014
Downloaded from PubFactory at 08/08/2016 10:53:46PM
via free access
Bertrand’s ballot theorem 121
- 10.2478/forma-2014-0014
Downloaded from PubFactory at 08/08/2016 10:53:46PM
via free access
122 karol pąk
and n > 0 and p = k and for every i such that i > 0 holds 2 · (pi) < i
P P
by (8), (12), (15), [25, (70)]. 1· p−1 ({1}) = k. p−1 ({1}) + p−1 ({0}) = len p.
1 · (pi)−1 ({1}) = (pi). (pi)−1 ({1}) + (pi)−1 ({0}) = len(pi).
P
4. Main Theorem
References
[1] Grzegorz Bancerek. Cardinal numbers. Formalized Mathematics, 1(2):377–382, 1990.
[2] Grzegorz Bancerek. The fundamental properties of natural numbers. Formalized Mathe-
matics, 1(1):41–46, 1990.
- 10.2478/forma-2014-0014
Downloaded from PubFactory at 08/08/2016 10:53:46PM
via free access
Bertrand’s ballot theorem 123
[3] Grzegorz Bancerek. The ordinal numbers. Formalized Mathematics, 1(1):91–96, 1990.
[4] Grzegorz Bancerek and Krzysztof Hryniewiecki. Segments of natural numbers and finite
sequences. Formalized Mathematics, 1(1):107–114, 1990.
[5] Czesław Byliński. Finite sequences and tuples of elements of a non-empty sets. Formalized
Mathematics, 1(3):529–536, 1990.
[6] Czesław Byliński. Functions and their basic properties. Formalized Mathematics, 1(1):
55–65, 1990.
[7] Czesław Byliński. Functions from a set to a set. Formalized Mathematics, 1(1):153–164,
1990.
[8] Czesław Byliński. The sum and product of finite sequences of real numbers. Formalized
Mathematics, 1(4):661–668, 1990.
[9] Czesław Byliński. Some basic properties of sets. Formalized Mathematics, 1(1):47–53,
1990.
[10] Agata Darmochwał. Finite sets. Formalized Mathematics, 1(1):165–167, 1990.
[11] Artur Korniłowicz. On the real valued functions. Formalized Mathematics, 13(1):181–187,
2005.
[12] Rafał Kwiatek. Factorial and Newton coefficients. Formalized Mathematics, 1(5):887–890,
1990.
[13] Beata Padlewska. Families of sets. Formalized Mathematics, 1(1):147–152, 1990.
[14] Karol Pąk. Cardinal numbers and finite sets. Formalized Mathematics, 13(3):399–406,
2005.
[15] Karol Pąk. The Catalan numbers. Part II. Formalized Mathematics, 14(4):153–159, 2006.
doi:10.2478/v10037-006-0019-7.
[16] Jan Popiołek. Introduction to probability. Formalized Mathematics, 1(4):755–760, 1990.
[17] M. Renault. Four proofs of the ballot theorem. Mathematics Magazine, 80(5):345–352,
December 2007.
[18] Andrzej Trybulec. Domains and their Cartesian products. Formalized Mathematics, 1(1):
115–122, 1990.
[19] Andrzej Trybulec. Enumerated sets. Formalized Mathematics, 1(1):25–34, 1990.
[20] Andrzej Trybulec. On the decomposition of finite sequences. Formalized Mathematics, 5
(3):317–322, 1996.
[21] Andrzej Trybulec. Binary operations applied to functions. Formalized Mathematics, 1
(2):329–334, 1990.
[22] Wojciech A. Trybulec. Non-contiguous substrings and one-to-one finite sequences. For-
malized Mathematics, 1(3):569–573, 1990.
[23] Zinaida Trybulec. Properties of subsets. Formalized Mathematics, 1(1):67–71, 1990.
[24] Tetsuya Tsunetou, Grzegorz Bancerek, and Yatsuka Nakamura. Zero-based finite sequ-
ences. Formalized Mathematics, 9(4):825–829, 2001.
[25] Edmund Woronowicz. Relations and their basic properties. Formalized Mathematics, 1
(1):73–83, 1990.
[26] Edmund Woronowicz. Relations defined on sets. Formalized Mathematics, 1(1):181–186,
1990.
- 10.2478/forma-2014-0014
Downloaded from PubFactory at 08/08/2016 10:53:46PM
via free access