mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-20 10:38:39 +00:00
Free-group lemmas (#106)
This commit is contained in:
16
Setoids/Cardinality/Finite/Definition.agda
Normal file
16
Setoids/Cardinality/Finite/Definition.agda
Normal file
@@ -0,0 +1,16 @@
|
||||
{-# OPTIONS --safe --warning=error --without-K #-}
|
||||
|
||||
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
|
||||
open import Functions
|
||||
open import Numbers.Naturals.Definition
|
||||
open import Sets.FinSet.Definition
|
||||
open import Setoids.Setoids
|
||||
|
||||
module Setoids.Cardinality.Finite.Definition where
|
||||
|
||||
record FiniteSetoid {a b : _} {A : Set a} (S : Setoid {a} {b} A) : Set (a ⊔ b) where
|
||||
field
|
||||
size : ℕ
|
||||
mapping : FinSet size → A
|
||||
bij : SetoidBijection (reflSetoid (FinSet size)) S mapping
|
||||
|
Reference in New Issue
Block a user