

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


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.128900 in range [0.000000, 0.257799]...	no solution exists.
	Iteration #003: testing norm threshold 0.193349 in range [0.128900, 0.257799]...	no solution exists.
	Iteration #004: testing norm threshold 0.225574 in range [0.193349, 0.257799]...	no solution exists.
	Iteration #005: testing norm threshold 0.241687 in range [0.225574, 0.257799]...	solution exists & found.
	Iteration #006: testing norm threshold 0.233630 in range [0.225574, 0.241687]...	solution exists & found.
	Iteration #007: testing norm threshold 0.229602 in range [0.225574, 0.233631]...	no solution exists.
	Iteration #008: testing norm threshold 0.231617 in range [0.229602, 0.233631]...	no solution exists.
	Iteration #009: testing norm threshold 0.232624 in range [0.231617, 0.233631]...	solution exists & found.
	Iteration #010: testing norm threshold 0.232120 in range [0.231617, 0.232624]...	solution exists & found.
	Iteration #011: testing norm threshold 0.231868 in range [0.231617, 0.232120]...	solution exists & found.
	Iteration #012: testing norm threshold 0.231742 in range [0.231617, 0.231868]...	solution exists & found.
	Iteration #013: testing norm threshold 0.231680 in range [0.231617, 0.231743]...	no solution exists.
	Iteration #014: testing norm threshold 0.231711 in range [0.231680, 0.231743]...	no solution exists.
	Iteration #015: testing norm threshold 0.231727 in range [0.231711, 0.231743]...	solution exists & found.
	Iteration #016: testing norm threshold 0.231719 in range [0.231711, 0.231727]...	no solution exists.


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.12287956133953834, x4 : 0.28899506562575544, y: False}
Nearest counterfactual sample:	 {x0_cat_0 : 0, x0_cat_1 : 1, x1_cat_0 : 1, x1_cat_1 : 0, x2_cat_0 : 1, x2_cat_1 : 0, x3 : 0.12287956133953834, x4 : 0.13036100074718515, y: True} (verified)
Minimum counterfactual distance: 0.231727
