The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Order.Filter.Defs

92 declarations. Mathlib docs · Source

Definitions about filters

A filter on a type α is a collection of sets of α which contains the whole α, is upwards-closed, and is stable under intersection. Filters are mostly used to abstract two related kinds of ideas:

  • limits, including finite or infinite limits of sequences, finite or infinite limits of functions at a point or at infinity, etc...
  • things happening eventually, including things happening for large enough n : ℕ, or near enough a point x, or for close enough pairs of points, or things happening almost everywhere in the sense of measure theory. Dually, filters can also express the idea of things happening often: for arbitrarily large n, or at a point in any neighborhood of given a point etc...

Main definitions

  • Filter : filters on a set;
  • Filter.principal, 𝓟 s : filter of all sets containing a given set;
  • Filter.map, Filter.comap : operations on filters;
  • Filter.Tendsto : limit with respect to filters;
  • Filter.Eventually : f.Eventually p means {x | p x} ∈ f;
  • Filter.Frequently : f.Frequently p means {x | ¬p x} ∉ f;
  • filter_upwards [h₁, ..., hₙ] : a tactic that takes a list of proofs hᵢ : sᵢ ∈ f, and replaces a goal s ∈ f with ∀ x, x ∈ s₁ → ... → x ∈ sₙ → x ∈ s;
  • Filter.NeBot f : a utility class stating that f is a non-trivial filter.
  • Filter.IsBounded r f: the filter f is eventually bounded w.r.t. the relation r, i.e. eventually, it is bounded by some uniform bound. r will be usually instantiated with (· ≤ ·) or (· ≥ ·).
  • Filter.IsCobounded r f states that the filter f does not tend to infinity w.r.t. r. This is also called frequently bounded. Will be usually instantiated with (· ≤ ·) or (· ≥ ·).

Notation

  • ∀ᶠ x in f, p x : f.Eventually p;
  • ∃ᶠ x in f, p x : f.Frequently p;
  • f =ᶠ[l] g : ∀ᶠ x in l, f x = g x;
  • f ≤ᶠ[l] g : ∀ᶠ x in l, f x ≤ g x;
  • 𝓟 s : Filter.Principal s, localized in Filter.

Implementation notes

Important note: Bourbaki requires that a filter on X cannot contain all sets of X, which we do not require. This gives Filter X better formal properties, in particular a bottom element ⊥ for its lattice structure, at the cost of including the assumption [NeBot f] in a number of lemmas and definitions.

References

  • [N. Bourbaki, General Topology][bourbaki1966]

def Filter.ctorIdx E1 #

{α : Type u_1} → Filter α → ℕ

theorem Filter.mk.injEq E0 #

∀ {α : Type u_1} (sets : Set (Set α)) (univ_sets : Set.univ ∈ sets)
  (sets_of_superset : ∀ {x y : Set α}, x ∈ sets → x ⊆ y → y ∈ sets)
  (inter_sets : ∀ {x y : Set α}, x ∈ sets → y ∈ sets → x ∩ y ∈ sets) (sets_1 : Set (Set α))
  (univ_sets_1 : Set.univ ∈ sets_1) (sets_of_superset_1 : ∀ {x y : Set α}, x ∈ sets_1 → x ⊆ y → y ∈ sets_1)
  (inter_sets_1 : ∀ {x y : Set α}, x ∈ sets_1 → y ∈ sets_1 → x ∩ y ∈ sets_1),
  ({ sets := sets, univ_sets := univ_sets, sets_of_superset := sets_of_superset, inter_sets := inter_sets } =
      { sets := sets_1, univ_sets := univ_sets_1, sets_of_superset := sets_of_superset_1,
        inter_sets := inter_sets_1 }) =
    (sets = sets_1)

theorem Filter.mk.inj E1 #

∀ {α : Type u_1} {sets : Set (Set α)} {univ_sets : Set.univ ∈ sets}
  {sets_of_superset : ∀ {x y : Set α}, x ∈ sets → x ⊆ y → y ∈ sets}
  {inter_sets : ∀ {x y : Set α}, x ∈ sets → y ∈ sets → x ∩ y ∈ sets} {sets_1 : Set (Set α)}
  {univ_sets_1 : Set.univ ∈ sets_1} {sets_of_superset_1 : ∀ {x y : Set α}, x ∈ sets_1 → x ⊆ y → y ∈ sets_1}
  {inter_sets_1 : ∀ {x y : Set α}, x ∈ sets_1 → y ∈ sets_1 → x ∩ y ∈ sets_1},
  { sets := sets, univ_sets := univ_sets, sets_of_superset := sets_of_superset, inter_sets := inter_sets } =
      { sets := sets_1, univ_sets := univ_sets_1, sets_of_superset := sets_of_superset_1, inter_sets := inter_sets_1 } →
    sets = sets_1

structure Filter E3 #

Type u_1 → Type u_1

A filter F on a type α is a collection of sets of α which contains the whole α, is upwards-closed, and is stable under intersection. We do not forbid this collection to be all sets of α.

ctor Filter.mk E0 #

{α : Type u_1} →
  (sets : Set (Set α)) →
    Set.univ ∈ sets →
      (∀ {x y : Set α}, x ∈ sets → x ⊆ y → y ∈ sets) → (∀ {x y : Set α}, x ∈ sets → y ∈ sets → x ∩ y ∈ sets) → Filter α

abbrev Filter.sets E1 #

{α : Type u_1} → Filter α → Set (Set α)

The set of sets that belong to the filter.

theorem Filter.univ_sets E2 #

∀ {α : Type u_1} (self : Filter α), Set.univ ∈ self.sets

The set Set.univ belongs to any filter.

theorem Filter.sets_of_superset E2 #

∀ {α : Type u_1} (self : Filter α) {x y : Set α}, x ∈ self.sets → x ⊆ y → y ∈ self.sets

If a set belongs to a filter, then its superset belongs to the filter as well.

theorem Filter.inter_sets E2 #

∀ {α : Type u_1} (self : Filter α) {x y : Set α}, x ∈ self.sets → y ∈ self.sets → x ∩ y ∈ self.sets

If two sets belong to a filter, then their intersection belongs to the filter as well.

theorem Filter.filter_eq E0 #

∀ {α : Type u_1} {f g : Filter α}, f.sets = g.sets → f = g

instance Filter.instMembership E0 #

{α : Type u_1} → Membership (Set α) (Filter α)

If F is a filter on α, and U a subset of α then we can write U ∈ F as on paper.

theorem Filter.ext E1 #

∀ {α : Type u_1} {f g : Filter α}, (∀ (s : Set α), s ∈ f ↔ s ∈ g) → f = g

theorem Filter.ext_iff E0 #

∀ {α : Type u_1} {f g : Filter α}, f = g ↔ ∀ (s : Set α), s ∈ f ↔ s ∈ g

theorem Filter.mem_mk E0 #

∀ {α : Type u_1} {s : Set α} {t : Set (Set α)} {h₁ : Set.univ ∈ t} {h₂ : ∀ {x y : Set α}, x ∈ t → x ⊆ y → y ∈ t}
  {h₃ : ∀ {x y : Set α}, x ∈ t → y ∈ t → x ∩ y ∈ t},
  s ∈ { sets := t, univ_sets := h₁, sets_of_superset := h₂, inter_sets := h₃ } ↔ s ∈ t

theorem Filter.mem_sets E0 #

∀ {α : Type u_1} {f : Filter α} {s : Set α}, s ∈ f.sets ↔ s ∈ f

theorem Filter.univ_mem E0 #

∀ {α : Type u_1} {f : Filter α}, Set.univ ∈ f

theorem Filter.mem_of_superset E0 #

∀ {α : Type u_1} {f : Filter α} {x y : Set α}, x ∈ f → x ⊆ y → y ∈ f

theorem Filter.univ_mem' E1 #

∀ {α : Type u_1} {f : Filter α} {s : Set α}, (∀ (a : α), a ∈ s) → s ∈ f

theorem Filter.inter_mem E1 #

∀ {α : Type u_1} {f : Filter α} {s t : Set α}, s ∈ f → t ∈ f → s ∩ t ∈ f

theorem Filter.mp_mem E1 #

∀ {α : Type u_1} {f : Filter α} {s t : Set α}, s ∈ f → {x | x ∈ s → x ∈ t} ∈ f → t ∈ f

def Filter.copy E1 #

{α : Type u_1} → (f : Filter α) → (S : Set (Set α)) → (∀ (s : Set α), s ∈ S ↔ s ∈ f) → Filter α

Override sets field of a filter to provide better definitional equality.

theorem Filter.mem_copy E0 #

∀ {α : Type u_1} {f : Filter α} {s : Set α} {S : Set (Set α)} {hmem : ∀ (s : Set α), s ∈ S ↔ s ∈ f},
  s ∈ f.copy S hmem ↔ s ∈ S

def Filter.comk E1 #

{α : Type u_1} →
  (p : Set α → Prop) →
    p ∅ → (∀ (t : Set α), p t → ∀ s ⊆ t, p s) → (∀ (s : Set α), p s → ∀ (t : Set α), p t → p (s ∪ t)) → Filter α

Construct a filter from a property that is stable under finite unions. A set s belongs to Filter.comk p _ _ _ iff its complement satisfies the predicate p. This constructor is useful to define filters like Filter.cofinite.

theorem Filter.mem_comk E0 #

∀ {α : Type u_1} {p : Set α → Prop} {he : p ∅} {hmono : ∀ (t : Set α), p t → ∀ s ⊆ t, p s}
  {hunion : ∀ (s : Set α), p s → ∀ (t : Set α), p t → p (s ∪ t)} {s : Set α}, s ∈ Filter.comk p he hmono hunion ↔ p sᶜ

def Filter.principal E3 #

{α : Type u_1} → Set α → Filter α

The principal filter of s is the collection of all supersets of s.

def Filter.term𝓟 E1 #

Lean.ParserDescr

The principal filter of s is the collection of all supersets of s.

theorem Filter.mem_principal E0 #

∀ {α : Type u_1} {s t : Set α}, s ∈ Filter.principal t ↔ t ⊆ s

instance Filter.instPure E0 #

Pure Filter

pure x is the set of sets that contain x. It is equal to 𝓟 {x} but with this definition we have s ∈ pure a defeq a ∈ s.

theorem Filter.mem_pure E0 #

∀ {α : Type u_1} {a : α} {s : Set α}, s ∈ pure a ↔ a ∈ s

def Filter.ker E1 #

{α : Type u_1} → Filter α → Set α

The kernel of a filter is the intersection of all its sets.

def Filter.join E1 #

{α : Type u_1} → Filter (Filter α) → Filter α

The join of a filter of filters is defined by the relation s ∈ join f ↔ {t | s ∈ t} ∈ f.

theorem Filter.mem_join E0 #

∀ {α : Type u_1} {s : Set α} {f : Filter (Filter α)}, s ∈ f.join ↔ {t | s ∈ t} ∈ f

instance Filter.instPartialOrder E0 #

{α : Type u_1} → PartialOrder (Filter α)

theorem Filter.le_def E0 #

∀ {α : Type u_1} {f g : Filter α}, f ≤ g ↔ ∀ x ∈ g, x ∈ f

instance Filter.instSupSet E0 #

{α : Type u_1} → SupSet (Filter α)

theorem Filter.mem_sSup E0 #

∀ {α : Type u_1} {s : Set α} {S : Set (Filter α)}, s ∈ sSup S ↔ ∀ f ∈ S, s ∈ f

def Filter.sInf E1 #

{α : Type u_1} → Set (Filter α) → Filter α

Infimum of a set of filters. This definition is marked as irreducible so that Lean doesn't try to unfold it when unifying expressions.

instance Filter.instInfSet E0 #

{α : Type u_1} → InfSet (Filter α)

theorem Filter.sSup_lowerBounds E1 #

∀ {α : Type u_1} (s : Set (Filter α)), sSup (lowerBounds s) = sInf s

instance Filter.instTop E0 #

{α : Type u_1} → Top (Filter α)

theorem Filter.mem_top_iff_forall E0 #

∀ {α : Type u_1} {s : Set α}, s ∈ ⊤ ↔ ∀ (x : α), x ∈ s

theorem Filter.mem_top E0 #

∀ {α : Type u_1} {s : Set α}, s ∈ ⊤ ↔ s = Set.univ

instance Filter.instBot E0 #

{α : Type u_1} → Bot (Filter α)

theorem Filter.mem_bot E0 #

∀ {α : Type u_1} {s : Set α}, s ∈ ⊥

instance Filter.instInf E0 #

