User:Doesthiswork

From Esolang
Jump to navigation Jump to search

holographic reduced representation you associate one piece of data with another by xoring them. combo = a^b to retrieve one piece of data you xor it with the association. combo^a => b you can compose multiple associations into one piece by averaging them. combo = (a^b + b^c) this means you can retrieve [b + a^b^c] by combo^a the a^b^c looks enough like random noise that we can just say it returns approximately b

it is possible to encode linked lists in holographic reduced representation like this

(car^a + cdr^(car^b + cdr^(car^c + cdr)))

where car cdr a b and c are all random constants.

this is almost enough to make a variant of smartboxes that uses this instead of unification