English
A variant of the maximal-lift cardinality formula under alternative type parameters.
Русский
Вариант формулы кардинал Mk с максимальным лифтом при иных параметрах типов.
LaTeX
$$∀ (R X) [Nonempty X] [Nontrivial R], #(FreeAlgebra R X) = #R ⊔ #X ⊔ ℵ₀$$
Lean4
/-- This inductive type is used to express representatives of the free algebra.
-/
inductive Pre
| of : X → Pre
| ofScalar : R → Pre
| add : Pre → Pre → Pre
| mul : Pre → Pre → Pre