Documentation

CslibFrontier.Foundations.Data.Set.EqOnUpdate

Agreement on a set after updating a function #

Two functions that agree on a set s still agree on insert i s after both are updated at i to the same value (Set.EqOn.update_insert). The pebble games of finite-variable logic use this to move a pebble in two positions that agree on the placed pebbles.

Main results #

theorem Set.EqOn.update_insert {ι : Type u_1} {α : Type u_2} [DecidableEq ι] {s : Set ι} {f g : ι → α} (h : EqOn f g s) (i : ι) (c : α) :

Updating two functions that agree on s at i to the same value gives functions that agree on insert i s.