Skip to content

Commit

Permalink
PLT-1345 Removed commented code and Ctx2type
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaskelioff committed Mar 17, 2023
1 parent 15158f6 commit 3458e5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
5 changes: 0 additions & 5 deletions plutus-metatheory/src/Algorithmic.lagda
Expand Up @@ -181,9 +181,4 @@ conv⊢ : ∀ {Γ Γ'}{A A' : Φ ⊢Nf⋆ *}
→ Γ ⊢ A
→ Γ' ⊢ A'
conv⊢ refl refl t = t

Ctx2type : (Γ : Ctx Φ) → Φ ⊢Nf⋆ * → ∅ ⊢Nf⋆ *
Ctx2type ∅ C = C
Ctx2type (Γ ,⋆ J) C = Ctx2type Γ (Π C)
Ctx2type (Γ , x) C = Ctx2type Γ (x ⇒ C)
\end{code}
16 changes: 0 additions & 16 deletions plutus-metatheory/src/Builtin/Signature.lagda.md
Expand Up @@ -150,21 +150,6 @@ indexed by the concrete types
-- an : number of arguments to be added to the type
-- am : number of arguments expected
-- at : total number of arguments
{-
data SigTy⇒ : ∀{n an am at} → an ∔ am ≣ at → Ty (nat2Ctx n) → Set where
bresult : ∀{n at}
→ (p : at ∔ 0 ≣ at)
→ (A : Ty (nat2Ctx n))
→ SigTy⇒ p A
_B⇒_ : ∀{n an am at}
→ (A : Ty (nat2Ctx n))
→ {B : Ty (nat2Ctx n)}
→ {p : an ∔ suc am ≣ at}
→ SigTy⇒ (bubble p) B
→ SigTy⇒ p (A ⇒ B)
-}
-- a SigTy (0 ∔ t ≡ t) (0 ∔ n ≣ n) A is the type that expects the total number type and term parameters
-- tm : number of Π applied
-- tn : number of Π yet to be applied
-- tt: number of Π in the signature (fv♯)
Expand Down Expand Up @@ -263,7 +248,6 @@ indexed by the concrete types
→ SigTy pt pa A
→ SigTy pt' pa' A'
convSigTy {pt = pt} {pt'} {pa = pa} {pa'} refl sty rewrite unique∔ pt pt' | unique∔ pa pa' = sty
-- -}
```

## Auxiliary functions
Expand Down

0 comments on commit 3458e5e

Please sign in to comment.