Style fixes to Triangle facts

I know I read in one of the style guides that they prefer not to end a statement with if like that.  It seems to be a good case to use "case".  Is there a better option?  Case here seems the clearest to me.