Closed and exact differential forms: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Quondum
→‎lead: removing duplicate link, {{nowrap}}
 
Line 1: Line 1:
[[File:Formal languages.svg|thumb|300px|right|This diagram shows the [[Syntax (logic)|syntactic entities]] which may be constructed from [[formal language]]s. The [[symbol (formal)|symbols]] and [[string (computer science)|strings of symbols]] may be broadly divided into [[nonsense]] and well-formed formulas. A formal language can be thought of as identical to the set of its well-formed formulas. The set of well-formed formulas may be broadly divided into [[theorem]]s and non-theorems.]]
Roberto is the name 1 love to be  with although it can be not the name attached to my [http://www.Birthcertificate.com birth certificate]. I am a [http://Www.Cashier.org/ cashier]. My colleagues say it's not fine for me but the thing that I love doing is definitely to drive but Concerning been taking on brand-new things lately. My house is at the present in Vermont. I've been working on my current website for some period now. Check it out of the house here: http://Prometeu.net/<br><br>Here is my web-site ... [http://Prometeu.net/ clash Of Clans cheats Ipad gems]
 
In [[mathematical logic]], a '''well-formed formula''', shortly '''wff''', often simply '''formula''', is a [[string (computer science)|word]] (i.e. a finite [[sequence]] of [[symbol (formal)|symbols]] from a given [[alphabet (computer science)|alphabet]]) that is part of a [[formal language]].<ref>Formulas are a standard topic in introductory logic, and are covered by all introductory textbooks, including Enderton (2001), Gamut (1990), and Kleene (1967)</ref> A formal language can be considered to be identical to the set containing all and only its formulas.
 
A formula is a [[syntax (logic)|syntactic]] formal object that can be informally given a semantic [[Formal semantics (logic)|meaning]].
 
==Introduction==
A key use of formulas is in [[propositional logic]] and [[predicate logic]]s such as [[first-order logic]]. In those contexts, a formula is a string of symbols φ for which it makes sense to ask "is &phi; true?", once any [[free variable]]s in φ have been instantiated.  In formal logic, [[Mathematical proof|proof]]s can be represented by sequences of formulas with certain properties, and the final formula in the sequence is what is proven.
 
Although the term "formula" may be used for written marks (for instance, on a piece of paper or chalkboard), it is more precisely understood as the sequence being expressed, with the marks being a [[type-token distinction|token]] instance of formula. It is not necessary for the existence of a formula that there be any actual tokens of it. A formal language may thus have an infinite number of formulas regardless whether each formula has a token instance. Moreover, a single formula may have more than one token instance, if it is written more than once.
 
Formulas are quite often [[interpretation (logic)|interpreted]] as [[proposition]]s (as, for instance, in [[propositional logic]]). However formulas are [[syntax (logic)|syntactic entities]], and as such must be specified in a formal language without regard to any [[interpretation (logic)|interpretation]] of them. An interpreted formula may be the [[name]] of something, an [[adjective]], an [[adverb]], a [[preposition]], a [[phrase]], a [[clause]], an [[imperative sentence]], a [[string (computer science)|string]] of sentences, a string of names, etc.{{Citation broken|date=March 2011}}. A formula may even turn out to be [[nonsense]], if the symbols of the language are specified so that it does. Furthermore, a formula need not be given ''any'' interpretation.
 
==Propositional calculus==
The formulas of [[propositional calculus]], also called [[propositional formula]]s,<ref>First-order logic and automated theorem proving, Melvin Fitting, Springer, 1996 [http://books.google.com/books?id=T8OMqvXvWWQC&lpg=PA11&dq=%22propositional%20formula%22&hl=fr&pg=PA11#v=onepage&q=%22propositional%20formula%22&f=false]</ref> are expressions such as <math>(A \land (B \lor C))</math>. Their definition begins with the arbitrary choice of a set ''V'' of  [[propositional variable]]s. The alphabet consists of the letters in ''V'' along with the symbols for the [[logical connective|propositional connective]]s and parentheses "(" and ")", all of which are assumed to not be in ''V''.  The formulas will be certain expressions (that is, strings of symbols) over this alphabet.
 
The formulas are [[inductive definition|inductively]] defined as follows:
* Each propositional variable is, on its own, a formula.
* If φ is a formula, then <math>\lnot</math>φ is a formula.
* If φ and ψ are formulas, and • is any binary connective, then ( φ • ψ) is a formula. Here • could be (but is not limited to) the usual operators ∨, ∧, →, or ↔.
 
This definition can also be written as a formal grammar in [[Backus–Naur form]], provided the set of variables is finite:
:<alpha set> ::= p | q | r | s | t | u | ... (the arbitrary finite set of propositional variables)
:<form> ::= <alpha set> | <math>\neg</math><form> | (<form><math>\wedge</math><form>) | (<form><math>\vee</math><form>) | (<form><math>\rightarrow</math><form>) | (<form><math>\leftrightarrow</math><form>)
 
Using this grammar, the sequence of symbols
:(((''p'' <math>\rightarrow</math> ''q'') <math>\wedge</math> (''r'' <math>\rightarrow</math> ''s'')) <math>\vee</math> (<math>\neg</math>''q'' <math>\wedge</math> <math>\neg</math>''s''))
is a formula, because it is grammatically correct. The sequence of symbols
:((''p'' <math>\rightarrow</math> ''q'')<math>\rightarrow</math>(''qq''))''p''))
is not a formula, because it does not conform to the grammar.
 
