Loogle!
Result
Found 193 declarations mentioning Encodable.
- Encodable 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_1) : Type u_1 - Bool.encodable 📋 Mathlib.Logic.Encodable.Basic
: Encodable Bool - Int.encodable 📋 Mathlib.Logic.Encodable.Basic
: Encodable ℤ - Nat.encodable 📋 Mathlib.Logic.Encodable.Basic
: Encodable ℕ - PNat.encodable 📋 Mathlib.Logic.Encodable.Basic
: Encodable ℕ+ - PUnit.encodable 📋 Mathlib.Logic.Encodable.Basic
: Encodable PUnit.{u_3 + 1} - Prop.encodable 📋 Mathlib.Logic.Encodable.Basic
: Encodable Prop - ULower 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_1) [Encodable α] : Type - Fin.encodable 📋 Mathlib.Logic.Encodable.Basic
(n : ℕ) : Encodable (Fin n) - Encodable.countable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Countable α - Encodable.decidableEqOfEncodable 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_3) [Encodable α] : DecidableEq α - Encodable.encode 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [self : Encodable α] : α → ℕ - Encodable.ofCountable 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_3) [Countable α] : Encodable α - IsEmpty.toEncodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [IsEmpty α] : Encodable α - Unique.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Unique α] : Encodable α - nonempty_encodable 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_1) [Countable α] : Nonempty (Encodable α) - Encodable.decode 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [self : Encodable α] : ℕ → Option α - Encodable.decode₂ 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_3) [Encodable α] (n : ℕ) : Option α - Encodable.encode' 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_1) [Encodable α] : α ↪ ℕ - Option.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_3} [h : Encodable α] : Encodable (Option α) - PLift.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Encodable (PLift α) - ULift.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Encodable (ULift.{u_3, u_1} α) - instDecidableEqULower 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : DecidableEq (ULower α) - instEncodableULower 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Encodable (ULower α) - Encodable.nonempty_encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} : Nonempty (Encodable α) ↔ Countable α - ULower.down 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] (a : α) : ULower α - ULower.up 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] (a : ULower α) : α - ULower.equiv 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_1) [Encodable α] : α ≃ ULower α - Encodable.encode_injective 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Function.Injective Encodable.encode - Encodable.ofEquiv 📋 Mathlib.Logic.Encodable.Basic
{β : Type u_2} (α : Type u_3) [Encodable α] (e : β ≃ α) : Encodable β - ULower.instInhabited 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] [Inhabited α] : Inhabited (ULower α) - Encodable.encodeSum 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] : α ⊕ β → ℕ - Sum.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] : Encodable (α ⊕ β) - Encodable.Prod.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] : Encodable (α × β) - Encodable.decodeSum 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] (n : ℕ) : Option (α ⊕ β) - Encodable.encodeSubtype 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {P : α → Prop} [encA : Encodable α] : { a // P a } → ℕ - Encodable.decode₂_isPartialInv 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Function.IsPartialInv Encodable.encode (Encodable.decode₂ α) - Encodable.decode₂_is_partial_inv 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Function.IsPartialInv Encodable.encode (Encodable.decode₂ α) - Encodable.ofInj 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable β] (f : α → β) (hf : Function.Injective f) : Encodable α - Encodable.encodeSigma 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {γ : α → Type u_3} [Encodable α] [(a : α) → Encodable (γ a)] : Sigma γ → ℕ - Encodable.equivRangeEncode 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_3) [Encodable α] : α ≃ ↑(Set.range Encodable.encode) - Sigma.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {γ : α → Type u_3} [Encodable α] [(a : α) → Encodable (γ a)] : Encodable (Sigma γ) - Encodable.choose 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {p : α → Prop} [Encodable α] [DecidablePred p] (h : ∃ x, p x) : α - Encodable.decodeSigma 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {γ : α → Type u_3} [Encodable α] [(a : α) → Encodable (γ a)] (n : ℕ) : Option (Sigma γ) - Subtype.encodable 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {P : α → Prop} [encA : Encodable α] [decP : DecidablePred P] : Encodable { a // P a } - ULower.up_down 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a : α} : (ULower.down a).up = a - Encodable.decodeSubtype 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {P : α → Prop} [encA : Encodable α] [decP : DecidablePred P] (v : ℕ) : Option { a // P a } - Encodable.surjective_decode_getD 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_3) [Encodable α] (d : α) : Function.Surjective fun n => (Encodable.decode n).getD d - Encodable.decode₂_encode 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] (a : α) : Encodable.decode₂ α (Encodable.encode a) = some a - Encodable.encodek 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [self : Encodable α] (a : α) : Encodable.decode (Encodable.encode a) = some a - Encodable.encodek₂ 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] (a : α) : Encodable.decode₂ α (Encodable.encode a) = some a - Encodable.ofLeftInverse 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] (f : β → α) (finv : α → β) (linv : ∀ (b : β), finv (f b) = b) : Encodable β - Directed.sequence 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] {r : β → β → Prop} (f : α → β) (hf : Directed r f) : ℕ → α - Encodable.encode_none 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Encodable.encode none = 0 - Encodable.mk 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} (encode : α → ℕ) (decode : ℕ → Option α) (encodek : ∀ (a : α), decode (encode a) = some a) : Encodable α - ULower.down_up 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a : ULower α} : ULower.down a.up = a - Encodable.decidableRangeEncode 📋 Mathlib.Logic.Encodable.Basic
(α : Type u_3) [Encodable α] : DecidablePred fun x => x ∈ Set.range Encodable.encode - Encodable.choose_spec 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {p : α → Prop} [Encodable α] [DecidablePred p] (h : ∃ x, p x) : p (Encodable.choose h) - Encodable.encode_inj 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a b : α} : Encodable.encode a = Encodable.encode b ↔ a = b - Encodable.encode_some 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] (a : α) : Encodable.encode (some a) = (Encodable.encode a).succ - encodableQuotient 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {s : Setoid α} [DecidableRel fun x1 x2 => x1 ≈ x2] [Encodable α] : Encodable (Quotient s) - Encodable.ofLeftInjection 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] (f : β → α) (finv : α → Option β) (linv : ∀ (b : β), finv (f b) = some b) : Encodable β - Quotient.rep 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {s : Setoid α} [DecidableRel fun x1 x2 => x1 ≈ x2] [Encodable α] (q : Quotient s) : α - ULower.down_eq_down 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a b : α} : ULower.down a = ULower.down b ↔ a = b - Encodable.decode_option_zero 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Encodable.decode 0 = some none - Encodable.decode₂_eq_some 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {n : ℕ} {a : α} : Encodable.decode₂ α n = some a ↔ Encodable.encode a = n - Encodable.mem_decode₂ 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {n : ℕ} {a : α} : a ∈ Encodable.decode₂ α n ↔ Encodable.encode a = n - ULower.ext 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a b : ULower α} : a.up = b.up → a = b - Encodable.decode_option_succ 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] (n : ℕ) : Encodable.decode n.succ = Option.map some (Encodable.decode n) - ULower.ext_iff 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a b : ULower α} : a = b ↔ a.up = b.up - ULower.up_eq_up 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {a b : ULower α} : a.up = b.up ↔ a = b - Encodable.decode₂_ne_none_iff 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {n : ℕ} : Encodable.decode₂ α n ≠ none ↔ n ∈ Set.range Encodable.encode - Encodable.decode_sum_val 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] (n : ℕ) : Encodable.decode n = Encodable.decodeSum n - Encodable.instAntisymmPreimageNatCoeEmbeddingEncode'Le 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Std.Antisymm (⇑(Encodable.encode' α) ⁻¹'o fun x1 x2 => x1 ≤ x2) - Encodable.instTotalPreimageNatCoeEmbeddingEncode'Le 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] : Std.Total (⇑(Encodable.encode' α) ⁻¹'o fun x1 x2 => x1 ≤ x2) - Encodable.Subtype.encode_eq 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {P : α → Prop} [encA : Encodable α] [decP : DecidablePred P] (a : Subtype P) : Encodable.encode a = Encodable.encode ↑a - Encodable.decode₂_inj 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {n : ℕ} {a₁ a₂ : α} (h₁ : a₁ ∈ Encodable.decode₂ α n) (h₂ : a₂ ∈ Encodable.decode₂ α n) : a₁ = a₂ - Encodable.encode_prod_val 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] (a : α) (b : β) : Encodable.encode (a, b) = Nat.pair (Encodable.encode a) (Encodable.encode b) - Quotient.rep_spec 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {s : Setoid α} [DecidableRel fun x1 x2 => x1 ≈ x2] [Encodable α] (q : Quotient s) : ⟦q.rep⟧ = q - Encodable.mem_decode₂' 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} [Encodable α] {n : ℕ} {a : α} : a ∈ Encodable.decode₂ α n ↔ a ∈ Encodable.decode n ∧ Encodable.encode a = n - Encodable.encode_inl 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] (a : α) : Encodable.encode (Sum.inl a) = 2 * Encodable.encode a - Encodable.axiom_of_choice 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : α → Type u_2} {R : (x : α) → β x → Prop} [(a : α) → Encodable (β a)] [(x : α) → (y : β x) → Decidable (R x y)] (H : ∀ (x : α), ∃ y, R x y) : ∃ f, ∀ (x : α), R x (f x) - Encodable.encode_ofEquiv 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_3} {β : Type u_4} [Encodable α] (e : β ≃ α) (b : β) : Encodable.encode b = Encodable.encode (e b) - Encodable.encode_sigma_val 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {γ : α → Type u_3} [Encodable α] [(a : α) → Encodable (γ a)] (a : α) (b : γ a) : Encodable.encode ⟨a, b⟩ = Nat.pair (Encodable.encode a) (Encodable.encode b) - Encodable.skolem 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : α → Type u_2} {P : (x : α) → β x → Prop} [(a : α) → Encodable (β a)] [(x : α) → (y : β x) → Decidable (P x y)] : (∀ (x : α), ∃ y, P x y) ↔ ∃ f, ∀ (x : α), P x (f x) - Directed.rel_sequence 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] {r : β → β → Prop} {f : α → β} (hf : Directed r f) (a : α) : r (f a) (f (Directed.sequence f hf (Encodable.encode a + 1))) - Encodable.decode_ofEquiv 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_3} {β : Type u_4} [Encodable α] (e : β ≃ α) (n : ℕ) : Encodable.decode n = Option.map (⇑e.symm) (Encodable.decode n) - Directed.sequence_anti 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] [Preorder β] {f : α → β} (hf : Directed (fun x1 x2 => x1 ≥ x2) f) : Antitone (f ∘ Directed.sequence f hf) - Directed.sequence_mono 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] [Preorder β] {f : α → β} (hf : Directed (fun x1 x2 => x1 ≤ x2) f) : Monotone (f ∘ Directed.sequence f hf) - Directed.sequence_mono_nat 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] {r : β → β → Prop} {f : α → β} (hf : Directed r f) (n : ℕ) : r (f (Directed.sequence f hf n)) (f (Directed.sequence f hf (n + 1))) - Encodable.encode_inr 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] (b : β) : Encodable.encode (Sum.inr b) = 2 * Encodable.encode b + 1 - Encodable.decode_prod_val 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] (n : ℕ) : Encodable.decode n = (Encodable.decode (Nat.unpair n).1).bind fun a => Option.map (Prod.mk a) (Encodable.decode (Nat.unpair n).2) - Encodable.decode_sigma_val 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {γ : α → Type u_3} [Encodable α] [(a : α) → Encodable (γ a)] (n : ℕ) : Encodable.decode n = (Encodable.decode (Nat.unpair n).1).bind fun a => Option.map (Sigma.mk a) (Encodable.decode (Nat.unpair n).2) - Directed.le_sequence 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] [Preorder β] {f : α → β} (hf : Directed (fun x1 x2 => x1 ≤ x2) f) (a : α) : f a ≤ f (Directed.sequence f hf (Encodable.encode a + 1)) - Directed.sequence_le 📋 Mathlib.Logic.Encodable.Basic
{α : Type u_1} {β : Type u_2} [Encodable α] [Inhabited α] [Preorder β] {f : α → β} (hf : Directed (fun x1 x2 => x1 ≥ x2) f) (a : α) : f (Directed.sequence f hf (Encodable.encode a + 1)) ≤ f a - AddSubgroup.instEncodableSubtypeAddOppositeMemOp 📋 Mathlib.Algebra.Group.Subgroup.MulOppositeLemmas
{G : Type u_2} [AddGroup G] (H : AddSubgroup G) [Encodable ↥H] : Encodable ↥H.op - Subgroup.instEncodableSubtypeMulOppositeMemOp 📋 Mathlib.Algebra.Group.Subgroup.MulOppositeLemmas
{G : Type u_2} [Group G] (H : Subgroup G) [Encodable ↥H] : Encodable ↥H.op - Denumerable.toEncodable 📋 Mathlib.Basic.Denumerable
{α : Type u_3} [self : Denumerable α] : Encodable α - Denumerable.ofEncodableOfInfinite 📋 Mathlib.Basic.Denumerable
(α : Type u_3) [Encodable α] [Infinite α] : Denumerable α - Denumerable.mk 📋 Mathlib.Basic.Denumerable
{α : Type u_3} [toEncodable : Encodable α] (decode_inv : ∀ (n : ℕ), ∃ a ∈ Encodable.decode n, Encodable.encode a = n) : Denumerable α - Fintype.toEncodable 📋 Mathlib.Logic.Equiv.List
(α : Type u_2) [Fintype α] : Encodable α - Encodable.encodeList 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] : List α → ℕ - List.encodable 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] : Encodable (List α) - Encodable.decodeList 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] : ℕ → Option (List α) - Fintype.truncEncodable 📋 Mathlib.Logic.Equiv.List
(α : Type u_2) [DecidableEq α] [Fintype α] : Trunc (Encodable α) - Encodable.encodableOfList 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [DecidableEq α] (l : List α) (H : ∀ (x : α), x ∈ l) : Encodable α - Encodable.encode_list_nil 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] : Encodable.encode [] = 0 - Encodable.length_le_encode 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] (l : List α) : l.length ≤ Encodable.encode l - Encodable.decodeList_encodeList_eq_self 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] (l : List α) : Encodable.decodeList (Encodable.encodeList l) = some l - Encodable.decode_list_zero 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] : Encodable.decode 0 = some [] - Encodable.encode_list_cons 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] (a : α) (l : List α) : Encodable.encode (a :: l) = (Nat.pair (Encodable.encode a) (Encodable.encode l)).succ - Encodable.decode_list_succ 📋 Mathlib.Logic.Equiv.List
{α : Type u_1} [Encodable α] (v : ℕ) : Encodable.decode v.succ = (fun x1 x2 => x1 :: x2) <$> Encodable.decode (Nat.unpair v).1 <*> Encodable.decode (Nat.unpair v).2 - Set.Countable.toEncodable 📋 Mathlib.Data.Set.Countable
{α : Type u} {s : Set α} (hs : s.Countable) : Encodable ↑s - Set.Countable.nonempty_encodable 📋 Mathlib.Data.Set.Countable
{α : Type u} {s : Set α} : s.Countable → Nonempty (Encodable ↑s) - Set.countable_iff_nonempty_encodable 📋 Mathlib.Data.Set.Countable
{α : Type u} {s : Set α} : s.Countable ↔ Nonempty (Encodable ↑s) - encodeMultiset 📋 Mathlib.Logic.Equiv.Multiset
{α : Type u_1} [Encodable α] (s : Multiset α) : ℕ - Multiset.encodable 📋 Mathlib.Logic.Equiv.Multiset
{α : Type u_1} [Encodable α] : Encodable (Multiset α) - decodeMultiset 📋 Mathlib.Logic.Equiv.Multiset
{α : Type u_1} [Encodable α] (n : ℕ) : Option (Multiset α) - Finset.encodable 📋 Mathlib.Logic.Equiv.Finset
{α : Type u_1} [Encodable α] : Encodable (Finset α) - Encodable.sortedUniv 📋 Mathlib.Logic.Equiv.Finset
(α : Type u_1) [Fintype α] [Encodable α] : List α - Encodable.fintypeEquivFin 📋 Mathlib.Logic.Equiv.Finset
{α : Type u_1} [Fintype α] [Encodable α] : α ≃ Fin (Fintype.card α) - Encodable.sortedUniv_nodup 📋 Mathlib.Logic.Equiv.Finset
(α : Type u_1) [Fintype α] [Encodable α] : (Encodable.sortedUniv α).Nodup - Encodable.length_sortedUniv 📋 Mathlib.Logic.Equiv.Finset
(α : Type u_1) [Fintype α] [Encodable α] : (Encodable.sortedUniv α).length = Fintype.card α - Encodable.mem_sortedUniv 📋 Mathlib.Logic.Equiv.Finset
{α : Type u_1} [Fintype α] [Encodable α] (x : α) : x ∈ Encodable.sortedUniv α - Encodable.sortedUniv_toFinset 📋 Mathlib.Logic.Equiv.Finset
(α : Type u_1) [Fintype α] [Encodable α] [DecidableEq α] : (Encodable.sortedUniv α).toFinset = Finset.univ - Encodable.finArrow 📋 Mathlib.Logic.Encodable.Pi
{α : Type u_1} [Encodable α] {n : ℕ} : Encodable (Fin n → α) - Encodable.List.Vector.encodable 📋 Mathlib.Logic.Encodable.Pi
{α : Type u_1} [Encodable α] {n : ℕ} : Encodable (List.Vector α n) - Encodable.fintypeArrowOfEncodable 📋 Mathlib.Logic.Encodable.Pi
{α : Type u_2} {β : Type u_3} [Encodable α] [Fintype α] [Encodable β] : Encodable (α → β) - Encodable.fintypeArrow 📋 Mathlib.Logic.Encodable.Pi
(α : Type u_2) (β : Type u_3) [DecidableEq α] [Fintype α] [Encodable β] : Trunc (Encodable (α → β)) - Encodable.finPi 📋 Mathlib.Logic.Encodable.Pi
(n : ℕ) (π : Fin n → Type u_2) [(i : Fin n) → Encodable (π i)] : Encodable ((i : Fin n) → π i) - Encodable.fintypePi 📋 Mathlib.Logic.Encodable.Pi
(α : Type u_2) (π : α → Type u_3) [DecidableEq α] [Fintype α] [(a : α) → Encodable (π a)] : Trunc (Encodable ((a : α) → π a)) - WType.instEncodable 📋 Mathlib.Data.W.Basic
{α : Type u_1} {β : α → Type u_2} [(a : α) → Fintype (β a)] [(a : α) → Encodable (β a)] [Encodable α] : Encodable (WType β) - TopologicalSpace.encodableCountableBasis 📋 Mathlib.Topology.Bases
(α : Type u) [t : TopologicalSpace α] [SecondCountableTopology α] : Encodable ↑(TopologicalSpace.countableBasis α) - LocallyFinite.encodable 📋 Mathlib.Topology.Compactness.SigmaCompact
{X : Type u_1} [TopologicalSpace X] [SigmaCompactSpace X] {ι : Type u_4} {f : ι → Set X} (hf : LocallyFinite f) (hne : ∀ (i : ι), (f i).Nonempty) : Encodable ι - Order.sequenceOfCofinals 📋 Mathlib.Order.Ideal
{P : Type u_1} [Preorder P] (p : P) {ι : Type u_2} [Encodable ι] (𝒟 : ι → Order.Cofinal P) : ℕ → P - Order.idealOfCofinals 📋 Mathlib.Order.Ideal
{P : Type u_1} [Preorder P] (p : P) {ι : Type u_2} [Encodable ι] (𝒟 : ι → Order.Cofinal P) : Order.Ideal P - Order.sequenceOfCofinals.monotone 📋 Mathlib.Order.Ideal
{P : Type u_1} [Preorder P] (p : P) {ι : Type u_2} [Encodable ι] (𝒟 : ι → Order.Cofinal P) : Monotone (Order.sequenceOfCofinals p 𝒟) - Order.mem_idealOfCofinals 📋 Mathlib.Order.Ideal
{P : Type u_1} [Preorder P] (p : P) {ι : Type u_2} [Encodable ι] (𝒟 : ι → Order.Cofinal P) : p ∈ Order.idealOfCofinals p 𝒟 - Order.sequenceOfCofinals.encode_mem 📋 Mathlib.Order.Ideal
{P : Type u_1} [Preorder P] (p : P) {ι : Type u_2} [Encodable ι] (𝒟 : ι → Order.Cofinal P) (i : ι) : Order.sequenceOfCofinals p 𝒟 (Encodable.encode i + 1) ∈ 𝒟 i - Order.cofinal_meets_idealOfCofinals 📋 Mathlib.Order.Ideal
{P : Type u_1} [Preorder P] (p : P) {ι : Type u_2} [Encodable ι] (𝒟 : ι → Order.Cofinal P) (i : ι) : ∃ x ∈ 𝒟 i, x ∈ Order.idealOfCofinals p 𝒟 - instEncodableDFinsuppOfDecidableNeOfNat 📋 Mathlib.Data.DFinsupp.Encodable
{ι : Type u_1} {α : ι → Type u_2} [(i : ι) → Zero (α i)] [Encodable ι] [(i : ι) → Encodable (α i)] [(i : ι) → (x : α i) → Decidable (x ≠ 0)] : Encodable (Π₀ (i : ι), α i) - instEncodableFinsuppOfDecidableNeOfNat 📋 Mathlib.Data.Finsupp.Encodable
{α : Type u_1} {β : Type u_2} [Encodable α] [Encodable β] [Zero β] [(x : β) → Decidable (x ≠ 0)] : Encodable (α →₀ β) - Metric.secondCountable_of_countable_discretization 📋 Mathlib.Topology.MetricSpace.Basic
{α : Type u} [PseudoMetricSpace α] (H : ∀ ε > 0, ∃ β x F, ∀ (x y : α), F x = F y → dist x y ≤ ε) : SecondCountableTopology α - Encodable.iUnion_decode₂ 📋 Mathlib.Logic.Encodable.Lattice
{α : Type u_1} {β : Type u_2} [Encodable β] (f : β → Set α) : ⋃ i, ⋃ b ∈ Encodable.decode₂ β i, f b = ⋃ b, f b - Encodable.iUnion_decode₂_cases 📋 Mathlib.Logic.Encodable.Lattice
{α : Type u_1} {β : Type u_2} [Encodable β] {f : β → Set α} {C : Set α → Prop} (H0 : C ∅) (H1 : ∀ (b : β), C (f b)) {n : ℕ} : C (⋃ b ∈ Encodable.decode₂ β n, f b) - Encodable.iSup_decode₂ 📋 Mathlib.Logic.Encodable.Lattice
{α : Type u_1} {β : Type u_2} [Encodable β] [CompleteLattice α] (f : β → α) : ⨆ i, ⨆ b ∈ Encodable.decode₂ β i, f b = ⨆ b, f b - Encodable.iUnion_decode₂_disjoint_on 📋 Mathlib.Logic.Encodable.Lattice
{α : Type u_1} {β : Type u_2} [Encodable β] {f : β → Set α} (hd : Pairwise (Function.onFun Disjoint f)) : Pairwise (Function.onFun Disjoint fun i => ⋃ b ∈ Encodable.decode₂ β i, f b) - tprod_iUnion_decode₂ 📋 Mathlib.Topology.Algebra.InfiniteSum.NatInt
{M : Type u_1} [CommMonoid M] [TopologicalSpace M] {α : Type u_3} {β : Type u_4} [Encodable β] (m : Set α → M) (m0 : m ∅ = 1) (s : β → Set α) : ∏' (i : ℕ), m (⋃ b ∈ Encodable.decode₂ β i, s b) = ∏' (b : β), m (s b) - tsum_iUnion_decode₂ 📋 Mathlib.Topology.Algebra.InfiniteSum.NatInt
{M : Type u_1} [AddCommMonoid M] [TopologicalSpace M] {α : Type u_3} {β : Type u_4} [Encodable β] (m : Set α → M) (m0 : m ∅ = 0) (s : β → Set α) : ∑' (i : ℕ), m (⋃ b ∈ Encodable.decode₂ β i, s b) = ∑' (b : β), m (s b) - tprod_iSup_decode₂ 📋 Mathlib.Topology.Algebra.InfiniteSum.NatInt
{M : Type u_1} [CommMonoid M] [TopologicalSpace M] {α : Type u_3} {β : Type u_4} [Encodable β] [CompleteLattice α] (m : α → M) (m0 : m ⊥ = 1) (s : β → α) : ∏' (i : ℕ), m (⨆ b ∈ Encodable.decode₂ β i, s b) = ∏' (b : β), m (s b) - tsum_iSup_decode₂ 📋 Mathlib.Topology.Algebra.InfiniteSum.NatInt
{M : Type u_1} [AddCommMonoid M] [TopologicalSpace M] {α : Type u_3} {β : Type u_4} [Encodable β] [CompleteLattice α] (m : α → M) (m0 : m ⊥ = 0) (s : β → α) : ∑' (i : ℕ), m (⨆ b ∈ Encodable.decode₂ β i, s b) = ∑' (b : β), m (s b) - Rat.instEncodable 📋 Mathlib.Data.Rat.Encodable
: Encodable ℚ - posSumOfEncodable 📋 Mathlib.Analysis.SpecificLimits.Basic
{ε : ℝ} (hε : 0 < ε) (ι : Type u_4) [Encodable ι] : { ε' // (∀ (i : ι), 0 < ε' i) ∧ ∃ c, HasSum ε' c ∧ c ≤ ε } - tsum_geometric_encode_lt_top 📋 Mathlib.Analysis.SpecificLimits.Basic
{r : ENNReal} (hr : r < 1) {ι : Type u_4} [Encodable ι] : ∑' (i : ι), r ^ Encodable.encode i < ⊤ - summable_geometric_two_encode 📋 Mathlib.Analysis.SpecificLimits.Basic
{ι : Type u_4} [Encodable ι] : Summable fun i => (1 / 2) ^ Encodable.encode i - ENNReal.tsum_geometric_two_encode_le_two 📋 Mathlib.Analysis.SpecificLimits.Basic
{ι : Type u_4} [Encodable ι] : ∑' (i : ι), 2⁻¹ ^ Encodable.encode i ≤ 2 - PiCountable.dist 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoMetricSpace (F i)] : Dist ((i : ι) → F i) - PiCountable.edist 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EDist (F i)] : EDist ((i : ι) → F i) - PiCountable.emetricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EMetricSpace (F i)] : EMetricSpace ((i : ι) → F i) - PiCountable.metricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → MetricSpace (F i)] : MetricSpace ((i : ι) → F i) - PiCountable.pseudoEMetricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoEMetricSpace (F i)] : PseudoEMetricSpace ((i : ι) → F i) - PiCountable.pseudoMetricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoMetricSpace (F i)] : PseudoMetricSpace ((i : ι) → F i) - Metric.PiNatEmbed.instPseudoEMetricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → PseudoEMetricSpace (Y i)] : PseudoEMetricSpace (Metric.PiNatEmbed X Y f) - Metric.PiNatEmbed.instPseudoMetricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → PseudoMetricSpace (Y i)] : PseudoMetricSpace (Metric.PiNatEmbed X Y f) - PiCountable.edist_lt_top 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EDist (F i)] {x y : (i : ι) → F i} : edist x y < ⊤ - Metric.PiNatEmbed.emetricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → EMetricSpace (Y i)] (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) : EMetricSpace (Metric.PiNatEmbed X Y f) - Metric.PiNatEmbed.metricSpace 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → MetricSpace (Y i)] (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) : MetricSpace (Metric.PiNatEmbed X Y f) - Metric.PiNatEmbed.isometry_embed 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → PseudoEMetricSpace (Y i)] : Isometry (Metric.PiNatEmbed.embed X Y f) - PiCountable.edist_le_two 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EDist (F i)] {x y : (i : ι) → F i} : edist x y ≤ 2 - Metric.PiNatEmbed.TopologicalSpace.MetrizableSpace.of_countable_separating 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} [Encodable ι] [(i : ι) → MetricSpace (Y i)] [TopologicalSpace X] [CompactSpace X] (f : (i : ι) → X → Y i) (continuous_f : ∀ (i : ι), Continuous (f i)) (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) : TopologicalSpace.MetrizableSpace X - Metric.PiNatEmbed.continuous_toPiNat 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → PseudoMetricSpace (Y i)] [TopologicalSpace X] (continuous_f : ∀ (i : ι), Continuous (f i)) : Continuous Metric.PiNatEmbed.toPiNat - Metric.PiNatEmbed.isUniformEmbedding_embed 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → EMetricSpace (Y i)] (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) : IsUniformEmbedding (Metric.PiNatEmbed.embed X Y f) - PiCountable.dist_summable 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoMetricSpace (F i)] (x y : (i : ι) → F i) : Summable fun i => min (2⁻¹ ^ Encodable.encode i) (dist (x i) (y i)) - PiCountable.min_dist_le_dist_pi 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoMetricSpace (F i)] (x y : (i : ι) → F i) (i : ι) : min (2⁻¹ ^ Encodable.encode i) (dist (x i) (y i)) ≤ dist x y - Metric.PiNatEmbed.toPiNatHomeo 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} (X : Type u_3) (Y : ι → Type u_4) (f : (i : ι) → X → Y i) [Encodable ι] [(i : ι) → MetricSpace (Y i)] [TopologicalSpace X] [CompactSpace X] (continuous_f : ∀ (i : ι), Continuous (f i)) (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) : X ≃ₜ Metric.PiNatEmbed X Y f - PiCountable.min_edist_le_edist_pi 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EDist (F i)] (x y : (i : ι) → F i) (i : ι) : min (2⁻¹ ^ Encodable.encode i) (edist (x i) (y i)) ≤ edist x y - Metric.PiNatEmbed.isHomeomorph_toPiNat 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → MetricSpace (Y i)] [TopologicalSpace X] [CompactSpace X] (continuous_f : ∀ (i : ι), Continuous (f i)) (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) : IsHomeomorph Metric.PiNatEmbed.toPiNat - PiCountable.dist_eq_tsum 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoMetricSpace (F i)] (x y : (i : ι) → F i) : dist x y = ∑' (i : ι), min (2⁻¹ ^ Encodable.encode i) (dist (x i) (y i)) - PiCountable.dist_le_dist_pi_of_dist_lt 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → PseudoMetricSpace (F i)] {x y : (i : ι) → F i} {i : ι} (h : dist x y < 2⁻¹ ^ Encodable.encode i) : dist (x i) (y i) ≤ dist x y - PiCountable.edist_eq_tsum 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EDist (F i)] (x y : (i : ι) → F i) : edist x y = ∑' (i : ι), min (2⁻¹ ^ Encodable.encode i) (edist (x i) (y i)) - PiCountable.edist_le_edist_pi_of_edist_lt 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} [Encodable ι] {F : ι → Type u_3} [(i : ι) → EDist (F i)] {x y : (i : ι) → F i} {i : ι} (h : edist x y < 2⁻¹ ^ Encodable.encode i) : edist (x i) (y i) ≤ edist x y - Metric.PiNatEmbed.dist_def 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → PseudoMetricSpace (Y i)] (x y : Metric.PiNatEmbed X Y f) : dist x y = ∑' (i : ι), min (2⁻¹ ^ Encodable.encode i) (dist (f i x.ofPiNat) (f i y.ofPiNat)) - Metric.PiNatEmbed.edist_def 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} {X : Type u_3} {Y : ι → Type u_4} {f : (i : ι) → X → Y i} [Encodable ι] [(i : ι) → PseudoEMetricSpace (Y i)] (x y : Metric.PiNatEmbed X Y f) : edist x y = ∑' (i : ι), min (2⁻¹ ^ Encodable.encode i) (edist (f i x.ofPiNat) (f i y.ofPiNat)) - Metric.PiNatEmbed.toPiNatHomeo_apply_ofPiNat 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} (X : Type u_3) (Y : ι → Type u_4) (f : (i : ι) → X → Y i) [Encodable ι] [(i : ι) → MetricSpace (Y i)] [TopologicalSpace X] [CompactSpace X] (continuous_f : ∀ (i : ι), Continuous (f i)) (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) (ofPiNat : X) : ((Metric.PiNatEmbed.toPiNatHomeo X Y f continuous_f separating_f) ofPiNat).ofPiNat = ofPiNat - Metric.PiNatEmbed.toPiNatHomeo_symm_apply 📋 Mathlib.Topology.MetricSpace.PiNat
{ι : Type u_2} (X : Type u_3) (Y : ι → Type u_4) (f : (i : ι) → X → Y i) [Encodable ι] [(i : ι) → MetricSpace (Y i)] [TopologicalSpace X] [CompactSpace X] (continuous_f : ∀ (i : ι), Continuous (f i)) (separating_f : Pairwise fun x y => ∃ i, f i x ≠ f i y) (self : Metric.PiNatEmbed X Y f) : (Metric.PiNatEmbed.toPiNatHomeo X Y f continuous_f separating_f).symm self = self.ofPiNat - MeasureTheory.Measure.pi' 📋 Mathlib.MeasureTheory.Constructions.Pi
{ι : Type u_1} {α : ι → Type u_3} [Fintype ι] [(i : ι) → MeasurableSpace (α i)] (μ : (i : ι) → MeasureTheory.Measure (α i)) [Encodable ι] : MeasureTheory.Measure ((i : ι) → α i) - MeasureTheory.Measure.pi'_eq_pi 📋 Mathlib.MeasureTheory.Constructions.Pi
{ι : Type u_1} {α : ι → Type u_3} [Fintype ι] [(i : ι) → MeasurableSpace (α i)] (μ : (i : ι) → MeasureTheory.Measure (α i)) [Encodable ι] [∀ (i : ι), MeasureTheory.SigmaFinite (μ i)] : MeasureTheory.Measure.pi' μ = MeasureTheory.Measure.pi μ - MeasureTheory.Measure.pi'_pi 📋 Mathlib.MeasureTheory.Constructions.Pi
{ι : Type u_1} {α : ι → Type u_3} [Fintype ι] [(i : ι) → MeasurableSpace (α i)] (μ : (i : ι) → MeasureTheory.Measure (α i)) [Encodable ι] [∀ (i : ι), MeasureTheory.SigmaFinite (μ i)] (s : (i : ι) → Set (α i)) : (MeasureTheory.Measure.pi' μ) (Set.univ.pi s) = ∏ i, (μ i) (s i) - Primcodable.toEncodable 📋 Mathlib.Computability.Primrec.Basic
{α : Type u_1} [self : Primcodable α] : Encodable α - Primcodable.mk 📋 Mathlib.Computability.Primrec.Basic
{α : Type u_1} [toEncodable : Encodable α] (prim : Nat.Primrec fun n => Encodable.encode (Encodable.decode n)) : Primcodable α - NNRat.instEncodable 📋 Mathlib.Data.NNRat.Encodable
: Encodable ℚ≥0 - FirstOrder.Language.Term.instEncodableOfSigmaNatFunctions 📋 Mathlib.ModelTheory.Encoding
{L : FirstOrder.Language} {α : Type u'} [Encodable α] [Encodable ((i : ℕ) × L.Functions i)] : Encodable (L.Term α) - Array.encodable 📋 Mathlib.Logic.Equiv.Array
{α : Type u_1} [Encodable α] : Encodable (Array α)
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 69fae59