The definition of firmer is more solid, or more unyielding when pressed.
(adjective)If one mattress is harder and more unyielding than the other, it is an example of a firmer mattress.
See firmer in Webster's New World College Dictionary
adjective
Origin: Fr fermoir, altered < formoir < former, to form
noun