Skip to content

Commit

Permalink
Only recommend inlining annotations for users, and don't mention tools
Browse files Browse the repository at this point in the history
A separate issue has been opened for what tools should do when no annoation is given: #2942
  • Loading branch information
henrikt-ma committed May 11, 2021
1 parent cc615d5 commit 56d3461
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,8 @@ \section{Declaring Inverses of Functions}\label{declaring-inverses-of-functions}
Tools are not expected to verify the bijectiveness requirement, meaning that it is the user's responsibility to ensure that this requirement is fulfilled, and that tools can rely on the requirement as an assumption for symbolic manipulations when an inverse function is provided.

There is no guarantee that a provided inverse will be used, and no rule for at which stage of symbolic processing it could be applied.
Inlining a function means that the possibility to apply provided inverses is lost, so choosing the right variant of the function inlining alternatives can be important when inverse functions are provided.
Inlining a function means that the possibility to apply provided inverses is lost.
Hence, the recommended inlining annotations -- if any -- for use together with the \lstinline!inverse!-annotation is either \lstinline!Inline = false! or \lstinline!LateInline = true!.

\begin{example}
If an inverse is provided, but the injectiveness part of the bijectiveness requirement is not fulfilled, this may introduce additional ambiguity to the solution of equations with multiple solutions.
Expand Down

0 comments on commit 56d3461

Please sign in to comment.