Cryolite is a rare mineral that consists of sodium fluoride and aluminium fluoride bonded . It is used in the production of aluminium . Now , as natural cryolite is too rare to be used for this purpose , synthetic sodium aluminium fluoride is produced from the common mineral fluorite .