Skip to content
Snippets Groups Projects
Commit 8eae3d83 authored by Max New's avatar Max New
Browse files

implement the end-to-end monad normalization function

parent cc79c4e7
No related branches found
No related tags found
No related merge requests found
......@@ -239,3 +239,10 @@ cases .indbind {M = M} = rec (isPropΠ λ _ → squash₁) λ ihN[x] ihM →
readOut : ∥ fiber unCNfm M ∥₁ → singl M
readOut = rec isPropSingl (λ x → (unCNfm (x .fst)) , (sym (x .snd)))
csimpl : Comp Γ R → Comp Γ R
csimpl M = fst (readOut (Sem.indPc cases M))
csimpl-eq : (M : Comp Γ R) → M ≡ csimpl M
csimpl-eq M = snd (readOut (Sem.indPc cases M))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment