One of the main components of the Mizar project is the Mizar language, a computer language invented to reflect the natural language of mathematics. From the very beginning various linguistic constructions and grammar rules which enable us to write texts which resemble classical mathematical papers have been developed and implemented in the language. The Mizar Mathematical Library is a repository of computer-verified mathematical texts written in the Mizar language. Besides well-known and important theorems, the library contains series of some quite technical lemmas describing some properties formulated for different values of numbers. For example the sequence of lemmas for n being Nat st n <=1 holds n=0 or n=1; for n being Nat st n <=2 holds n=0 or n=1 or n=2; for n being Nat st n <=3 holds n=0 or n=1 or n=2 or n=3; which for a long time contained 13 such formulae. In this paper, we present an extension of the Mizar language – an ellipsis that is used to define flexary logical connectives. We define flexary conjunction and flexary disjunction, which can be understood as generalization of classical conjunction and classical disjunction, respectively. The proposed extension enables us to get rid of lists of such lemmas and to formulate them as single theorems, e.g. for m,n being Nat st n <=m holds n=0 or ... or n=m; covering all cases between the bounds 0 and m in this case. Moreover, a specific inference rule to process flexary formulae, formulae using flexary connectives, is introduced. We describe how ellipses are incorporated into the Mizar language and how they are verified by the Mizar proof checker. 
Flexary connectives in Mizar