Created
September 28, 2018 19:07
-
-
Save louisswarren/a122ef4200137e931173480cc6738231 to your computer and use it in GitHub Desktop.
Axiom of choice in Agda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open import Agda.Builtin.Sigma | |
ac : {X Y : Set} → (ρ : X → Y → Set) → (∀ x → Σ Y (ρ x)) → Σ (X → Y) (λ φ → ∀ x → ρ x (φ x)) | |
fst (ac ρ rel) x = fst (rel x) | |
snd (ac ρ rel) x = snd (rel x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment