I have the unpleasent feeling that my "proof" is dead wrong. The core of my concerns is: when I have something like A -> (B -> C) and I assumed A, am I allowed to infer (B -> C) as the next step?
In particular, I am struggling with the following proof: given
1. [ B -> (C v ~A) ] ^ [ ~B -> (D ^ A) ]
I am supposed to prove
A -> [ (B -> C) ^ (~B -> D) ] ^ (~A -> B)
Now, to prove (~A -> B) I wrote:
1. [ B -> (C v ~A) ] ^ [ ~B -> (D ^ A) ]
2. ~A (assume)
3. ~B (assume)
4. D ^ A
5. A
6. B (RAA)
7. ~A -> B
which should be ok (I hope). What I'm pretty sure is not ok is the rest:
To prove A -> (B -> C) I have:
1. [ B -> (C v ~A) ] ^ [ ~B -> (D ^ A) ]
8. A (assume)
9. B (assume)
10. C v ~A
11. ~A (assume)
12. A
13. C
14. B -> C
15. A -> (B -> C)
Questions:
- Is it legit to infer
10from9and1? - Is it legit to infer
13from10-12?
Finally, to prove ~B -> (D ^ A) I have:
1. [ B -> (C v ~A) ] ^ [ ~B -> (D ^ A) ]
16. A (assume)
17. ~B (assume)
18. D ^ A
19. D
20. ~B -> D
Again, is it legit to infer 18 from 17 and 1?
Thank you.
About your question :
the answer is : Yes.
But with (A -> B) -> C , you cannot conclude anything only assuming A.
About :
the answer is : Yes.
From 1. you derive (by ∧-elim) 1.b : [¬B→(D∧A)]; thus, assuming ¬B, by modus ponens (or →-elim) you can derive 18. : (D∧A).
About the proof of A -> (B -> C), the steps 10-13. are not clear.
Basically, ¬A∨C is equivalent to A→C; thus, assuming A you will get C, and the conclusion follows by two →-intro. With C∨¬A, which rule do you have applied ?
There is a rule called Disjunctive syllogism : from ϕ∨ψ and ¬ϕ, infer ψ; you have to check with your rule-set (or enlarge it adding "derived" rules).
If you do not have it, I suppose you have to use ∨-elim, i.e. : if ϕ⊢σ and ψ⊢σ, then ϕ∨ψ⊢σ.
Thus, you have to derive C from C (trivial) and C form ¬A (with the help of the assumption A), in order to conclude C, and then go on with the proof.