Duplicate of https://philosophy.stackexchange.com/questions/38828/how-to-prove-p-%E2%88%A7-%C2%ACq-%E2%86%94-%C2%ACp-%E2%86%92-q
– BumbleFeb 22 '22 at 05:27
Your answer is the correct version with the right sequence of assumptions, though it should be noted since you invoked double negation in your last step so this proof/conclusion only works in classic not intuitionistic logic...
– Double KnotFeb 23 '22 at 04:32
Thank Double Knot. Unfortunately, I only taught Fitch style. May I ask how should the proof go in intuitionistic logic?
– Keith LamFeb 23 '22 at 05:44
Intuitionistic logic is more conservative (weaker) than common classic logic and extensively used in contemporary constructive mathematics, internal logic of topos in categorical logic, type theory, automated theorem prover, and computer science, etc, and it has nothing to do with Fitch style which is a popular style of natural deduction calculus system of many logics, including classic, intuitionistic and modal logics, there's also Gentzen tree style. In IL, you just remain at line 11...
– Double KnotFeb 23 '22 at 05:51