a b c q : ℚ
hq : q.den = 1
⊢ ↑q.num = q.num /. ↑1
a b c q : ℚ
hq : q.den = 1
⊢ ↑q.num = q
conv_rhs => rw [← @num_den q, hq]
a b c q : ℚ
hq : q.den = 1
⊢ q.num /. 1 = q.num /. ↑1
a b c q : ℚ
hq : q.den = 1
⊢ ↑q.num = q.num /. ↑1
rw [coe_int_eq_divInt]
no goals
a b c q : ℚ
hq : q.den = 1
⊢ q.num /. 1 = q.num /. ↑1
rfl