Normal form of boolean expressions linear/affine w.r.t. conjunction and disjunction
Statement
I am interested in boolean expressions that are linear/affine in the following sense.
Let be the free boolean algebra over the set . We can consider the subset consisting of those elements that can be expressed using 0, 1, conjunction (), disjunction () and negation () and using every "variable" from exactly / at most once.
I think I can prove that we can compute normal forms for such expressions while preserving the affine property (unlike the conjunctive/disjunctive normal form) as follows:
• push all negations down to the leaves of the syntax tree
• eliminate negations of constants
• eliminate double negations
• eliminate conjunctions/disjunctions with constants
• remove parentheses of nested conjunctions / nested disjunctions.
However, I wonder if anyone else has studied such expressions and their normal forms, and under what name. (It seems that 'linear boolean function' usually refers to linear maps between vector spaces over .)
Posed by anuyts · boolean-algebras, normalization
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-466584.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-466584.lean
import Mathlib /-! # Normal form of boolean expressions linear/affine w.r.t. conjunction and disjunction Source: https://mathoverflow.net/questions/466584 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_466584 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_466584