equal
deleted
inserted
replaced
445 fun is_complete facto = |
445 fun is_complete facto = |
446 has_exact_card hol_ctxt facto finitizable_dataTs card_assigns T |
446 has_exact_card hol_ctxt facto finitizable_dataTs card_assigns T |
447 fun is_concrete facto = |
447 fun is_concrete facto = |
448 is_word_type T orelse |
448 is_word_type T orelse |
449 (* FIXME: looks wrong other types than just functions might be |
449 (* FIXME: looks wrong other types than just functions might be |
450 abstract. *) |
450 abstract. "is_complete" is also suspicious. *) |
451 xs |> maps (binder_types o snd) |> maps binder_types |
451 xs |> maps (binder_types o snd) |> maps binder_types |
452 |> forall (has_exact_card hol_ctxt facto finitizable_dataTs |
452 |> forall (has_exact_card hol_ctxt facto finitizable_dataTs |
453 card_assigns) |
453 card_assigns) |
454 val complete = pair_from_fun is_complete |
454 val complete = pair_from_fun is_complete |
455 val concrete = pair_from_fun is_concrete |
455 val concrete = pair_from_fun is_concrete |