You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/server/adam/Adam/Levels/SetTheory/L08_UnionInter.lean

34 lines
646 B
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import Adam.Metadata
import Mathlib.Data.Set.Basic
set_option tactic.hygienic false
Game "Adam"
World "SetTheory"
Level 8
Title "Schnittmenge und Vereinigung"
Introduction
"
Ansonsten gibt es jegliche Lemmas in
`import Mathlib.Data.Set.Basic`
die beim Umgang mit diesen Operationen weiterhelfen. Schaue in der Bibliothek auf
der Seite nach Lemmas, die dir hier weiterhelfen!
"
open Set
Statement
""
(A B : Set ) : univ \ (A ∩ B) = (univ \ A) (univ \ B) (A \ B) := by
rw [diff_inter]
rw [union_assoc]
rw [←union_diff_distrib]
rw [univ_union]
NewTactic constructor intro rw assumption rcases simp tauto trivial