Another way to say "trivial is the same as petty" is "The adjectives "trivial" and "petty" have the same meaning."