Recursive Definition of Formula Length: Learn the Basics | Logics Course Help

  • Thread starter Thread starter blackdvl666
  • Start date Start date
AI Thread Summary
A recursive definition of the length of a well-formed formula (wff) is established based on the number of symbols it contains. An atomic formula, such as p, has a length of 1. For unary operations, like negation (~p), the length increases by 3, resulting in a total length of n + 3 if p is a wff of length n. For binary operations, such as conjunction (p^q), the combined length is m + n + 3, where p and q are wffs of lengths n and m, respectively. Understanding these recursive relationships is crucial for analyzing the structure of logical formulas.
blackdvl666
Messages
1
Reaction score
0
ok guys this is from my logics course!

this question may be very simple but i am just gettin stuck

give a recursive definition of the length of a well formed formula that is of the number of the symbols occurring in it. For example length of (p^(~q)) is 8.
 
Physics news on Phys.org
OK, so if p is an atomic formula, the length is 1.
What possibilities do you have to make a new wff out of two wffs p and q?
For example, if p is a wff of length n, then (~p) is one of length n + 3.
If p and q are wff's of length n and m, respectively, then (p^q) is of length m+n+3.
 
Thread 'Have I solved this structural engineering equation correctly?'
Hi all, I have a structural engineering book from 1979. I am trying to follow it as best as I can. I have come to a formula that calculates the rotations in radians at the rigid joint that requires an iterative procedure. This equation comes in the form of: $$ x_i = \frac {Q_ih_i + Q_{i+1}h_{i+1}}{4K} + \frac {C}{K}x_{i-1} + \frac {C}{K}x_{i+1} $$ Where: ## Q ## is the horizontal storey shear ## h ## is the storey height ## K = (6G_i + C_i + C_{i+1}) ## ## G = \frac {I_g}{h} ## ## C...

Similar threads

Back
Top