{α : Type u_1} → Min (Filter α)

The infimum of filters is the filter generated by intersections of elements of the two filters.

instance Filter.instSup E0 #

{α : Type u_1} → Max (Filter α)

The supremum of two filters is the filter that contains sets that belong to both filters.

instance Filter.instSDiff E0 #

{α : Type u_1} → SDiff (Filter α)

The relative complement of two filters f \ g contains sets whose union with any set in g lies in f.

instance Filter.instHNot E0 #

{α : Type u_1} → HNot (Filter α)

The coheyting negation of a filter is the complement of its kernel.

theorem Filter.mem_sdiff E0 #

∀ {α : Type u_1} {f g : Filter α} {s : Set α}, s ∈ f \ g ↔ ∀ t ∈ g, s ⊆ t → t ∈ f

theorem Filter.hnot_def E0 #

∀ {α : Type u_1} {f : Filter α}, ¬f = Filter.principal f.kerᶜ

class Filter.NeBot E1 #

{α : Type u_1} → Filter α → Prop

A filter is NeBot if it is not equal to ⊥, or equivalently the empty set does not belong to the filter. Bourbaki include this assumption in the definition of a filter but we prefer to have a CompleteLattice structure on Filter _, so we use a typeclass argument in lemmas instead.

ctor Filter.NeBot.mk E0 #

∀ {α : Type u_1} {f : Filter α}, f ≠ ⊥ → f.NeBot

theorem Filter.NeBot.ne' E1 #

∀ {α : Type u_1} {f : Filter α} [self : f.NeBot], f ≠ ⊥

The filter is nontrivial: f ≠ ⊥ or equivalently, ∅ ∉ f.

theorem Filter.neBot_iff E0 #

∀ {α : Type u_1} {f : Filter α}, f.NeBot ↔ f ≠ ⊥

def Filter.Eventually E3 #

{α : Type u_1} → (α → Prop) → Filter α → Prop

f.Eventually p or ∀ᶠ x in f, p x mean that {x | p x} ∈ f. E.g., ∀ᶠ x in atTop, p x means that p holds true for sufficiently large x.

def Filter.«term∀ᶠ_In_,_» E1 #

Lean.ParserDescr

f.Eventually p or ∀ᶠ x in f, p x mean that {x | p x} ∈ f. E.g., ∀ᶠ x in atTop, p x means that p holds true for sufficiently large x.

def Filter.Frequently E3 #

{α : Type u_1} → (α → Prop) → Filter α → Prop

f.Frequently p or ∃ᶠ x in f, p x mean that {x | ¬p x} ∉ f. E.g., ∃ᶠ x in atTop, p x means that there exist arbitrarily large x for which p holds true.

def Filter.«term∃ᶠ_In_,_» E1 #

Lean.ParserDescr

f.Frequently p or ∃ᶠ x in f, p x mean that {x | ¬p x} ∉ f. E.g., ∃ᶠ x in atTop, p x means that there exist arbitrarily large x for which p holds true.

def Filter.EventuallyEq E3 #

{α : Type u_1} → {β : Type u_2} → Filter α → (α → β) → (α → β) → Prop

Two functions f and g are eventually equal along a filter l if the set of x such that f x = g x belongs to l.

def Filter.EventuallyLE E1 #

{α : Type u_1} → {β : Type u_2} → [LE β] → Filter α → (α → β) → (α → β) → Prop

A function f is eventually less than or equal to a function g at a filter l.

def Filter.EventuallyEqSet E1 #

{α : Type u_1} → Filter α → Set α → Set α → Prop

Two sets s and t are eventually equal along a filter l if the set of x such that x ∈ s ↔ x ∈ t belongs to l.

def Filter.EventuallySubset E1 #

{α : Type u_1} → Filter α → Set α → Set α → Prop

A set s is eventually contained in a set t along a filter l if the set of x such that x ∈ s → x ∈ t belongs to l.

def Filter.eventuallyEqStx E1 #

Lean.TrailingParserDescr

x =ᶠ[l] y means that x and y are eventually equal along the filter l.

This is Filter.EventuallyEq l x y if x is a function or Filter.EventuallyEqSet l x y if x is a set.

def Filter.eventuallyLEStx E1 #

Lean.TrailingParserDescr

x ≤ᶠ[l] y means that x is eventually less than or equal to y along the filter l.

This is Filter.EventuallyLE l x y if x is a function and Filter.EventuallySubset l x y if x is a set.

def Filter.elabEventuallyRelSides E1 #

Lean.Term → Lean.Term → Lean.Elab.TermElabM (Lean.Term × Lean.Term × Bool)

Elaborate the left-hand side x of an x =ᶠ[l] y / x ≤ᶠ[l] y on its own, dispatching on whether its type is a Set. If the type is not yet known (e.g. x is the _ of a calc step), consult the right-hand side y instead. Returns the elaborated sides turned back into syntax together with whether they should be interpreted as sets. If y is not consulted, it is returned unelaborated.

def Filter.elabEventuallyEq E1 #

Lean.Elab.Term.TermElab

Elaborator for x =ᶠ[l] y, dispatching on the type of x (or of y if the type of x is not yet known): Filter.EventuallyEqSet for sets, Filter.EventuallyEq for functions.

def Filter.elabEventuallyLE E1 #

Lean.Elab.Term.TermElab

Elaborator for x ≤ᶠ[l] y, dispatching on the type of x (or of y if the type of x is not yet known): Filter.EventuallySubset for sets, Filter.EventuallyLE for functions.

def Filter.precheckEventuallyEq E1 #

Lean.Elab.Term.Quotation.Precheck

quot_precheck for the =ᶠ[l] notation, allowing it to appear inside other notations.

def Filter.precheckEventuallyLE E1 #

Lean.Elab.Term.Quotation.Precheck

quot_precheck for the ≤ᶠ[l] notation, allowing it to appear inside other notations.

def Filter.unexpandEventuallyEq E1 #

Lean.PrettyPrinter.Unexpander

Unexpander printing Filter.EventuallyEq l f g as f =ᶠ[l] g.

def Filter.unexpandEventuallyEqSet E1 #

Lean.PrettyPrinter.Unexpander

Unexpander printing Filter.EventuallyEqSet l s t as s =ᶠ[l] t.

def Filter.unexpandEventuallyLE E1 #

Lean.PrettyPrinter.Unexpander

Unexpander printing Filter.EventuallyLE l f g as f ≤ᶠ[l] g.

def Filter.unexpandEventuallySubset E1 #

Lean.PrettyPrinter.Unexpander

Unexpander printing Filter.EventuallySubset l s t as s ≤ᶠ[l] t.

def Filter.map E3 #

{α : Type u_1} → {β : Type u_2} → (α → β) → Filter α → Filter β

The forward map of a filter

def Filter.Tendsto E3 #

{α : Type u_1} → {β : Type u_2} → (α → β) → Filter α → Filter β → Prop

Filter.Tendsto is the generic "limit of a function" predicate. Tendsto f l₁ l₂ asserts that for every l₂ neighborhood a, the f-preimage of a is an l₁ neighborhood.

def Filter.comap E3 #

{α : Type u_1} → {β : Type u_2} → (α → β) → Filter β → Filter α

The inverse map of a filter. A set s belongs to Filter.comap m f if either of the following equivalent conditions hold.

  1. There exists a set t ∈ f such that m ⁻¹' t ⊆ s. This is used as a definition.
  2. The set kernImage m s = {y | ∀ x, m x = y → x ∈ s} belongs to f, see Filter.mem_comap'.
  3. The set (m '' sᶜ)ᶜ belongs to f, see Filter.mem_comap_iff_compl and Filter.compl_mem_comap.

def Filter.coprod E1 #

{α : Type u_1} → {β : Type u_2} → Filter α → Filter β → Filter (α × β)

Coproduct of filters.

instance Filter.instSProd E0 #

{α : Type u_1} → {β : Type u_2} → SProd (Filter α) (Filter β) (Filter (α × β))

Product of filters. This is the filter generated by Cartesian products of elements of the component filters.

theorem Filter.prod_eq_inf E1 #

∀ {α : Type u_1} {β : Type u_2} (f : Filter α) (g : Filter β),
  f ×ˢ g = Filter.comap Prod.fst f ⊓ Filter.comap Prod.snd g

def Filter.pi E1 #

{ι : Type u_3} → {α : ι → Type u_4} → ((i : ι) → Filter (α i)) → Filter ((i : ι) → α i)

