Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The order of subgoals in proof of eqnP. #146

Closed
akr opened this issue Mar 3, 2023 · 1 comment · Fixed by #147
Closed

The order of subgoals in proof of eqnP. #146

akr opened this issue Mar 3, 2023 · 1 comment · Fixed by #147

Comments

@akr
Copy link

akr commented Mar 3, 2023

I found that the eqnP proof on p. 103 of the book version 1.0.2 differs from the actual Coq result.

The book describes the result after apply: (iffP idP). as follows.

n : nat
m : nat
===================
 m = n -> eqn m n

subgoal 2 is:
 eqn m n -> m = n

But Coq actually shows as follows.

  n, m : nat
  ============================
  eqn n m -> n = m

goal 2 is:
 n = m -> eqn n m

The order of subgoals is reversed.

@gares
Copy link
Member

gares commented Mar 8, 2023

Thanks for sumitting the issue!

gares added a commit that referenced this issue Mar 8, 2023
@gares gares closed this as completed in #147 Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants