Skip to content

Commit

Permalink
Merge pull request #500 from binghe/relationTheory.INV
Browse files Browse the repository at this point in the history
Added TeX notation for relation inversion (relinv)
  • Loading branch information
Michael Norrish committed Dec 1, 2017
2 parents ffc6d5e + ba8a228 commit a7de884
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/TeX/holtexbasic.sty
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
\newcommand{\HOLTokenCompose}{\ensuremath{\circ}}
\newcommand{\HOLTokenRCompose}{\ensuremath{\circ_r}}
\newcommand{\HOLTokenInverse}{\ensuremath{{}^{-1}}}
\newcommand{\HOLTokenRInverse}{\ensuremath{{}^T}}
\newcommand{\HOLTokenHilbert}{\ensuremath{\varepsilon}}
\newcommand{\HOLTokenBagLeft}{\ensuremath{\{\!|}}
\newcommand{\HOLTokenBagRight}{\ensuremath{|\!\}}}
Expand Down
2 changes: 2 additions & 0 deletions src/relation/relationScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,8 @@ val _ = add_rule { block_style = (AroundEachPhrase, (PP.CONSISTENT, 0)),
pp_elements = [TOK (UTF8.chr 0x1D40)],
term_name = "relinv"}
val _ = overload_on("relinv", ``inv``)
val _ = TeX_notation { hol = (UTF8.chr 0x1D40),
TeX = ("\\HOLTokenRInverse{}", 1) }

val inv_inv = store_thm(
"inv_inv",
Expand Down

0 comments on commit a7de884

Please sign in to comment.