Skip to content

Commit 9c2a9a6

Browse files
committed
fix: rename Prefix to LexicalList
1 parent ba2bf2f commit 9c2a9a6

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is a formalization of the displacement algebras, their properties, and part
2323
| Indexed products | 3.3.5 | [IndexedProduct](src/Mugen/Algebra/Displacement/Instances/IndexedProduct.agda) | _(not implementable)_ |
2424
| Nearly constant infinite products | 3.3.5 | [NearlyConstant](src/Mugen/Algebra/Displacement/Instances/NearlyConstant.agda) | [NearlyConstant](https://redprl.org/mugen/mugen/Mugen/Shift/NearlyConstant) and [NearlyConstant](https://redprl.org/mugen/mugen/Mugen/ShiftWithJoin/NearlyConstant) |
2525
| Infinite products with finite support | 3.3.5 | [FiniteSupport](src/Mugen/Algebra/Displacement/Instances/FiniteSupport.agda) | [FiniteSupport](https://redprl.org/mugen/mugen/Mugen/Shift/FiniteSupport) and [FiniteSupport](https://redprl.org/mugen/mugen/Mugen/ShiftWithJoin/FiniteSupport) |
26-
| Prefix order | 3.3.6 | [Prefix](src/Mugen/Algebra/Displacement/Instances/Prefix.agda) | [Prefix](https://redprl.org/mugen/mugen/Mugen/Shift/Prefix) |
26+
| Lexical lists | 3.3.6 | [LexicalList](src/Mugen/Algebra/Displacement/Instances/LexicalList.agda) | [Lexicographic](https://redprl.org/mugen/mugen/Mugen/Shift/Lexicographic) |
2727
| Opposite displacements | 3.3.8 | [Opposite](src/Mugen/Algebra/Displacement/Instances/Opposite.agda) | [Opposite](https://redprl.org/mugen/mugen/Mugen/Shift/Opposite) |
2828
| Endomorphisms | 3.4 (Lemma 3.7) | [Endomorphism](src/Mugen/Algebra/Displacement/Instances/Endomorphism.agda) | _(not implementable)_ |
2929

src/Mugen/Algebra/Displacement/Instances/Prefix.agda renamed to src/Mugen/Algebra/Displacement/Instances/LexicalList.agda

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import Mugen.Order.Reasoning as Reasoning
1414
import Mugen.Order.Instances.LexicalList as LexicalList
1515

1616
--------------------------------------------------------------------------------
17-
-- Prefix Displacements
17+
-- Lexical List Displacements
1818
-- Section 3.3.6
1919
--
2020
-- Given a poset 'A', we can define a displacement algebra on lexicographical lists over 'A'.
2121

22-
module Mugen.Algebra.Displacement.Instances.Prefix {o r} (A : Poset o r) where
22+
module Mugen.Algebra.Displacement.Instances.LexicalList {o r} (A : Poset o r) where
2323

2424
private
2525
module A = Reasoning A
@@ -34,9 +34,9 @@ private
3434
++-left-invariant [] ys zs ys≤zs = ys≤zs
3535
++-left-invariant (x ∷ xs) ys zs ys≤zs = A.≤-refl L.∷≤ (λ _ ++-left-invariant xs ys zs ys≤zs)
3636

37-
-- Most of the order theoretic properties come from 'Mugen.Order.Instances.Prefix'.
38-
Prefix : Displacement-on L.poset
39-
Prefix = to-displacement-on displacement where
37+
-- Most of the order theoretic properties come from 'Mugen.Order.Instances.LexicalList'.
38+
LexicalList : Displacement-on L.poset
39+
LexicalList = to-displacement-on displacement where
4040
displacement : make-displacement L.poset
4141
displacement .make-displacement.ε = []
4242
displacement .make-displacement._⊗_ = _++_

src/Mugen/Everything.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import Mugen.Algebra.Displacement.Instances.Constant
99
import Mugen.Algebra.Displacement.Instances.Endomorphism
1010
import Mugen.Algebra.Displacement.Instances.IndexedProduct
1111
import Mugen.Algebra.Displacement.Instances.Int
12+
import Mugen.Algebra.Displacement.Instances.LexicalList
1213
import Mugen.Algebra.Displacement.Instances.LexicalProduct
1314
import Mugen.Algebra.Displacement.Instances.Nat
1415
import Mugen.Algebra.Displacement.Instances.NearlyConstant
1516
import Mugen.Algebra.Displacement.Instances.NonPositive
1617
import Mugen.Algebra.Displacement.Instances.Opposite
17-
import Mugen.Algebra.Displacement.Instances.Prefix
1818
import Mugen.Algebra.Displacement.Instances.Product
1919
import Mugen.Algebra.Displacement.Instances.Support
2020
import Mugen.Algebra.Displacement.Subalgebra

0 commit comments

Comments
 (0)