Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable more descriptive names for quantifiers and logical constants #111

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

jargh
Copy link
Contributor

@jargh jargh commented Sep 24, 2024

The new functions "set_verbose_symbols" and "unset_verbose_symbols" enable and disable, respectively, more verbose and descriptive names for some logical symbols; these are now enabled by default:

    F -> false
    T -> true
    ! -> forall
    ? -> exists
    ?! -> existsunique

This is all done via interface maps. Not only is the underlying term structure unchanged (the "actual" names are the symbolic ones) but also the original syntax is accepted as an alternative:

exists x. x = 1 = ?x. x = 1;;

val it : bool = true

The new functions "set_verbose_symbols" and "unset_verbose_symbols"
enable and disable, respectively, more verbose and descriptive names
for some logical symbols; these are now enabled by default:

        F -> false
        T -> true
        ! -> forall
        ? -> exists
        ?! -> existsunique

This is all done via interface maps. Not only is the underlying term
structure unchanged (the "actual" names are the symbolic ones) but
also the original syntax is accepted as an alternative:

  # `exists x. x = 1` = `?x. x = 1`;;
  val it : bool = true
@jrh13 jrh13 merged commit 2c04223 into jrh13:master Sep 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants