/-
Copyright (c) 2021 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
module
public import Mathlib.Data.Set.Insert
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Booleans and set operations
This file contains three trivial lemmas about `Bool`, `Set.univ`, and `Set.range`.
-/
public section
open Set
namespace Bool
@[simp]
theorem univ_eq : (univ : Set Bool) = {false, true} := by grind
@[simp, grind =]
theorem range_eq {α : Type*} (f : Bool → α) : range f = {f false, f true} := by grind [cases Bool]
@[simp, grind =]
theorem compl_singleton (b : Bool) : ({b}ᶜ : Set Bool) = {!b} := by grind [cases Bool]
end Bool
¤ Dauer der Verarbeitung: 0.9 Sekunden
¤
*© Formatika GbR, Deutschland