You are here
Homelogical language
Error message
- User error: Socket error: Could not connect to "http://planetmath.org:8890/sparql?query=%0APREFIX+msc%3A+%3Chttp%3A%2F%2Fmsc2010.org%2Fresources%2FMSC%2F2010%2F%3E+PREFIX+skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E+PREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+PREFIX+local%3A+%3Chttp%3A%2F%2Flocal.virt%2F%3E+SELECT+%3Flabel+WHERE+%7B+GRAPH+%3Chttp%3A%2F%2Flocalhost%3A8890%2FDAV%2Fhome%2Fpm%2Frdf_sink%23this%3E+%7B+msc%3A62A01+skos%3AprefLabel+%3Flabel+FILTER+langMatches%28+lang%28%3Flabel%29%2C+%22en%22+%29+%7D%7D" (proxy: 0): Connection refused in ARC2_Reader in _sparql_request() (line 92 of /home/jcorneli/beta/sites/all/modules/sparql/sparql.module).
- User error: missing stream in "getFormat" via ARC2_Reader in _sparql_request() (line 92 of /home/jcorneli/beta/sites/all/modules/sparql/sparql.module).
- User error: missing stream in "readStream" http://planetmath.org:8890/sparql?query=%0APREFIX+msc%3A+%3Chttp%3A%2F%2Fmsc2010.org%2Fresources%2FMSC%2F2010%2F%3E+PREFIX+skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E+PREFIX+dct%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+PREFIX+local%3A+%3Chttp%3A%2F%2Flocal.virt%2F%3E+SELECT+%3Flabel+WHERE+%7B+GRAPH+%3Chttp%3A%2F%2Flocalhost%3A8890%2FDAV%2Fhome%2Fpm%2Frdf_sink%23this%3E+%7B+msc%3A62A01+skos%3AprefLabel+%3Flabel+FILTER+langMatches%28+lang%28%3Flabel%29%2C+%22en%22+%29+%7D%7D via ARC2_Reader in _sparql_request() (line 92 of /home/jcorneli/beta/sites/all/modules/sparql/sparql.module).
Primary tabs
logical language
In its most general form, a logical language is a set of rules for constructing formulas for some logic, which can then be assigned truth values based on the rules of that logic.
A logical language consists of:
- •
A set of function symbols (common examples include and )
- •
A set of relation symbols (common examples include and )
- •
A set of logical connectives (usually , , , and )
- •
A set of quantifiers (usuallly and )
- •
A set of variables
Every function symbol, relation symbol, and connective is associated with an arity (the set of -ary function symbols is denoted , and similarly for relation symbols and connectives). Each quantifier is a generalized quantifier associated with a quantifier type .
The underlying logic has a (possibly empty) set of types . There is a function which assignes a type to each function and variable. For each arity is a function which gives the types of each of the arguments to a function symbol or relation
. In addition
, for each quantifier type there is a function defined on (the set of quantifiers of that type) which gives an -tuple of -tuples of types of the arguments taken by formulas the quantifier applies to.
The terms of of type are built as follows:
- 1.
If is a variable such that then is a term of type
- 2.
If is an -ary function symbol such that and are terms such that for each then is a term of type
The formulas of are built as follows:
- 1.
If is an -ary relation symbol and are terms such that then is a formula
- 2.
If is an -ary connective and are formulas then is a formula
- 3.
If is a quantifier of type , are a sequence of variables such that and are formulas then is a formula
Generally the connectives, quantifiers, and variables are specified by the appropriate logic, while the function and relation symbols are specified for particular languages. Note that -ary functions are usually called constants.
If there is only one type which is equated directly with truth values then this is essentially a propositional logic. If the standard quantifiers and connectives are used, there is only one type, and one of the relations is (with its usual semantics), this produces first order logic. If the standard quantifiers and connectives are used, there are two types, and the relations include and with appropriate semantics, this is second order logic (a slightly different formulation replaces with a -ary function which represents function application; this views second order objects as functions rather than sets).
Note that often connectives are written with infix notation with parentheses used to control order of operations.
Mathematics Subject Classification
03B15 no label found03B10 no label found- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)
- Other useful stuff
- Corrections
Corrections
"By" by gumau ✓
formula 3 needs connective by cppLarry ✘
typo by norm ✓
linking restriction by akrowne ✓



