Datasets:

ArXiv:
License:
lean-pfr / PFR /Mathlib /Data /ZMod /Basic.lean
cfahlgren1's picture
cfahlgren1 HF Staff
mirror at 1899ce8ed95fc310cce53d4c7ecfa2beb20ebec4
bf6216d verified
Raw History Blame Contribute Delete
291 Bytes
module
public import Mathlib.Data.ZMod.Basic
open scoped Pointwise
public section
variable {G : Type*} [AddCommGroup G] [Module (ZMod 2) G]
namespace Set
lemma sub_eq_add (A : Set G) : A - A = A + A := by
simp [← Set.image2_add, ← Set.image2_sub, ZModModule.sub_eq_add]
end Set