Metamath Proof Explorer


Theorem qndenserrnopn

Description: n-dimensional rational numbers are dense in the space of n-dimensional real numbers, with respect to the n-dimensional standard topology. (Contributed by Glauco Siliprandi, 24-Dec-2020)

Ref Expression
Hypotheses qndenserrnopn.i ⊢ φ → I ∈ Fin
qndenserrnopn.j ⊢ J = TopOpen ⁡ I
qndenserrnopn.v ⊢ φ → V ∈ J
qndenserrnopn.n ⊢ φ → V ≠ ∅
Assertion qndenserrnopn ⊢ φ → ∃ y ∈ ℚ I y ∈ V

Proof

Step Hyp Ref Expression
1 qndenserrnopn.i ⊢ φ → I ∈ Fin
2 qndenserrnopn.j ⊢ J = TopOpen ⁡ I
3 qndenserrnopn.v ⊢ φ → V ∈ J
4 qndenserrnopn.n ⊢ φ → V ≠ ∅
5 n0 ⊢ V ≠ ∅ ↔ ∃ x x ∈ V
6 4 5 sylib ⊢ φ → ∃ x x ∈ V
7 1 adantr ⊢ φ ∧ x ∈ V → I ∈ Fin
8 3 adantr ⊢ φ ∧ x ∈ V → V ∈ J
9 simpr ⊢ φ ∧ x ∈ V → x ∈ V
10 eqid ⊢ dist ⁡ I = dist ⁡ I
11 7 2 8 9 10 qndenserrnopnlem ⊢ φ ∧ x ∈ V → ∃ y ∈ ℚ I y ∈ V
12 11 ex ⊢ φ → x ∈ V → ∃ y ∈ ℚ I y ∈ V
13 12 exlimdv ⊢ φ → ∃ x x ∈ V → ∃ y ∈ ℚ I y ∈ V
14 6 13 mpd ⊢ φ → ∃ y ∈ ℚ I y ∈ V