Concise Guide to Formal Methods by Gerard O'Regan
Author:Gerard O'Regan
Language: eng
Format: epub
Publisher: Springer International Publishing, Cham
7.5 Undefined Values
Total functions f : X → Y are functions that are defined for every element in their domain, and total functions are widely used in mathematics. However, there are functions that are undefined for one or more elements in their domain, and one example is the function y = 1/ x which is undefined at x = 0.
Partial functions arise naturally in computer science, and such functions may fail to be defined for one or more values in their domain. One approach to dealing with partial functions is to employ a precondition, which restricts the application of the function to where it is defined. This makes it possible to define a new set (a proper subset of the domain of the function) for which the function is total over the new set.
Undefined terms often arise1 and need to be dealt with. Consider, the example of the square root function √x taken from [5]. The domain of this function is the positive real numbers, and the following expression is undefined:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8309)
Test-Driven Development with Java by Alan Mellor(6773)
Data Augmentation with Python by Duc Haba(6688)
Principles of Data Fabric by Sonia Mezzetta(6435)
Learn Blender Simulations the Right Way by Stephen Pearson(6335)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6209)
Hadoop in Practice by Alex Holmes(5965)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5813)
RPA Solution Architect's Handbook by Sachin Sahgal(5606)
Big Data Analysis with Python by Ivan Marin(5387)
The Infinite Retina by Robert Scoble Irena Cronin(5298)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5154)
Pretrain Vision and Large Language Models in Python by Emily Webber(4352)
Infrastructure as Code for Beginners by Russ McKendrick(4116)
Functional Programming in JavaScript by Mantyla Dan(4042)
The Age of Surveillance Capitalism by Shoshana Zuboff(3961)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3832)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3632)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3605)
