Bitwise
π Source: Mathlib/Data/Num/Bitwise.lean
Statistics
| Metric | Count |
|---|---|
DefinitionsinstAndOp, instHShiftLeftNat, instHShiftRightNat, instOrOp, instXorOp, land, ldiff, lor, lxor, oneBits, shiftl, shiftr, testBit, NzsNum, bit0, bit1, drec', head, not, sign, tail, Β«term_::_Β», Β«term~_Β», instHAndNum, instHShiftLeftNat, instHShiftRightNatNum, instHXorNum, instOrOp, land, ldiff, lor, lxor, oneBits, shiftl, shiftr, testBit, SNum, add, bit, bit0, bit1, bits, cAdd, czAdd, drec', head, instAdd, instMul, instNeg, instSub, mul, neg, not, pred, rec', sign, sub, succ, tail, testBit, Β«term_::_Β», Β«term~_Β», instCoeNzsNumSNum, instDecidableEqNzsNum, decEq, instDecidableEqSNum, decEq, instInhabitedNzsNum, instInhabitedSNum, instOneNzsNum, instOneSNum, instZeroSNum | 72 |
| 13 | |
| Total | 85 |
Num
Definitions
| Name | Category | Theorems |
|---|---|---|
instAndOp π | CompOp | |
instHShiftLeftNat π | CompOp | |
instHShiftRightNat π | CompOp | |
instOrOp π | CompOp | |
instXorOp π | CompOp | |
land π | CompOp | |
ldiff π | CompOp | |
lor π | CompOp | |
lxor π | CompOp | |
oneBits π | CompOp | β |
shiftl π | CompOp | |
shiftr π | CompOp | |
testBit π | CompOp |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
land_eq_and π | mathematical | β | landNuminstAndOp | β | β |
lor_eq_or π | mathematical | β | lorNuminstOrOp | β | β |
lxor_eq_xor π | mathematical | β | lxorNuminstXorOp | β | β |
shiftl_eq_shiftLeft π | mathematical | β | shiftlNuminstHShiftLeftNat | β | β |
shiftr_eq_shiftRight π | mathematical | β | shiftrNuminstHShiftRightNat | β | β |
NzsNum
Definitions
| Name | Category | Theorems |
|---|---|---|
bit0 π | CompOp | β |
bit1 π | CompOp | β |
drec' π | CompOp | β |
head π | CompOp | β |
not π | CompOp | β |
sign π | CompOp | β |
tail π | CompOp | β |
Β«term_::_Β» π | CompOp | β |
Β«term~_Β» π | CompOp | β |
PosNum
Definitions
| Name | Category | Theorems |
|---|---|---|
instHAndNum π | CompOp | |
instHShiftLeftNat π | CompOp | |
instHShiftRightNatNum π | CompOp | |
instHXorNum π | CompOp | |
instOrOp π | CompOp | |
land π | CompOp | |
ldiff π | CompOp | β |
lor π | CompOp | |
lxor π | CompOp | |
oneBits π | CompOp | β |
shiftl π | CompOp | |
shiftr π | CompOp | |
testBit π | CompOp | β |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
land_eq_and π | mathematical | β | landPosNumNuminstHAndNum | β | β |
lor_eq_or π | mathematical | β | lorPosNuminstOrOp | β | β |
lxor_eq_xor π | mathematical | β | lxorPosNumNuminstHXorNum | β | β |
shiftl_eq_shiftLeft π | mathematical | β | shiftlPosNuminstHShiftLeftNat | β | β |
shiftl_succ_eq_bit0_shiftl π | mathematical | β | PosNuminstHShiftLeftNatbit0 | β | β |
shiftr_eq_shiftRight π | mathematical | β | shiftrPosNumNuminstHShiftRightNatNum | β | β |
SNum
Definitions
| Name | Category | Theorems |
|---|---|---|
add π | CompOp | β |
bit π | CompOp | |
bit0 π | CompOp | β |
bit1 π | CompOp | β |
bits π | CompOp | β |
cAdd π | CompOp | β |
czAdd π | CompOp | β |
drec' π | CompOp | β |
head π | CompOp | β |
instAdd π | CompOp | β |
instMul π | CompOp | β |
instNeg π | CompOp | β |
instSub π | CompOp | β |
mul π | CompOp | β |
neg π | CompOp | β |
not π | CompOp | β |
pred π | CompOp | β |
rec' π | CompOp | β |
sign π | CompOp | β |
sub π | CompOp | β |
succ π | CompOp | β |
tail π | CompOp | β |
testBit π | CompOp | β |
Β«term_::_Β» π | CompOp | β |
Β«term~_Β» π | CompOp | β |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
bit_one π | mathematical | β | bitzeronzNzsNum.msb | β | β |
bit_zero π | mathematical | β | bitzero | β | β |
(root)
Definitions
| Name | Category | Theorems |
|---|---|---|
NzsNum π | CompData | β |
SNum π | CompData | β |
instCoeNzsNumSNum π | CompOp | β |
instDecidableEqNzsNum π | CompOp | β |
instDecidableEqSNum π | CompOp | β |
instInhabitedNzsNum π | CompOp | β |
instInhabitedSNum π | CompOp | β |
instOneNzsNum π | CompOp | β |
instOneSNum π | CompOp | β |
instZeroSNum π | CompOp | β |
instDecidableEqNzsNum
Definitions
| Name | Category | Theorems |
|---|---|---|
decEq π | CompOp | β |
instDecidableEqSNum
Definitions
| Name | Category | Theorems |
|---|---|---|
decEq π | CompOp | β |
---