# HG changeset patch # User Shinji KONO # Date 1573376870 -32400 # Node ID b1bc0802d774749361f15ad40fccfd6bf178b910 # Parent 1bb72cf2af28370c12ebf95e4435bea71c3f6ad0 ... diff -r 1bb72cf2af28 -r b1bc0802d774 agda/finiteSet.agda --- a/agda/finiteSet.agda Sun Nov 10 17:39:55 2019 +0900 +++ b/agda/finiteSet.agda Sun Nov 10 18:07:50 2019 +0900 @@ -15,8 +15,8 @@ record Found ( Q : Set ) (p : Q → Bool ) : Set where field - found : Q - found-p : p found ≡ true + found-q : Q + found-p : p found-q ≡ true record FiniteSet ( Q : Set ) { n : ℕ } : Set where field @@ -100,7 +100,7 @@ lemma : (λ z → p (Q←F (F←Q z))) ≡ p lemma = f-extensionality ( λ q → subst (λ k → p k ≡ p q ) (sym (finiso→ q)) refl ) found2 (suc m) m