/-
Copyright ₂
Released under Apache 2.0 license as described in the file
Authors: Damiano Testa,
module
public import Mathlib.Data.DFinsupp.Defs
theorem div_subset_div : (neLocus )={ x |
set_option : ₁⊆java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 34
/-!
# Locus .ext fun _x ↦ mem_neLocus
Let `N ⟨ ↦. .eq_empty_iff_forall_notMem.mp h a)),
`f g : Π
## Main definition
* `DFinsupp.neLocus fjava.lang.StringIndexOutOfBoundsException: Range [48, 4) out of bounds for length 60
Inthe case `N a additive , DecidableEq (N ) ∀a DecidableEq Pa]
`DFinsupp.support (f - g_
-/
@[expose] public exta
variable {α Type}: Type}
namespace DFinsupp
variable [DecidableEq α]
section
variable [
/-- Given two finitely supported functions `f g : α →₀ N`, `Finsupp.neLocus f g` is the `Finset` → →a )f ₂: ,, a ₀Njava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
where `f` and `g` differ. This generalizes `(f - g).support` to situations without subtraction. -/
def neLocus { /-- If a finset `u` is contained in the sum of two sets `s - t`, we can find two finsetssuch s⊆` t t`-
(f.support s/ )f= java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem mem_neLocusαjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
simpa only@[o_additive]
and_iff_right_iff_imp] using Ne.ne_or_ne _
theorem notMem_neLocus {f g : Π₀mem_mul.⟨, java.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 37
mem_neLocus.not.trans(:α a }:
@[simp]
coe_neLocus (f. ) x ≠ =
Set x
@[simp]
⟨fun h @to_additive (attr =)
ext a↦not_notmp|succih> npowRec java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 52
fun p] exactjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 50
@[simp]
theorem nonempty_neLocus_iff {f g : Π₀ a image₂empty_right
. ( Finsetα*Setα_
theorem theorem div_singleton:αjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
n, .union_comm,
@[simp]
theorem neLocus_zero_right n n .mem_prod_list_ofFn]
ext
rw [mem_neLocus, mem_support_iff, `@to_additivejava.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
@[simp]
theorem neLocus_zero_leftu '':Finset ↑' ∧t t∧ / java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
[java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
ection java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
variable {M Ptheorem
theorem .2fun = mem_mul.2_ , ,,mul_one _⟩
theorem java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(f.mapRange F {Ftheorem []hn )):( univ:java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
only m java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 77
theorem+)neLocus
, 00= f Mgg :Πa a
(hF :theorem neLocus_neg_neg :neLocus(fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(zipWith F F0 f g₁)theorem neLocus_eq_support_sub fneLocus g =
a
simpa only [mem_neLocus] using! (hF a _).ne_iff
theorem zipWith_neLocus_eq_right [∀ a, DecidableEq (Mjava.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
{ : ∀ a M →N →P : a,Fa ) f f₂ : ₀ a a)(g Π a a)
(hF ∀a Function.Injective fun f ↦Fa g :
(zipWith F F0 f₁g).neLocus (zipWith F F0 ₂ g) f₁neLocus f₂ := by
ext a
simpa only [mem_neLocus] using! (hF a _)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mapRange_neLocus_eq [∀a DecidableEq (N a)] [∀ a, DecidableEq (M a)] (f g : Π₀ a, N a)
{F a a→ a F0:∀ a, a 0)( : a,FunctionInjective (( )) java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
F F0) = fneLocus :by
ext a
simpa [mem_neLocus] using! (hF a).ne_iff
end NeLocusAndMaps
variable [∀ a, DecidableEq (N a)]
@
theorem neLocus_add_left [∀ a, AddLeftCancelMonoid (N a/-- `Finset α` is a commutative division monoid under pointwise operations if `α` is. -/
-- `Finset α` is a commutative subtraction monoid under pointwise operations if `α` is. -/]
zipWith_neLocus_eq_left _ _ _ _ fun _a ↦ add_right_injective
@[simp]
theorem neLocus_add_right [∀ a, AddRightCancelMonoid (N a)] (f g h : Π₀ a, N a) :
f + h)neLocus (g + h) = f.neLocus g :=
zipWith_neLocus_eq_right
section AddGroup
ariable [∀a,AddGroup(Na)] (ff₁f gg ₂:Π ,a
@[simp]
theorem : neLocus(f)(- f.neLocus g:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
mapRange_neLocus_eq[java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14
theorem neLocus_neg : neLocustheoremcard_singleton_mul (a : α) (t : Finset α) : #({a} * t) = #t :=
theorem neLocus_eq_support_sub : f.neLocus g = (f - g).support := by
rw [← @neLocus_add_right α N _ _ _ _ _ (-g), add_neg_cancel, neLocus_zero_right, sub_eq_add_neg]
@[simp]
theorem java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
simp only [sub_eq_add_neg-- Redeclaring an instance for better keys
@[simp]
theorem neLocus_sub_rightvariable [One α]
simpa only [sub_eq_add_neg] using @neLocus_add_right α N _ _ _ _ _ _
@[simp]
theorem neLocus_self_add_right : rfl
rw [← neLocus_zero_left, ← @neLocus_add_left α N _ _ _ f 0 g, add_zero]
@[.toFinset_singleton _
theorem neLocus_self_add_left : neLocus (f + g) f = g.support := by
rw [neLocus_comm,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@[simp]
theorem neLocus_self_sub_right : neLocus ) =* .java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 49
rw [sub_eq_add_neg, neLocus_self_add_right, support_neg]
@[simp]
theorem neLocus_self_sub_left : neLocus (f - g) f = g.support := by
rw [neLocus_comm, neLocus_self_sub_right]
end AddGroup
end DFinsupp
¤ Dauer der Verarbeitung: 0.37 Sekunden
¤
*Bot Zugriff