Skip to content

Instantly share code, notes, and snippets.

@ice1000
Last active February 3, 2024 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ice1000/0b0730d4b57d23ad974c060ef8a748f4 to your computer and use it in GitHub Desktop.
Save ice1000/0b0730d4b57d23ad974c060ef8a748f4 to your computer and use it in GitHub Desktop.
Not so secret
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