Metamath Proof Explorer


Theorem dya2iocnei

Description: For any point of an open set of the usual topology on ( RR X. RR ) there is a closed-below open-above dyadic rational square which contains that point and is entirely in the open set. (Contributed by Thierry Arnoux, 21-Sep-2017)

Ref Expression
Hypotheses sxbrsiga.0 J = topGen ran .
dya2ioc.1 I = x , n x 2 n x + 1 2 n
dya2ioc.2 R = u ran I , v ran I u × v
Assertion dya2iocnei A J × t J X A b ran R X b b A

Proof

Step Hyp Ref Expression
1 sxbrsiga.0 J = topGen ran .
2 dya2ioc.1 I = x , n x 2 n x + 1 2 n
3 dya2ioc.2 R = u ran I , v ran I u × v
4 elunii X A A J × t J X J × t J
5 4 ancoms A J × t J X A X J × t J
6 1 tpr2uni J × t J = 2
7 5 6 eleqtrdi A J × t J X A X 2
8 eqid u , v u + i v = u , v u + i v
9 eqid ran e ran . , f ran . e × f = ran e ran . , f ran . e × f
10 1 8 9 tpr2rico A J × t J X A r ran e ran . , f ran . e × f X r r A
11 anass r ran e ran . , f ran . e × f X r r A r ran e ran . , f ran . e × f X r r A
12 1 2 3 9 dya2iocnrect X 2 r ran e ran . , f ran . e × f X r b ran R X b b r
13 12 3expb X 2 r ran e ran . , f ran . e × f X r b ran R X b b r
14 13 anim1i X 2 r ran e ran . , f ran . e × f X r r A b ran R X b b r r A
15 14 anasss X 2 r ran e ran . , f ran . e × f X r r A b ran R X b b r r A
16 11 15 sylan2br X 2 r ran e ran . , f ran . e × f X r r A b ran R X b b r r A
17 r19.41v b ran R X b b r r A b ran R X b b r r A
18 simpll X b b r r A X b
19 simplr X b b r r A b r
20 simpr X b b r r A r A
21 19 20 sstrd X b b r r A b A
22 18 21 jca X b b r r A X b b A
23 22 reximi b ran R X b b r r A b ran R X b b A
24 17 23 sylbir b ran R X b b r r A b ran R X b b A
25 16 24 syl X 2 r ran e ran . , f ran . e × f X r r A b ran R X b b A
26 25 rexlimdvaa X 2 r ran e ran . , f ran . e × f X r r A b ran R X b b A
27 7 10 26 sylc A J × t J X A b ran R X b b A