Exact mappings in condensed matter physics