Zulip Chat Archive
Stream: mathlib4
Topic: fun_prop fails to prove given assumption
Bhavik Mehta (Oct 31 2025 at 04:52):
Here's my example:
import Mathlib
example {y : ℝ} (hy₁ : -1 < y) (hy₂ : y < 1) :
DifferentiableAt ℝ (fun x ↦ (1 + x) / (1 - x)) y := by
have h : 1 - y ≠ 0 := by grind
fun_prop
I added h after seeing the error message reported by fun_prop, but it still struggles.
What's going on here? How can I make fun_prop useful in cases like this?
Michael Rothgang (Oct 31 2025 at 05:50):
Does fun_prop (discharger := assumption) work?
Bhavik Mehta (Oct 31 2025 at 05:51):
It does!
Last updated: Dec 20 2025 at 21:32 UTC