Zulip Chat Archive

Stream: lean4

Topic: Logic and Proof


Peter B (Jun 22 2022 at 23:09):

Anyone know if (a) Is there a version of the CMU "Logic and Proof" book in Lean 4 rather than Lean 3, and if not (b) are there any guidelines about how best to mechanically translate proofs from 3 to 4?

Peter B (Jun 23 2022 at 01:25):

In fact...am I nuts, or is this book written in BOTH.

e.g., the examples in https://leanprover.github.io/logic_and_proof/propositional_logic_in_lean.html look like Lean 4 to me, but th examples in https://leanprover.github.io/logic_and_proof/classical_reasoning.html look like Lean 3. Am I wrong?

Chris Bailey (Jun 23 2022 at 01:48):

They're both lean 3.

Chris Bailey (Jun 23 2022 at 01:51):

I think mathport gets to your first question, but I don't think logic and proof would require something that heavy duty.

Peter B (Jun 23 2022 at 11:20):

Thank you!


Last updated: Dec 20 2023 at 11:08 UTC