nprofile1qyt8wumn8ghj7un9d3shjtnyd968gmewwp6kytcqyzf5l64n2xk9azdrt6c96nwshexx45v4sduj7cyakmw005afuu05jm4rrqe (nprofile…rrqe) Not very useful for mathematics for the reason I mentioned that you would still have to have 1/x defined for x = 0?
I do think that nprofile1qyt8wumn8ghj7un9d3shjtnyd968gmewwp6kytcqyz4g9497lls2ey4v3rxtld6a8m5rh7meav97tqfhnceyja6wn0lpgng99up (nprofile…99up)'s point that mainstream mathematicians really want proof irrelevance is a good one, but perhaps the answer is to teach them that they shouldn't want things they can't have...
Here's an idea to fix the above issue. What if we do something like postulate a neutral
inv : (x : R) -> (y : R) × (p : x ≠ 0) -> (y = 1/(x,p))
where 1/- : (x : R) × (x ≠ 0) -> R is the "normal" definition of inverse.
Then this serve as the "base function" for the refined inverse. Perhaps suitable elaborator support can make moving between two definitions (the definition which takes in the proof as a refinement and the real definition) smooth.