

==============================================


Model Symbols:
{'counterfactual': {'x0_cat_0': {'lower_bound': 0,
                                 'symbol': x0_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x0_cat_1': {'lower_bound': 0,
                                 'symbol': x0_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x1_cat_0': {'lower_bound': 0,
                                 'symbol': x1_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x1_cat_1': {'lower_bound': 0,
                                 'symbol': x1_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x2_cat_0': {'lower_bound': 0,
                                 'symbol': x2_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x2_cat_1': {'lower_bound': 0,
                                 'symbol': x2_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x3': {'lower_bound': 0.0,
                           'symbol': x3_counterfactual,
                           'upper_bound': 1.0},
                    'x4': {'lower_bound': 0.0,
                           'symbol': x4_counterfactual,
                           'upper_bound': 1.0}},
 'interventional': {'x0_cat_0': {'lower_bound': 0,
                                 'symbol': x0_cat_0_interventional,
                                 'upper_bound': 1},
                    'x0_cat_1': {'lower_bound': 0,
                                 'symbol': x0_cat_1_interventional,
                                 'upper_bound': 1},
                    'x1_cat_0': {'lower_bound': 0,
                                 'symbol': x1_cat_0_interventional,
                                 'upper_bound': 1},
                    'x1_cat_1': {'lower_bound': 0,
                                 'symbol': x1_cat_1_interventional,
                                 'upper_bound': 1},
                    'x2_cat_0': {'lower_bound': 0,
                                 'symbol': x2_cat_0_interventional,
                                 'upper_bound': 1},
                    'x2_cat_1': {'lower_bound': 0,
                                 'symbol': x2_cat_1_interventional,
                                 'upper_bound': 1},
                    'x3': {'lower_bound': 0.0,
                           'symbol': x3_interventional,
                           'upper_bound': 1.0},
                    'x4': {'lower_bound': 0.0,
                           'symbol': x4_interventional,
                           'upper_bound': 1.0}},
 'output': {'y': {'symbol': y}}}
Constructing initial formulas: model, counterfactual, distance, plausibility, diversity		done.
Solving (not searching) for closest counterfactual using various distance thresholds...
	Iteration #001: testing norm threshold 0.500000 in range [0.000000, 1.000000]...	solution exists & found.
	Iteration #002: testing norm threshold 0.035550 in range [0.000000, 0.071101]...	solution exists & found.
	Iteration #003: testing norm threshold 0.017775 in range [0.000000, 0.035550]...	solution exists & found.
	Iteration #004: testing norm threshold 0.008888 in range [0.000000, 0.017775]...	no solution exists.
	Iteration #005: testing norm threshold 0.013331 in range [0.008888, 0.017775]...	no solution exists.
	Iteration #006: testing norm threshold 0.015553 in range [0.013331, 0.017775]...	solution exists & found.
	Iteration #007: testing norm threshold 0.014442 in range [0.013331, 0.015553]...	no solution exists.
	Iteration #008: testing norm threshold 0.014998 in range [0.014442, 0.015553]...	solution exists & found.
	Iteration #009: testing norm threshold 0.014720 in range [0.014442, 0.014998]...	no solution exists.
	Iteration #010: testing norm threshold 0.014859 in range [0.014720, 0.014998]...	solution exists & found.
	Iteration #011: testing norm threshold 0.014790 in range [0.014720, 0.014859]...	solution exists & found.
	Iteration #012: testing norm threshold 0.014755 in range [0.014720, 0.014790]...	solution exists & found.
	Iteration #013: testing norm threshold 0.014738 in range [0.014720, 0.014755]...	solution exists & found.
	Iteration #014: testing norm threshold 0.014729 in range [0.014720, 0.014738]...	solution exists & found.


Factual sample: 		 {x0_cat_0 : 1.0, x0_cat_1 : 0.0, x1_cat_0 : 1.0, x1_cat_1 : 0.0, x2_cat_0 : 1.0, x2_cat_1 : 0.0, x3 : 0.07275839341608338, x4 : 0.6444975328128777, y: False}
Nearest counterfactual sample:	 {x0_cat_0 : 1, x0_cat_1 : 0, x1_cat_0 : 1, x1_cat_1 : 0, x2_cat_0 : 1, x2_cat_1 : 0, x3 : 0.07275839341608338, x4 : 0.7181428153222218, y: True} (verified)
Minimum counterfactual distance: 0.014729
