1 Typing in Information Systems Nick Rossiter, Michael Heather Computer Science and Digital Technologies Northumbria University, Newcastle NE1 8ST, UK.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

K The Common Core State Standards in Mathematics © Copyright 2011 Institute for Mathematics and Education Welcome to a clickable.
I-ESA'08 Berlin1 Logical Foundations for the Infrastructure of the Information Market Heather, Michael, Livingstone, David, & Rossiter, Nick, CEIS, Northumbria.
Four-level Architecture for Closure in Interoperability EFIS, 17th-18th July 2003 Nick Rossiter & Michael Heather Informatics, Northumbria University
Adjoint Typing: Is it Whitehead’s Category of the Ultimate?
1 What are Bit Strings? The View from Process Nick Rossiter Northumbria University.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented design 2.
1 Category Theory in a ( E,M ) -category Some aspects of category theory, in particular related to universality, can be developed in any finitely complete.
Foundations This chapter lays down the fundamental ideas and choices on which our approach is based. First, it identifies the needs of architects in the.
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
The Relationship between Topology and Logic Dr Christopher Townsend (Open University)
Section 1.8: Functions A function is a mapping from one set to another that satisfies certain properties. We will first introduce the notion of a mapping.
From Classical to Quantum Databases with Applied Pullbacks Nick Rossiter Seminar – PSSL, 15th February 2003
CS355 - Theory of Computation Lecture 2: Mathematical Preliminaries.
Proceso kintamybių modeliavimas Modelling process variabilities Donatas Čiukšys.
Category Theory By: Ashley Reynolds. HISTORY OF CATEGORY THEORY  In 1942–45, Samuel Eilenberg and Saunders Mac Lane introduced categories, functors,
1 Introduction to Modeling Languages Striving for Engineering Precision in Information Systems Jim Carpenter Bureau of Labor Statistics, and President,
Anticipation in constructing and interrogating Natural Information Systems: From Classical through Nano to Quantum Computing.
Chapter 8 Architecture Analysis. 8 – Architecture Analysis 8.1 Analysis Techniques 8.2 Quantitative Analysis  Performance Views  Performance.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
The Semantics of Jitter in Anticipating Time Itself within Nano-Databases Michael Heather and Nick Rossiter CEIS, Northumbria University, Newcastle NE1.
The Challenge of Interoperability: the Grid, Semantic Web and Categories Nick Rossiter Seminar -- Northumbria University, 13th November 2002
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Chapter 3 Functions Functions provide a means of expressing relationships between variables, which can be numbers or non-numerical objects.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 Extending the Number System.
Symposium 2: Applied Mathematics, Dynamical Systems, Logics and Category Theory CASYS’11 - International Conference on COMPUTING ANTICIPATORY SYSTEMS HEC.
Measurement Theory Michael J. Watts
Categories and Computer Science
L.I. Petrova “Specific features of differential equations of mathematical physics.” Investigation of the equations of mathematical physics with the help.
A Holistic Security Architecture for Distributed Information Systems – A Categorical Approach.
Anticipation as Prediction in the Predication of Data Types Michael Heather and Nick Rossiter CEIS, Northumbria University, Newcastle NE1 8ST
1 Graph-Based State Spaces Arend Rensink, University of Twente CamPaM 2012 April 2012Graph-Based State Spaces.
1 The Contravariancy of Anticipatory Systems Dimitrios Sisiaridis, Michael Heather & Nick Rossiter Northumbria University, Newcastle NE2 1XE, UK Symposium.
On the reflection and the coreflection of categories over a base in discrete fibrations Various aspects of two “dual” formulas Claudio Pisani.
21st May 2004Informatics Research Conference, Northumbria University 1 Some Fundamental Questions in Databases Nick Rossiter (with Michael Heather)
The Representation of Reality in Computational Form Nick Rossiter Visiting Fellow with Michael Heather and Dimitrios Sisiaridis Computing, Engineering.
Week III  Recap from Last Week Review Classes Review Domain Model for EU-Bid & EU-Lease Aggregation Example (Reservation) Attribute Properties.
Lecture 2: Introduction to Category Theory Nick Rossiter, Computing Science, Newcastle University, England
MATH 224 – Discrete Mathematics
1 Generic Image Structures in Integrated Media Nick Rossiter & Michael Heather, University of Northumbria at Newcastle
Testing OO software. State Based Testing State machine: implementation-independent specification (model) of the dynamic behaviour of the system State:
Lecture 4: Handling Heterogeneity with Information Resource Dictionary Systems Nick Rossiter, Computing Science, Newcastle University, England
The ODMG Standard for Object Databases
AREIN, I-ESA March Higher Order Logic and Interoperability in Global Enterprise Heather, Michael, Livingstone, David, & Rossiter, Nick, CEIS, Northumbria.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
Free and Open Systems Theory Nick Rossiter Michael Heather University of Northumbria
Information Systems and the Theory of Categories: Is Every Model an Anticipatory System?
Modeling K The Common Core State Standards in Mathematics Geometry Measurement and Data The Number System Number and Operations.
Lecture 3: Object Concepts as Categories Nick Rossiter, Computing Science, Newcastle University, England
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesBoolean Algebra.
The Natural Metaphysics of Computing Anticipatory Systems Michael Heather Nick Rossiter University of Northumbria
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
WOSC 2008 Wroclaw1 Problems of Interoperability in Information Systems Nick Rossiter and Michael Heather CEIS, Northumbria University, UK
Data Modeling Using the Entity- Relationship (ER) Model
Measurement Theory Michael J. Watts
SysML v2 Formalism: Requirements & Benefits
Set, Combinatorics, Probability & Number Theory
Axioms for a category of spaces
Ontology From Wikipedia, the free encyclopedia
Chapter 7: Entity-Relationship Model
A Universal Technique for Relating Heterogeneous Data Models
A Natural Basis for Interoperability
Analysis models and design models
Manager’s Overview DoDAF 2.0 Meta Model (DM2) TBS dd mon 2009
Categories for Information
Conditions for Interoperability
The Process Semantics of Time and Space as Anticipation
Process in the World as a Transaction
IDEAS Chris Partridge 6/27/2019.
COMPILER CONSTRUCTION
Presentation transcript:

1 Typing in Information Systems Nick Rossiter, Michael Heather Computer Science and Digital Technologies Northumbria University, Newcastle NE1 8ST, UK GRAPH OPERADS LOGIC AGMP X GOL Tallinn June 2013

2 Typing Most important property in computing science Defines for an attribute: – Permissible values – Permissible operations A type is a category of any complexity, including a discrete category

3 Simplest Typing in Category Theory (a) A category with a terminal object (b) The opposite category with typing arrows Cartesian Closed (potentially) BB op or 1 B Identity Functor (potentially) 1 b : b → 1 B 1

4 Nature of Typing Where does typing come from? Typing resides in the system itself. Typing is of the nature of the system and forms part of the Universe. Typing must therefore reside in nature and arise from relationships in nature. The Universe consists of entities related one to the other. Thus each entity affects every other.

5 Existence and Cartesian Closure Existence is not just a first order effect but needs an inherent higher order formalism. The relationship between any pair of entities depends on every possible path between them. In category theory this is the property of cartesian closure found in the highest structure possible -- the identity natural transformation designated as the topos. However if every entity is related to every other it follows that the relationship is both ways but not just a simple inverse relationship as appears from the laws of physics.

6 Duality ● A category C of objects and arrows between the objects will have a dual C op with arrows reversed. ● The whole universal structure of both-ways relationships will then be represented by the product C op x C. ● This gives rise to the principle of duality throughout the Universe. ● C op x C is cartesian closed, with products, terminal object and exponentials

7 Ubiquity of Duality ● Duality is a common enough concept in mathematics, philosophy and most of the sciences with some renowned examples like the mind-body duality. - It also appears in other versions of contrast as between the dynamic and the static and between global and local. ● To capture the full effect and subtleties of opposing views and relationships a single view of the duality is needed as a process (e.g. a monad).

