Debian Codegraph @

src/Function/Indexed/Bundles.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Operations on Relations for Indexed sets
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Function.Indexed.Bundles where
10
11 open import Relation.Unary using (Pred)
12 open import Function.Bundles using (_⟶_; _↣_; _↠_; _⤖_; _⇔_; _↩_; _↪_; _↩↪_; _↔_)
13 open import Relation.Binary.Core hiding (_⇔_)
14 open import Level using (Level)
15
16 private
17 variable
18 a b i : Level
19 I : Set i
20
21 ------------------------------------------------------------------------
22 -- Bundles specialised for lifting relations to indexed sets
23 ------------------------------------------------------------------------
24
25 infix 3 _⟶ᵢ_ _↣ᵢ_ _↠ᵢ_ _⤖ᵢ_ _⇔ᵢ_ _↩ᵢ_ _↪ᵢ_ _↩↪ᵢ_ _↔ᵢ_
26
27 _⟶ᵢ_ : Pred I a → Pred I b → Set _
28 A ⟶ᵢ B = ∀ {i} → A i ⟶ B i
29
30 _↣ᵢ_ : Pred I a → Pred I b → Set _
31 A ↣ᵢ B = ∀ {i} → A i ↣ B i
32
33 _↠ᵢ_ : Pred I a → Pred I b → Set _
34 A ↠ᵢ B = ∀ {i} → A i ↠ B i
35
36 _⤖ᵢ_ : Pred I a → Pred I b → Set _
37 A ⤖ᵢ B = ∀ {i} → A i ⤖ B i
38
39 _⇔ᵢ_ : Pred I a → Pred I b → Set _
40 A ⇔ᵢ B = ∀ {i} → A i ⇔ B i
41
42 _↩ᵢ_ : Pred I a → Pred I b → Set _
43 A ↩ᵢ B = ∀ {i} → A i ↩ B i
44
45 _↪ᵢ_ : Pred I a → Pred I b → Set _
46 A ↪ᵢ B = ∀ {i} → A i ↪ B i
47
48 _↩↪ᵢ_ : Pred I a → Pred I b → Set _
49 A ↩↪ᵢ B = ∀ {i} → A i ↩↪ B i
50
51 _↔ᵢ_ : Pred I a → Pred I b → Set _
52 A ↔ᵢ B = ∀ {i} → A i ↔ B i