| the scientific landscape |
| representation (models, semantics) |
|
| logic & reasoning | complexity & metrics | category of relations | |||||||||
|
| meaning
| linguistic glossary | components & datatypes | ||||||||||||
|
Location: http://www.mun.ca/~ulf/gloss/complex.html.
By Ulf Schünemann since 2001.
Please mail any comments.
| ||||||||||||||||
CHECK: A Data Model for Object-Oriented Design Metrics (1997)
Johann Eder, Gerti Kappel, Michael Schrefl: Coupling and Cohesion in Object-Oriented Systems (1992)
x +-------+ y
----->| y=x+z |------>
+-------+
^
(A) z |
|
|
| in bits (rounded) | |||||||||||||
| (A) | (B) | ||||||||||||
| H(x) | entropy of x = medium information content | 2 | |
|
2 | |
|
|
|||||
| H(z) | entropy of x | 1 | |
|
1 | |
|
| |||||
| H(y) | entropy of y | 9/4 | |
|
|
31/20 | |
|
| ||||
| H(x|y) | signal equivocation = the receiver's uncertainty what the sender actually sent (``disturbed'' information) | 3/4 | |
24/20 | |
|
|||||||
| H(y|x) | signal dissipation (the sender's uncertainty what the receiver will receive) | 1 | |
|
15/20 | |
| ||||||
| T(x,y) | signal transinformation = information of x manifest in y (``undisturbed'' information) = H(x) - H(x|y) = H(y) - H(y|x) | 5/4 | |
16/20 | |
||||||||
| H(z|y) | noise equivocation | 3/4 | |
9/20 | |
|
|||||||
| H(y|z) | noise dissipation | 2 | |
|
1 | |
|
||||||
| T(z,y) | noise transinformation. | 1/4 | 11/20 | ||||||||||
| IL(y) | latent information = information in y overlapping from x and z = H(y) - T(x,y) - T(z,y). The manifest information is T(x,y) + T(z,y) | 3/4 | |
4/20 | |
||||||||
| ? | information lost unrecoverably | 0 | 1 | |
|||||||||
x +-------+ y +-------+ u
----->| y=x+z |------>| u=y-z |------>
+-------+ +-------+
^ ^
z |_______________|
|
| ||
Information
[MB4 272]
«Some claim that information measures organization. The argument
runs like this: a deterministic system is predicatable, so watching its
behavior provides no information; on the other hand a probabilistic system
is unpredicatbale, so whatever it does is surprising or informative. Hence,
the more organized a system the more informative the observation of it.
This argument contains several important mistakes.
Firstly, the information function is not defined on a set of systems (or of
states of a system) but on system-message pairs. ... Hence it cannot
measure the degree of organization of a system nor any other intrinsic
property of it.
Secondly, ... [t]he predicate "predictable" is not defined on the set of
systems but on the set of pairs .
Thirdly, prediction must not be equated with deterministic prediction.
If a system is stochastic ... then its behavior may be predicted
statistically ... In this case we may able to predicat probabilities
(of e.g. transitions) and a number of propties derived from them ...
Forthly, a stochastic system ... is not chaotic: ... an atom is not
chaotic like the top of my desk, over which no probability distribution can
be defined.
Organization
In conclusion, information does not measure organization. ... What we
do have are measures of efficieny ... Knowing that a system is highly (or
fairly or poorly) efficient we can infer that it is well (or fairly or poorly)
organized to attain a certain goal or to help us perform a certain task.
But efficiency is an indicator of organization not a measure of it.»
| computability | complexity theory | algorithm theory | formal languages |
Text colors: black for complexity/power classes, green for solvers,
problems from [Hopcroft+Ullman] or from elsewhere
det = deterministic, ndet = nondeterministic, c.f. = context-free, LC = lambda-calculus
Main reference [Hopcroft, Ullman: Introduction to automata theory, languages and computation; 1979]
also [F Henglein, H Mairson: The Complexity of Type Inference for Higher-Order Typed Lambda Calculi; POPL'91]
also [N Immerman: Languages That Capture Complexity Classes; SIAM Journal of Computing 1987]
also [A Arratia-Quesada, S Chauhan, I Stewart: Hierarchies in classes of program schemes; Journal of Logic and Computation 1999]
also [I Stewart: Logical definability versus computational complexity: another equivalence]
Cf. the hierarchy at wikipedia
and the huge list of complexity classes and results at the Complexity Zoo
| Computable, RE (recursively enumerable) a syntactic class: RE functions can be explicitly enumerated [zoo] Turing- complete solvers:Turing machines; 2-stack machines; counter machines; RAM; recursive functions; while programs; Chomsky grammars | Decidable, R (recursive) =RE a semantic class: R functions cannot be explicitly enumerated [zoo] | PR (primitive recursive) a syntactic class: PR functions can be explicitly enumerated | Elementary relation to EXPSPACE? (union of DTIME(2n), DTIME(22n), DTIME(222n), etc.) | EXP- SPACE | EXP [TIME] =PSPACE?, | PSPACE =NPSPACE; includes NP and coNP (solvable in polynomial space) Buechi automata; | NP (includes RP, =RP?) (solvable ndet'ly in polynomial time) ESO (second order existential logic) [theorem by Fagin 74 - found in Imm]
Problem in NP and coNP: integer factorization [wiki] | NLIN (=NTIME(n)?) (solvable ndet'ly in linear time on RAM) [cf. page 12] | NTIME(n) (solvable ndet'ly in linear time on TM) [cf. page 12] | CFL (context-free) (below NTIME(n) and CSL[cf. page 12], unknown rel. to NL; diagram in wiki shows CFL below NC) stack machines ("pushdown automata" PDA), context-free grammars (CFG) | non-regular CFL ... | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RP
(includes P, =P?, sub of coNP?) Randomized Polynomial time defined wrt. probabilistic TMs eg. is-nonprime ·········coRP (=RP?, includes P, =P?) eg. is-prime | P (=NC?[wiki]) (solvable det'ly in polynomial time, "tractable problems") least fixed point logic (first order logic with least fixed point primitive) [Imm]; path system logic [mentioned in Arr+] [less?] NSPS (NPS with stack) [Arr+] |
CSL (context- sensitive)
= NSPACE(n), ie. solvable ndet'ly in linear space [Kur64] primitive recursive functions (equiv. to loop); loop programs; context- sensitive grammars (CSG) | REG (regular)
=DSPACE(O(1)) ie. constant space, =NSPACE(O(1)) finite automata (DFA=NFA), regular expressions, monadic ESO[cf] DSPACE(n) | (solvable det'dly in linear space) L (solvable det'ly in logarithmic space)
| NL =coNL | (solvable ndet'ly in logarithmic space) transitive closure logic (first order logic with special transitive closure primitive)[Imm]; NPS program schemes [Arr+] NC
Nick's Class | (includes NL) (solvable in (log n)c time on nk parallel processors, eg. parallel-RAM = decidable by uniform Boolean circuits with polylogarithmic depth and a polynomial number of gates) NL-complete (hardest in NL): |
GAP - reachability in directed graph [by Savitch 73 - found in Imm]
| (n log n)-space, etc, ... |
| P-complete
(hardest in P, "probably not parallelizable" / "probably inherently sequential") |
· [complete or maybe simpler?]
type inference for the simply-typed (first-order) LC
| · evaluating a propositional formula for given values · emptiness of CFGs' languages · CFG membership [wiki] CVP - Circuit Value Problem: calculate output of given gate in given circuit for given inputs [wiki] · linear programming [wiki] · game of life [wiki] · LZ78 compression [wiki] NP-complete (hardest in NP, "probably intractable")
| ·········coNP-complete (hardest in coNP)
SAT - satisfyability of unquantified formula = evaluation of existentially quantified formula
| Vertex Cover; Hamilton Circuit; Integer Linear Programming; Chromatic Number; TSP (traveling salesman); Exact Cover; Knapsack; Partition (of integer lists); Tetris, Minesweeper ··········is a structural subtyping entailed by a set of subtyping constraints PSPACE-complete (hardest in PSPACE)
known to be disjoint from NC; maybe subset of P or NP?
|
·type inference in the presence of subtyping over ground & function types
| QBF - evaluation of quantified Boolean formulas Lcs - word-problem for CSLs EXPTIME-complete |
· best move in Chess or Go on an n × n board [wiki]
| EXPSPACE-complete (hardest problems solvable in exponential space): |
Lrex - does a regular expressions with exponentiation denote all strings?
| · two regular expressions with star represent different languages? [wiki] harder than any problem ndet'ly solvable in exponential time: |
· is an untyped term typable in the second order polymorphic LC (aka F2)? [Hen+]
| · the theory of reals with addition non-elementary time: |
· Is an untyped term typable in Fomega? [Hen+]
| · Is the normal of two lambda-terms typable in first-order typed LC the same? · Evaluation of formula with quantific. over (higher-order) Booleans functions non-primitive recursive: |
· the Ackermann function
| semi-decidable (RE-complete): |
| · The Halting Problem is the canonical RE-complete problem [zoo] - determining, in F<'s type system, whether one type is subtype of another Lu - pairs of TM encoding and accepted word PCP - Post's Correspondence Problem · ambiguity of CFGs, inherent ambiguity of CFLs · CFG accepts everything, · intersection of the languages of two CFGs is empty / is c.f. · inverse of CFG's language is c.f. · CFG's language is regular non-computable - cf. hypercomputation:
| TMs with oracles, and some forms of Quantum computers, ... Arithmetic hierarchy: The halting problem for
Ld - the diagonal language of TM encodings
| Le, Lr, Lnr - emptiness / recursiveness / non-recursiveness of a TM's language · TM accepts everything, accepts exactly one word, accepts a regular set | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cf. Design and Analysis of Algorithms with some complexity examples.
For some of the (shown and further) complexity classes it has not yet been proven whether they are in fact separate or only appear so. Especially, the possibility of ``P = NP'' is repeatedly considered, and there are several results on the implication should it be true, but no proof put forward so far has been accepted by the scientific community (it would reclassify NP-complete problems from intractable to P). ``NP = NL?'' (ndet. polynomial time v. ndet. logarithmic space) is discussed here.
Further classes: