Introduction to Real Analysis, Volume I (Jiri Lebl, 2025) -- Chapter 01 -- Section 04

section Chap01section Section04

Proposition 1.4.1: A set failed to synthesize HasSubset Type Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command.Unknown identifier `I`I is an interval if and only if it contains at least two points and, whenever and , the point Unknown identifier `b`b also belongs to Unknown identifier `I`I.

theorem interval_real_iff_two_points_and_between (I : Set ) : (Set.OrdConnected I a c, a c a I c I) ( a c, a c a I c I) ( {a c b}, a I c I a < b b < c b I) := by constructor · rintro hconn, hex refine hex, ?_ intro a c b ha hc hab hbc have hmem : b Set.Icc a c := le_of_lt hab, le_of_lt hbc exact hconn.out ha hc hmem · rintro hex, hbetween refine ?_, hex refine ?_ intro a ha c hc b hb rcases lt_or_eq_of_le hb.1 with hlt | rfl · rcases lt_or_eq_of_le hb.2 with hlt' | rfl · exact hbetween ha hc hlt hlt' · simpa using hc · simpa using ha

Theorem 1.4.2 (Cantor): The set of real numbers : Type is uncountable.

theorem cantor_real_uncountable : Uncountable := by -- This follows directly from the standard cardinality computation of `ℝ`. simpa using (Cardinal.instUncountableReal : Uncountable )
end Section04end Chap01