b2asp

prob_prolog/extensions/b2asp/b2asp.pl

Modules

  • ProB_Preferences_maxx.pl
  • TestPrefs.pl
  • alloy2b
  • alloy2b_benchmarks
  • ample_sets
  • any.pl
  • assert_profiler
  • ast_cleanup_for_smt
  • ast_inspector
  • ast_optimizer_for_smt
  • ast_to_difference_logic
  • atelierb_provers_interface
  • atom.pl
  • avl_custom
  • avl_tools
  • avl_tree.pl
  • avl_ugraphs
  • avlp
  • b2asp
  • b2sat
  • b2setlog
  • b_arithmetic_expressions.pl
  • b_ast_cleanup
  • b_ast_cleanup_rewrite_rules
  • b_cogen
  • b_compiler
  • b_enumerate
  • b_enumeration_order_analysis
  • b_expression_sharing
  • b_global_sets
  • b_intelligent_trace_replay
  • b_interpreter
  • b_interpreter_components
  • b_interpreter_eventb
  • b_machine_identifier_normalization
  • b_operation_cache
  • b_operation_guards
  • b_read_write_info
  • b_show_history
  • b_simplifier
  • b_state_model_check
  • b_synthesis
  • b_to_cnf
  • b_trace_checking
  • banditfuzz
  • basic_unit_tests
  • before_after_predicates
  • benchmark.pl
  • benchmark_analyser.pl
  • between.pl
  • bf_env
  • bliss_interface
  • block_checker.pl
  • bmachine
  • bmachine_construction
  • bmachine_static_checks
  • bmachine_structure
  • bmc
  • bool_pred
  • bool_pred_test.pl
  • boolean.pl
  • bsyntaxtree
  • bsyntaxtree_quantifiers
  • bvisual
  • bvisual_any_maxsolver
  • cbc_ba
  • cbc_path_solver
  • cbc_refinement_checks
  • cdclt_pred_to_sat
  • cdclt_preprocessing
  • cdclt_sat_solver
  • cdclt_settings
  • cdclt_solver
  • cdclt_stats
  • ce_replay
  • chr_set_membership
  • closures
  • clpfd_interface
  • clpfd_lists
  • clpfd_off_interface
  • clpfd_tables
  • code2vec
  • code2vec_tests
  • codespeed_versions
  • compile_time_flags
  • consistencycheck
  • constraints
  • counter
  • coverage_statistics
  • coverage_term_expander.pl
  • coverage_tools
  • coverage_tools_annotations
  • csp_basic
  • csp_sequences
  • csp_sets
  • csp_tuples
  • ctigar
  • ctl
  • custom_explicit_sets
  • cvc4interface
  • debug
  • debugging_calls
  • debugging_calls_te.pl
  • delay
  • dependence
  • dev.pl
  • difference_logic_solver
  • disprover
  • disprover_test_runner
  • disprover_test_runner_cli.pl
  • dll_path
  • domain
  • domain_test.pl
  • dot_graphs_static_analysis
  • eclipse_interface
  • enable_graph
  • enabling_analysis
  • enabling_predicates
  • error_manager
  • eval_interface
  • eval_let_store
  • eval_strings
  • eventhandling
  • example.pl
  • experiment.pl
  • external_function_declarations
  • external_functions
  • external_functions_reals
  • external_functions_svg
  • fastio_inspector.pl
  • fd_utils_clpfd
  • fdr_csp_generator
  • fibonacci_heap
  • find_whens.pl
  • fixed_value.pl
  • float.pl
  • fuzzer
  • fuzzer_runner.pl
  • fuzzfile
  • fuzzing
  • gensym
  • grammar
  • graph_iso_nauty
  • graphical_state_viewer_images
  • graphiso
  • graphiso_test
  • ground_truth
  • gui_tcltk.pl
  • hashing
  • haskell_csp
  • haskell_csp_analyzer
  • heuristic_grouping.pl
  • hit_profiler
  • ic3
  • inf_arith
  • input_syntax_tree
  • integer.pl
  • interval_calc
  • json_freetype
  • json_parser
  • junit_tests
  • kernel_card_arithmetic
  • kernel_cardinality_attr
  • kernel_dif
  • kernel_equality
  • kernel_freetypes
  • kernel_frozen_info
  • kernel_lists
  • kernel_mappings
  • kernel_mappings_dispatch
  • kernel_non_empty_attr
  • kernel_objects
  • kernel_ordering
  • kernel_propagation
  • kernel_reals
  • kernel_records
  • kernel_strings
  • kernel_sym_break_order
  • kernel_tools
  • kernel_waitflags
  • kernel_z
  • kinduction
  • kodkod
  • kodkod2
  • kodkod_annotator
  • kodkod_integer_recalc
  • kodkod_printer
  • kodkod_process
  • kodkod_rewrite
  • kodkod_test
  • kodkod_tools
  • kodkod_translate
  • kodkod_typing
  • latex_processor
  • library_setup
  • list.pl
  • location_vars_to_program
  • logger
  • logging
  • ltl
  • ltl2ba
  • ltl_fairness
  • ltl_propositions
  • ltl_safety
  • ltl_tools
  • ltl_translate
  • ltl_verification
  • ltlc
  • ltsmin
  • ltsmin_c_interface
  • ltsmin_trace
  • master
  • maxsolver
  • mcdc_coverage
  • member_of.pl
  • memoization
  • meta_interface
  • mic_generation
  • model_checker
  • model_translation
  • module_information
  • msg_interop
  • mutate_expressions
  • mutation.pl
  • mutation_prob_ast_int_expr.pl
  • mutation_prob_ast_pred.pl
  • mutation_prob_ast_seq_expr.pl
  • mutation_prob_ast_set_expr.pl
  • mutations
  • myheap
  • number.pl
  • operation_data_generator
  • optimizing_solver
  • ordsetsp
  • parsercall
  • partition_detection
  • pathes
  • pathes_extensions_db
  • pathes_lib
  • performance_messages
  • pge_algo
  • plspec
  • plspec_core
  • plspec_logger
  • plspec_test
  • pltables
  • pltables_export
  • pltables_export_csv
  • pltables_export_html
  • pltables_export_latex
  • pltables_export_tools
  • pltables_export_xml
  • plunit_test_runner
  • pragmas
  • predicate_abstraction
  • predicate_analysis
  • predicate_data_generator
  • predicate_debugger
  • predicate_evaluator
  • predicate_handling
  • pref_definitions
  • preferences
  • preprofiler
  • preserve_behaviour_test.pl
  • prettyprinter
  • prob2_interface
  • prob_ast_any.pl
  • prob_ast_boolean.pl
  • prob_ast_couple.pl
  • prob_ast_eval_int_expr.pl
  • prob_ast_eval_pred.pl
  • prob_ast_eval_seq_expr.pl
  • prob_ast_eval_set_expr.pl
  • prob_ast_expr.pl
  • prob_ast_identifier.pl
  • prob_ast_int_expr.pl
  • prob_ast_integer.pl
  • prob_ast_minimize_int_expr.pl
  • prob_ast_minimize_pred.pl
  • prob_ast_minimize_seq_expr.pl
  • prob_ast_minimize_set_expr.pl
  • prob_ast_pred.pl
  • prob_ast_record.pl
  • prob_ast_sat.pl
  • prob_ast_seq.pl
  • prob_ast_seq_expr.pl
  • prob_ast_set.pl
  • prob_ast_set_expr.pl
  • prob_ast_string.pl
  • prob_cli
  • prob_cov.pl
  • prob_cov_runner.pl
  • prob_profiling_cli.pl
  • prob_rule_compiler
  • prob_socketserver
  • prob_startup
  • prob_state_predicates
  • prob_tcltk.pl
  • prob_type.pl
  • prob_value_any.pl
  • prob_value_boolean.pl
  • prob_value_integer.pl
  • prob_value_record.pl
  • prob_value_seq.pl
  • prob_value_set.pl
  • prob_value_string.pl
  • probhash
  • probsocket_proxy.pl
  • profiler
  • profiler_gui
  • profiler_te
  • prologTasks
  • prothon
  • proz
  • ptest.pl
  • quantifier_instantiation
  • random_permutations
  • rational.pl
  • record_detection
  • reduce_graph_state_space
  • refinement_checker
  • regexp
  • rewrite_rules_db
  • runtime_profiler
  • safety_mc
  • sap
  • sat_symmetry_breaking
  • satsolver
  • schemaexpansion
  • schemavars
  • self_check
  • self_check_off.pl
  • seq_rewriter
  • set_rewriter
  • smt_common_predicates
  • smt_solver_benchmarks
  • smt_solvers_interface
  • smt_symmetry_breaking
  • smtlib2_cli
  • smtlib2_environment
  • smtlib2_interpreter
  • smtlib2_parser
  • smtlib2_parser_tests
  • smtlib2_translation
  • snippets.pl
  • softfloat
  • solver_dispatcher
  • solver_handling
  • solver_interface
  • solvercalls
  • source_profiler
  • specfile
  • state_as_dot_graph
  • state_custom_dot_graph
  • state_graph_canon
  • state_packing
  • state_permuter
  • state_space
  • state_space_dijkstra
  • state_space_exploration_modes
  • state_space_explorer
  • state_space_open_nodes
  • state_space_open_nodes_c
  • state_space_reduction
  • static_analysis
  • static_enabling_analysis
  • static_ordering
  • store
  • subexpressions
  • succeed_max
  • symmetry_marker
  • symmetry_reduction
  • synthesis_tests
  • synthesis_util
  • system_call
  • table_tools
  • tcltk_interface
  • tcltk_tree_inspector
  • test
  • test2
  • test_fibonacci_heap
  • test_nodestore.pl
  • test_paths
  • test_regexp
  • test_regexp_unicode
  • test_runner
  • test_runner_cov.pl
  • test_typechecker
  • testcases
  • testdining
  • testltlc
  • tests.pl
  • testsignal.pl
  • timer
  • tools
  • tools_commands
  • tools_fastread
  • tools_files
  • tools_io
  • tools_lists
  • tools_matching
  • tools_meta
  • tools_platform
  • tools_portability
  • tools_positions
  • tools_printing
  • tools_strings
  • tools_timeout
  • trace_generator
  • translate
  • translate_keywords
  • tree.pl
  • typechecker
  • typing_tools
  • uml_generator
  • unbound_spec_test.pl
  • unsat_core_generalization
  • unsat_cores
  • user_interrupts
  • user_signal
  • validator
  • validator_test
  • value_persistance
  • variable.pl
  • version
  • visb_visualiser
  • visualize_graph
  • weakest_preconditions
  • well_def_analyser
  • well_def_hyps
  • well_def_prover
  • well_def_tools
  • welldef
  • whash_send
  • worker
  • xml2b
  • xml_prob
  • xtl_interface
  • z3interface
  • z_tools
  • z_typechecker
  • zenvironment
  • zmq
  • zmq_rpc
  • zparameters
  • ztransformations
  • Predicates of b2asp

  • add_b2asp_error/2
  • add_b2asp_warning/2
  • add_indices/3
  • answer_nr_rest/3
  • anything-->/2
  • assert_gen_id/5
  • b2asp_portray/1
  • b_get_fd_type_bounds/3
  • bin_op/4
  • bin_op_pred_single_call/4
  • clingo_answer_line/3
  • clingo_args/3
  • clingo_args2/3
  • clingo_atom/4
  • clingo_bin_op/4
  • clingo_comment/1
  • clingo_constant/3
  • clingo_format_comment/2
  • clingo_identifier/3
  • clingo_model/3
  • clingo_number/3
  • clingo_opt_args/3
  • clingo_pair/4
  • counter/1
  • debug_format/3
  • debug_mode/1
  • detect_set_summation/2
  • digit/1
  • digit/3
  • gen_clingo_base_set/4
  • gen_clingo_clause/3
  • gen_clingo_count_aggregate/3
  • gen_clingo_fact/2
  • gen_clingo_ic_constraint/1
  • gen_clingo_pred_clause/4
  • gen_clingo_scalar_identifier/3
  • gen_clingo_scalar_identifier/4
  • gen_clingo_set_identifier/3
  • gen_clingo_set_identifier/4
  • gensym/2
  • gensym_if_necessary/2
  • get_clingo_out_file/1
  • get_clingo_path/1
  • get_first_sol/2
  • get_max_int/1
  • get_min_int/1
  • get_sol/2
  • get_texpr_id/2
  • id2/3
  • is_predicate/1
  • is_set/2
  • letter/1
  • letter/3
  • lookup_global_constant/2
  • my_portray_clause/1
  • negate_pred/2
  • negate_scalar_binary_pred/4
  • print_clingo_val/1
  • process_clingo_model_line/3
  • process_clingo_output/2
  • read_all/4
  • read_all1/4
  • read_all2/2
  • reset_b2asp/0
  • run_clingo/2
  • run_clingo/5
  • run_clingo_on_formula/1
  • run_clingo_on_formula/4
  • safe_process_create/3
  • scalar_type/1
  • set_aggregate/4
  • show_file/1
  • show_stream/1
  • simplify_body/2
  • simplify_expr/2
  • solve_pred_with_clingo/5
  • specific_trans_not_member_pred/3
  • test/1
  • top_level_trans/1
  • top_level_translate_predicate/1
  • trans_not_member_pred/3
  • trans_not_pred/2
  • trans_scalar/2
  • trans_scalar4map/2
  • trans_set/2
  • translate_clingo_arg/3
  • translate_clingo_exit_code/4
  • translate_clingo_model_to_bindings/2
  • translate_clingo_model_to_bindings3/3
  • translate_clingo_scalar/3
  • translate_clingo_value/4
  • translate_scalar/3
  • valid_literal/2
  • version_str/1
  • Module Information

    Module Information


    Dynamic Predicates:           generated_id/2           clingo_generated_id/4           counter/1

    962 Lines

    94 Predicates

    Imported Modules:           lists          process

    3 Exports

    3 specified Imports

    Imports Exports

    Name:     format_to_codes/3

    Module:     codesio


    Name:     write_to_codes/2

    Module:     codesio


    Name:     file_exists/1

    Module:     file_systems


    Name:    solve_pred_with_clingo/5


    Name:    run_clingo_on_formula/1


    Name:    test/1



    Predicates

    Predicates:

  • add_b2asp_error/2
  • add_b2asp_warning/2
  • add_indices/3
  • answer_nr_rest/3
  • anything-->/2
  • assert_gen_id/5
  • b2asp_portray/1
  • b_get_fd_type_bounds/3
  • bin_op/4
  • bin_op_pred_single_call/4
  • clingo_answer_line/3
  • clingo_args/3
  • clingo_args2/3
  • clingo_atom/4
  • clingo_bin_op/4
  • clingo_comment/1
  • clingo_constant/3
  • clingo_format_comment/2
  • clingo_identifier/3
  • clingo_model/3
  • clingo_number/3
  • clingo_opt_args/3
  • clingo_pair/4
  • counter/1
  • debug_format/3
  • debug_mode/1
  • detect_set_summation/2
  • digit/1
  • digit/3
  • gen_clingo_base_set/4
  • gen_clingo_clause/3
  • gen_clingo_count_aggregate/3
  • gen_clingo_fact/2
  • gen_clingo_ic_constraint/1
  • gen_clingo_pred_clause/4
  • gen_clingo_scalar_identifier/3
  • gen_clingo_scalar_identifier/4
  • gen_clingo_set_identifier/3
  • gen_clingo_set_identifier/4
  • gensym/2
  • gensym_if_necessary/2
  • get_clingo_out_file/1
  • get_clingo_path/1
  • get_first_sol/2
  • get_max_int/1
  • get_min_int/1
  • get_sol/2
  • get_texpr_id/2
  • id2/3
  • is_predicate/1
  • is_set/2
  • letter/1
  • letter/3
  • lookup_global_constant/2
  • my_portray_clause/1
  • negate_pred/2
  • negate_scalar_binary_pred/4
  • print_clingo_val/1
  • process_clingo_model_line/3
  • process_clingo_output/2
  • read_all/4
  • read_all1/4
  • read_all2/2
  • reset_b2asp/0
  • run_clingo/2
  • run_clingo/5
  • run_clingo_on_formula/1
  • run_clingo_on_formula/4
  • safe_process_create/3
  • scalar_type/1
  • set_aggregate/4
  • show_file/1
  • show_stream/1
  • simplify_body/2
  • simplify_expr/2
  • solve_pred_with_clingo/5
  • specific_trans_not_member_pred/3
  • test/1
  • top_level_trans/1
  • top_level_translate_predicate/1
  • trans_not_member_pred/3
  • trans_not_pred/2
  • trans_scalar/2
  • trans_scalar4map/2
  • trans_set/2
  • translate_clingo_arg/3
  • translate_clingo_exit_code/4
  • translate_clingo_model_to_bindings/2
  • translate_clingo_model_to_bindings3/3
  • translate_clingo_scalar/3
  • translate_clingo_value/4
  • translate_scalar/3
  • valid_literal/2
  • version_str/1


  • add_b2asp_error/2

    add_b2asp_error/2



    add_b2asp_warning/2

    add_b2asp_warning/2



    add_indices/3

    add_indices/3



    answer_nr_rest/3

    answer_nr_rest/3



    anything-->/2

    anything-->/2



    assert_gen_id/5

    assert_gen_id/5



    b2asp_portray/1

    b2asp_portray/1



    b_get_fd_type_bounds/3

    b_get_fd_type_bounds/3



    bin_op/4

    bin_op/4



    bin_op_pred_single_call/4

    bin_op_pred_single_call/4



    clingo_answer_line/3

    clingo_answer_line/3



    clingo_args/3

    clingo_args/3



    clingo_args2/3

    clingo_args2/3



    clingo_atom/4

    clingo_atom/4



    clingo_bin_op/4

    clingo_bin_op/4



    clingo_comment/1

    clingo_comment/1



    clingo_constant/3

    clingo_constant/3



    clingo_format_comment/2

    clingo_format_comment/2



    clingo_identifier/3

    clingo_identifier/3



    clingo_model/3

    clingo_model/3



    clingo_number/3

    clingo_number/3



    clingo_opt_args/3

    clingo_opt_args/3



    clingo_pair/4

    clingo_pair/4



    counter/1

    counter/1

    Dynamic: true



    debug_format/3

    debug_format/3



    debug_mode/1

    debug_mode/1



    detect_set_summation/2

    detect_set_summation/2



    digit/1

    digit/1



    digit/3

    digit/3



    gen_clingo_base_set/4

    gen_clingo_base_set/4



    gen_clingo_clause/3

    gen_clingo_clause/3



    gen_clingo_count_aggregate/3

    gen_clingo_count_aggregate/3



    gen_clingo_fact/2

    gen_clingo_fact/2



    gen_clingo_ic_constraint/1

    gen_clingo_ic_constraint/1



    gen_clingo_pred_clause/4

    gen_clingo_pred_clause/4



    gen_clingo_scalar_identifier/3

    gen_clingo_scalar_identifier/3



    gen_clingo_scalar_identifier/4

    gen_clingo_scalar_identifier/4



    gen_clingo_set_identifier/3

    gen_clingo_set_identifier/3



    gen_clingo_set_identifier/4

    gen_clingo_set_identifier/4



    gensym/2

    gensym/2



    gensym_if_necessary/2

    gensym_if_necessary/2



    get_clingo_out_file/1

    get_clingo_out_file/1



    get_clingo_path/1

    get_clingo_path/1



    get_first_sol/2

    get_first_sol/2



    get_max_int/1

    get_max_int/1



    get_min_int/1

    get_min_int/1



    get_sol/2

    get_sol/2



    get_texpr_id/2

    get_texpr_id/2



    id2/3

    id2/3



    is_predicate/1

    is_predicate/1



    is_set/2

    is_set/2



    letter/1

    letter/1



    letter/3

    letter/3



    lookup_global_constant/2

    lookup_global_constant/2



    my_portray_clause/1

    my_portray_clause/1



    negate_pred/2

    negate_pred/2



    negate_scalar_binary_pred/4

    negate_scalar_binary_pred/4



    print_clingo_val/1

    print_clingo_val/1



    process_clingo_model_line/3

    process_clingo_model_line/3



    process_clingo_output/2

    process_clingo_output/2



    read_all/4

    read_all/4



    read_all1/4

    read_all1/4



    read_all2/2

    read_all2/2



    reset_b2asp/0

    reset_b2asp/0



    run_clingo/2

    run_clingo/2



    run_clingo/5

    run_clingo/5



    run_clingo_on_formula/1

    run_clingo_on_formula/1



    run_clingo_on_formula/4

    run_clingo_on_formula/4



    safe_process_create/3

    safe_process_create/3



    scalar_type/1

    scalar_type/1



    set_aggregate/4

    set_aggregate/4



    show_file/1

    show_file/1



    show_stream/1

    show_stream/1



    simplify_body/2

    simplify_body/2



    simplify_expr/2

    simplify_expr/2



    solve_pred_with_clingo/5

    solve_pred_with_clingo/5



    specific_trans_not_member_pred/3

    specific_trans_not_member_pred/3



    test/1

    test/1



    top_level_trans/1

    top_level_trans/1



    top_level_translate_predicate/1

    top_level_translate_predicate/1



    trans_not_member_pred/3

    trans_not_member_pred/3



    trans_not_pred/2

    trans_not_pred/2



    trans_scalar/2

    trans_scalar/2



    trans_scalar4map/2

    trans_scalar4map/2



    trans_set/2

    trans_set/2



    translate_clingo_arg/3

    translate_clingo_arg/3



    translate_clingo_exit_code/4

    translate_clingo_exit_code/4



    translate_clingo_model_to_bindings/2

    translate_clingo_model_to_bindings/2



    translate_clingo_model_to_bindings3/3

    translate_clingo_model_to_bindings3/3



    translate_clingo_scalar/3

    translate_clingo_scalar/3



    translate_clingo_value/4

    translate_clingo_value/4



    translate_scalar/3

    translate_scalar/3



    valid_literal/2

    valid_literal/2



    version_str/1

    version_str/1



    Determinacy Checker

    Determinacy Checker:

    * Non-determinate: b2asp:is_predicate/1 (clause 1)
    * Indexing cannot distinguish this from clause 2.
    * Non-determinate: b2asp:is_predicate/1 (clause 2)
    * Indexing cannot distinguish this from clause 3.
    * Non-determinate: b2asp:is_predicate/1 (clause 3)
    * Indexing cannot distinguish this from clause 4.
    * Non-determinate: b2asp:is_predicate/1 (clause 3)
    * This clause contains a disjunction not forced to be deterministic.
    * Non-determinate: b2asp:is_predicate/1 (clause 4)
    * Indexing cannot distinguish this from clause 5.
    * Non-determinate: b2asp:set_aggregate/4 (clause 1)
    * Indexing cannot distinguish this from clause 4.
    * Non-determinate: b2asp:set_aggregate/4 (clause 2)
    * Indexing cannot distinguish this from clause 4.
    * Non-determinate: b2asp:set_aggregate/4 (clause 3)
    * Indexing cannot distinguish this from clause 4.
    * Non-determinate: b2asp:valid_literal/2 (clause 3)
    * Indexing cannot distinguish this from clause 13.
    * Non-determinate: b2asp:valid_literal/2 (clause 4)
    * Indexing cannot distinguish this from clause 13.
    * Non-determinate: b2asp:valid_literal/2 (clause 5)
    * Indexing cannot distinguish this from clause 13.
    * Non-determinate: b2asp:valid_literal/2 (clause 6)
    * Indexing cannot distinguish this from clause 13.
    * Non-determinate: b2asp:valid_literal/2 (clause 7)
    * Indexing cannot distinguish this from clause 13.
    ! warning: predicate b2asp:generated_id/2 is dynamic.
    ! Some nondeterminism may have been missed.
    ! Add (or move) the directive
    ! :- dynamic b2asp:generated_id/2 .
    ! near the top of this file.
    * Non-determinate: b2asp:b2asp_portray/1 (clause 1)
    * Indexing cannot distinguish this from clause 5.
    * Non-determinate: b2asp:b2asp_portray/1 (clause 2)
    * Indexing cannot distinguish this from clause 5.
    * Non-determinate: b2asp:b2asp_portray/1 (clause 3)
    * Indexing cannot distinguish this from clause 5.
    * Non-determinate: b2asp:b2asp_portray/1 (clause 4)
    * Indexing cannot distinguish this from clause 5.
    * Non-determinate: b2asp:gensym/2 (clause 1)
    * Calls nondet predicate retract/1.
    * Non-determinate: b2asp:clingo_model/3 (clause 2)
    * Indexing cannot distinguish this from clause 3.
    * Non-determinate: b2asp:clingo_constant/3 (clause 1)
    * Indexing cannot distinguish this from clause 2.
    * Non-determinate: b2asp:clingo_args2/3 (clause 1)
    * Indexing cannot distinguish this from clause 2.
    * Non-determinate: b2asp:letter/1 (clause 1)
    * This clause contains a disjunction not forced to be deterministic.