Parfois, il peut être très utile de simplifier des expressions booléennes de sorte à devenir plus compréhensibles et plus maniables dans un programme.
Lois de distributivitésLois de De MorganExp1 OR (Exp2 AND Exp3) = (Exp1 OR Exp2) AND (Exp1 OR Exp3) Exp1 AND (Exp2 OR Exp3) = (Exp1 AND Exp2) OR (Exp1 AND Exp3)
Loi de négationnon(Exp1 AND Exp2) = NOT Exp1 OR NOT Exp2 non(Exp1 OR Exp2) = NOT Exp1 AND NOT Exp2
Loi du milieu exclunon(non Exp1) = Exp1
Loi de contradictionExp1 OR NOT Exp1 = vrai
Lois de simplficationExp1 AND NOT Exp1 = faux
Exp1 AND Exp1 = Exp1 Exp1 AND vrai = Exp1 Exp1 AND faux = faux Exp1 AND (Exp1 OR Exp2) = Exp1 Exp1 OR Exp1 = Exp1 Exp1 OR vrai = vrai Exp1 OR faux = Exp1 Exp1 OR (Exp1 AND Exp2) = Exp1