Difference between formal systems and theories

Click For Summary
SUMMARY

The discussion clarifies the distinction between formal systems and theories in the context of formal languages. A theory consists of a subset of a formal language along with inference rules, where its members are true without premises. In contrast, a formal system includes an alphabet, well-formed formulas (wff), inference rules, and axioms. The key difference lies in the additional structure that formal languages impose on the formation of sentences, which is not necessarily required for theories. For further exploration, the participants suggest delving into formal language theory, logic, and proof theory.

PREREQUISITES
  • Understanding of formal languages and their components
  • Familiarity with well-formed formulas (wff)
  • Knowledge of inference rules in mathematical logic
  • Basic concepts of compiler design and theory
NEXT STEPS
  • Study formal language theory through resources like the Wikipedia article on formal languages
  • Explore logic and proof theory to deepen understanding of inference rules
  • Investigate the relationship between formal systems and compiler design
  • Review the PDF on compiler theory for practical applications of these concepts
USEFUL FOR

Mathematicians, computer scientists, and students of logic who seek to understand the foundational differences between formal systems and theories, as well as their applications in compiler design and formal language theory.

V0ODO0CH1LD
Messages
278
Reaction score
0
A theory is a subset of a formal language together with a set of inference rules on that formal language in which the members of the theory need no premises to be true, right? So if I had a subset ##\mathcal{T}## of a formal language ##\mathcal{F}##, and a set of inference rules in which all members of ##\mathcal{T}## were true without any premises, that would make ##\mathcal{T}## a theory, right?

Now a formal system is an alphabet ##\Sigma## together with a subset ##F## of all words over ##\Sigma## whose members are well formed formulas, a set of inference rules on ##F## and another subset of ##F## that make up the axioms of the formal system.

In short:
  • theory: formal language, inference rules, axioms.
  • formal system: alphabet, wff, inference rules, axioms.

But isn't a subset of all words over an alphabet a formal language anyway? Making theories and formal systems the "same" concepts?

Or are theories more general than subsets of formal languages? So the premises and conclusions in the rules of inference of a theory need not be well formed formulas of a formal language. Is that the case?

Also, what field of mathematics should I look into to learn more about these concepts? Logic? Proof theory?
 
Physics news on Phys.org
While I can't answer your question on the differences between the two, I did find this writeup on formal language theory:

http://en.wikipedia.org/wiki/Formal_language

It mentions it has a basis in mathematics, computer science and linguistics. I've studied compiler language definition which is a mix of mathematics of set theory and compsci concepts so it seems to me that computer science will cover most of it in the context of compiler design.

http://www.inf.unibz.it/~artale/Compiler/slide2.pdf

the pdf above covers it in the context of compiler theory.

I think the key difference is the wff feature of formal language that adds more rules on how you can form sentences from words.
 
Last edited by a moderator:

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K