Applications of Littlestone dimension to query learning and to compression | Synapse