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

Incorrect claim of requiring function extensionality #41

Closed
potato4444 opened this issue Jul 25, 2018 · 1 comment
Closed

Incorrect claim of requiring function extensionality #41

potato4444 opened this issue Jul 25, 2018 · 1 comment

Comments

@potato4444
Copy link
Contributor

The book claims that η-→ : ∀ {A B : Set} (f : A → B) → (λ (x : A) → f x) ≡ f requires function extensionality in the connectives chapter.

Elimination followed by introduction is the identity.

But this is not the case. λ x -> f x is judgementally equal to f. This code shows the proof does not require function extensionality:

 η-→ : ∀ {A B : Set} (f : A → B) → (λ (x : A) → f x) ≡ f
 η-→ {A} {B} f = refl
@wadler
Copy link
Member

wadler commented Jul 25, 2018 via email

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

No branches or pull requests

2 participants