Theorems · Theorem · number theory
Nat.bitwise_eq_binaryRec
∀ (f : Bool → Bool → Bool),
Nat.bitwise f = fun n =>
Nat.binaryRec (motive := fun x => ℕ → ℕ) (fun n => bif f false true then n else 0)
(fun a m Ia n => Nat.binaryRec (bif f true false then Nat.bit a m else 0) (fun b n x => Nat.bit (f a b) (Ia n)) n)
n- Defined in
- Mathlib.Data.Nat.Bitwise
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 38 from the axioms · uses propext, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites14
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Nat.bitstatement and proof · cited by 92
- Nat.boddproof · cited by 37
- Nat.div2proof · cited by 25
- Nat.binaryRecstatement and proof · cited by 24
- Nat.binaryRec'proof · cited by 11
- Nat.div2_bitproof · cited by 7
- Nat.bitwise_zero_rightproof · cited by 7
- Nat.bit_ne_zero_iffproof · cited by 5
- Nat.bit_div_twoproof · cited by 4
- Nat.bitwise_zero_leftproof · cited by 4
- Nat.bit_bodd_div2proof · cited by 3
- Nat.bodd_bitproof · cited by 3
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.