Agreement after fixing another coordinate #
Agrees.update records an input's answer while preserving agreement. If the queried coordinate
was free, agrees_update_iff_of_eq_none characterizes the resulting residual subcube.
theorem Cslib.BitString.PartialAssignment.Agrees.update {ι : Type u_1} [DecidableEq ι] {ρ : PartialAssignment ι} {x : ι → Bool} (hx : ρ.Agrees x) {i : ι} {b : Bool} (hi : x i = b) :
Recording an input's answer preserves its agreement with a partial assignment.
theorem Cslib.BitString.PartialAssignment.agrees_update_iff_of_eq_none {ι : Type u_1} [DecidableEq ι] {ρ : PartialAssignment ι} {i : ι} (hi : ρ i = none) (b : Bool) (x : ι → Bool) :
Fixing a previously free coordinate imposes precisely its answer in addition to the existing partial assignment.