# Automatic inverse of a function?

**URL:** <https://discourse.julialang.org/t/automatic-inverse-of-a-function/53342>\
**Category:** Optimization (Mathematical)\
**Created:** [January 14, 2021, 5:07pm UTC](https://discourse.julialang.org/t/automatic-inverse-of-a-function/53342 "2021-01-14T17:07:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lrnv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lrnv/32/19373_2.png) [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Post date:** [January 14, 2021, 5:30pm UTC](https://discourse.julialang.org/t/automatic-inverse-of-a-function/53342/3 "2021-01-14T17:30:49Z")

</div>

I hear you, yes. subpieces of the algorithm might not be invertibles. But what if the global algorithm is, indeed, invertible ? I mean, f(a,b) = (a+b, exp(a+2b)) is invertible, and you could get more creative.

---

_[View the full topic](https://discourse.julialang.org/t/automatic-inverse-of-a-function/53342)._
