Science Fair Projects Ideas - Linear temporal logic

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Linear temporal logic

Linear temporal logic (LTL) is a field of mathematical logic that is able to talk about the future of paths (LTL is a temporal logic). LTL is built up from proposition variables p1,p2,..., the usual logic connectives \neg,\or,\and,\rightarrow and the following temporal operators. LTL formulas are generally evaluated over paths and a position on that path. A LTL formula as such is satisfied if and only if it is satisfied for position 0 on that path.

Textual Symbolic Explanation Diagram
Unary operators:
N φ \circ \phi Next: φ has to hold at the next state. (X is used synonymously.) <timeline>

ImageSize = width:240 height:60 PlotArea = left:20 bottom:30 top:0 right:20 DateFormat = x.y Period = from:0 till:6 TimeAxis = orientation:horizontal AlignBars = justify ScaleMajor = gridcolor:black increment:1 start:0 ScaleMinor = gridcolor:black increment:1 start:0

PlotData=

 bar:p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-p color:red width:10 align:left fontsize:S
 from:0 till:1
 from:2 till:6

</timeline>

G φ \Box \phi Globally: φ has to hold on the entire subsequent path. <timeline>

ImageSize = width:240 height:60 PlotArea = left:20 bottom:30 top:0 right:20 DateFormat = x.y Period = from:0 till:6 TimeAxis = orientation:horizontal AlignBars = justify ScaleMajor = gridcolor:black increment:1 start:0 ScaleMinor = gridcolor:black increment:1 start:0

PlotData=

 bar:p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-p color:red width:10 align:left fontsize:S

</timeline>

F φ \Diamond \phi Finally: φ eventually has to hold (somewhere on the subsequent path). <timeline>

ImageSize = width:240 height:60 PlotArea = left:20 bottom:30 top:0 right:20 DateFormat = x.y Period = from:0 till:6 TimeAxis = orientation:horizontal AlignBars = justify ScaleMajor = gridcolor:black increment:1 start:0 ScaleMinor = gridcolor:black increment:1 start:0

PlotData=

 bar:p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-p color:red width:10 align:left fontsize:S
 from:0 till:3
 from:4 till:6

</timeline>

Binary operators:
φ U ψ \phi ~\mathcal{U}~ \psi Until: φ has to hold until at some position ψ holds. At that position φ does not have to hold any more. <timeline>

ImageSize = width:240 height:100 PlotArea = left:20 bottom:30 top:0 right:20 DateFormat = x.y Period = from:0 till:6 TimeAxis = orientation:horizontal AlignBars = justify ScaleMajor = gridcolor:black increment:1 start:0 ScaleMinor = gridcolor:black increment:1 start:0

PlotData=

 bar:p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-p color:red width:10 align:left fontsize:S
 from:3 till:6
 bar:q color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-q color:red width:10 align:left fontsize:S
 from:0 till:3
 from:4 till:6

</timeline>

φ R ψ \phi ~\mathcal{R}~ \psi Release: φ releases ψ if ψ ever stops to hold. I.e. either φ holds after a finite number of steps and on the way to this state, including it, ψ holds, or ψ holds continuously forever. <timeline>

ImageSize = width:240 height:100 PlotArea = left:20 bottom:30 top:0 right:20 DateFormat = x.y Period = from:0 till:6 TimeAxis = orientation:horizontal AlignBars = justify ScaleMajor = gridcolor:black increment:1 start:0 ScaleMinor = gridcolor:black increment:1 start:0

PlotData=

 bar:p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-p color:red width:10 align:left fontsize:S
 from:0 till:3
 from:4 till:6
 bar:q color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-q color:red width:10 align:left fontsize:S
 from:4 till:6

</timeline>

\or

<timeline> ImageSize = width:240 height:100 PlotArea = left:20 bottom:30 top:0 right:20 DateFormat = x.y Period = from:0 till:6 TimeAxis = orientation:horizontal AlignBars = justify ScaleMajor = gridcolor:black increment:1 start:0 ScaleMinor = gridcolor:black increment:1 start:0

PlotData=

 bar:p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-p color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:q color:red width:10 align:left fontsize:S
 from:0 till:6
 bar:-q color:red width:10 align:left fontsize:S

</timeline>

However one can reduce to two of those operators since the following is always satisfied:

  • F φ = true U φ
  • G φ = \neg F \negφ
  • φRψ = \neg(\negφU\negψ)

LTL can be shown to be equivalent to the first-order logic over one successor and the smaller relation, FO[S,<] as well as star-free regular expressions or deterministic finite automata with loop complexity 0.

See also

10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice