Last active
February 3, 2024 18:19
-
-
Save ice1000/0b0730d4b57d23ad974c060ef8a748f4 to your computer and use it in GitHub Desktop.
Not so secret
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module PSet3 where | |
record TermStructure : Set₁ where | |
field | |
Term : Set | |
module QPER (TS TS' : TermStructure) where | |
open TermStructure TS | |
open TermStructure TS' | |
renaming (Term to Term') | |
record QPER : Set₁ where | |
field | |
R : (M : Term) (M' : Term') → Set | |
zzc : {M N : Term} {M' N' : Term'} → R M M' → R N N' → R N M' → R M N' | |
open QPER public | |
variable | |
X Y : QPER | |
record QPERClosedTerm (Y : QPER) : Set where | |
field | |
M : Term | |
M' : Term' | |
law : R Y M M' | |
_~_ : (tM tN : QPERClosedTerm Y) → Set | |
_~_ {Y} tM tN = R Y (QPERClosedTerm.M tN) (QPERClosedTerm.M' tM) | |
~-trans : (Y : QPER) (tM tN tP : QPERClosedTerm Y) → (tM ~ tN) → (tN ~ tP) → (tM ~ tP) | |
~-trans Y tM tN tP h h' = {! !} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment