fact: Definition update_nid {V: Set} (m: NId -> V) (n: NId) (v: V): NId -> V := fun (n': NId) => if (nid_eq_dec n' n) then v else (m n).
imports: Coq(FunctionalExtensionality Arith Lia) Coq(Arith.Peano_dec Arith.Compare_dec) Coq(Relations.Relation_Operators) Coq(List) Chapar(Predefs)