@@ -20,7 +20,7 @@ Set Implicit Arguments.
2020Unset Strict Implicit .
2121Unset Printing Implicit Defensive.
2222
23- Import Order.TTheory GRing.Theory Num.Theory.
23+ Import Order.TTheory GRing.Theory Num.Def Num. Theory.
2424Import numFieldNormedType.Exports.
2525
2626Local Open Scope classical_set_scope.
8080
8181End irrational_Gdelta.
8282
83+ Definition borel_type (T : topologicalType) := g_sigma_algebraType (@open T).
84+
85+ Section borel_normedModType.
86+ Local Open Scope ring_scope.
87+ Context {R : realType} {V : normedModType R}.
88+
89+ Lemma singleton_bigcap (x : V) :
90+ [set x] = \bigcap_(k : nat) ball x (k.+1%:R)^-1.
91+ Proof .
92+ apply/seteqP; split => [_ -> k _|y xy].
93+ by rewrite -ball_normE/= subrr normr0 invr_gt0 ltr0n.
94+ apply/eqP; rewrite eq_sym -subr_eq0 -normr_eq0 eq_le normr_ge0 andbT.
95+ apply/ler_addgt0Pl => e e0; rewrite addr0.
96+ have := xy (truncn e^-1) I; rewrite -ball_normE/= => /ltW/le_trans; apply.
97+ by rewrite invf_ple ?posrE ?ltr0n ?invr_gt0//; apply/ltW/truncnS_gt.
98+ Qed .
99+
100+ Lemma measurable1 (x : borel_type V) : measurable [set x].
101+ Proof .
102+ rewrite singleton_bigcap; apply: bigcap_measurable => // k _.
103+ by apply: sub_sigma_algebra; exact: ball_open.
104+ Qed .
105+
106+ End borel_normedModType.
107+
83108Lemma not_rational_Gdelta (R : realType) : ~ Gdelta (@rational R).
84109Proof .
85110apply/forall2NP => A; apply/not_andP => -[oA ratrA].
0 commit comments