

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


Model Symbols:
{'counterfactual': {'x0': {'lower_bound': 0,
                           'symbol': x0_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},
                    'x1_cat_2': {'lower_bound': 0,
                                 'symbol': x1_cat_2_counterfactual,
                                 'upper_bound': 1},
                    'x1_cat_3': {'lower_bound': 0,
                                 'symbol': x1_cat_3_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_cat_0': {'lower_bound': 0,
                                 'symbol': x3_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x3_cat_1': {'lower_bound': 0,
                                 'symbol': x3_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x4_cat_0': {'lower_bound': 0,
                                 'symbol': x4_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x4_cat_1': {'lower_bound': 0,
                                 'symbol': x4_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_0': {'lower_bound': 0,
                                 'symbol': x5_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_1': {'lower_bound': 0,
                                 'symbol': x5_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_2': {'lower_bound': 0,
                                 'symbol': x5_cat_2_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_3': {'lower_bound': 0,
                                 'symbol': x5_cat_3_counterfactual,
                                 'upper_bound': 1},
                    'x5_cat_4': {'lower_bound': 0,
                                 'symbol': x5_cat_4_counterfactual,
                                 'upper_bound': 1},
                    'x6': {'lower_bound': 0,
                           'symbol': x6_counterfactual,
                           'upper_bound': 1},
                    'x7': {'lower_bound': 0.0,
                           'symbol': x7_counterfactual,
                           'upper_bound': 1.0},
                    'x8': {'lower_bound': 0.0,
                           'symbol': x8_counterfactual,
                           'upper_bound': 1.0}},
 'interventional': {'x0': {'lower_bound': 0,
                           'symbol': x0_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},
                    'x1_cat_2': {'lower_bound': 0,
                                 'symbol': x1_cat_2_interventional,
                                 'upper_bound': 1},
                    'x1_cat_3': {'lower_bound': 0,
                                 'symbol': x1_cat_3_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_cat_0': {'lower_bound': 0,
                                 'symbol': x3_cat_0_interventional,
                                 'upper_bound': 1},
                    'x3_cat_1': {'lower_bound': 0,
                                 'symbol': x3_cat_1_interventional,
                                 'upper_bound': 1},
                    'x4_cat_0': {'lower_bound': 0,
                                 'symbol': x4_cat_0_interventional,
                                 'upper_bound': 1},
                    'x4_cat_1': {'lower_bound': 0,
                                 'symbol': x4_cat_1_interventional,
                                 'upper_bound': 1},
                    'x5_cat_0': {'lower_bound': 0,
                                 'symbol': x5_cat_0_interventional,
                                 'upper_bound': 1},
                    'x5_cat_1': {'lower_bound': 0,
                                 'symbol': x5_cat_1_interventional,
                                 'upper_bound': 1},
                    'x5_cat_2': {'lower_bound': 0,
                                 'symbol': x5_cat_2_interventional,
                                 'upper_bound': 1},
                    'x5_cat_3': {'lower_bound': 0,
                                 'symbol': x5_cat_3_interventional,
                                 'upper_bound': 1},
                    'x5_cat_4': {'lower_bound': 0,
                                 'symbol': x5_cat_4_interventional,
                                 'upper_bound': 1},
                    'x6': {'lower_bound': 0,
                           'symbol': x6_interventional,
                           'upper_bound': 1},
                    'x7': {'lower_bound': 0.0,
                           'symbol': x7_interventional,
                           'upper_bound': 1.0},
                    'x8': {'lower_bound': 0.0,
                           'symbol': x8_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 1.500000 in range [0.000000, 3.000000]...	solution exists & found.
	Iteration #002: testing norm threshold 0.195098 in range [0.000000, 0.390196]...	solution exists & found.
	Iteration #003: testing norm threshold 0.077161 in range [0.000000, 0.154321]...	solution exists & found.
	Iteration #004: testing norm threshold 0.038580 in range [0.000000, 0.077161]...	solution exists & found.
	Iteration #005: testing norm threshold 0.019290 in range [0.000000, 0.038580]...	solution exists & found.
	Iteration #006: testing norm threshold 0.009645 in range [0.000000, 0.019290]...	solution exists & found.
	Iteration #007: testing norm threshold 0.004823 in range [0.000000, 0.009645]...	solution exists & found.
	Iteration #008: testing norm threshold 0.002411 in range [0.000000, 0.004823]...	no solution exists.
	Iteration #009: testing norm threshold 0.003617 in range [0.002411, 0.004823]...	no solution exists.
	Iteration #010: testing norm threshold 0.004220 in range [0.003617, 0.004823]...	no solution exists.
	Iteration #011: testing norm threshold 0.004521 in range [0.004220, 0.004823]...	no solution exists.
	Iteration #012: testing norm threshold 0.004672 in range [0.004521, 0.004823]...	no solution exists.
	Iteration #013: testing norm threshold 0.004747 in range [0.004672, 0.004823]...	solution exists & found.
	Iteration #014: testing norm threshold 0.004710 in range [0.004672, 0.004747]...	no solution exists.
	Iteration #015: testing norm threshold 0.004729 in range [0.004710, 0.004747]...	solution exists & found.
	Iteration #016: testing norm threshold 0.004719 in range [0.004710, 0.004729]...	solution exists & found.


Factual sample: 		 {x0 : 0.0, x1_cat_0 : 1.0, x1_cat_1 : 0.0, x1_cat_2 : 0.0, x1_cat_3 : 0.0, x2_cat_0 : 1.0, x2_cat_1 : 0.0, x3_cat_0 : 1.0, x3_cat_1 : 0.0, x4_cat_0 : 1.0, x4_cat_1 : 0.0, x5_cat_0 : 0.0, x5_cat_1 : 0.0, x5_cat_2 : 0.0, x5_cat_3 : 0.0, x5_cat_4 : 1.0, x6 : 0.0, x7 : 0.6111111111111112, x8 : 0.46153846153846156, y: False}
Nearest counterfactual sample:	 {x0 : 0, x1_cat_0 : 1, x1_cat_1 : 0, x1_cat_2 : 0, x1_cat_3 : 0, x2_cat_0 : 1, x2_cat_1 : 0, x3_cat_0 : 1, x3_cat_1 : 0, x4_cat_0 : 1, x4_cat_1 : 0, x5_cat_0 : 0, x5_cat_1 : 0, x5_cat_2 : 0, x5_cat_3 : 0, x5_cat_4 : 1, x6 : 0, x7 : 0.6110613086005342, x8 : 0.503961701559216, y: True} (verified)
Minimum counterfactual distance: 0.004719
