Loogle!
Result
Found 130 declarations mentioning Set.Finite.toFinset.
- Set.Finite.toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (h : s.Finite) : Finset Ξ± - Set.Finite.toFinset_nonempty π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (hs : s.Finite) : hs.toFinset.Nonempty β s.Nonempty - Set.Finite.toFinset_nontrivial π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (h : s.Finite) : h.toFinset.Nontrivial β s.Nontrivial - Set.Finite.toFinset_univ π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} [Fintype Ξ±] (h : Set.univ.Finite) : h.toFinset = Finset.univ - Finset.finite_toSet_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} (s : Finset Ξ±) : β―.toFinset = s - Finset.forall π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {p : Finset Ξ± β Prop} : (β (s : Finset Ξ±), p s) β β (s : Set Ξ±) (hs : s.Finite), p hs.toFinset - Set.Finite.coe_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (hs : s.Finite) : βhs.toFinset = s - Set.Finite.toFinset_eq_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} [Fintype βs] (h : s.Finite) : h.toFinset = s.toFinset - Set.Finite.card_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} [Fintype βs] (h : s.Finite) : h.toFinset.card = Fintype.card βs - Set.Finite.toFinset_empty π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} (h : β .Finite) : h.toFinset = β - Set.toFinite_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} (s : Set Ξ±) [Fintype βs] : β―.toFinset = s.toFinset - Set.Finite.toFinset_eq_univ π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} [Fintype Ξ±] {h : s.Finite} : h.toFinset = Finset.univ β s = Set.univ - Multiset.finite_toSet_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} [DecidableEq Ξ±] (s : Multiset Ξ±) : β―.toFinset = s.toFinset - Set.Finite.toFinset_eq_empty π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} {h : s.Finite} : h.toFinset = β β s = β - Set.Finite.toFinset_inj π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} {hs : s.Finite} {ht : t.Finite} : hs.toFinset = ht.toFinset β s = t - Finset.exists π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {p : Finset Ξ± β Prop} : (β s, p s) β β s, β (hs : s.Finite), p hs.toFinset - Set.Finite.coeSort_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (hs : s.Finite) : β₯hs.toFinset = βs - Set.Finite.mem_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} {a : Ξ±} (hs : s.Finite) : a β hs.toFinset β a β s - Set.Finite.toFinset_range π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {Ξ² : Type v} [DecidableEq Ξ±] [Fintype Ξ²] (f : Ξ² β Ξ±) (h : (Set.range f).Finite) : h.toFinset = Finset.image f Finset.univ - Set.Finite.toFinset_ofPred π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} [Fintype Ξ±] (p : Ξ± β Prop) [DecidablePred p] (h : {x | p x}.Finite) : h.toFinset = {x | p x} - Set.Finite.toFinset_setOf π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} [Fintype Ξ±] (p : Ξ± β Prop) [DecidablePred p] (h : {x | p x}.Finite) : h.toFinset = {x | p x} - Set.Finite.toFinset_singleton π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {a : Ξ±} (ha : {a}.Finite := β―) : ha.toFinset = {a} - Set.Finite.subtypeEquivToFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (hs : s.Finite) : { x // x β s } β β₯hs.toFinset - Set.Finite.toFinset_mono π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} {hs : s.Finite} {ht : t.Finite} : s β t β hs.toFinset β ht.toFinset - Set.Finite.subset_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {t : Set Ξ±} {ht : t.Finite} {s : Finset Ξ±} : s β ht.toFinset β βs β t - Set.Finite.toFinset_image π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {Ξ² : Type v} {s : Set Ξ±} [DecidableEq Ξ²] (f : Ξ± β Ξ²) (hs : s.Finite) (h : (f '' s).Finite) : h.toFinset = Finset.image f hs.toFinset - Set.Finite.toFinset_subset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} {hs : s.Finite} {t : Finset Ξ±} : hs.toFinset β t β s β βt - Set.Finite.toFinset_subset_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} {hs : s.Finite} {ht : t.Finite} : hs.toFinset β ht.toFinset β s β t - Set.Finite.toFinset_insert' π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} [DecidableEq Ξ±] {a : Ξ±} {s : Set Ξ±} (hs : s.Finite) : β―.toFinset = insert a hs.toFinset - Set.Finite.toFinset_compl π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} [DecidableEq Ξ±] [Fintype Ξ±] (hs : s.Finite) (h : sαΆ.Finite) : h.toFinset = hs.toFinsetαΆ - Set.Finite.toFinset_inter π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} [DecidableEq Ξ±] (hs : s.Finite) (ht : t.Finite) (h : (s β© t).Finite) : h.toFinset = hs.toFinset β© ht.toFinset - Set.Finite.toFinset_sdiff π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} [DecidableEq Ξ±] (hs : s.Finite) (ht : t.Finite) (h : (s \ t).Finite) : h.toFinset = hs.toFinset \ ht.toFinset - Set.Finite.toFinset_union π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} [DecidableEq Ξ±] (hs : s.Finite) (ht : t.Finite) (h : (s βͺ t).Finite) : h.toFinset = hs.toFinset βͺ ht.toFinset - Set.Finite.toFinset_insert π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} [DecidableEq Ξ±] {s : Set Ξ±} {a : Ξ±} (hs : (insert a s).Finite) : hs.toFinset = insert a β―.toFinset - Set.Finite.toFinset_strictMono π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} {hs : s.Finite} {ht : t.Finite} : s β t β hs.toFinset β ht.toFinset - Set.Finite.ssubset_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {t : Set Ξ±} {ht : t.Finite} {s : Finset Ξ±} : s β ht.toFinset β βs β t - Set.Finite.toFinset_ssubset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} {hs : s.Finite} {t : Finset Ξ±} : hs.toFinset β t β s β βt - Set.Finite.toFinset_ssubset_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} {hs : s.Finite} {ht : t.Finite} : hs.toFinset β ht.toFinset β s β t - Set.Finite.disjoint_toFinset π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} {hs : s.Finite} {ht : t.Finite} : Disjoint hs.toFinset ht.toFinset β Disjoint s t - Set.Finite.toFinset_symmDiff π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s t : Set Ξ±} [DecidableEq Ξ±] (hs : s.Finite) (ht : t.Finite) (h : (symmDiff s t).Finite) : h.toFinset = symmDiff hs.toFinset ht.toFinset - Set.Finite.subtypeEquivToFinset_apply_coe π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (hs : s.Finite) (a : { a // a β s }) : β(hs.subtypeEquivToFinset a) = βa - OrderIso.finsetSetFinite_symm_apply π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} (s : { s // s.Finite }) : (RelIso.symm OrderIso.finsetSetFinite) s = β―.toFinset - Set.Finite.subtypeEquivToFinset_symm_apply_coe π Mathlib.Data.Set.Finite.Basic
{Ξ± : Type u} {s : Set Ξ±} (hs : s.Finite) (b : β₯hs.toFinset) : β(hs.subtypeEquivToFinset.symm b) = βb - Set.Finite.toFinset_offDiag π Mathlib.Basic.Finite.Prod
{Ξ± : Type u_1} {s : Set Ξ±} (hs : s.Finite) : β―.toFinset = hs.toFinset.offDiag - Set.Finite.toFinset_prod π Mathlib.Basic.Finite.Prod
{Ξ± : Type u_1} {Ξ² : Type u_2} {s : Set Ξ±} {t : Set Ξ²} (hs : s.Finite) (ht : t.Finite) : hs.toFinset ΓΛ’ ht.toFinset = β―.toFinset - Finsupp.ofSupportFinite_support π Mathlib.Data.Finsupp.Defs
{Ξ± : Type u_1} {M : Type u_4} [Zero M] {f : Ξ± β M} (hf : (Function.support f).Finite) : (Finsupp.ofSupportFinite f hf).support = hf.toFinset - Finsupp.equivFunOnFinite_symm_apply_support π Mathlib.Data.Finsupp.Defs
{Ξ± : Type u_1} {M : Type u_4} [Zero M] [Finite Ξ±] (f : Ξ± β M) : (Finsupp.equivFunOnFinite.symm f).support = β―.toFinset - finprod_eq_prod_of_mulSupport_subset_of_finite π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) {s : Set Ξ±} (h : Function.mulSupport f β s) (hs : s.Finite) : βαΆ (i : Ξ±), f i = β i β hs.toFinset, f i - finprod_mem_eq_finite_toFinset_prod π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) {s : Set Ξ±} (hs : s.Finite) : βαΆ (i : Ξ±) (_ : i β s), f i = β i β hs.toFinset, f i - finsum_eq_sum_of_support_subset_of_finite π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) {s : Set Ξ±} (h : Function.support f β s) (hs : s.Finite) : βαΆ (i : Ξ±), f i = β i β hs.toFinset, f i - finsum_mem_eq_finite_toFinset_sum π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) {s : Set Ξ±} (hs : s.Finite) : βαΆ (i : Ξ±) (_ : i β s), f i = β i β hs.toFinset, f i - finprod_eq_prod π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) (hf : Function.HasFiniteMulSupport f) : βαΆ (i : Ξ±), f i = β i β Set.Finite.toFinset hf, f i - finsum_eq_sum π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) (hf : Function.HasFiniteSupport f) : βαΆ (i : Ξ±), f i = β i β Set.Finite.toFinset hf, f i - finprod_eq_prod_of_mulSupport_toFinset_subset π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) (hf : Function.HasFiniteMulSupport f) {s : Finset Ξ±} (h : Set.Finite.toFinset hf β s) : βαΆ (i : Ξ±), f i = β i β s, f i - finsum_eq_sum_of_support_toFinset_subset π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) (hf : Function.HasFiniteSupport f) {s : Finset Ξ±} (h : Set.Finite.toFinset hf β s) : βαΆ (i : Ξ±), f i = β i β s, f i - finprod_cond_ne π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) (a : Ξ±) [DecidableEq Ξ±] (hf : Function.HasFiniteMulSupport f) : βαΆ (i : Ξ±) (_ : i β a), f i = β i β (Set.Finite.toFinset hf).erase a, f i - finsum_cond_ne π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) (a : Ξ±) [DecidableEq Ξ±] (hf : Function.HasFiniteSupport f) : βαΆ (i : Ξ±) (_ : i β a), f i = β i β (Set.Finite.toFinset hf).erase a, f i - finprod_mem_eq_prod π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) {s : Set Ξ±} (hf : (s β© Function.mulSupport f).Finite) : βαΆ (i : Ξ±) (_ : i β s), f i = β i β hf.toFinset, f i - finsum_mem_eq_sum π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) {s : Set Ξ±} (hf : (s β© Function.support f).Finite) : βαΆ (i : Ξ±) (_ : i β s), f i = β i β hf.toFinset, f i - finprod_eq_prod_plift_of_mulSupport_toFinset_subset π Mathlib.Algebra.BigOperators.Finprod
{M : Type u_2} {Ξ± : Sort u_4} [CommMonoid M] {f : Ξ± β M} (hf : Function.HasFiniteMulSupport (f β PLift.down)) {s : Finset (PLift Ξ±)} (hs : Set.Finite.toFinset hf β s) : βαΆ (i : Ξ±), f i = β i β s, f i.down - finsum_eq_sum_plift_of_support_toFinset_subset π Mathlib.Algebra.BigOperators.Finprod
{M : Type u_2} {Ξ± : Sort u_4} [AddCommMonoid M] {f : Ξ± β M} (hf : Function.HasFiniteSupport (f β PLift.down)) {s : Finset (PLift Ξ±)} (hs : Set.Finite.toFinset hf β s) : βαΆ (i : Ξ±), f i = β i β s, f i.down - finprod_mem_eq_prod_filter π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) (s : Set Ξ±) [DecidablePred fun x => x β s] (hf : Function.HasFiniteMulSupport f) : βαΆ (i : Ξ±) (_ : i β s), f i = β i β Set.Finite.toFinset hf with i β s, f i - finsum_mem_eq_sum_filter π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) (s : Set Ξ±) [DecidablePred fun x => x β s] (hf : Function.HasFiniteSupport f) : βαΆ (i : Ξ±) (_ : i β s), f i = β i β Set.Finite.toFinset hf with i β s, f i - finprod_def π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [CommMonoid M] (f : Ξ± β M) [Decidable (Function.HasFiniteMulSupport f)] : βαΆ (i : Ξ±), f i = if h : Function.HasFiniteMulSupport f then β i β Set.Finite.toFinset h, f i else 1 - finsum_def π Mathlib.Algebra.BigOperators.Finprod
{Ξ± : Type u_1} {M : Type u_5} [AddCommMonoid M] (f : Ξ± β M) [Decidable (Function.HasFiniteSupport f)] : βαΆ (i : Ξ±), f i = if h : Function.HasFiniteSupport f then β i β Set.Finite.toFinset h, f i else 0 - finprod_def' π Mathlib.Algebra.BigOperators.Finprod
{M : Type u_6} {Ξ± : Sort u_7} [CommMonoid M] (f : Ξ± β M) : finprod f = if h : Function.HasFiniteMulSupport (f β PLift.down) then β i β Set.Finite.toFinset h, f i.down else 1 - finsum_def' π Mathlib.Algebra.BigOperators.Finprod
{M : Type u_6} {Ξ± : Sort u_7} [AddCommMonoid M] (f : Ξ± β M) : finsum f = if h : Function.HasFiniteSupport (f β PLift.down) then β i β Set.Finite.toFinset h, f i.down else 0 - Nat.card_eq_card_finite_toFinset π Mathlib.SetTheory.Cardinal.Finite
{Ξ± : Type u_1} {s : Set Ξ±} (hs : s.Finite) : Nat.card βs = hs.toFinset.card - Set.ncard_eq_toFinset_card π Mathlib.Data.Set.Card
{Ξ± : Type u_1} (s : Set Ξ±) (hs : s.Finite := by toFinite_tac) : s.ncard = hs.toFinset.card - Set.Finite.encard_eq_coe_toFinset_card π Mathlib.Data.Set.Card
{Ξ± : Type u_1} {s : Set Ξ±} (h : s.Finite) : s.encard = βh.toFinset.card - exists_finite_card_le_of_finite_of_linearIndependent_of_span π Mathlib.LinearAlgebra.LinearIndependent.Lemmas
{K : Type u_3} {V : Type u} [DivisionRing K] [AddCommGroup V] [Module K V] {s t : Set V} (ht : t.Finite) (hs : LinearIndepOn K id s) (hst : s β β(Submodule.span K t)) : β (h : s.Finite), h.toFinset.card β€ ht.toFinset.card - Set.Finite.toFinset_image2 π Mathlib.Data.Finset.NAry
{Ξ± : Type u_1} {Ξ² : Type u_3} {Ξ³ : Type u_5} [DecidableEq Ξ³] {s : Set Ξ±} {t : Set Ξ²} (f : Ξ± β Ξ² β Ξ³) (hs : s.Finite) (ht : t.Finite) (hf : (Set.image2 f s t).Finite := β―) : hf.toFinset = Finset.imageβ f hs.toFinset ht.toFinset - Set.Finite.toFinset_one π Mathlib.Algebra.Group.Pointwise.Finset.Basic
{Ξ± : Type u_2} [One Ξ±] (h : Set.Finite 1 := β―) : h.toFinset = 1 - Set.Finite.toFinset_zero π Mathlib.Algebra.Group.Pointwise.Finset.Basic
{Ξ± : Type u_2} [Zero Ξ±] (h : Set.Finite 0 := β―) : h.toFinset = 0 - Set.Finite.toFinset_add π Mathlib.Algebra.Group.Pointwise.Finset.Basic
{Ξ± : Type u_2} [DecidableEq Ξ±] [Add Ξ±] {s t : Set Ξ±} (hs : s.Finite) (ht : t.Finite) (hf : (s + t).Finite := β―) : hf.toFinset = hs.toFinset + ht.toFinset - Set.Finite.toFinset_mul π Mathlib.Algebra.Group.Pointwise.Finset.Basic
{Ξ± : Type u_2} [DecidableEq Ξ±] [Mul Ξ±] {s t : Set Ξ±} (hs : s.Finite) (ht : t.Finite) (hf : (s * t).Finite := β―) : hf.toFinset = hs.toFinset * ht.toFinset - Set.Finite.toFinset_vsub π Mathlib.Algebra.Group.Pointwise.Finset.Scalar
{Ξ± : Type u_1} {Ξ² : Type u_2} [DecidableEq Ξ±] [VSub Ξ± Ξ²] {s t : Set Ξ²} (hs : s.Finite) (ht : t.Finite) (hf : (s -α΅₯ t).Finite := β―) : hf.toFinset = hs.toFinset -α΅₯ ht.toFinset - Set.Finite.toFinset_smul_set π Mathlib.Algebra.Group.Pointwise.Finset.Scalar
{Ξ± : Type u_1} {Ξ² : Type u_2} [DecidableEq Ξ²] [SMul Ξ± Ξ²] {a : Ξ±} {s : Set Ξ²} (hs : s.Finite) (hf : (a β’ s).Finite := β―) : hf.toFinset = a β’ hs.toFinset - Set.Finite.toFinset_vadd_set π Mathlib.Algebra.Group.Pointwise.Finset.Scalar
{Ξ± : Type u_1} {Ξ² : Type u_2} [DecidableEq Ξ²] [VAdd Ξ± Ξ²] {a : Ξ±} {s : Set Ξ²} (hs : s.Finite) (hf : (a +α΅₯ s).Finite := β―) : hf.toFinset = a +α΅₯ hs.toFinset - Set.Finite.toFinset_smul π Mathlib.Algebra.Group.Pointwise.Finset.Scalar
{Ξ± : Type u_1} {Ξ² : Type u_2} [SMul Ξ± Ξ²] [DecidableEq Ξ²] {s : Set Ξ±} {t : Set Ξ²} (hs : s.Finite) (ht : t.Finite) (hf : (s β’ t).Finite := β―) : hf.toFinset = hs.toFinset β’ ht.toFinset - Set.Finite.toFinset_vadd π Mathlib.Algebra.Group.Pointwise.Finset.Scalar
{Ξ± : Type u_1} {Ξ² : Type u_2} [VAdd Ξ± Ξ²] [DecidableEq Ξ²] {s : Set Ξ±} {t : Set Ξ²} (hs : s.Finite) (ht : t.Finite) (hf : (s +α΅₯ t).Finite := β―) : hf.toFinset = hs.toFinset +α΅₯ ht.toFinset - Nat.count_le_card π Mathlib.Data.Nat.Count
{p : β β Prop} [DecidablePred p] (hp : (Set.ofPred p).Finite) (n : β) : Nat.count p n β€ hp.toFinset.card - Nat.count_lt_card π Mathlib.Data.Nat.Count
{p : β β Prop} [DecidablePred p] {n : β} (hp : (Set.ofPred p).Finite) (hpn : p n) : Nat.count p n < hp.toFinset.card - LinearMap.trace_eq_sum_trace_restrict' π Mathlib.Algebra.DirectSum.LinearMap
{ΞΉ : Type u_1} {R : Type u_2} {M : Type u_3} [CommRing R] [AddCommGroup M] [Module R M] {N : ΞΉ β Submodule R M} [DecidableEq ΞΉ] [β (i : ΞΉ), Module.Finite R β₯(N i)] [β (i : ΞΉ), Module.Free R β₯(N i)] (h : DirectSum.IsInternal N) (hN : {i | N i β β₯}.Finite) {f : M ββ[R] M} (hf : β (i : ΞΉ), Set.MapsTo βf β(N i) β(N i)) : (LinearMap.trace R M) f = β i β hN.toFinset, (LinearMap.trace R β₯(N i)) (f.restrict β―) - LieModule.traceForm_eq_sum_genWeightSpaceOf π Mathlib.Algebra.Lie.TraceForm
(R : Type u_1) (L : Type u_3) (M : Type u_4) [CommRing R] [LieRing L] [LieAlgebra R L] [AddCommGroup M] [Module R M] [LieRingModule L M] [LieModule R L M] [LieRing.IsNilpotent L] [IsDomain R] [IsPrincipalIdealRing R] [Module.IsTorsionFree R M] [IsNoetherian R M] [LieModule.IsTriangularizable R L M] (z : L) : LieModule.traceForm R L M = β Ο β β―.toFinset, LieModule.traceForm R L β₯(LieModule.genWeightSpaceOf M Ο z) - ENNReal.finset_card_const_le_le_of_tsum_le π Mathlib.Topology.Algebra.InfiniteSum.ENNReal
{ΞΉ : Type u_4} {a : ΞΉ β ENNReal} {c : ENNReal} (c_ne_top : c β β€) (tsum_le_c : β' (i : ΞΉ), a i β€ c) {Ξ΅ : ENNReal} (Ξ΅_ne_zero : Ξ΅ β 0) : β (hf : {i | Ξ΅ β€ a i}.Finite), βhf.toFinset.card β€ c / Ξ΅ - MeasureTheory.Measure.count_apply_finite π Mathlib.MeasureTheory.Measure.Count
{Ξ± : Type u_1} [MeasurableSpace Ξ±] [MeasurableSingletonClass Ξ±] (s : Set Ξ±) (hs : s.Finite) : MeasureTheory.Measure.count s = βhs.toFinset.card - MeasureTheory.Measure.count_apply_finite' π Mathlib.MeasureTheory.Measure.Count
{Ξ± : Type u_1} [MeasurableSpace Ξ±] {s : Set Ξ±} (s_fin : s.Finite) (s_mble : MeasurableSet s) : MeasureTheory.Measure.count s = βs_fin.toFinset.card - Set.Finite.convexHull_eq π Mathlib.Analysis.Convex.Combination
{R : Type u_1} {E : Type u_3} [Field R] [AddCommGroup E] [Module R E] [LinearOrder R] [IsStrictOrderedRing R] {s : Set E} (hs : s.Finite) : (convexHull R) s = {x | β w, (β y β s, 0 β€ w y) β§ β y β hs.toFinset, w y = 1 β§ hs.toFinset.centerMass w id = x} - PiLp.norm_eq_card π Mathlib.Analysis.Normed.Lp.PiLp
{ΞΉ : Type u_2} {Ξ² : ΞΉ β Type u_4} [Fintype ΞΉ] [(i : ΞΉ) β Norm (Ξ² i)] (f : PiLp 0 Ξ²) : βfβ = ββ―.toFinset.card - PiLp.dist_eq_card π Mathlib.Analysis.Normed.Lp.PiLp
{ΞΉ : Type u_2} {Ξ± : ΞΉ β Type u_3} [Fintype ΞΉ] [(i : ΞΉ) β Dist (Ξ± i)] (f g : PiLp 0 Ξ±) : dist f g = ββ―.toFinset.card - PiLp.edist_eq_card π Mathlib.Analysis.Normed.Lp.PiLp
{ΞΉ : Type u_2} {Ξ² : ΞΉ β Type u_4} [Fintype ΞΉ] [(i : ΞΉ) β EDist (Ξ² i)] (f g : PiLp 0 Ξ²) : edist f g = ββ―.toFinset.card - Function.locallyFinsuppWithin.sum_apply_smul_single_eq_self_on_univ π Mathlib.Topology.LocallyFinsupp
{X : Type u_1} [TopologicalSpace X] [DecidableEq X] {D : Function.locallyFinsupp X β€} (h : (Function.locallyFinsuppWithin.support D).Finite) : β z β h.toFinset, Function.locallyFinsuppWithin.single z (D z) = D - lp.norm_eq_card_dsupport π Mathlib.Analysis.Normed.Lp.lpSpace
{Ξ± : Type u_3} {E : Ξ± β Type u_4} [(i : Ξ±) β NormedAddCommGroup (E i)] (f : β₯(lp E 0)) : βfβ = ββ―.toFinset.card - Nat.nth_injOn π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) : Set.InjOn (Nat.nth p) (Set.Iio hf.toFinset.card) - Nat.nth_mem π Mathlib.Data.Nat.Nth
{p : β β Prop} (n : β) (h : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : p (Nat.nth p n) - Nat.nth_mem_of_lt_card π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} (hf : (Set.ofPred p).Finite) (hlt : n < hf.toFinset.card) : p (Nat.nth p n) - Nat.nth_strictMonoOn π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) : StrictMonoOn (Nat.nth p) (Set.Iio hf.toFinset.card) - Nat.le_nth π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} (h : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : n β€ Nat.nth p n - Nat.image_nth_Iio_card π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) : Nat.nth p '' Set.Iio hf.toFinset.card = Set.ofPred p - Nat.lt_card_toFinset_of_nth_ne_zero π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} (h : Nat.nth p n β 0) (hf : (Set.ofPred p).Finite) : n < hf.toFinset.card - Nat.nth_of_card_le π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {n : β} (hn : hf.toFinset.card β€ n) : Nat.nth p n = 0 - Nat.count_nth π Mathlib.Data.Nat.Nth
{p : β β Prop} [DecidablePred p] {n : β} (hn : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : Nat.count p (Nat.nth p n) = n - Nat.count_nth_of_lt_card_finite π Mathlib.Data.Nat.Nth
{p : β β Prop} [DecidablePred p] {n : β} (hp : (Set.ofPred p).Finite) (hlt : n < hp.toFinset.card) : Nat.count p (Nat.nth p n) = n - Nat.exists_lt_card_finite_nth_eq π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {x : β} (h : p x) : β n < hf.toFinset.card, Nat.nth p n = x - Nat.exists_lt_card_nth_eq π Mathlib.Data.Nat.Nth
{p : β β Prop} {x : β} (h : p x) : β n, (β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) β§ Nat.nth p n = x - Nat.le_of_nth_le_nth_of_lt_card π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {m n : β} (h : Nat.nth p m β€ Nat.nth p n) (hm : m < hf.toFinset.card) : m β€ n - Nat.lt_of_nth_lt_nth_of_lt_card π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {m n : β} (h : Nat.nth p m < Nat.nth p n) (hm : m < hf.toFinset.card) : m < n - Nat.nth_le_nth' π Mathlib.Data.Nat.Nth
{p : β β Prop} {m n : β} (hle : m β€ n) (h : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : Nat.nth p m β€ Nat.nth p n - Nat.nth_le_nth_of_lt_card π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {m n : β} (h : m β€ n) (hn : n < hf.toFinset.card) : Nat.nth p m β€ Nat.nth p n - Nat.nth_lt_nth' π Mathlib.Data.Nat.Nth
{p : β β Prop} {m n : β} (hlt : m < n) (h : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : Nat.nth p m < Nat.nth p n - Nat.nth_lt_nth_of_lt_card π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {m n : β} (h : m < n) (hn : n < hf.toFinset.card) : Nat.nth p m < Nat.nth p n - Nat.nth_eq_getD_sort π Mathlib.Data.Nat.Nth
{p : β β Prop} (h : (Set.ofPred p).Finite) (n : β) : Nat.nth p n = (h.toFinset.sort fun a b => a β€ b).getD n 0 - Nat.isLeast_nth π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} (h : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : IsLeast {i | p i β§ β k < n, Nat.nth p k < i} (Nat.nth p n) - Nat.isLeast_nth_of_lt_card π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} (hf : (Set.ofPred p).Finite) (hn : n < hf.toFinset.card) : IsLeast {i | p i β§ β k < n, Nat.nth p k < i} (Nat.nth p n) - Nat.nth_eq_zero π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} : Nat.nth p n = 0 β p 0 β§ n = 0 β¨ β (hf : (Set.ofPred p).Finite), hf.toFinset.card β€ n - Nat.nth_comp_of_strictMono π Mathlib.Data.Nat.Nth
{p : β β Prop} {n : β} {f : β β β} (hf : StrictMono f) (h0 : β (k : β), p k β k β Set.range f) (h : β (hfi : (Set.ofPred p).Finite), n < hfi.toFinset.card) : f (Nat.nth (fun i => p (f i)) n) = Nat.nth p n - Nat.count_nth_succ π Mathlib.Data.Nat.Nth
{p : β β Prop} [DecidablePred p] {n : β} (hn : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : Nat.count p (Nat.nth p n + 1) = n + 1 - Nat.nth_le_of_strictMonoOn_of_mapsTo π Mathlib.Data.Nat.Nth
{p : β β Prop} (f : β β β) (hmaps : Set.MapsTo f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card} (Set.ofPred p)) (hmono : StrictMonoOn f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card}) {n : β} : Nat.nth p n β€ f n - Nat.filter_range_nth_eq_insert π Mathlib.Data.Nat.Nth
{p : β β Prop} [DecidablePred p] {k : β} (hlt : β (hf : (Set.ofPred p).Finite), k + 1 < hf.toFinset.card) : {n β Finset.range (Nat.nth p (k + 1)) | p n} = insert (Nat.nth p k) ({n β Finset.range (Nat.nth p k) | p n}) - Nat.filter_range_nth_eq_insert_of_finite π Mathlib.Data.Nat.Nth
{p : β β Prop} [DecidablePred p] (hf : (Set.ofPred p).Finite) {k : β} (hlt : k + 1 < hf.toFinset.card) : {n β Finset.range (Nat.nth p (k + 1)) | p n} = insert (Nat.nth p k) ({n β Finset.range (Nat.nth p k) | p n}) - Nat.le_nth_of_monotoneOn_of_surjOn π Mathlib.Data.Nat.Nth
{p : β β Prop} (f : β β β) (hsurj : Set.SurjOn f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card} (Set.ofPred p)) (hmono : MonotoneOn f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card}) {n : β} (hn : β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card) : f n β€ Nat.nth p n - Nat.eq_nth_of_strictMonoOn_of_mapsTo_of_surjOn π Mathlib.Data.Nat.Nth
{p : β β Prop} (f : β β β) (hsurj : Set.SurjOn f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card} (Set.ofPred p)) (hmaps : Set.MapsTo f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card} (Set.ofPred p)) (hmono : StrictMonoOn f {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card}) : Set.EqOn f (Nat.nth p) {n | β (hf : (Set.ofPred p).Finite), n < hf.toFinset.card} - Nat.nth_eq_orderEmbOfFin π Mathlib.Data.Nat.Nth
{p : β β Prop} (hf : (Set.ofPred p).Finite) {n : β} (hn : n < hf.toFinset.card) : Nat.nth p n = (hf.toFinset.orderEmbOfFin β―) β¨n, hnβ© - MvPowerSeries.coeff_rename π Mathlib.RingTheory.MvPowerSeries.Rename
{Ο : Type u_1} {Ο : Type u_2} {R : Type u_4} (f : Ο β Ο) [Filter.TendstoCofinite f] [CommSemiring R] (p : MvPowerSeries Ο R) (x : Ο ββ β) : (MvPowerSeries.coeff x) ((MvPowerSeries.rename f) p) = β x β β―.toFinset, (MvPowerSeries.coeff x) p - HahnSeries.SummableFamily.coeff_support π Mathlib.RingTheory.HahnSeries.Summable
{Ξ : Type u_1} {R : Type u_3} {Ξ± : Type u_5} [PartialOrder Ξ] [AddCommMonoid R] (s : HahnSeries.SummableFamily Ξ R Ξ±) (g : Ξ) : (s.coeff g).support = Set.Finite.toFinset β― - HahnSeries.SummableFamily.smul_support_subset_prod π Mathlib.RingTheory.HahnSeries.Summable
{Ξ : Type u_1} {Ξ' : Type u_2} {R : Type u_3} {V : Type u_4} {Ξ± : Type u_5} {Ξ² : Type u_6} [PartialOrder Ξ] [PartialOrder Ξ'] [AddCommMonoid V] [AddCommMonoid R] [SMulWithZero R V] (s : HahnSeries.SummableFamily Ξ R Ξ±) (t : HahnSeries.SummableFamily Ξ' V Ξ²) (gh : Ξ Γ Ξ') : (Function.support fun i => (s i.1).coeff gh.1 β’ (t i.2).coeff gh.2) β ββ―.toFinset - Set.Finite.einfsep π Mathlib.Topology.MetricSpace.Infsep
{Ξ± : Type u_1} [EDist Ξ±] {s : Set Ξ±} (hs : s.Finite) : s.einfsep = β―.toFinset.inf (Function.uncurry edist) - Set.Finite.infsep_of_nontrivial π Mathlib.Topology.MetricSpace.Infsep
{Ξ± : Type u_1} [PseudoMetricSpace Ξ±] {s : Set Ξ±} (hsf : s.Finite) (hs : s.Nontrivial) : s.infsep = β―.toFinset.inf' β― (Function.uncurry dist) - Set.Finite.infsep π Mathlib.Topology.MetricSpace.Infsep
{Ξ± : Type u_1} [PseudoMetricSpace Ξ±] {s : Set Ξ±} [Decidable s.Nontrivial] (hsf : s.Finite) : s.infsep = if hs : s.Nontrivial then β―.toFinset.inf' β― (Function.uncurry dist) else 0
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
πReal.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
π"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
π_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
πReal.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
π(?a -> ?b) -> List ?a -> List ?b
πList ?a -> (?a -> ?b) -> List ?bBy main conclusion:
π|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of allβandβ) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
π|- _ < _ β tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
β’ (_ : Type _)finds all definitions which provide data whileβ’ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
π Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ β _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision ce5dd8c