Concatenation with values
Lax149335.ValueConcatenation · concepts/Lax149335/ValueConcatenation.lean · lax-149335
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Lemma 5.2 (Concatenation with values). For terms and and list values ,
Concept map
Lean source view on GitHub
| 1 | import Lax149335.EquationalTheory |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Concatenation with values |
| 6 | type: lemma |
| 7 | --- |
| 8 | **Lemma 5.2 (Concatenation with values).** For terms and |
| 9 | and list values , |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax149335.ValueConcatenation |
| 22 | |
| 23 | open Lax149335.Types Lax149335.Terms Lax149335.DerivedTerms Lax149335.DerivedTerms.Term |
| 24 | Lax149335.EquationalTheory |
| 25 | |
| 26 | /-- **Lemma 5.2.** The associativity and unit laws for concatenation with values. -/ |
| 27 | axiom value_assoc {A A' B : Ty} (f : Term A B⋆) (g : Term A' B⋆) (w v : Value B⋆) : |
| 28 | (dotR (dotR f w) v ≡ₜ dotR f (dotL w v)) ∧ |
| 29 | (dotL w (dotL v f) ≡ₜ dotL (dotL w v) f) ∧ |
| 30 | (dotR f (nilT B) ≡ₜ f) ∧ |
| 31 | (dotL (nilT B) f ≡ₜ f) ∧ |
| 32 | (dotR (dotL w f) v ≡ₜ dotL w (dotR f v)) ∧ |
| 33 | (fdot (dotR f w) g ≡ₜ fdot f (dotL w g)) |
| 34 | |
| 35 | end Lax149335.ValueConcatenation |
| 36 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments