In standard quantum theory, symmetry is defined in the spirit of Klein's Erlangen Program: the background space has a symmetry group, and the basic operators should commute according to the Lie algebra of that group. We argue that the definition should be the opposite: background space has a direct physical meaning only on classical level while on quantum level symmetry should be defined by a Lie algebra of basic operators. Then the fact that de Sitter symmetry is more general than Poincare one can be proved mathematically. The problem of explaining cosmological acceleration is very difficult but, as follows from our results, there exists a scenario that the phenomenon of cosmological acceleration can be explained proceeding from basic principles of quantum theory. The explanation has nothing to do with existence or nonexistence of dark energy and therefore the cosmological constant problem and the dark energy problem do not arise. We consider finite quantum theory (FQT) where states are elements of a space over a finite ring or field with characteristic p and operators of physical quantities act in this space. We prove that, with the same approach to symmetry, FQT and finite mathematics are more general than standard quantum theory and classical mathematics, respectively: the latter theories are special degenerated cases of the former ones in the formal limit p → ∞.