8 Duality and Variance ● Duality is not a closed Boolean view. - Rather it encapsulates opposite orderings within a single (functorial) concept of variancy. - These may be conveniently labelled covariant and contravariant but only relative one to the other and not as absolute descriptions. ● Systems theory is a case in point where these different views need to be integrated. - Thus for object-oriented computing systems, covariance is assumed for specialisation (looking forward) and contravariance for generalisation (looking back). ● The natural categories of process as advanced by Whitehead encompass this contravariancy found in reality.

9 Covariant and Contravariant Functors Opposite Covariant F Contravariant F-bar

10 Contravariancy Highlighted by Lawvere in 1969 as basic property in the intension-extension relationship Governing data values in the context of their name and type Basic property of universe Lawvere defined the relationship between intension and extension in terms of adjoint functors with contravariant mapping – Used concept of hyperdoctrine – Some 'translation' needed for applied science

11 Why Contravariant? The extension is of the form: value → nameN:1 The intension is of the form: name → typeN:1 If these arrows were reversed, they would not be determinations (functions) so can reject such forms: name → value 1:N type → name 1:N

12 Turn around one arrow But the common attribute in extension and intension – name – is codomain in extension and domain in intension. So cannot do simple covariant mapping of one to the other. Need to turn around the arrow in the intension name → typetype → name And map this onto value → name in extension So that value is related to type in the context of a common name

13 Contravariancy Technicalities source arrow Apply functor F Turn source round Map onto target Square must commute composition

14 Ultimate Contravariancy A three-level structure is sufficient to provide complete closure with internal contravariant logic providing a generalisation of negation. – Further levels are redundant Contravariancy across levels provides more sophisticated reversals such as reverse engineering. The ultimate contravariancy is to be found in the universal adjointness - between any pair of functors contravariant one to the other - to provide both the quantitative and qualitative semantics of intension-extension logic.

15 Worked Example of Three-level Architecture Choices for realisation in formal terms Informal look at structures and relationships Outline in informal categories Two-way mappings as adjunctions Examples of Contravariancy

16 MetaMeta Policy Meta Organize Classify Instantiate Concepts Constructs Schema Types Named Data Values Downward arrows are intension-extension pairs Figure 1: Informal requirements for Information System Architecture

17 Formalising the Architecture Requirements: –mappings within levels and across levels –bidirectional mappings –closure at top level –open-ended logic –relationships (product and coproduct) Choice: Category theory as used in mathematics as a workspace for relating different constructions

18 Figure 2: Interpretation of Levels as Natural Schema in General Terms blue – category, red - functor, green - natural transformation

19 black - objects Figure 4: Defining the Three Levels with Contravariant Functors and Intension-Extension (I-E) Pairs P -| P' O -| O' I -| I'

20 Figure 3: Example for Comparison of Mappings in two Systems Categories: CPT concepts, CST constructs, SCH schema, DAT data, Functors: P policy, O org, I instance, Natural transformations: , ,  (Organisational interoperability)

21 Figure 5: Examples of Levels in the Three Level Architecture Cross-over arrows indicate contravariant mapping

22 Figure 6: Composition of Adjoints is Natural If functors are adjoint, there is a unique relationship between them (a natural bijection). Can write for instance IOP -| P'O'I' and OP -| P'O'

23 Adjointness Probably the most important feature of category theory Deals with relative ordering in duality between functors For dual functors L and R written (if holds): L --| R meaning L is left adjoint to R and R is right adjoint to L Unique solution to dual relationship between functors Full expression is a 4-tuple

24 Adjointness between Functors F and G mapping Categories L and R F ┤ G

25 Composition Triangles in Detail a) unit of adjunction  ; b) co-unit of adjunction  If isomorphism, diagram collapses with η = 1 and ε = 0 1 L = GF(L); FG(R) = 1 R