static Set ai_factsFromNewFacts(LS newFacts) { Pair, LS> p = ai_rulesAndFacts(); ret ai_deriveFacts(p.a, concatLists(newFacts, p.b)); }