OAI/Computability/FourierTransform/AddressTables.lean
7 declarations, 0 contain sorry, 0 declared as axioms
Transposed column address trick: a table of the addition of two f-bit digit vectors. We will be able to charge construction of the whole table.
- def
OAI.PowerSaving.RAM.xorOrdline 13 - def
OAI.PowerSaving.RAM.xorTabline 15 - lemma
OAI.PowerSaving.RAM.digit_prefixline 17 - lemma
OAI.PowerSaving.RAM.digit_plusline 28 - theorem
OAI.PowerSaving.RAM.Can.xor_valueline 43Source documentation
Assume the input environment supplies arguments to this subcalculation at O(1) cost.
private theorem xor_value (v : ∀ i, Bits (f i) × Bits (f i)) (hf : Can m B s w x f (fun _ => 0)) (ha : Can m B s w x (fun i => (bits (f i)).loc (v i).1) (fun _ => 0)) (hb : Can m B s w x (fun i => (bits (f i)).loc (v i).2) (fun _ => 0)) (hB : Small B f) (hd : Small B fun i => 2^f i) : Can m B s w x (fun i => (bits (f i)).loc ((v i).1+(v i).2)) f := by …Mentions: OAI.PowerSaving.RAM.Can, OAI.PowerSaving.RAM.Small
- theorem
OAI.PowerSaving.RAM.Can.xor_prepareline 95 - theorem
OAI.PowerSaving.RAM.Can.xor_lookupline 129