Second order

In logic and mathematics second-order logic is an extension of first-order logic, which itself is an extension of propositional logic. Second-order logic is in turn extended by higher-order logic and type theory.
First-order logic quantifies only variables that range over individuals (elements of the domain of discourse); second-order logic, in addition, also quantifies over relations. For example, the second-order sentence




P


x
(
P
x

¬
P
x
)


{\displaystyle \forall P\,\forall x(Px\lor \neg Px)}
says that for every formula P, and every individual x, either Px is true or not(Px) is true (this is the law of excluded middle). Second-order logic also includes quantification over sets, functions, and other variables as explained in the section Syntax and fragments. Both first-order and second-order logic use the idea of a domain of discourse (often called simply the "domain" or the "universe"). The domain is a set over which individual elements may be quantified.

View More On Wikipedia.org
  • 591

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,445
    • Media
      227
    • Reaction score
      10,024
    • Points
      1,237
  • 3

    kostoglotov

    A PF Electron From Brisbane, Australia
    • Messages
      234
    • Reaction score
      6
    • Points
      20
  • 1

    VoteSaxon

    A PF Electron
    • Messages
      25
    • Reaction score
      1
    • Points
      14
  • 1

    sugz

    A PF Electron
    • Messages
      110
    • Reaction score
      0
    • Points
      16
  • 1

    faradayscat

    A PF Electron
    • Messages
      57
    • Reaction score
      8
    • Points
      11
  • 1

    sagamore4110

    A PF Quark
    • Messages
      2
    • Reaction score
      0
    • Points
      1
  • 1

    Ron Burgundypants

    A PF Atom
    • Messages
      23
    • Reaction score
      0
    • Points
      31
  • 1

    damianpd

    A PF Quark
    • Messages
      2
    • Reaction score
      0
    • Points
      1
  • 1

    Lambda96

    A PF Atom
    • Messages
      160
    • Reaction score
      60
    • Points
      28
  • Back
    Top