

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


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 2.500000 in range [0.000000, 5.000000]...	solution exists & found.
	Iteration #002: testing norm threshold 0.188272 in range [0.000000, 0.376543]...	solution exists & found.
	Iteration #003: testing norm threshold 0.071040 in range [0.000000, 0.142080]...	solution exists & found.
	Iteration #004: testing norm threshold 0.005341 in range [0.000000, 0.010681]...	solution exists & found.
	Iteration #005: testing norm threshold 0.002670 in range [0.000000, 0.005340]...	solution exists & found.
	Iteration #006: testing norm threshold 0.001335 in range [0.000000, 0.002670]...	solution exists & found.
	Iteration #007: testing norm threshold 0.000531 in range [0.000000, 0.001062]...	solution exists & found.
	Iteration #008: testing norm threshold 0.000265 in range [0.000000, 0.000531]...	solution exists & found.
	Iteration #009: testing norm threshold 0.000133 in range [0.000000, 0.000266]...	solution exists & found.
	Iteration #010: testing norm threshold 0.000041 in range [0.000000, 0.000081]...	solution exists & found.
	Iteration #011: testing norm threshold 0.000020 in range [0.000000, 0.000041]...	solution exists & found.
	Iteration #012: testing norm threshold 0.000010 in range [0.000000, 0.000020]...	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.6110650075415345, x8 : 0.46154895010054026, y: True} (verified)
Minimum counterfactual distance: 0.000006
