Add scoped sets

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add pretty printer for Lean environment

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>