A complex formula may be difficult to read, owing to, for example, the proliferation of parentheses. To alleviate this last phenomenon, precedence rules (akin to the [[Order of operations|standard mathematical order of operations]]) are assumed among the operators, making some operators more binding than others. For example, assuming the precedence (from most binding to least binding) 1. <math>\neg</math> &nbsp; 2. <math>\rightarrow</math>&nbsp; 3. <math>\wedge</math>&nbsp; 4. <math>\vee</math>. Then the formula
:(((''p'' <math>\rightarrow</math> ''q'') <math>\wedge</math> (''r'' <math>\rightarrow</math> ''s'')) <math>\vee</math> (<math>\neg</math>''q'' <math>\wedge</math> <math>\neg</math>''s''))
may be abbreviated as
:''p'' <math>\rightarrow</math> ''q'' <math>\wedge</math> ''r'' <math>\rightarrow</math> ''s'' <math>\vee</math> <math>\neg</math>''q'' <math>\wedge</math> <math>\neg</math>''s''
This is, however, only a convention used to simplify the written representation of a formula. If the precedence was assumed, for example, to be left-right associative, in following order: 1. <math>\neg</math> &nbsp; 2. <math>\wedge</math>&nbsp; 3. <math>\vee</math>&nbsp; 4. <math>\rightarrow</math>, then the same formula above (without parentheses) would be rewritten as
:(''p'' <math>\rightarrow</math> (''q'' <math>\wedge</math> ''r'')) <math>\rightarrow</math> (''s'' <math>\vee</math> ((<math>\neg</math>''q'') <math>\wedge</math> (<math>\neg</math>''s'')))
 
==Predicate logic==
The definition of a formula in [[first-order logic]] <math>\mathcal{QS}</math> is relative to the [[Signature (mathematical logic)|signature]] of the theory at hand. This signature specifies the constant symbols, relation symbols, and function symbols of the theory at hand, along with the [[Arity|arities]] of the function and relation symbols.
 
The definition of a formula comes in several parts. First, the set of '''terms''' is defined recursively. Terms, informally, are expressions that represent objects from the domain of discourse.
#Any variable is a term.
#Any constant symbol from the signature is a term
#an expression of the form ''f''(''t''<sub>1</sub>,...,''t''<sub>''n''</sub>), where ''f'' is an ''n''-ary function symbol, and ''t''<sub>1</sub>,...,''t''<sub>''n''</sub> are terms, is again a term.
 
The next step is to define the [[atomic formula]]s.
#If ''t''<sub>1</sub> and ''t''<sub>2</sub> are terms then ''t''<sub>1</sub>=''t''<sub>2</sub> is an atomic formula
#If ''R'' is an ''n''-ary relation symbol, and ''t''<sub>1</sub>,...,''t''<sub>''n''</sub> are terms, then ''R''(''t''<sub>1</sub>,...,''t''<sub>''n''</sub>) is an atomic formula
 
Finally, the set of formulas is defined to be the smallest set containing the set of atomic formulas such that the following holds:
#<math>\neg\phi</math> is a formula when <math>\ \phi</math> is a formula
#<math>(\phi \land \psi)</math> and <math>(\phi \lor \psi)</math> are formulas when <math>\ \phi</math> and <math>\ \psi</math> are formulas;
#<math>\exists x\, \phi</math> is a formula when <math>\ x</math> is a variable and <math>\ \phi</math> is a formula;
#<math>\forall x\, \phi</math> is a formula when <math>\ x</math> is a variable and <math>\ \phi</math> is a formula (alternatively, <math>\forall x\, \phi</math> could be defined as an abbreviation for <math>\neg\exists x\, \neg\phi</math>).
 
If a formula has no occurrences of <math>\exists x</math> or <math>\forall x</math>, for any variable <math>\ x</math>, then it is called ''quantifier-free''. An ''existential formula'' is a formula starting with a sequence of existential quantification followed by a quantifier-free formula.
 
==Atomic and open formulas==
{{Main|Atomic formula}}
 
An ''atomic formula'' is a formula that contains no [[logical connective]]s nor [[Quantification|quantifiers]], or equivalently a formula that has no strict subformulas.
The precise form of atomic formulas depends on the formal system under consideration; for [[propositional logic]], for example, the atomic formulas are the [[propositional variable]]s. For [[predicate logic]], the atoms are predicate symbols together with their arguments, each argument being a [[Formation rules|term]].
 
According to some terminology, an ''open formula'' is formed by combining atomic formulas using only logical connectives, to the exclusion of quantifiers.<ref>Handbook of the history of logic, (Vol 5, Logic from Russell to Church), Tarski's logic by Keith Simmons, D. Gabbay and J. Woods Eds, p568 [http://books.google.fr/books?id=K5dU9bEKencC&lpg=PA568&dq=%22open%20formula%22&pg=PA568#v=onepage&q=open%20formula&f=false].</ref> This has not to be confused with a formula which is not closed.
 
==Closed formulas==
{{Main|Sentence (mathematical logic)}}
 
A ''closed formula'', also ''[[ground expression|ground]] formula'' or ''sentence'', is a formula in which there are no [[Free and bound variables|free occurrences]] of any [[variable (mathematics)|variable]]. If '''A''' is a formula of a first-order language in which the variables ''v<sub>1</sub>'', ..., ''v<sub>n</sub>'' have free occurrences, then '''A''' preceded by {{all}}''v<sub>1</sub>'' ... {{all}}''v<sub>n</sub>'' is a closure of '''A'''.
 
==Properties applicable to formulas==
 
* A formula '''A''' in a language <math>\mathcal{Q}</math> is ''[[satisfiability and validity|valid]]'' if it is true for every [[interpretation (logic)|interpretation]] of <math>\mathcal{Q}</math>.
* A formula '''A''' in a language <math>\mathcal{Q}</math> is ''[[satisfiability and validity|satisfiable]]'' if it is true for some [[interpretation (logic)|interpretation]] of <math>\mathcal{Q}</math>.
* A formula '''A''' of the language of [[Peano arithmetic|arithmetic]] is ''decidable'' if it represents a [[decidable set]], i.e. if there is an [[effective method]] which, given a [[substitution of variables|substitution]] of the free variables of '''A''', says that either the resulting instance of '''A''' is provable or its negation is.
 
==Usage of the terminology==
 
In earlier works on mathematical logic (e.g. by Church<ref>Alonzo Church, [1996] (1944), Introduction to mathematical logic, page 49</ref>), formulas referred to any strings of symbols and among these strings, well-formed formulas were the strings that followed the formation rules of (correct) formulas.
 
Several authors simply say formula.<ref>Hilbert, David; Ackermann, Wilhelm (1950) [1937], Principles of Mathematical Logic, New York: Chelsea</ref><ref>Hodges, Wilfrid (1997), A shorter model theory, Cambridge University Press, ISBN 978-0-521-58713-6</ref><ref>Barwise, Jon, ed. (1982), Handbook of Mathematical Logic, Studies in Logic and the Foundations of Mathematics, Amsterdam: North-Holland, ISBN 978-0-444-86388-1</ref><ref>Cori, Rene; Lascar, Daniel (2000), Mathematical Logic: A Course with Exercises, Oxford University Press, ISBN 978-0-19-850048-3</ref> Modern usages (especially in the context of computer science with mathematical software such as [[List of model checking tools|model checkers]], [[automated theorem prover]]s, [[Interactive theorem proving|interactive theorem provers]]) tend to retain of the notion of formula only the algebraic concept and to leave the question of well-formedness, i.e. of the concrete string representation of formulas (using this or that symbol for connectives and quantifiers, using this or that [[order of operations|parenthesizing convention]], using [[Polish notation|Polish]] or [[infix notation|infix]] notation, etc.) as a mere notational problem.
 
However, the expression well-formed formulas can still be found in various works,<ref>Enderton, Herbert [2001] (1972), A mathematical introduction to logic (2nd ed.), Boston, MA: Academic Press, ISBN 978-0-12-238452-3</ref><ref>R. L. Simpson (1999), Essentials of Symbolic Logic, page 12</ref><ref>Mendelson, Elliott [2010] (1964), An Introduction to Mathematical Logic (5th ed.), London: Chapman & Hall</ref> these authors using the name well-formed formula without necessarily opposing it to the old sense of formula as arbitrary string of symbols so that it is no longer common in mathematical logic to refer to arbitrary strings of symbols in the old sense of formulas.
 
The expression "well-formed formulas" (WFF) also pervaded in popular culture. Indeed, ''WFF'' is part of an esoteric pun used in the name of the academic game "[[Academic_Games#WFF_.27N_Proof|WFF 'N PROOF: The Game of Modern Logic]]," by Layman Allen,<ref>Ehrenburg 2002</ref> developed while he was at [[Yale Law School]] (he was later a professor at the [[University of Michigan]]). The suite of games is designed to teach the principles of symbolic logic to children (in [[Polish notation]]).<ref>More technically, [[Propositional calculus|propositional logic]] using the [[Fitch-style calculus]].</ref> Its name is an echo of ''[[whiffenpoof]]'', a [[nonsense word]] used as a [[Cheering|cheer]] at [[Yale University]] made popular in ''The Whiffenpoof Song'' and [[The Whiffenpoofs]].<ref>Allen (1965) acknowledges the pun.</ref>
 
==See also==
{{Portal|Logic}}
* [[Ground expression]]
 
==Notes==
{{Reflist}}
 
==References==
*{{citation
  |first1=Layman E.
  |last1= Allen
  |title=Toward Autotelic Learning of Mathematical Logic by the WFF 'N PROOF Games
  | journal= Mathematical Learning: Report of a Conference Sponsored by the Committee on Intellective Processes Research of the Social Science Research Council
  |series= Monographs of the Society for Research in Child Development
  |volume=30
  |issue=1
  |year=1965
  |pages=29–41
}}
* {{Citation
  | last1=Boolos
  | first1=George
  | author1-link=George Boolos
  | last2=Burgess
  | first2=John
  | last3=Jeffrey
  | first3=Richard
  | author3-link=Richard Jeffrey
  | title=Computability and Logic
  | publisher=[[Cambridge University Press]]
  | edition=4th
  | isbn=978-0-521-00758-0 (pb.)
  | year=2002}}
* {{cite news
  | first=Rachel
  | last=Ehrenberg
  | title=He's Positively Logical
  | date=Spring 2002
  | publisher=University of Michigan
  | url=http://www.umich.edu/~newsinfo/MT/02/Spr02/mt9s02.html
  | work=Michigan Today
  | accessdate=2007-08-19
}}
* {{Citation
  | last1=Enderton
  | first1=Herbert
  | title=A mathematical introduction to logic
  | publisher=[[Academic Press]]
  | location=Boston, MA
  | edition=2nd
  | isbn=978-0-12-238452-3
  | year=2001
}}
* {{Citation
  | last1=Gamut
  | first1=L.T.F.
  | title=Logic, Language, and Meaning, Volume 1: Introduction to Logic
  |publisher= University Of Chicago Press
  | year= 1990
  | isbn=0-226-28085-3
}}
*{{Citation
| author-last=Hodges
| author-first=Wilfrid
| section=Classical Logic I: First-Order Logic
| editor1-last=Goble
| editor1-first=Lou
| title=The Blackwell Guide to Philosophical Logic
| publisher=Blackwell
| isbn=978-0-631-20692-7
| year=2001
}}
*{{Citation
  | last1=Hofstadter
  | first1=Douglas
  | author1-link=Douglas Hofstadter
  | title=Gödel, Escher, Bach: An Eternal Golden Braid
  | publisher=[[Penguin Books]]
  | isbn=978-0-14-005579-5
  | year=1980
}}
* {{Citation
  | last1=Kleene
  | first1=Stephen Cole
  | author1-link=Stephen Kleene
  | title=Mathematical logic
  | origyear=1967
  | publisher=[[Dover Publications]]
  | location=New York
  | isbn=978-0-486-42533-7
  | mr=1950307
  | year=2002
}}
* {{Citation|last=Rautenberg|first=Wolfgang|authorlink=Wolfgang Rautenberg|doi=10.1007/978-1-4419-1221-3|title=A Concise Introduction to Mathematical Logic|url=http://www.springerlink.com/content/978-1-4419-1220-6/|publisher=[[Springer Science+Business Media]]|location=[[New York City|New York]]|edition=3rd|isbn=978-1-4419-1220-6|year=2010}}
 
==External links==
*[http://www.cs.odu.edu/~toida/nerzic/content/logic/pred_logic/construction/wff_intro.html Well-Formed Formula for First Order Predicate Logic] - includes a short [[Java (programming language)|Java]] quiz.
*[http://www.apronus.com/provenmath/formulas.htm Well-Formed Formula at ProvenMath]
*[http://wffnproof.com/ WFF N PROOF game site]
 
{{logic}}
 
{{DEFAULTSORT:Well-Formed Formula}}
[[Category:Formal languages]]
[[Category:Metalogic]]
[[Category:Syntax (logic)]]
[[Category:Mathematical logic]]
[[Category:Logical expressions]]

Latest revision as of 22:29, 10 September 2014

Roberto is the name 1 love to be with although it can be not the name attached to my birth certificate. I am a cashier. My colleagues say it's not fine for me but the thing that I love doing is definitely to drive but Concerning been taking on brand-new things lately. My house is at the present in Vermont. I've been working on my current website for some period now. Check it out of the house here: http://Prometeu.net/

Here is my web-site ... clash Of Clans cheats Ipad gems