English
For s Nonempty, the theorem add_iSup expresses that a + ⨆ i ∈ s, f i = ⨆ i ∈ s, a + f i.
Русский
Для непустого множества s выполняется a + ⨆ i ∈ s, f i = ⨆ i ∈ s, a + f i.
LaTeX
$$$ (s \neq \varnothing) \rightarrow a + \bigsup_{i \in s} f(i) = \bigsup_{i \in s} (a + f(i)) $$$
Lean4
instance : Pow ℕ∞ ℕ∞ where
pow
| x, some y => x ^ y
| x, ⊤ => if x = 0 then 0 else if x = 1 then 1 else ⊤