

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


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},
                    'x0_cat_2': {'lower_bound': 0,
                                 'symbol': x0_cat_2_counterfactual,
                                 'upper_bound': 1},
                    'x0_cat_3': {'lower_bound': 0,
                                 'symbol': x0_cat_3_counterfactual,
                                 'upper_bound': 1},
                    'x1': {'lower_bound': 0,
                           'symbol': x1_counterfactual,
                           'upper_bound': 1},
                    'x2': {'lower_bound': 0.0,
                           'symbol': x2_counterfactual,
                           'upper_bound': 1.0},
                    'x3': {'lower_bound': 0.0,
                           'symbol': x3_counterfactual,
                           'upper_bound': 1.0},
                    'x4': {'lower_bound': 0,
                           'symbol': x4_counterfactual,
                           'upper_bound': 1}},
 '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},
                    'x0_cat_2': {'lower_bound': 0,
                                 'symbol': x0_cat_2_interventional,
                                 'upper_bound': 1},
                    'x0_cat_3': {'lower_bound': 0,
                                 'symbol': x0_cat_3_interventional,
                                 'upper_bound': 1},
                    'x1': {'lower_bound': 0,
                           'symbol': x1_interventional,
                           'upper_bound': 1},
                    'x2': {'lower_bound': 0.0,
                           'symbol': x2_interventional,
                           'upper_bound': 1.0},
                    'x3': {'lower_bound': 0.0,
                           'symbol': x3_interventional,
                           'upper_bound': 1.0},
                    'x4': {'lower_bound': 0,
                           'symbol': x4_interventional,
                           'upper_bound': 1}},
 '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 1.500000 in range [0.000000, 3.000000]...	solution exists & found.
	Iteration #002: testing norm threshold 0.233684 in range [0.000000, 0.467367]...	no solution exists.
	Iteration #003: testing norm threshold 0.350525 in range [0.233684, 0.467367]...	no solution exists.
	Iteration #004: testing norm threshold 0.408946 in range [0.350525, 0.467367]...	no solution exists.
	Iteration #005: testing norm threshold 0.438157 in range [0.408946, 0.467367]...	no solution exists.
	Iteration #006: testing norm threshold 0.452762 in range [0.438157, 0.467367]...	no solution exists.
	Iteration #007: testing norm threshold 0.460064 in range [0.452762, 0.467367]...	no solution exists.
	Iteration #008: testing norm threshold 0.463716 in range [0.460064, 0.467367]...	no solution exists.
	Iteration #009: testing norm threshold 0.465541 in range [0.463716, 0.467367]...	no solution exists.
	Iteration #010: testing norm threshold 0.466454 in range [0.465541, 0.467367]...	no solution exists.
	Iteration #011: testing norm threshold 0.466911 in range [0.466454, 0.467367]...	no solution exists.
	Iteration #012: testing norm threshold 0.467139 in range [0.466911, 0.467367]...	no solution exists.
	Iteration #013: testing norm threshold 0.467253 in range [0.467139, 0.467367]...	no solution exists.
	Iteration #014: testing norm threshold 0.467310 in range [0.467253, 0.467367]...	no solution exists.
	Iteration #015: testing norm threshold 0.467339 in range [0.467310, 0.467367]...	no solution exists.
	Iteration #016: testing norm threshold 0.467353 in range [0.467339, 0.467367]...	no solution exists.
	Iteration #017: testing norm threshold 0.467360 in range [0.467353, 0.467367]...	no solution exists.


Factual sample: 		 {x0_cat_0 : 0.0, x0_cat_1 : 1.0, x0_cat_2 : 0.0, x0_cat_3 : 0.0, x1 : 0.29411764705882354, x2 : 0.09557609772202047, x3 : 0.6666666666666666, x4 : 0.03571428571428571, y: False}
Nearest counterfactual sample:	 {x0_cat_0 : 0, x0_cat_1 : 1, x0_cat_2 : 0, x0_cat_3 : 0, x1 : 1, x2 : 0.09557609772202047, x3 : 0.0, x4 : 1, y: True} (verified)
Minimum counterfactual distance: 0.467367