The product of an indexed family of filters.

def Filter.bind E1 #

{α : Type u_1} → {β : Type u_2} → Filter α → (α → Filter β) → Filter β

The monadic bind operation on filter is defined the usual way in terms of map and join.

Unfortunately, this bind does not result in the expected applicative. See Filter.seq for the applicative instance.

def Filter.seq E1 #

{α : Type u_1} → {β : Type u_2} → Filter (α → β) → Filter α → Filter β

The applicative sequentiation operation. This is not induced by the bind operation.

def Filter.curry E1 #

{α : Type u_1} → {β : Type u_2} → Filter α → Filter β → Filter (α × β)

This filter is characterized by Filter.eventually_curry_iff: (∀ᶠ (x : α × β) in f.curry g, p x) ↔ ∀ᶠ (x : α) in f, ∀ᶠ (y : β) in g, p (x, y). Useful in adding quantifiers to the middle of Tendstos. See hasFDerivAt_of_tendstoUniformlyOnFilter.

instance Filter.instBind E0 #

Bind Filter

instance Filter.instFunctor E0 #

Functor Filter

def Filter.lift E1 #

{α : Type u_1} → {β : Type u_2} → Filter α → (Set α → Filter β) → Filter β

A variant on bind using a function g taking a set instead of a member of α. This is essentially a push-forward along a function mapping each set to a filter.

def Filter.lift' E1 #

{α : Type u_1} → {β : Type u_2} → Filter α → (Set α → Set β) → Filter β

Specialize lift to functions Set α → Set β. This can be viewed as a generalization of map. This is essentially a push-forward along a function mapping each set to a set.

def Filter.IsBounded E1 #

{α : Type u_1} → (α → α → Prop) → Filter α → Prop

f.IsBounded r: the filter f is eventually bounded w.r.t. the relation r, i.e. eventually, it is bounded by some uniform bound. r will be usually instantiated with (· ≤ ·) or (· ≥ ·).

def Filter.IsBoundedUnder E1 #

{α : Type u_1} → {β : Type u_2} → (α → α → Prop) → Filter β → (β → α) → Prop

f.IsBoundedUnder (≺) u: the image of the filter f under u is eventually bounded w.r.t. the relation ≺, i.e. eventually, it is bounded by some uniform bound.

def Filter.IsCobounded E1 #

{α : Type u_1} → (α → α → Prop) → Filter α → Prop

IsCobounded (≺) f states that the filter f does not tend to infinity w.r.t. ≺. This is also called frequently bounded. Will be usually instantiated with ≤ or ≥.

There is a subtlety in this definition: we want f.IsCobounded to hold for any f in the case of complete lattices. This will be relevant to deduce theorems on complete lattices from their versions on conditionally complete lattices with additional assumptions. We have to be careful in the edge case of the trivial filter containing the empty set: the other natural definition ¬ ∀ a, ∀ᶠ n in f, a ≤ n would not work as well in this case.

def Filter.IsCoboundedUnder E1 #

{α : Type u_1} → {β : Type u_2} → (α → α → Prop) → Filter β → (β → α) → Prop

IsCoboundedUnder (≺) f u states that the image of the filter f under the map u does not tend to infinity w.r.t. ≺. This is also called frequently bounded. Will be usually instantiated with ≤ or ≥.

def Mathlib.Tactic.filterUpwards E1 #

Lean.ParserDescr

filter_upwards [h₁, ⋯, hₙ] replaces a goal of the form s ∈ f and terms h₁ : t₁ ∈ f, ⋯, hₙ : tₙ ∈ f with ∀ x, x ∈ t₁ → ⋯ → x ∈ tₙ → x ∈ s. The list is an optional parameter, [] being its default value.

filter_upwards [h₁, ⋯, hₙ] with a₁ a₂ ⋯ aₖ is a short form for { filter_upwards [h₁, ⋯, hₙ], intro a₁ a₂ ⋯ aₖ }.

filter_upwards [h₁, ⋯, hₙ] using e is a short form for { filter_upwards [h1, ⋯, hn], exact e }.

Combining both shortcuts is done by writing filter_upwards [h₁, ⋯, hₙ] with a₁ a₂ ⋯ aₖ using e. Note that in this case, the aᵢ terms can be used in e.