LEGO — logical proof assistant