equal
deleted
inserted
replaced
1504 SOME (remove (op =) j loose, (u, j0 + j) :: fixed) |
1504 SOME (remove (op =) j loose, (u, j0 + j) :: fixed) |
1505 | NONE => NONE |
1505 | NONE => NONE |
1506 end |
1506 end |
1507 else |
1507 else |
1508 accum) |
1508 accum) |
1509 | aux u = |
1509 | aux _ = I |
1510 raise NUT ("Nitpick_Kodkod.needed_value_axioms_for_datatype.aux", [u]) |
|
1511 in |
1510 in |
1512 case SOME (index_seq 0 card, []) |> fold aux need_us of |
1511 case SOME (index_seq 0 card, []) |> fold aux need_us of |
1513 SOME (_, fixed) => fixed |> map (atom_equation_for_nut ofs kk) |
1512 SOME (_, fixed) => fixed |> map (atom_equation_for_nut ofs kk) |
1514 | NONE => [KK.False] |
1513 | NONE => [KK.False] |
1515 end |
1514 end |