quartinvariant