You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for delay! I've updated to recent Mathlib now, and also ported my mono machinery over to a much cleaner custom approx tactic built on Aesop. The new version of your code is:
import Interval
defInterval.f (x : Interval) : Interval := x / 2noncomputabledefReal.f (x : ℝ) : ℝ := x / 2@[mono]lemmamem_approx_f (ix : Interval) (x : ℝ) (m : x ∈ approx ix) :
x.f ∈ approx ix.f := by
simp only [Real.f, Interval.f]
approx
How should one prove
mem_approx_f
below?I don't know how to prove the sorry and also don't know how one might generalize
mem_approx_ofNat
to work for numbers besides2
.With naive approach of adding
mono
does not pick up on it.The text was updated successfully, but these errors were encountered: