First-Order Logic of GraphsΒΆ
An atomic formula has one of the forms:
x = y,edg(x,y),TorF, wherex,yare variables or constants.Given a graph
G, variables range over the vertices inGand constants are associated with the vertices ofG.Vertices are identified with the associated constants.
The relation symbol
edgis interpreted as the adjacency relation between vertices inG, the symbol=as the identity relation over the vertices ofG, andTandFas true and false, respectively.There is no function and no relation symbol other than
edg,=,TandF.A first-order formula is constructed from atomic formulas by using operations such as AND,OR,NOT, logical implication, logical equivalence options, and universal/existential quantifiers.