On $\mathrm{Pow2}(x)$ and $\mathrm{BitLen}(x, y)$ #
$\mathrm{Pow2}(n)$ is a property that holds iff $n = 2^i$ for some $i$.
Equations
- One or more equations did not get rendered due to their size.
Instances For
instance
LO.FirstOrder.Arithmetic.pow2_defined
{V : Type u_1}
[ORingStructure V]
[V↓[ℒₒᵣ] ⊧* 𝗜𝗢𝗽𝗲𝗻]
:
instance
LO.FirstOrder.Arithmetic.pow2_definable
{V : Type u_1}
[ORingStructure V]
[V↓[ℒₒᵣ] ⊧* 𝗜𝗢𝗽𝗲𝗻]
:
@[simp]
theorem
LO.FirstOrder.Arithmetic.pow2_one
{V : Type u_1}
[ORingStructure V]
[V↓[ℒₒᵣ] ⊧* 𝗜𝗢𝗽𝗲𝗻]
:
Pow2 1
@[simp]
theorem
LO.FirstOrder.Arithmetic.pow2_two
{V : Type u_1}
[ORingStructure V]
[V↓[ℒₒᵣ] ⊧* 𝗜𝗢𝗽𝗲𝗻]
:
Pow2 2
def
LO.FirstOrder.Arithmetic.LenBit
{V : Type u_1}
[ORingStructure V]
[V↓[ℒₒᵣ] ⊧* 𝗜𝗢𝗽𝗲𝗻]
(i a : V)
:
$\mathrm{LenBit} (2^i, a) \iff \text{$i$th-bit of $a$ is $1$}$.
Equations
- LO.FirstOrder.Arithmetic.LenBit i a = ¬2 ∣ a / i
Instances For
Equations
- One or more equations did not get rendered due to their size.