Linking with the TARDIS, simplifying logic formulas