-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadme.agda
158 lines (100 loc) · 3.55 KB
/
Readme.agda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
module Readme where
-- This development depends on the Agda standard library
-- [http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary]
-- It is known to typecheck with Agda v2.3.2.2 and the Agda standard
-- library v0.7.
-- To load the development, simply load this file (C-c C-l) and browse
-- the modules listed below (M-. on specific modules).
-- * Library functions:
-- ** Predicate manipulation
open import Logic.Logic
-- ** Propositional universe
-- (with proof irrelevance and extensional equality)
open import Logic.IProp
-- * Section 2: From Comparison to Lookup
open import FunOrn.Example
-- * Section 3: Universe of Descriptions
open import IDesc.IDesc
open import IDesc.Fixpoint
open import IDesc.InitialAlgebra
open import IDesc.Lifting
open import IDesc.Induction
open import IDesc.Case
-- ** Examples
open import IDesc.Examples.List
open import IDesc.Examples.Ordinal
open import IDesc.Examples.Bool
open import IDesc.Examples.Nat
open import IDesc.Examples.Vec
open import IDesc.Examples.Fin
open import IDesc.Examples.STLC
open import IDesc.Examples.Id
-- *** More examples (not in the paper)
open import IDesc.Examples.Forest
open import IDesc.Examples.Walk
open import IDesc.Examples.Expr
-- * Section 4: Universe of ornaments
open import Orn.Ornament
-- ** Section 4.1: Examples
open import Orn.Ornament.Examples.Maybe
open import Orn.Ornament.Examples.List
open import Orn.Ornament.Examples.Fin
open import Orn.Ornament.Identity
-- *** More examples (not in the paper)
open import Orn.Ornament.Examples.Vec
open import Orn.Ornament.Examples.Lifting
-- ** Section 4.2: Brady optimisations
open import Orn.Brady.Vec
open import Orn.Brady.Fin
-- ** Section 4.3: Ornamental algebra
open import Orn.Ornament.CartesianMorphism
open import Orn.Ornament.Algebra
-- ** Section 4.4: Algebraic ornaments
open import Orn.AlgebraicOrnament
open import Orn.AlgebraicOrnament.Coherence
open import Orn.AlgebraicOrnament.Make
-- *** Examples
open import Orn.AlgebraicOrnament.Examples.Vec
open import Orn.AlgebraicOrnament.Examples.Leq
open import Orn.AlgebraicOrnament.Examples.Expr
-- *** More examples (not in the paper)
open import Orn.AlgebraicOrnament.Examples.Lifting
-- ** Section 4.5: Reornaments
open import Orn.Reornament
open import Orn.Reornament.Coherence
open import Orn.Reornament.Make
-- *** Examples:
open import Orn.Reornament.Examples.List
open import Orn.Reornament.Examples.Maybe
open import Orn.Reornament.Examples.Iterative
-- * Section 5: Universe of function types and their ornaments
-- ** Section 5.1: Universe of function types
open import FunOrn.Functions
-- *** Examples
open import FunOrn.Functions.Examples.Le
open import FunOrn.Functions.Examples.Plus
-- ** Section 5.2: Functional ornament
open import FunOrn.FunOrnament
-- *** Examples
open import FunOrn.FunOrnament.Examples.Lookup
open import FunOrn.FunOrnament.Examples.Append
-- ** Section 5.3: Patches
open import FunOrn.Patch
-- *** Examples
open import FunOrn.Patch.Examples.Lookup
open import FunOrn.Patch.Examples.Append
-- ** Section 5.4: Patching and coherence
open import FunOrn.Patch.Apply
open import FunOrn.Patch.Coherence
-- ** Section 6: Smart constructors
-- *** Section 6.1: Transporting recursion patterns
open import FunOrn.Lift.Fold
open import FunOrn.Lift.Induction
open import FunOrn.Lift.Case
-- ** Section 6.2: Transporting constructors
open import FunOrn.Lift.MkReorn
open import FunOrn.Lift.Constructor
-- ** Examples
open import FunOrn.Lift.Examples.Head
open import FunOrn.Lift.Examples.Lookup
open import FunOrn.Lift.Examples.Append