Return the finite set of elements that represent the interpretation for the given sort. This is only applicable to uninterpreted sorts with finite interpretations.
An AstVector containing all elements in the sort's universe
const { Solver, Sort, Const } = await init();
const solver = new Solver();
const A = Sort.declare('A');
const x = Const('x', A);
const y = Const('y', A);
solver.add(x.neq(y));
await solver.check();
const model = solver.model();
const universe = model.sortUniverse(A);
console.log('Universe has', universe.length(), 'elements');
for (let i = 0; i < universe.length(); i++) {
console.log('Element:', universe.get(i).toString());
}
Return the uninterpreted sort at the given index.