Logic: Structural Induction and Tree-method problem

Click For Summary
SUMMARY

The discussion focuses on two primary problems involving structural induction and the tree method in propositional logic. The first problem requires a recursive definition of the function h: PROP -> N to count parentheses in a formula, exemplified by F = ¬(p1 v (¬p2->p1), where h(F) = 4. Additionally, it involves proving that for all propositional formulas F ∈ PROP, the equation 1/2 * h(F) + 1 = props(F) holds true. The second problem utilizes the tree method to evaluate the validity of meta-allegations involving propositions A, B, and C, specifically checking the implications and equivalences stated.

PREREQUISITES
  • Understanding of propositional logic and its syntax.
  • Familiarity with recursive functions and definitions.
  • Knowledge of structural induction principles.
  • Experience with the tree method (semantic tableau) for logical proofs.
NEXT STEPS
  • Study recursive definitions in formal logic, focusing on functions like h: PROP -> N.
  • Learn about structural induction and its applications in proving properties of logical formulas.
  • Explore the tree method (semantic tableau) for validating logical implications and equivalences.
  • Investigate the properties of propositional formulas, including the function props and its derivation.
USEFUL FOR

This discussion is beneficial for students and practitioners of logic, particularly those studying propositional logic, structural induction, and proof techniques. It is especially relevant for those preparing for exams or working on logical proofs in academic settings.

A.Dasher
Messages
2
Reaction score
0
I have this challenge to do but can't seem to be able to understand it completely! I also have test right now and can't concentrate. Please help this poor soul! It will be appreciated!
The first question is:Let F ∈ PROP. Let (h)F be defined by the number of parentheses in the formula F.
a): Give a recursive definition of the function h: PROP -> N (natural numbers) for the number of parentheses in the formula: F= ¬(p1 v (¬p2->p1)) or in this case h(F)=4; Feel free to change the formula if you'd like.
b): Prove with structural induction, using the definition you gave in question a and the function props, that for all proposition formulas F∈ PROP:
1/2 * h(F)+1= props (F);

And the second one is a tree method:
Let A,B,C ∈PROP. Check if these meta-allegations are true or false. Use the tree-method to show if there are counterexamples for these allegations. If there are counterexamples give at least 1 valuation.
a): A->B, ¬B->C |=A->C;
b): A<->(¬B v ¬C), ¬(A -> ¬ C) |= ¬B
Thank you before hand! I really, REALLY appreciate it!
 
Physics news on Phys.org
A.Dasher said:
The first question is:Let F ∈ PROP. Let (h)F be defined by the number of parentheses in the formula F.
a): Give a recursive definition of the function h: PROP -> N (natural numbers) for the number of parentheses in the formula: F= ¬(p1 v (¬p2->p1)) or in this case h(F)=4; Feel free to change the formula if you'd like.
b): Prove with structural induction, using the definition you gave in question a and the function props, that for all proposition formulas F∈ PROP:
1/2 * h(F)+1= props (F);
What is the function props?

What is your definition of formulas? It should be inductive and go something like this:
if x is a variable, then x is a formula.
if x and y are formulas, then ¬(y) and (y -> z) are formulas.​
And so on for whatever logical operators you have. You could start from the outermost and leftmost formula, identify what kind of formula it is (atomic, negation, implication, etc), add the corresponding number of parentheses to your counter, remove them and the operator, and repeat. Follow a branch until it contains only what kind of formulas?

And the second one is a tree method:
Let A,B,C ∈PROP. Check if these meta-allegations are true or false. Use the tree-method to show if there are counterexamples for these allegations. If there are counterexamples give at least 1 valuation.
a): A->B, ¬B->C |=A->C;
b): A<->(¬B v ¬C), ¬(A -> ¬ C) |= ¬B
Thank you before hand! I really, REALLY appreciate it!
I'll assume the tree method is the semantic tableau. It's been a while, but I can try. Where do you get stuck? Do you know how to set it up? You want to prove that you cannot satisfy both the premises and the negation of the conclusion. So start with
(A->B)&(¬B->C)&(¬(A->C))​
What can you get from there? (Save the disjunctions for last so you'll need fewer nodes.)
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
5
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 26 ·
Replies
26
Views
3K