{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# OPTIONS_GHC -Wno-overlapping-patterns #-}
module MAlonzo.Code.Check where
import MAlonzo.RTE (coe, erased, AgdaAny, addInt, subInt, mulInt,
quotInt, remInt, geqInt, ltInt, eqInt, add64, sub64, mul64, quot64,
rem64, lt64, eq64, word64FromNat, word64ToNat)
import qualified MAlonzo.RTE
import qualified Data.Text
import qualified MAlonzo.Code.Agda.Builtin.Bool
import qualified MAlonzo.Code.Agda.Builtin.Equality
import qualified MAlonzo.Code.Agda.Builtin.List
import qualified MAlonzo.Code.Agda.Builtin.Sigma
import qualified MAlonzo.Code.Agda.Builtin.String
import qualified MAlonzo.Code.Algorithmic
import qualified MAlonzo.Code.Algorithmic.Signature
import qualified MAlonzo.Code.Builtin.Constant.AtomicType
import qualified MAlonzo.Code.Builtin.Constant.Type
import qualified MAlonzo.Code.Data.Empty
import qualified MAlonzo.Code.Data.Fin.Base
import qualified MAlonzo.Code.Data.Nat.Base
import qualified MAlonzo.Code.Data.Nat.Properties
import qualified MAlonzo.Code.Data.Vec.Base
import qualified MAlonzo.Code.RawU
import qualified MAlonzo.Code.Relation.Nullary
import qualified MAlonzo.Code.Scoped
import qualified MAlonzo.Code.Type
import qualified MAlonzo.Code.Type.BetaNBE
import qualified MAlonzo.Code.Type.BetaNBE.RenamingSubstitution
import qualified MAlonzo.Code.Type.BetaNormal
import qualified MAlonzo.Code.Utils
import qualified MAlonzo.Code.Utils.Decidable
import qualified MAlonzo.Code.Utils.List
d_TypeError_12 :: ()
d_TypeError_12 = ()
data T_TypeError_12
= C_kindMismatch_18 MAlonzo.Code.Utils.T_Kind_476
MAlonzo.Code.Utils.T_Kind_476 |
C_notFunKind_26 MAlonzo.Code.Utils.T_Kind_476 |
C_notPat_32 MAlonzo.Code.Utils.T_Kind_476 | C_UnknownType_34 |
C_notPi_44 MAlonzo.Code.Type.T_Ctx'8902'_2
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 |
C_notMu_56 MAlonzo.Code.Type.T_Ctx'8902'_2
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 |
C_notFunType_66 MAlonzo.Code.Type.T_Ctx'8902'_2
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 |
C_notSOP_76 MAlonzo.Code.Type.T_Ctx'8902'_2
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 |
C_IndexOutOfBounds_82 Integer Integer | C_TooManyConstrArgs_84 |
C_TooFewConstrArgs_86 | C_TooFewCases_88 | C_TooManyCases_90 |
C_typeMismatch_100 MAlonzo.Code.Type.T_Ctx'8902'_2
MAlonzo.Code.Utils.T_Kind_476
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 |
C_builtinError_102 |
C_Unimplemented_104 MAlonzo.Code.Agda.Builtin.String.T_String_6
d_len'8902'_106 :: MAlonzo.Code.Type.T_Ctx'8902'_2 -> Integer
d_len'8902'_106 :: T_Ctx'8902'_2 -> Integer
d_len'8902'_106 T_Ctx'8902'_2
v0
= case T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0 of
T_Ctx'8902'_2
MAlonzo.Code.Type.C_'8709'_4 -> Integer -> Integer
forall a b. a -> b
coe (Integer
0 :: Integer)
MAlonzo.Code.Type.C__'44''8902'__6 T_Ctx'8902'_2
v1 T_Kind_476
v2
-> (Integer -> Integer -> Integer) -> Any -> Any -> Integer
forall a b. a -> b
coe Integer -> Integer -> Integer
addInt (Integer -> Any
forall a b. a -> b
coe (Integer
1 :: Integer)) ((T_Ctx'8902'_2 -> Integer) -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> Integer
d_len'8902'_106 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v1))
T_Ctx'8902'_2
_ -> Integer
forall a. a
MAlonzo.RTE.mazUnreachableError
d_inferTyVar_118 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Data.Fin.Base.T_Fin_6 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_inferTyVar_118 :: T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14
d_inferTyVar_118 T_Ctx'8902'_2
v0 T_Fin_6
v1
= case T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0 of
MAlonzo.Code.Type.C__'44''8902'__6 T_Ctx'8902'_2
v2 T_Kind_476
v3
-> case T_Fin_6 -> T_Fin_6
forall a b. a -> b
coe T_Fin_6
v1 of
T_Fin_6
MAlonzo.Code.Data.Fin.Base.C_zero_10
-> (Any -> Any -> T_Σ_14) -> Any -> Any -> T_Σ_14
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v3)
(T__'8715''8902'__14 -> Any
forall a b. a -> b
coe T__'8715''8902'__14
MAlonzo.Code.Type.C_Z_16)
MAlonzo.Code.Data.Fin.Base.C_suc_16 T_Fin_6
v5
-> (Any -> Any -> T_Σ_14) -> Any -> Any -> T_Σ_14
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Σ_14 -> Any) -> Any -> Any
forall a b. a -> b
coe
T_Σ_14 -> Any
MAlonzo.Code.Agda.Builtin.Sigma.d_fst_28
((T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14
d_inferTyVar_118 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v2) (T_Fin_6 -> Any
forall a b. a -> b
coe T_Fin_6
v5)))
((T__'8715''8902'__14 -> T__'8715''8902'__14) -> Any -> Any
forall a b. a -> b
coe
T__'8715''8902'__14 -> T__'8715''8902'__14
MAlonzo.Code.Type.C_S_18
(T_Σ_14 -> Any
MAlonzo.Code.Agda.Builtin.Sigma.d_snd_30
((T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14) -> Any -> Any -> T_Σ_14
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14
d_inferTyVar_118 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v2) (T_Fin_6 -> Any
forall a b. a -> b
coe T_Fin_6
v5))))
T_Fin_6
_ -> T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Ctx'8902'_2
_ -> T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decKind_138 ::
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decKind_138 :: T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 T_Kind_476
v0 T_Kind_476
v1
= case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v0 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v2 T_Kind_476
v3
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T_Kind_476
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v2 T_Kind_476
v3
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T_Kind_476
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v2 T_Kind_476
v3
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v4 T_Kind_476
v5
-> (T_Dec_32 -> T_Dec_32 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong'8322'_70
((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v2) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v4))
((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v3) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5))
T_Kind_476
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isFunKind_174 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isFunKind_174 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isFunKind_174 ~T_Ctx'8902'_2
v0 T_Σ_14
v1 = T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isFunKind_174 T_Σ_14
v1
du_isFunKind_174 ::
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_isFunKind_174 :: T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isFunKind_174 T_Σ_14
v0
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v0 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v1 Any
v2
-> case Any -> T_Kind_476
forall a b. a -> b
coe Any
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notFunKind_26 Any
v1)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notFunKind_26 Any
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v3 T_Kind_476
v4
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v3)
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v4) (Any -> Any
forall a b. a -> b
coe Any
v2)))
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isPat_196 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isPat_196 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isPat_196 ~T_Ctx'8902'_2
v0 T_Σ_14
v1 = T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPat_196 T_Σ_14
v1
du_isPat_196 ::
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_isPat_196 :: T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPat_196 T_Σ_14
v0
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v0 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v1 Any
v2
-> case Any -> T_Kind_476
forall a b. a -> b
coe Any
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v3 T_Kind_476
v4
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v3 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v5 T_Kind_476
v6
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v4 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v7 T_Kind_476
v8
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v6 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v8 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
(((Any -> Any) -> Either Any Any -> Either Any Any)
-> (Any -> Any) -> Any -> Any
forall a b. a -> b
coe
(Any -> Any) -> Either Any Any -> Either Any Any
MAlonzo.Code.Utils.du_withE_282
(\ Any
v9 -> (T_Kind_476 -> T_Kind_476 -> T_TypeError_12) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v7))
((T_Dec_32 -> T_Either_6 (Any -> T_'8869'_4) Any) -> Any -> Any
forall a b. a -> b
coe
T_Dec_32 -> T_Either_6 (Any -> T_'8869'_4) Any
MAlonzo.Code.Utils.du_dec2Either_294
((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v7))))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v9 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5) (Any -> Any
forall a b. a -> b
coe Any
v2))))
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v9 T_Kind_476
v10
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v9 T_Kind_476
v10
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_TypeError_12) -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TypeError_12
C_notPat_32 Any
v1)
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isPi_296 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isPi_296 :: T_Ctx'8902'_2
-> T_Ctx_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isPi_296 T_Ctx'8902'_2
v0 ~T_Ctx_2
v1 T_Σ_14
v2 = T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPi_296 T_Ctx'8902'_2
v0 T_Σ_14
v2
du_isPi_296 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_isPi_296 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPi_296 T_Ctx'8902'_2
v0 T_Σ_14
v1
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v1 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v2 Any
v3
-> case Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v2 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5)
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6) (Any -> Any
forall a b. a -> b
coe Any
v3)))
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notPi_44 T_Ctx'8902'_2
v0
((T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notPi_44 T_Ctx'8902'_2
v0 ((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4)
-> T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6))
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notPi_44 T_Ctx'8902'_2
v0 ((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5))
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notPi_44 T_Ctx'8902'_2
v0 ((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> Any
forall a b. a -> b
coe T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7))
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notPi_44 T_Ctx'8902'_2
v0 ((Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4)
-> Integer -> T_Vec_24 -> Any
forall a b. a -> b
coe Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6))
T__'8866'Nf'8902'__4
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isFunType_338 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isFunType_338 :: T_Ctx'8902'_2
-> T_Ctx_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isFunType_338 T_Ctx'8902'_2
v0 ~T_Ctx_2
v1 T_Σ_14
v2 = T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isFunType_338 T_Ctx'8902'_2
v0 T_Σ_14
v2
du_isFunType_338 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_isFunType_338 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isFunType_338 T_Ctx'8902'_2
v0 T_Σ_14
v1
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v1 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v2 Any
v3
-> case Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v2 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notFunType_66 T_Ctx'8902'_2
v0 ((T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v5)
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6) (Any -> Any
forall a b. a -> b
coe Any
v3)))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notFunType_66 T_Ctx'8902'_2
v0 ((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4)
-> T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6))
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notFunType_66 T_Ctx'8902'_2
v0 ((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5))
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notFunType_66 T_Ctx'8902'_2
v0
((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> Any
forall a b. a -> b
coe T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7))
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notFunType_66 T_Ctx'8902'_2
v0
((Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4)
-> Integer -> T_Vec_24 -> Any
forall a b. a -> b
coe Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6))
T__'8866'Nf'8902'__4
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isMu_392 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isMu_392 :: T_Ctx'8902'_2
-> T_Ctx_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isMu_392 T_Ctx'8902'_2
v0 ~T_Ctx_2
v1 T_Σ_14
v2 = T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isMu_392 T_Ctx'8902'_2
v0 T_Σ_14
v2
du_isMu_392 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_isMu_392 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isMu_392 T_Ctx'8902'_2
v0 T_Σ_14
v1
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v1 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v2 Any
v3
-> case Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v2 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notMu_56 T_Ctx'8902'_2
v0 ((T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notMu_56 T_Ctx'8902'_2
v0
((T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notMu_56 T_Ctx'8902'_2
v0 ((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4)
-> T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6))
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notMu_56 T_Ctx'8902'_2
v0 ((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5))
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5)
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6)
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v7) (Any -> Any
forall a b. a -> b
coe Any
v3))))
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notMu_56 T_Ctx'8902'_2
v0 ((Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4)
-> Integer -> T_Vec_24 -> Any
forall a b. a -> b
coe Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6))
T__'8866'Nf'8902'__4
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isSOPType_436 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isSOPType_436 :: T_Ctx'8902'_2
-> T__'8866'Nf'8902'__4 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isSOPType_436 T_Ctx'8902'_2
v0 T__'8866'Nf'8902'__4
v1
= case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v1 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v3 T__'8866'Nf'8902'__4
v4
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v3 T__'8866'Nf'8902'__4
v4))
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v3 T__'8866'Nf'8902'__4
v4
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0
((T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v3 T__'8866'Nf'8902'__4
v4))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v4
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4)
-> T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v4))
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v3
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v3))
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v3 T__'8866'Nf'8902'__4
v4 T__'8866'Nf'8902'__4
v5
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> Any
forall a b. a -> b
coe T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v3 T__'8866'Nf'8902'__4
v4 T__'8866'Nf'8902'__4
v5))
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v3 T_Vec_24
v4
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Integer -> Any
forall a b. a -> b
coe Integer
v3) (T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v4))
T__'8866'Nf'8902'__4
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_isSOP_476 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_isSOP_476 :: T_Ctx'8902'_2
-> T_Ctx_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isSOP_476 T_Ctx'8902'_2
v0 ~T_Ctx_2
v1 T_Σ_14
v2 = T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isSOP_476 T_Ctx'8902'_2
v0 T_Σ_14
v2
du_isSOP_476 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_isSOP_476 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isSOP_476 T_Ctx'8902'_2
v0 T_Σ_14
v1
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v1 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v2 Any
v3
-> case Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v2 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0
((T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4)
-> T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6))
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5))
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12)
-> T_Ctx'8902'_2 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T__'8866'Nf'8902'__4 -> T_TypeError_12
C_notSOP_76 T_Ctx'8902'_2
v0 ((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> Any
forall a b. a -> b
coe T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7))
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Integer -> Any
forall a b. a -> b
coe Integer
v5)
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v6) (Any -> Any
forall a b. a -> b
coe Any
v3)))
T__'8866'Nf'8902'__4
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_chkIdx_514 ::
Integer ->
Integer ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Data.Fin.Base.T_Fin_6
d_chkIdx_514 :: Integer -> Integer -> T_Either_6 T_TypeError_12 T_Fin_6
d_chkIdx_514 Integer
v0 Integer
v1
= let v2 :: T_Dec_32
v2
= Integer -> Integer -> T_Dec_32
MAlonzo.Code.Data.Nat.Properties.d__'60''63'__1912
(Integer -> Integer
forall a b. a -> b
coe Integer
v0) (Integer -> Integer
forall a b. a -> b
coe Integer
v1) in
Any -> T_Either_6 T_TypeError_12 T_Fin_6
forall a b. a -> b
coe
(case T_Dec_32 -> T_Dec_32
forall a b. a -> b
coe T_Dec_32
v2 of
MAlonzo.Code.Relation.Nullary.C__because__46 Bool
v3 T_Reflects_14
v4
-> if Bool -> Bool
forall a b. a -> b
coe Bool
v3
then (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v4)
((Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Integer -> T_Fin_6) -> Any -> Any
forall a b. a -> b
coe Integer -> T_Fin_6
MAlonzo.Code.Data.Fin.Base.du_fromℕ'60'_66 (Integer -> Any
forall a b. a -> b
coe Integer
v0)))
else (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v4)
((Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((Integer -> Integer -> T_TypeError_12) -> Integer -> Integer -> Any
forall a b. a -> b
coe Integer -> Integer -> T_TypeError_12
C_IndexOutOfBounds_82 Integer
v0 Integer
v1))
T_Dec_32
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError)
d_inferTyCon_542 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Builtin.Constant.Type.T_TyCon_6 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_inferTyCon_542 :: T_Ctx'8902'_2 -> T_Kind_476 -> T_TyCon_6 -> T_Σ_14
d_inferTyCon_542 ~T_Ctx'8902'_2
v0 T_Kind_476
v1 T_TyCon_6
v2 = T_Kind_476 -> T_TyCon_6 -> T_Σ_14
du_inferTyCon_542 T_Kind_476
v1 T_TyCon_6
v2
du_inferTyCon_542 ::
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Builtin.Constant.Type.T_TyCon_6 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_inferTyCon_542 :: T_Kind_476 -> T_TyCon_6 -> T_Σ_14
du_inferTyCon_542 T_Kind_476
v0 T_TyCon_6
v1
= (Any -> Any -> T_Σ_14) -> Any -> Any -> T_Σ_14
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v0)
((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4) -> Any -> Any
forall a b. a -> b
coe
T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20
((T_TyCon_6 -> T__'8866'Ne'8902'__6) -> T_TyCon_6 -> Any
forall a b. a -> b
coe T_TyCon_6 -> T__'8866'Ne'8902'__6
MAlonzo.Code.Type.BetaNormal.C_'94'_12 T_TyCon_6
v1))
d_checkKind_554 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4
d_checkKind_554 :: T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 T_Ctx'8902'_2
v0 T_ScopedTy_14
v1 T_Kind_476
v2
= (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferKind_562 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v1))
((Any -> Any) -> Any
forall a b. a -> b
coe (\ Any
v3 -> (T_Σ_14
-> T_Kind_476 -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Σ_14
-> T_Kind_476 -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
du_checkKind'45'aux_606 (Any -> Any
forall a b. a -> b
coe Any
v3) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v2)))
d_inferKind_562 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_inferKind_562 :: T_Ctx'8902'_2 -> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferKind_562 T_Ctx'8902'_2
v0 T_ScopedTy_14
v1
= case T_ScopedTy_14 -> T_ScopedTy_14
forall a b. a -> b
coe T_ScopedTy_14
v1 of
MAlonzo.Code.Scoped.C_'96'_18 T_Fin_6
v2
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Σ_14 -> Any) -> Any -> Any
forall a b. a -> b
coe
T_Σ_14 -> Any
MAlonzo.Code.Agda.Builtin.Sigma.d_fst_28
((T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14
d_inferTyVar_118 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Fin_6 -> Any
forall a b. a -> b
coe T_Fin_6
v2)))
((T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4) -> Any -> Any
forall a b. a -> b
coe
T__'8866'Ne'8902'__6 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ne_20
((T__'8715''8902'__14 -> T__'8866'Ne'8902'__6) -> Any -> Any
forall a b. a -> b
coe
T__'8715''8902'__14 -> T__'8866'Ne'8902'__6
MAlonzo.Code.Type.BetaNormal.C_'96'_8
(T_Σ_14 -> Any
MAlonzo.Code.Agda.Builtin.Sigma.d_snd_30
((T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14) -> Any -> Any -> T_Σ_14
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Fin_6 -> T_Σ_14
d_inferTyVar_118 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Fin_6 -> Any
forall a b. a -> b
coe T_Fin_6
v2))))))
MAlonzo.Code.Scoped.C__'8658'__20 T_ScopedTy_14
v2 T_ScopedTy_14
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v2)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 Any
v4 Any
v5))))))
MAlonzo.Code.Scoped.C_Π_22 T_Kind_476
v2 T_ScopedTy_14
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2) -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v2)) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T_Kind_476 -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v2 Any
v4))))
MAlonzo.Code.Scoped.C_ƛ_24 T_Kind_476
v2 T_ScopedTy_14
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferKind_562
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2) -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v2))
(T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v2) (Any -> Any
forall a b. a -> b
coe Any
v5))
((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4) -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_ƛ_18 Any
v6))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
MAlonzo.Code.Scoped.C__'183'__26 T_ScopedTy_14
v2 T_ScopedTy_14
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferKind_562 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v2))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42 ((T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14) -> Any -> Any
forall a b. a -> b
coe T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isFunKind_174 (Any -> Any
forall a b. a -> b
coe Any
v4))
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda4_710 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3))))
MAlonzo.Code.Scoped.C_con_30 T_Kind_476
v2 T_TyCon_6
v3
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((T_Σ_14 -> T_Σ_14) -> Any -> Any
forall a b. a -> b
coe T_Σ_14 -> T_Σ_14
du_addCon_658 ((T_Kind_476 -> T_TyCon_6 -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_TyCon_6 -> T_Σ_14
du_inferTyCon_542 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v2) (T_TyCon_6 -> Any
forall a b. a -> b
coe T_TyCon_6
v3)))
MAlonzo.Code.Scoped.C_μ_32 T_ScopedTy_14
v2 T_ScopedTy_14
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferKind_562 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v2))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42 ((T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14) -> Any -> Any
forall a b. a -> b
coe T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPat_196 (Any -> Any
forall a b. a -> b
coe Any
v4))
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda4_732 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3))))
MAlonzo.Code.Scoped.C_SOP_34 T_List_382 (T_List_382 T_ScopedTy_14)
v2
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_List_382 (T_List_382 T_ScopedTy_14)
-> T_Either_6 T_TypeError_12 T_Vec_24)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_List_382 (T_List_382 T_ScopedTy_14)
-> T_Either_6 T_TypeError_12 T_Vec_24
d_inferKind'45'VecList_586 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_List_382 (T_List_382 T_ScopedTy_14) -> Any
forall a b. a -> b
coe T_List_382 (T_List_382 T_ScopedTy_14)
v2))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v3 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4) -> Any -> Any -> Any
forall a b. a -> b
coe
Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_SOP_28
((T_List_382 Any -> Integer) -> Any -> Any
forall a b. a -> b
coe T_List_382 Any -> Integer
MAlonzo.Code.Utils.du_length_392 (T_List_382 (T_List_382 T_ScopedTy_14) -> Any
forall a b. a -> b
coe T_List_382 (T_List_382 T_ScopedTy_14)
v2)) Any
v3))))
T_ScopedTy_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_inferKind'45'List_568 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 [MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4]
d_inferKind'45'List_568 :: T_Ctx'8902'_2
-> T_List_382 T_ScopedTy_14
-> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4]
d_inferKind'45'List_568 T_Ctx'8902'_2
v0 T_List_382 T_ScopedTy_14
v1
= case T_List_382 T_ScopedTy_14 -> T_List_382 Any
forall a b. a -> b
coe T_List_382 T_ScopedTy_14
v1 of
T_List_382 Any
MAlonzo.Code.Utils.C_'91''93'_386
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4]
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
(T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
forall {a}. [a]
MAlonzo.Code.Agda.Builtin.List.C_'91''93'_16)
MAlonzo.Code.Utils.C__'8759'__388 Any
v2 T_List_382 Any
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4]
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v2)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_List_382 T_ScopedTy_14
-> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4])
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_List_382 T_ScopedTy_14
-> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4]
d_inferKind'45'List_568 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> T_List_382 Any -> T_List_382 Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> T_List_382 Any -> T_List_382 Any
forall {a}. a -> [a] -> [a]
MAlonzo.Code.Agda.Builtin.List.C__'8759'__22 (Any -> Any
forall a b. a -> b
coe Any
v4) (Any -> Any
forall a b. a -> b
coe Any
v5))))))
T_List_382 Any
_ -> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4]
forall a. a
MAlonzo.RTE.mazUnreachableError
d_inferKind'45'VecList_586 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_List_382
(MAlonzo.Code.Utils.T_List_382
MAlonzo.Code.Scoped.T_ScopedTy_14) ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Data.Vec.Base.T_Vec_24
d_inferKind'45'VecList_586 :: T_Ctx'8902'_2
-> T_List_382 (T_List_382 T_ScopedTy_14)
-> T_Either_6 T_TypeError_12 T_Vec_24
d_inferKind'45'VecList_586 T_Ctx'8902'_2
v0 T_List_382 (T_List_382 T_ScopedTy_14)
v1
= case T_List_382 (T_List_382 T_ScopedTy_14) -> T_List_382 Any
forall a b. a -> b
coe T_List_382 (T_List_382 T_ScopedTy_14)
v1 of
T_List_382 Any
MAlonzo.Code.Utils.C_'91''93'_386
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_Vec_24
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
(T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
MAlonzo.Code.Data.Vec.Base.C_'91''93'_28)
MAlonzo.Code.Utils.C__'8759'__388 Any
v2 T_List_382 Any
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Vec_24
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_List_382 T_ScopedTy_14
-> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4])
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_List_382 T_ScopedTy_14
-> T_Either_6 T_TypeError_12 [T__'8866'Nf'8902'__4]
d_inferKind'45'List_568 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v2))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_List_382 (T_List_382 T_ScopedTy_14)
-> T_Either_6 T_TypeError_12 T_Vec_24)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_List_382 (T_List_382 T_ScopedTy_14)
-> T_Either_6 T_TypeError_12 T_Vec_24
d_inferKind'45'VecList_586 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> T_Vec_24 -> T_Vec_24) -> Any -> Any -> Any
forall a b. a -> b
coe Any -> T_Vec_24 -> T_Vec_24
MAlonzo.Code.Data.Vec.Base.C__'8759'__36 Any
v4 Any
v5)))))
T_List_382 Any
_ -> T_Either_6 T_TypeError_12 T_Vec_24
forall a. a
MAlonzo.RTE.mazUnreachableError
d_checkKind'45'aux_606 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4
d_checkKind'45'aux_606 :: T_Ctx'8902'_2
-> T_Σ_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind'45'aux_606 ~T_Ctx'8902'_2
v0 T_Σ_14
v1 T_Kind_476
v2 = T_Σ_14
-> T_Kind_476 -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
du_checkKind'45'aux_606 T_Σ_14
v1 T_Kind_476
v2
du_checkKind'45'aux_606 ::
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4
du_checkKind'45'aux_606 :: T_Σ_14
-> T_Kind_476 -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
du_checkKind'45'aux_606 T_Σ_14
v0 T_Kind_476
v1
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v0 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v2 Any
v3
-> case Any -> T_Kind_476
forall a b. a -> b
coe Any
v2 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14 (Any -> Any
forall a b. a -> b
coe Any
v3)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> let v4 :: t
v4
= (Any -> Either Any Any) -> Any -> t
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12
((T_Kind_476 -> T_Kind_476 -> T_TypeError_12)
-> T_Kind_476 -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 T_Kind_476
v1 Any
v2) in
Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
(case Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v3 of
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v6
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6)
T__'8866'Nf'8902'__4
_ -> Any -> Any
forall a b. a -> b
coe Any
forall a. a
v4)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v4 T_Kind_476
v5
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_Kind_476 -> T_TypeError_12)
-> Any -> T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 Any
v2 T_Kind_476
v1)
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4) -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 Any
v3)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14 (Any -> Any
forall a b. a -> b
coe Any
v3)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v4 T_Kind_476
v5
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_Kind_476 -> T_TypeError_12)
-> Any -> T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 Any
v2 T_Kind_476
v1)
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v4 T_Kind_476
v5
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_Kind_476 -> T_TypeError_12)
-> Any -> T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 Any
v2 T_Kind_476
v1)
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 ((T_Kind_476 -> T_Kind_476 -> T_TypeError_12)
-> Any -> T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 Any
v2 T_Kind_476
v1)
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v6 T_Kind_476
v7
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
(((Any -> Any) -> Either Any Any -> Either Any Any)
-> (Any -> Any) -> Any -> Any
forall a b. a -> b
coe
(Any -> Any) -> Either Any Any -> Either Any Any
MAlonzo.Code.Utils.du_withE_282
(\ Any
v8 -> (T_Kind_476 -> T_Kind_476 -> T_TypeError_12) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_TypeError_12
C_kindMismatch_18 (Any -> Any
forall a b. a -> b
coe Any
v2) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v1))
((T_Dec_32 -> T_Either_6 (Any -> T_'8869'_4) Any) -> Any -> Any
forall a b. a -> b
coe
T_Dec_32 -> T_Either_6 (Any -> T_'8869'_4) Any
MAlonzo.Code.Utils.du_dec2Either_294
((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (Any -> Any
forall a b. a -> b
coe Any
v2) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v1))))
((Any -> Any) -> Any
forall a b. a -> b
coe (\ Any
v8 -> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14 (Any -> Any
forall a b. a -> b
coe Any
v3)))
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
_ -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
forall a. a
MAlonzo.RTE.mazUnreachableError
d_addCon_658 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_addCon_658 :: T_Ctx'8902'_2 -> T_Σ_14 -> T_Σ_14
d_addCon_658 ~T_Ctx'8902'_2
v0 T_Σ_14
v1 = T_Σ_14 -> T_Σ_14
du_addCon_658 T_Σ_14
v1
du_addCon_658 ::
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_addCon_658 :: T_Σ_14 -> T_Σ_14
du_addCon_658 T_Σ_14
v0
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v0 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v1 Any
v2
-> case Any -> T_Kind_476
forall a b. a -> b
coe Any
v1 of
T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480
-> (Any -> Any -> T_Σ_14) -> Any -> Any -> T_Σ_14
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4) -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22 Any
v2)
T_Kind_476
_ -> T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v0
T_Σ_14
_ -> T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_'46'extendedlambda4_710 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'46'extendedlambda4_710 :: T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_ScopedTy_14
-> T_Σ_14
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
d_'46'extendedlambda4_710 T_Ctx'8902'_2
v0 ~T_ScopedTy_14
v1 T_ScopedTy_14
v2 ~T_Σ_14
v3 T_Σ_14
v4
= T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda4_710 T_Ctx'8902'_2
v0 T_ScopedTy_14
v2 T_Σ_14
v4
du_'46'extendedlambda4_710 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_'46'extendedlambda4_710 :: T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda4_710 T_Ctx'8902'_2
v0 T_ScopedTy_14
v1 T_Σ_14
v2
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v2 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v3 Any
v4
-> case Any -> T_Σ_14
forall a b. a -> b
coe Any
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v1) (Any -> Any
forall a b. a -> b
coe Any
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v7 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((T_Σ_14 -> T_Σ_14) -> Any -> Any
forall a b. a -> b
coe
T_Σ_14 -> T_Σ_14
du_addCon_658
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Any -> Any
forall a b. a -> b
coe Any
v5)
((T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866''8902'__20 -> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866''8902'__20 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNBE.d_nf_258 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v5)
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> T__'8866''8902'__20 -> T__'8866''8902'__20 -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C__'183'__30 Any
v3
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
((T_Kind_476 -> T_Kind_476 -> T_Kind_476)
-> Any -> Any -> T_Kind_476
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v3) (Any -> Any
forall a b. a -> b
coe Any
v5))
(Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v6))
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> T_Kind_476
forall a b. a -> b
coe Any
v3) (Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v7))))))))
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_'46'extendedlambda4_732 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'46'extendedlambda4_732 :: T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_ScopedTy_14
-> T_Σ_14
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
d_'46'extendedlambda4_732 T_Ctx'8902'_2
v0 ~T_ScopedTy_14
v1 T_ScopedTy_14
v2 ~T_Σ_14
v3 T_Σ_14
v4
= T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda4_732 T_Ctx'8902'_2
v0 T_ScopedTy_14
v2 T_Σ_14
v4
du_'46'extendedlambda4_732 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_'46'extendedlambda4_732 :: T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda4_732 T_Ctx'8902'_2
v0 T_ScopedTy_14
v1 T_Σ_14
v2
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v2 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v3 Any
v4
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v1) (Any -> Any
forall a b. a -> b
coe Any
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_μ_24 Any
v3 Any
v4 Any
v5))))
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_len_776 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 -> MAlonzo.Code.Scoped.T_Weirdℕ_42
d_len_776 :: T_Ctx'8902'_2 -> T_Ctx_2 -> T_Weirdℕ_42
d_len_776 T_Ctx'8902'_2
v0 T_Ctx_2
v1
= case T_Ctx_2 -> T_Ctx_2
forall a b. a -> b
coe T_Ctx_2
v1 of
T_Ctx_2
MAlonzo.Code.Algorithmic.C_'8709'_4
-> T_Weirdℕ_42 -> T_Weirdℕ_42
forall a b. a -> b
coe T_Weirdℕ_42
MAlonzo.Code.Scoped.C_Z_44
MAlonzo.Code.Algorithmic.C__'44''8902'__8 T_Ctx_2
v3
-> case T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0 of
MAlonzo.Code.Type.C__'44''8902'__6 T_Ctx'8902'_2
v5 T_Kind_476
v6
-> (T_Weirdℕ_42 -> T_Weirdℕ_42) -> T_Weirdℕ_42 -> T_Weirdℕ_42
forall a b. a -> b
coe T_Weirdℕ_42 -> T_Weirdℕ_42
MAlonzo.Code.Scoped.C_T_52 (T_Ctx'8902'_2 -> T_Ctx_2 -> T_Weirdℕ_42
d_len_776 (T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v5) (T_Ctx_2 -> T_Ctx_2
forall a b. a -> b
coe T_Ctx_2
v3))
T_Ctx'8902'_2
_ -> T_Weirdℕ_42
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Algorithmic.C__'44'__12 T_Ctx_2
v3 T__'8866'Nf'8902'__4
v4
-> (T_Weirdℕ_42 -> T_Weirdℕ_42) -> T_Weirdℕ_42 -> T_Weirdℕ_42
forall a b. a -> b
coe T_Weirdℕ_42 -> T_Weirdℕ_42
MAlonzo.Code.Scoped.C_S_48 (T_Ctx'8902'_2 -> T_Ctx_2 -> T_Weirdℕ_42
d_len_776 (T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> T_Ctx_2
forall a b. a -> b
coe T_Ctx_2
v3))
T_Ctx_2
_ -> T_Weirdℕ_42
forall a. a
MAlonzo.RTE.mazUnreachableError
d_inferVarType_792 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_WeirdFin_56 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_inferVarType_792 :: T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferVarType_792 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_WeirdFin_56
v2
= case T_Ctx_2 -> T_Ctx_2
forall a b. a -> b
coe T_Ctx_2
v1 of
MAlonzo.Code.Algorithmic.C__'44''8902'__8 T_Ctx_2
v4
-> case T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0 of
MAlonzo.Code.Type.C__'44''8902'__6 T_Ctx'8902'_2
v6 T_Kind_476
v7
-> case T_WeirdFin_56 -> T_WeirdFin_56
forall a b. a -> b
coe T_WeirdFin_56
v2 of
MAlonzo.Code.Scoped.C_T_74 T_WeirdFin_56
v10
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferVarType_792 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v6) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v4) (T_WeirdFin_56 -> Any
forall a b. a -> b
coe T_WeirdFin_56
v10))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v11 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v11 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v12 Any
v13
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Ctx'8902'_2 -> Any -> T_Kind_476 -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.d_weakenNf_122 T_Ctx'8902'_2
v6
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478) T_Kind_476
v7 Any
v12)
((T__'8866'Nf'8902'__4 -> T__'8715'__16 -> T__'8715'__16)
-> Any -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4 -> T__'8715'__16 -> T__'8715'__16
MAlonzo.Code.Algorithmic.C_T_38 Any
v12 Any
v13))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
T_WeirdFin_56
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Ctx'8902'_2
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Algorithmic.C__'44'__12 T_Ctx_2
v4 T__'8866'Nf'8902'__4
v5
-> case T_WeirdFin_56 -> T_WeirdFin_56
forall a b. a -> b
coe T_WeirdFin_56
v2 of
T_WeirdFin_56
MAlonzo.Code.Scoped.C_Z_62
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v5)
(T__'8715'__16 -> Any
forall a b. a -> b
coe T__'8715'__16
MAlonzo.Code.Algorithmic.C_Z_22))
MAlonzo.Code.Scoped.C_S_68 T_WeirdFin_56
v8
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferVarType_792 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v4) (T_WeirdFin_56 -> Any
forall a b. a -> b
coe T_WeirdFin_56
v8))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v9 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v9 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v10 Any
v11
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Any -> Any
forall a b. a -> b
coe Any
v10)
((T__'8715'__16 -> T__'8715'__16) -> Any -> Any
forall a b. a -> b
coe T__'8715'__16 -> T__'8715'__16
MAlonzo.Code.Algorithmic.C_S_30 Any
v11))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
T_WeirdFin_56
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Ctx_2
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decTyVar_830 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Type.T__'8715''8902'__14 ->
MAlonzo.Code.Type.T__'8715''8902'__14 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decTyVar_830 :: T_Ctx'8902'_2
-> T_Kind_476
-> T__'8715''8902'__14
-> T__'8715''8902'__14
-> T_Dec_32
d_decTyVar_830 T_Ctx'8902'_2
v0 ~T_Kind_476
v1 T__'8715''8902'__14
v2 T__'8715''8902'__14
v3 = T_Ctx'8902'_2
-> T__'8715''8902'__14 -> T__'8715''8902'__14 -> T_Dec_32
du_decTyVar_830 T_Ctx'8902'_2
v0 T__'8715''8902'__14
v2 T__'8715''8902'__14
v3
du_decTyVar_830 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Type.T__'8715''8902'__14 ->
MAlonzo.Code.Type.T__'8715''8902'__14 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
du_decTyVar_830 :: T_Ctx'8902'_2
-> T__'8715''8902'__14 -> T__'8715''8902'__14 -> T_Dec_32
du_decTyVar_830 T_Ctx'8902'_2
v0 T__'8715''8902'__14
v1 T__'8715''8902'__14
v2
= case T__'8715''8902'__14 -> T__'8715''8902'__14
forall a b. a -> b
coe T__'8715''8902'__14
v1 of
T__'8715''8902'__14
MAlonzo.Code.Type.C_Z_16
-> case T__'8715''8902'__14 -> T__'8715''8902'__14
forall a b. a -> b
coe T__'8715''8902'__14
v2 of
T__'8715''8902'__14
MAlonzo.Code.Type.C_Z_16
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased)
MAlonzo.Code.Type.C_S_18 T__'8715''8902'__14
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8715''8902'__14
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.C_S_18 T__'8715''8902'__14
v6
-> case T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0 of
MAlonzo.Code.Type.C__'44''8902'__6 T_Ctx'8902'_2
v7 T_Kind_476
v8
-> case T__'8715''8902'__14 -> T__'8715''8902'__14
forall a b. a -> b
coe T__'8715''8902'__14
v2 of
T__'8715''8902'__14
MAlonzo.Code.Type.C_Z_16
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.C_S_18 T__'8715''8902'__14
v12
-> let v13 :: t
v13 = (T_Ctx'8902'_2
-> T__'8715''8902'__14 -> T__'8715''8902'__14 -> T_Dec_32)
-> Any -> Any -> Any -> t
forall a b. a -> b
coe T_Ctx'8902'_2
-> T__'8715''8902'__14 -> T__'8715''8902'__14 -> T_Dec_32
du_decTyVar_830 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v7) (T__'8715''8902'__14 -> Any
forall a b. a -> b
coe T__'8715''8902'__14
v6) (T__'8715''8902'__14 -> Any
forall a b. a -> b
coe T__'8715''8902'__14
v12) in
Any -> T_Dec_32
forall a b. a -> b
coe
(case Any -> T_Dec_32
forall a b. a -> b
coe Any
forall a. a
v13 of
MAlonzo.Code.Relation.Nullary.C__because__46 Bool
v14 T_Reflects_14
v15
-> if Bool -> Bool
forall a b. a -> b
coe Bool
v14
then (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v15)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
v14)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe
Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22
Any
forall a. a
erased))
else (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v15)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
v14)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26))
T_Dec_32
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError)
T__'8715''8902'__14
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Ctx'8902'_2
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T__'8715''8902'__14
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decNfTy_864 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decNfTy_864 :: T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 T_Ctx'8902'_2
v0 T_Kind_476
v1 T__'8866'Nf'8902'__4
v2 T__'8866'Nf'8902'__4
v3
= case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v2 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9
-> (Any -> T_Dec_32 -> (Any -> T_Dec_32) -> T_Dec_32)
-> Any -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Any -> T_Dec_32 -> (Any -> T_Dec_32) -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dhcong_120 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v9)
((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v8))
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2) -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5))
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6))
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v8 T_Vec_24
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v5 T__'8866'Nf'8902'__4
v6
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v8 T__'8866'Nf'8902'__4
v9
-> (T_Dec_32 -> T_Dec_32 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong'8322'_70
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v5)
(T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v8))
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6)
(T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v9))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v8 T_Vec_24
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C_ƛ_18 T__'8866'Nf'8902'__4
v7
-> case T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v1 of
MAlonzo.Code.Utils.C__'8658'__482 T_Kind_476
v8 T_Kind_476
v9
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_ƛ_18 T__'8866'Nf'8902'__4
v13
-> (T_Dec_32 -> T_Dec_32) -> T_Dec_32 -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong_40
(T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2)
-> Any -> Any -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v8)) (T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
v9)
(T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v7) (T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v13))
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v12
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Kind_476
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v6
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_ƛ_18 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v9
-> (T_Dec_32 -> T_Dec_32) -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong_40
((T_Ctx'8902'_2
-> T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6 -> T_Dec_32)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6 -> T_Dec_32
du_decNeTy_874 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v6) (T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v9))
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v8 T_Vec_24
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v5
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v7 T__'8866'Nf'8902'__4
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v7 T__'8866'Nf'8902'__4
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v7
-> (T_Dec_32 -> T_Dec_32) -> T_Dec_32 -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong_40
(T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480) (T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v5) (T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v7))
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v7 T__'8866'Nf'8902'__4
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v7 T_Vec_24
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v5 T__'8866'Nf'8902'__4
v6 T__'8866'Nf'8902'__4
v7
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v9 T__'8866'Nf'8902'__4
v10 T__'8866'Nf'8902'__4
v11
-> (Any
-> Any
-> T_Dec_32
-> (Any -> T_Dec_32)
-> (Any -> T_Dec_32)
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Any
-> Any
-> T_Dec_32
-> (Any -> T_Dec_32)
-> (Any -> T_Dec_32)
-> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dhcong'8322'_180 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v10)
(T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v11) ((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v9))
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
(T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v6))
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v5) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v7))
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v9 T_Vec_24
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v5 T_Vec_24
v6
-> case T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3 of
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 T__'8866'Nf'8902'__4
v8 T__'8866'Nf'8902'__4
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_ne_20 T__'8866'Ne'8902'__6
v9
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_con_22 T__'8866'Nf'8902'__4
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_μ_24 T_Kind_476
v8 T__'8866'Nf'8902'__4
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Integer
v8 T_Vec_24
v9
-> let v10 :: T_Dec_32
v10
= Integer -> Integer -> T_Dec_32
MAlonzo.Code.Data.Nat.Properties.d__'8799'__1528
(Integer -> Integer
forall a b. a -> b
coe Integer
v5) (Integer -> Integer
forall a b. a -> b
coe Integer
v8) in
Any -> T_Dec_32
forall a b. a -> b
coe
(case T_Dec_32 -> T_Dec_32
forall a b. a -> b
coe T_Dec_32
v10 of
MAlonzo.Code.Relation.Nullary.C__because__46 Bool
v11 T_Reflects_14
v12
-> if Bool -> Bool
forall a b. a -> b
coe Bool
v11
then (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v12)
(let v13 :: t
v13
= (T_Ctx'8902'_2 -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32)
-> Any -> Any -> Any -> Any -> t
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32
du_decNfTy'45'VecList_914 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478) (T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v6)
(T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v9) in
Any -> Any
forall a b. a -> b
coe
(case Any -> T_Dec_32
forall a b. a -> b
coe Any
forall a. a
v13 of
MAlonzo.Code.Relation.Nullary.C__because__46 Bool
v14 T_Reflects_14
v15
-> if Bool -> Bool
forall a b. a -> b
coe Bool
v14
then (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v15)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
v14)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe
Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22
Any
forall a. a
erased))
else (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v15)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
v14)
(T_Reflects_14 -> Any
forall a b. a -> b
coe
T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26))
T_Dec_32
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
else (Any -> Any -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
v12)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46 (Bool -> Any
forall a b. a -> b
coe Bool
v11)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26))
T_Dec_32
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError)
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T__'8866'Nf'8902'__4
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decNeTy_874 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Ne'8902'__6 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Ne'8902'__6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decNeTy_874 :: T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Ne'8902'__6
-> T__'8866'Ne'8902'__6
-> T_Dec_32
d_decNeTy_874 T_Ctx'8902'_2
v0 ~T_Kind_476
v1 T__'8866'Ne'8902'__6
v2 T__'8866'Ne'8902'__6
v3 = T_Ctx'8902'_2
-> T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6 -> T_Dec_32
du_decNeTy_874 T_Ctx'8902'_2
v0 T__'8866'Ne'8902'__6
v2 T__'8866'Ne'8902'__6
v3
du_decNeTy_874 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Ne'8902'__6 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Ne'8902'__6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
du_decNeTy_874 :: T_Ctx'8902'_2
-> T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6 -> T_Dec_32
du_decNeTy_874 T_Ctx'8902'_2
v0 T__'8866'Ne'8902'__6
v1 T__'8866'Ne'8902'__6
v2
= case T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v1 of
MAlonzo.Code.Type.BetaNormal.C_'96'_8 T__'8715''8902'__14
v5
-> case T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v2 of
MAlonzo.Code.Type.BetaNormal.C_'96'_8 T__'8715''8902'__14
v8
-> (T_Dec_32 -> T_Dec_32) -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong_40
((T_Ctx'8902'_2
-> T__'8715''8902'__14 -> T__'8715''8902'__14 -> T_Dec_32)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T__'8715''8902'__14 -> T__'8715''8902'__14 -> T_Dec_32
du_decTyVar_830 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T__'8715''8902'__14 -> Any
forall a b. a -> b
coe T__'8715''8902'__14
v5) (T__'8715''8902'__14 -> Any
forall a b. a -> b
coe T__'8715''8902'__14
v8))
MAlonzo.Code.Type.BetaNormal.C__'183'__10 T_Kind_476
v7 T__'8866'Ne'8902'__6
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_'94'_12 T_TyCon_6
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Ne'8902'__6
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C__'183'__10 T_Kind_476
v4 T__'8866'Ne'8902'__6
v6 T__'8866'Nf'8902'__4
v7
-> case T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v2 of
MAlonzo.Code.Type.BetaNormal.C_'96'_8 T__'8715''8902'__14
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'183'__10 T_Kind_476
v9 T__'8866'Ne'8902'__6
v11 T__'8866'Nf'8902'__4
v12
-> (Any
-> Any
-> T_Dec_32
-> (Any -> T_Dec_32)
-> (Any -> T_Dec_32)
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Any
-> Any
-> T_Dec_32
-> (Any -> T_Dec_32)
-> (Any -> T_Dec_32)
-> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dhcong'8322'_180 (T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v11)
(T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v12) ((T_Kind_476 -> T_Kind_476 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T_Kind_476 -> T_Dec_32
d_decKind_138 (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v4) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v9))
((T_Ctx'8902'_2
-> T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6 -> T_Dec_32)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6 -> T_Dec_32
du_decNeTy_874 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T__'8866'Ne'8902'__6 -> Any
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v6))
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v4) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v7))
MAlonzo.Code.Type.BetaNormal.C_'94'_12 T_TyCon_6
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T__'8866'Ne'8902'__6
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Type.BetaNormal.C_'94'_12 T_TyCon_6
v5
-> case T__'8866'Ne'8902'__6 -> T__'8866'Ne'8902'__6
forall a b. a -> b
coe T__'8866'Ne'8902'__6
v2 of
MAlonzo.Code.Type.BetaNormal.C_'96'_8 T__'8715''8902'__14
v8
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C__'183'__10 T_Kind_476
v7 T__'8866'Ne'8902'__6
v9 T__'8866'Nf'8902'__4
v10
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
MAlonzo.Code.Type.BetaNormal.C_'94'_12 T_TyCon_6
v8
-> (T_Dec_32 -> T_Dec_32) -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong_40
((T_TyCon_6 -> T_TyCon_6 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe T_TyCon_6 -> T_TyCon_6 -> T_Dec_32
du_decTyCon_932 (T_TyCon_6 -> Any
forall a b. a -> b
coe T_TyCon_6
v5) (T_TyCon_6 -> Any
forall a b. a -> b
coe T_TyCon_6
v8))
T__'8866'Ne'8902'__6
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T__'8866'Ne'8902'__6
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decNfTy'45'List_884 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_Kind_476 ->
[MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4] ->
[MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4] ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decNfTy'45'List_884 :: T_Ctx'8902'_2
-> T_Kind_476
-> [T__'8866'Nf'8902'__4]
-> [T__'8866'Nf'8902'__4]
-> T_Dec_32
d_decNfTy'45'List_884 T_Ctx'8902'_2
v0 T_Kind_476
v1 [T__'8866'Nf'8902'__4]
v2 [T__'8866'Nf'8902'__4]
v3
= case [T__'8866'Nf'8902'__4] -> T_List_382 Any
forall a b. a -> b
coe [T__'8866'Nf'8902'__4]
v2 of
[]
-> case [T__'8866'Nf'8902'__4] -> T_List_382 Any
forall a b. a -> b
coe [T__'8866'Nf'8902'__4]
v3 of
[]
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased)
(:) Any
v4 T_List_382 Any
v5
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
T_List_382 Any
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
(:) Any
v4 T_List_382 Any
v5
-> case [T__'8866'Nf'8902'__4] -> T_List_382 Any
forall a b. a -> b
coe [T__'8866'Nf'8902'__4]
v3 of
[]
-> (Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_false_8)
(T_Reflects_14 -> Any
forall a b. a -> b
coe T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'8319'_26)
(:) Any
v6 T_List_382 Any
v7
-> (T_Dec_32 -> T_Dec_32 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong'8322'_70
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v1) (Any -> Any
forall a b. a -> b
coe Any
v4) (Any -> Any
forall a b. a -> b
coe Any
v6))
((T_Ctx'8902'_2
-> T_Kind_476
-> [T__'8866'Nf'8902'__4]
-> [T__'8866'Nf'8902'__4]
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Kind_476
-> [T__'8866'Nf'8902'__4]
-> [T__'8866'Nf'8902'__4]
-> T_Dec_32
d_decNfTy'45'List_884 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v1) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v5) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v7))
T_List_382 Any
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_List_382 Any
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decNfTy'45'VecList_914 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
Integer ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Data.Vec.Base.T_Vec_24 ->
MAlonzo.Code.Data.Vec.Base.T_Vec_24 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decNfTy'45'VecList_914 :: T_Ctx'8902'_2
-> Integer -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32
d_decNfTy'45'VecList_914 T_Ctx'8902'_2
v0 ~Integer
v1 T_Kind_476
v2 T_Vec_24
v3 T_Vec_24
v4
= T_Ctx'8902'_2 -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32
du_decNfTy'45'VecList_914 T_Ctx'8902'_2
v0 T_Kind_476
v2 T_Vec_24
v3 T_Vec_24
v4
du_decNfTy'45'VecList_914 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Data.Vec.Base.T_Vec_24 ->
MAlonzo.Code.Data.Vec.Base.T_Vec_24 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
du_decNfTy'45'VecList_914 :: T_Ctx'8902'_2 -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32
du_decNfTy'45'VecList_914 T_Ctx'8902'_2
v0 T_Kind_476
v1 T_Vec_24
v2 T_Vec_24
v3
= case T_Vec_24 -> T_Vec_24
forall a b. a -> b
coe T_Vec_24
v2 of
T_Vec_24
MAlonzo.Code.Data.Vec.Base.C_'91''93'_28
-> (Any -> Any -> Any) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v3)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased))
MAlonzo.Code.Data.Vec.Base.C__'8759'__36 Any
v5 T_Vec_24
v6
-> case T_Vec_24 -> T_Vec_24
forall a b. a -> b
coe T_Vec_24
v3 of
MAlonzo.Code.Data.Vec.Base.C__'8759'__36 Any
v8 T_Vec_24
v9
-> (T_Dec_32 -> T_Dec_32 -> T_Dec_32) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong'8322'_70
((T_Ctx'8902'_2
-> T_Kind_476
-> [T__'8866'Nf'8902'__4]
-> [T__'8866'Nf'8902'__4]
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Kind_476
-> [T__'8866'Nf'8902'__4]
-> [T__'8866'Nf'8902'__4]
-> T_Dec_32
d_decNfTy'45'List_884 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v1) (Any -> Any
forall a b. a -> b
coe Any
v5) (Any -> Any
forall a b. a -> b
coe Any
v8))
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Vec_24 -> T_Vec_24 -> T_Dec_32
du_decNfTy'45'VecList_914 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v1) (T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v6) (T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v9))
T_Vec_24
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Vec_24
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_decTyCon_932 ::
MAlonzo.Code.Utils.T_Kind_476 ->
MAlonzo.Code.Builtin.Constant.Type.T_TyCon_6 ->
MAlonzo.Code.Builtin.Constant.Type.T_TyCon_6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d_decTyCon_932 :: T_Kind_476 -> T_TyCon_6 -> T_TyCon_6 -> T_Dec_32
d_decTyCon_932 ~T_Kind_476
v0 T_TyCon_6
v1 T_TyCon_6
v2 = T_TyCon_6 -> T_TyCon_6 -> T_Dec_32
du_decTyCon_932 T_TyCon_6
v1 T_TyCon_6
v2
du_decTyCon_932 ::
MAlonzo.Code.Builtin.Constant.Type.T_TyCon_6 ->
MAlonzo.Code.Builtin.Constant.Type.T_TyCon_6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
du_decTyCon_932 :: T_TyCon_6 -> T_TyCon_6 -> T_Dec_32
du_decTyCon_932 T_TyCon_6
v0 T_TyCon_6
v1
= case T_TyCon_6 -> T_TyCon_6
forall a b. a -> b
coe T_TyCon_6
v0 of
MAlonzo.Code.Builtin.Constant.Type.C_atomic_8 T_AtomicTyCon_6
v2
-> case T_TyCon_6 -> T_TyCon_6
forall a b. a -> b
coe T_TyCon_6
v1 of
MAlonzo.Code.Builtin.Constant.Type.C_atomic_8 T_AtomicTyCon_6
v3
-> (T_Dec_32 -> T_Dec_32) -> T_Dec_32 -> T_Dec_32
forall a b. a -> b
coe
T_Dec_32 -> T_Dec_32
MAlonzo.Code.Utils.Decidable.du_dcong_40
(T_AtomicTyCon_6 -> T_AtomicTyCon_6 -> T_Dec_32
MAlonzo.Code.Builtin.Constant.AtomicType.d_decAtomicTyCon_26
(T_AtomicTyCon_6 -> T_AtomicTyCon_6
forall a b. a -> b
coe T_AtomicTyCon_6
v2) (T_AtomicTyCon_6 -> T_AtomicTyCon_6
forall a b. a -> b
coe T_AtomicTyCon_6
v3))
T_TyCon_6
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
T_TyCon_6
MAlonzo.Code.Builtin.Constant.Type.C_list_10
-> (Any -> Any -> Any) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_TyCon_6 -> Any
forall a b. a -> b
coe T_TyCon_6
v1)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased))
T_TyCon_6
MAlonzo.Code.Builtin.Constant.Type.C_pair_12
-> (Any -> Any -> Any) -> Any -> Any -> T_Dec_32
forall a b. a -> b
coe
Any -> Any -> Any
forall a b. a -> b -> b
seq (T_TyCon_6 -> Any
forall a b. a -> b
coe T_TyCon_6
v1)
((Bool -> T_Reflects_14 -> T_Dec_32) -> Any -> Any -> Any
forall a b. a -> b
coe
Bool -> T_Reflects_14 -> T_Dec_32
MAlonzo.Code.Relation.Nullary.C__because__46
(Bool -> Any
forall a b. a -> b
coe Bool
MAlonzo.Code.Agda.Builtin.Bool.C_true_10)
((Any -> T_Reflects_14) -> Any -> Any
forall a b. a -> b
coe Any -> T_Reflects_14
MAlonzo.Code.Relation.Nullary.C_of'696'_22 Any
forall a. a
erased))
T_TyCon_6
_ -> T_Dec_32
forall a. a
MAlonzo.RTE.mazUnreachableError
d_checkType_1148 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Algorithmic.T__'8866'__168
d_checkType_1148 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168
d_checkType_1148 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_ScopedTm_522
v2 T__'8866'Nf'8902'__4
v3
= (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T__'8866'__168
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v2))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
(((Any -> Any) -> Either Any Any -> Either Any Any)
-> (Any -> Any) -> Any -> Any
forall a b. a -> b
coe
(Any -> Any) -> Either Any Any -> Either Any Any
MAlonzo.Code.Utils.du_withE_282
(\ Any
v7 ->
(T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_TypeError_12)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_TypeError_12
C_typeMismatch_100 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
(T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3) (Any -> Any
forall a b. a -> b
coe Any
v5))
((T_Dec_32 -> T_Either_6 (Any -> T_'8869'_4) Any) -> Any -> Any
forall a b. a -> b
coe
T_Dec_32 -> T_Either_6 (Any -> T_'8869'_4) Any
MAlonzo.Code.Utils.du_dec2Either_294
((T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T_Dec_32
d_decNfTy_864 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3)
(Any -> Any
forall a b. a -> b
coe Any
v5))))
((Any -> Any) -> Any
forall a b. a -> b
coe (\ Any
v7 -> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14 (Any -> Any
forall a b. a -> b
coe Any
v6)))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
d_inferType_1156 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_inferType_1156 :: T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_ScopedTm_522
v2
= case T_ScopedTm_522 -> T_ScopedTm_522
forall a b. a -> b
coe T_ScopedTm_522
v2 of
MAlonzo.Code.Scoped.C_'96'_528 T_WeirdFin_56
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_WeirdFin_56 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferVarType_792 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_WeirdFin_56 -> Any
forall a b. a -> b
coe T_WeirdFin_56
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Any -> Any
forall a b. a -> b
coe Any
v5)
((T__'8715'__16 -> T__'8866'__168) -> Any -> Any
forall a b. a -> b
coe T__'8715'__16 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_'96'_174 Any
v6))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
MAlonzo.Code.Scoped.C_Λ_530 T_Kind_476
v3 T_ScopedTm_522
v4
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2) -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
v3))
((T_Ctx_2 -> T_Ctx_2) -> T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2 -> T_Ctx_2
MAlonzo.Code.Algorithmic.C__'44''8902'__8 T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v4))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v5 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v6 Any
v7
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T_Kind_476 -> Any -> Any
forall a b. a -> b
coe T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_Π_14 T_Kind_476
v3 Any
v6)
((T__'8866'__168 -> T__'8866'__168) -> Any -> Any
forall a b. a -> b
coe T__'8866'__168 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_Λ_192 Any
v7))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))
MAlonzo.Code.Scoped.C__'183''8902'__532 T_ScopedTm_522
v3 T_ScopedTy_14
v4
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPi_296 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v5))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v6 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v6 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v7 Any
v8
-> case Any -> T_Σ_14
forall a b. a -> b
coe Any
v8 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v9 Any
v10
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v4) (Any -> Any
forall a b. a -> b
coe Any
v7))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v11 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNBE.RenamingSubstitution.d__'91'_'93'Nf_236
(T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
(Any -> Any
forall a b. a -> b
coe Any
v7) (Any -> Any
forall a b. a -> b
coe Any
v9) (Any -> Any
forall a b. a -> b
coe Any
v11))
((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'__168
-> T__'8866'Nf'8902'__4
-> T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'__168
-> T__'8866'Nf'8902'__4
-> T__'8866'__168
MAlonzo.Code.Algorithmic.C__'183''8902'_'47'__202
Any
v7 Any
v9 Any
v10 Any
v11))))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))))
MAlonzo.Code.Scoped.C_ƛ_534 T_ScopedTy_14
v3 T_ScopedTm_522
v4
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
((T_Ctx_2 -> T__'8866'Nf'8902'__4 -> T_Ctx_2)
-> T_Ctx_2 -> Any -> Any
forall a b. a -> b
coe T_Ctx_2 -> T__'8866'Nf'8902'__4 -> T_Ctx_2
MAlonzo.Code.Algorithmic.C__'44'__12 T_Ctx_2
v1 Any
v5) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v4))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v6 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v6 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v7 Any
v8
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C__'8658'__16 Any
v5 Any
v7)
((T__'8866'__168 -> T__'8866'__168) -> Any -> Any
forall a b. a -> b
coe T__'8866'__168 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_ƛ_180 Any
v8))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))))
MAlonzo.Code.Scoped.C__'183'__536 T_ScopedTm_522
v3 T_ScopedTm_522
v4
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isFunType_338 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v5))
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1314 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v4))))
MAlonzo.Code.Scoped.C_con_538 T_TmCon_198
v3
-> case T_TmCon_198 -> T_TmCon_198
forall a b. a -> b
coe T_TmCon_198
v3 of
MAlonzo.Code.RawU.C_tmCon_202 T__'8866''9839'_4
v4 Any
v5
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe
T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_con_22
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNBE.RenamingSubstitution.d_subNf'8709'_566
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Kind_476 -> T_Kind_476
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'9839'_480)
((T__'8866''9839'_4 -> T__'8866'Nf'8902'__4)
-> Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe T__'8866''9839'_4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Algorithmic.d_sty2ty_82 (T__'8866''9839'_4 -> Any
forall a b. a -> b
coe T__'8866''9839'_4
v4))))
((T__'8866'Nf'8902'__4 -> Any -> T__'8866'__168)
-> T__'8866'Nf'8902'__4 -> Any -> Any
forall a b. a -> b
coe
T__'8866'Nf'8902'__4 -> Any -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_con_248
(T__'8866''9839'_4 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Algorithmic.d_sty2ty_82 (T__'8866''9839'_4 -> T__'8866''9839'_4
forall a b. a -> b
coe T__'8866''9839'_4
v4)) Any
v5))
T_TmCon_198
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Scoped.C_error_540 T_ScopedTy_14
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Any -> Any
forall a b. a -> b
coe Any
v4)
(T__'8866'__168 -> Any
forall a b. a -> b
coe T__'8866'__168
MAlonzo.Code.Algorithmic.C_error_258))))
MAlonzo.Code.Scoped.C_builtin_544 T_Builtin_2
v3
-> (Any -> Either Any Any) -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Ctx'8902'_2 -> T_Builtin_2 -> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T_Builtin_2 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Algorithmic.Signature.d_btype_30 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Builtin_2 -> Any
forall a b. a -> b
coe T_Builtin_2
v3))
((T_Builtin_2 -> T__'8866'__168) -> T_Builtin_2 -> Any
forall a b. a -> b
coe T_Builtin_2 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_builtin_'47'__254 T_Builtin_2
v3))
MAlonzo.Code.Scoped.C_wrap_546 T_ScopedTy_14
v3 T_ScopedTy_14
v4 T_ScopedTm_522
v5
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_ScopedTy_14 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferKind_562 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v6 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42 ((T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14) -> Any -> Any
forall a b. a -> b
coe T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isPat_196 (Any -> Any
forall a b. a -> b
coe Any
v6))
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1352 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v4) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v5))))
MAlonzo.Code.Scoped.C_unwrap_548 T_ScopedTm_522
v3
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v3))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v4 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isMu_392 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v4))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v5 ->
case Any -> T_Σ_14
forall a b. a -> b
coe Any
v5 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v6 Any
v7
-> case Any -> T_Σ_14
forall a b. a -> b
coe Any
v7 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v8 Any
v9
-> case Any -> T_Σ_14
forall a b. a -> b
coe Any
v9 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v10 Any
v11
-> (Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866''8902'__20 -> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866''8902'__20 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNBE.d_nf_258 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> Any -> T__'8866''8902'__20 -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C__'183'__30 Any
v6
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> T__'8866''8902'__20 -> Any -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C__'183'__30
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
((T_Kind_476 -> T_Kind_476 -> T_Kind_476)
-> Any -> Any -> T_Kind_476
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
(Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v8))
((T__'8866''8902'__20 -> T__'8866''8902'__20) -> Any -> Any
forall a b. a -> b
coe
T__'8866''8902'__20 -> T__'8866''8902'__20
MAlonzo.Code.Type.C_ƛ_28
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> T__'8866''8902'__20 -> Any -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C_μ_32 Any
v6
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2)
-> Any -> Any -> T_Ctx'8902'_2
forall a b. a -> b
coe
T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6
(T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v6))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476)
-> Any -> Any -> T_Kind_476
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
((T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Ctx'8902'_2 -> Any -> Any -> Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.d_weakenNf_122
T_Ctx'8902'_2
v0
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
(Any -> Any
forall a b. a -> b
coe Any
v6)
(T_Kind_476 -> Any
forall a b. a -> b
coe
T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
Any
v6 Any
v8))
((T__'8715''8902'__14 -> T__'8866''8902'__20) -> Any -> Any
forall a b. a -> b
coe
T__'8715''8902'__14 -> T__'8866''8902'__20
MAlonzo.Code.Type.C_'96'_22
(T__'8715''8902'__14 -> Any
forall a b. a -> b
coe
T__'8715''8902'__14
MAlonzo.Code.Type.C_Z_16)))))
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> T_Kind_476
forall a b. a -> b
coe Any
v6) (Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v10))))
((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'__168
-> T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'__168
-> T__'8866'__168
MAlonzo.Code.Algorithmic.C_unwrap_220 Any
v6 Any
v8
Any
v10 Any
v11))
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> Any
forall a. a
MAlonzo.RTE.mazUnreachableError))))
MAlonzo.Code.Scoped.C_constr_556 T_ScopedTy_14
v3 Integer
v4 T_List_382 T_ScopedTm_522
v5
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v6 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T__'8866'Nf'8902'__4 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T__'8866'Nf'8902'__4 -> T_Either_6 T_TypeError_12 T_Σ_14
d_isSOPType_436 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v6))
((T_Ctx'8902'_2
-> T_Ctx_2
-> Integer
-> T_List_382 T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> Integer
-> T_List_382 T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1388 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (Integer -> Any
forall a b. a -> b
coe Integer
v4) (T_List_382 T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_List_382 T_ScopedTm_522
v5))))
MAlonzo.Code.Scoped.C_case_564 T_ScopedTy_14
v3 T_ScopedTm_522
v4 T_List_382 T_ScopedTm_522
v5
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v3)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v6 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2 -> T_ScopedTm_522 -> T_Either_6 T_TypeError_12 T_Σ_14
d_inferType_1156 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v4))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v7 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Σ_14 -> T_Either_6 T_TypeError_12 T_Σ_14
du_isSOP_476 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v7))
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1410 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_List_382 T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_List_382 T_ScopedTm_522
v5)
(Any -> Any
forall a b. a -> b
coe Any
v6))))))
T_ScopedTm_522
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_checkConstrArgs'45'List_1180 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
[MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4] ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Utils.List.T_IList_302
d_checkConstrArgs'45'List_1180 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> [T__'8866'Nf'8902'__4]
-> T_Either_6 T_TypeError_12 T_IList_302
d_checkConstrArgs'45'List_1180 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_List_382 T_ScopedTm_522
v2 [T__'8866'Nf'8902'__4]
v3
= case T_List_382 T_ScopedTm_522 -> T_List_382 Any
forall a b. a -> b
coe T_List_382 T_ScopedTm_522
v2 of
T_List_382 Any
MAlonzo.Code.Utils.C_'91''93'_386
-> case [T__'8866'Nf'8902'__4] -> T_List_382 Any
forall a b. a -> b
coe [T__'8866'Nf'8902'__4]
v3 of
[]
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_IList_302
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
(T_IList_302 -> Any
forall a b. a -> b
coe T_IList_302
MAlonzo.Code.Utils.List.C_'91''93'_308)
(:) Any
v4 T_List_382 Any
v5
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_IList_302
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 (T_TypeError_12 -> Any
forall a b. a -> b
coe T_TypeError_12
C_TooFewConstrArgs_86)
T_List_382 Any
_ -> T_Either_6 T_TypeError_12 T_IList_302
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Utils.C__'8759'__388 Any
v4 T_List_382 Any
v5
-> case [T__'8866'Nf'8902'__4] -> T_List_382 Any
forall a b. a -> b
coe [T__'8866'Nf'8902'__4]
v3 of
[]
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_IList_302
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 (T_TypeError_12 -> Any
forall a b. a -> b
coe T_TypeError_12
C_TooManyConstrArgs_84)
(:) Any
v6 T_List_382 Any
v7
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_IList_302
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168
d_checkType_1148 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (Any -> Any
forall a b. a -> b
coe Any
v4) (Any -> Any
forall a b. a -> b
coe Any
v6))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v8 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> [T__'8866'Nf'8902'__4]
-> T_Either_6 T_TypeError_12 T_IList_302)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> [T__'8866'Nf'8902'__4]
-> T_Either_6 T_TypeError_12 T_IList_302
d_checkConstrArgs'45'List_1180 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v5) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v7))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v9 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> T_IList_302 -> T_IList_302) -> Any -> Any -> Any
forall a b. a -> b
coe Any -> T_IList_302 -> T_IList_302
MAlonzo.Code.Utils.List.C__'8759'__314 Any
v8 Any
v9)))))
T_List_382 Any
_ -> T_Either_6 T_TypeError_12 T_IList_302
forall a. a
MAlonzo.RTE.mazUnreachableError
T_List_382 Any
_ -> T_Either_6 T_TypeError_12 T_IList_302
forall a. a
MAlonzo.RTE.mazUnreachableError
d_checkCases'45'List_1220 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
Integer ->
MAlonzo.Code.Data.Vec.Base.T_Vec_24 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Algorithmic.T_Cases_162
d_checkCases'45'List_1220 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> Integer
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162
d_checkCases'45'List_1220 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T__'8866'Nf'8902'__4
v2 T_List_382 T_ScopedTm_522
v3 ~Integer
v4 T_Vec_24
v5
= T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162
du_checkCases'45'List_1220 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T__'8866'Nf'8902'__4
v2 T_List_382 T_ScopedTm_522
v3 T_Vec_24
v5
du_checkCases'45'List_1220 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Data.Vec.Base.T_Vec_24 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Algorithmic.T_Cases_162
du_checkCases'45'List_1220 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162
du_checkCases'45'List_1220 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T__'8866'Nf'8902'__4
v2 T_List_382 T_ScopedTm_522
v3 T_Vec_24
v4
= case T_List_382 T_ScopedTm_522 -> T_List_382 Any
forall a b. a -> b
coe T_List_382 T_ScopedTm_522
v3 of
T_List_382 Any
MAlonzo.Code.Utils.C_'91''93'_386
-> case T_Vec_24 -> T_Vec_24
forall a b. a -> b
coe T_Vec_24
v4 of
T_Vec_24
MAlonzo.Code.Data.Vec.Base.C_'91''93'_28
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_Cases_162
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
(T_Cases_162 -> Any
forall a b. a -> b
coe T_Cases_162
MAlonzo.Code.Algorithmic.C_'91''93'_268)
MAlonzo.Code.Data.Vec.Base.C__'8759'__36 Any
v6 T_Vec_24
v7
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_Cases_162
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 (T_TypeError_12 -> Any
forall a b. a -> b
coe T_TypeError_12
C_TooFewCases_88)
T_Vec_24
_ -> T_Either_6 T_TypeError_12 T_Cases_162
forall a. a
MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Utils.C__'8759'__388 Any
v5 T_List_382 Any
v6
-> case T_Vec_24 -> T_Vec_24
forall a b. a -> b
coe T_Vec_24
v4 of
T_Vec_24
MAlonzo.Code.Data.Vec.Base.C_'91''93'_28
-> (Any -> Either Any Any)
-> Any -> T_Either_6 T_TypeError_12 T_Cases_162
forall a b. a -> b
coe Any -> Either Any Any
forall {a} {b}. a -> Either a b
MAlonzo.Code.Utils.C_inj'8321'_12 (T_TypeError_12 -> Any
forall a b. a -> b
coe T_TypeError_12
C_TooManyCases_90)
MAlonzo.Code.Data.Vec.Base.C__'8759'__36 Any
v8 T_Vec_24
v9
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Cases_162
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168
d_checkType_1148 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (Any -> Any
forall a b. a -> b
coe Any
v5)
((T__'8866'Nf'8902'__4
-> [T__'8866'Nf'8902'__4] -> T__'8866'Nf'8902'__4)
-> T__'8866'Nf'8902'__4 -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> [T__'8866'Nf'8902'__4] -> T__'8866'Nf'8902'__4
MAlonzo.Code.Algorithmic.du_mkCaseType_146 T__'8866'Nf'8902'__4
v2 Any
v8))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v10 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162)
-> Any -> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162
du_checkCases'45'List_1220 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v2) (T_List_382 Any -> Any
forall a b. a -> b
coe T_List_382 Any
v6)
(T_Vec_24 -> Any
forall a b. a -> b
coe T_Vec_24
v9))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v11 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((T__'8866'__168 -> T_Cases_162 -> T_Cases_162) -> Any -> Any -> Any
forall a b. a -> b
coe T__'8866'__168 -> T_Cases_162 -> T_Cases_162
MAlonzo.Code.Algorithmic.C__'8759'__280 Any
v10 Any
v11)))))
T_Vec_24
_ -> T_Either_6 T_TypeError_12 T_Cases_162
forall a. a
MAlonzo.RTE.mazUnreachableError
T_List_382 Any
_ -> T_Either_6 T_TypeError_12 T_Cases_162
forall a. a
MAlonzo.RTE.mazUnreachableError
d_'46'extendedlambda24_1314 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'46'extendedlambda24_1314 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T_ScopedTm_522
-> T_Σ_14
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
d_'46'extendedlambda24_1314 T_Ctx'8902'_2
v0 T_Ctx_2
v1 ~T_ScopedTm_522
v2 T_ScopedTm_522
v3 ~T_Σ_14
v4 T_Σ_14
v5
= T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1314 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_ScopedTm_522
v3 T_Σ_14
v5
du_'46'extendedlambda24_1314 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_'46'extendedlambda24_1314 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1314 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_ScopedTm_522
v2 T_Σ_14
v3
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v3 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v4 Any
v5
-> case Any -> T_Σ_14
forall a b. a -> b
coe Any
v5 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v6 Any
v7
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168
d_checkType_1148 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v2) (Any -> Any
forall a b. a -> b
coe Any
v4))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v8 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (Any -> Any
forall a b. a -> b
coe Any
v6)
((T__'8866'Nf'8902'__4
-> T__'8866'__168 -> T__'8866'__168 -> T__'8866'__168)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
-> T__'8866'__168 -> T__'8866'__168 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C__'183'__186 Any
v4 Any
v7 Any
v8))))
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_'46'extendedlambda24_1352 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'46'extendedlambda24_1352 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> T_ScopedTy_14
-> T_ScopedTm_522
-> T_Σ_14
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
d_'46'extendedlambda24_1352 T_Ctx'8902'_2
v0 T_Ctx_2
v1 ~T_ScopedTy_14
v2 T_ScopedTy_14
v3 T_ScopedTm_522
v4 ~T_Σ_14
v5 T_Σ_14
v6
= T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1352 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_ScopedTy_14
v3 T_ScopedTm_522
v4 T_Σ_14
v6
du_'46'extendedlambda24_1352 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_'46'extendedlambda24_1352 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1352 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_ScopedTy_14
v2 T_ScopedTm_522
v3 T_Σ_14
v4
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
-> T_ScopedTy_14
-> T_Kind_476
-> T_Either_6 T_TypeError_12 T__'8866'Nf'8902'__4
d_checkKind_554 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_ScopedTy_14 -> Any
forall a b. a -> b
coe T_ScopedTy_14
v2) (Any -> Any
forall a b. a -> b
coe Any
v5))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v7 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Either_6 T_TypeError_12 T__'8866'__168
d_checkType_1148 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_ScopedTm_522
v3)
((T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866''8902'__20 -> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866''8902'__20 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNBE.d_nf_258 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> Any -> T__'8866''8902'__20 -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C__'183'__30 Any
v5
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> T__'8866''8902'__20 -> Any -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C__'183'__30
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0)
((T_Kind_476 -> T_Kind_476 -> T_Kind_476)
-> Any -> Any -> T_Kind_476
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
(Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v6))
((T__'8866''8902'__20 -> T__'8866''8902'__20) -> Any -> Any
forall a b. a -> b
coe
T__'8866''8902'__20 -> T__'8866''8902'__20
MAlonzo.Code.Type.C_ƛ_28
((T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20)
-> Any -> T__'8866''8902'__20 -> Any -> Any
forall a b. a -> b
coe
T_Kind_476
-> T__'8866''8902'__20
-> T__'8866''8902'__20
-> T__'8866''8902'__20
MAlonzo.Code.Type.C_μ_32 Any
v5
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
((T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2)
-> Any -> Any -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2 -> T_Kind_476 -> T_Ctx'8902'_2
MAlonzo.Code.Type.C__'44''8902'__6 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> Any
forall a b. a -> b
coe Any
v5))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476)
-> Any -> Any -> T_Kind_476
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
((T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> T_Ctx'8902'_2 -> Any -> Any -> Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Kind_476
-> T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.d_weakenNf_122 T_Ctx'8902'_2
v0
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478))
((T_Kind_476 -> T_Kind_476 -> T_Kind_476) -> Any -> Any -> Any
forall a b. a -> b
coe
T_Kind_476 -> T_Kind_476 -> T_Kind_476
MAlonzo.Code.Utils.C__'8658'__482 (Any -> Any
forall a b. a -> b
coe Any
v5)
(T_Kind_476 -> Any
forall a b. a -> b
coe T_Kind_476
MAlonzo.Code.Utils.C_'42'_478)))
Any
v5 Any
v6))
((T__'8715''8902'__14 -> T__'8866''8902'__20) -> Any -> Any
forall a b. a -> b
coe
T__'8715''8902'__14 -> T__'8866''8902'__20
MAlonzo.Code.Type.C_'96'_22
(T__'8715''8902'__14 -> Any
forall a b. a -> b
coe T__'8715''8902'__14
MAlonzo.Code.Type.C_Z_16)))))
(T_Ctx'8902'_2
-> T_Kind_476 -> T__'8866'Nf'8902'__4 -> T__'8866''8902'__20
MAlonzo.Code.Type.BetaNormal.d_embNf_128
(T_Ctx'8902'_2 -> T_Ctx'8902'_2
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (Any -> T_Kind_476
forall a b. a -> b
coe Any
v5) (Any -> T__'8866'Nf'8902'__4
forall a b. a -> b
coe Any
v7)))))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v8 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe T_Kind_476
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
-> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_μ_24 Any
v5 Any
v6 Any
v7)
((T__'8866'__168 -> T__'8866'__168) -> Any -> Any
forall a b. a -> b
coe T__'8866'__168 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_wrap_210 Any
v8))))))
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_'46'extendedlambda24_1388 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
Integer ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'46'extendedlambda24_1388 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> Integer
-> T_List_382 T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
d_'46'extendedlambda24_1388 T_Ctx'8902'_2
v0 T_Ctx_2
v1 ~T_ScopedTy_14
v2 Integer
v3 T_List_382 T_ScopedTm_522
v4 ~T__'8866'Nf'8902'__4
v5 T_Σ_14
v6
= T_Ctx'8902'_2
-> T_Ctx_2
-> Integer
-> T_List_382 T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1388 T_Ctx'8902'_2
v0 T_Ctx_2
v1 Integer
v3 T_List_382 T_ScopedTm_522
v4 T_Σ_14
v6
du_'46'extendedlambda24_1388 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
Integer ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_'46'extendedlambda24_1388 :: T_Ctx'8902'_2
-> T_Ctx_2
-> Integer
-> T_List_382 T_ScopedTm_522
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1388 T_Ctx'8902'_2
v0 T_Ctx_2
v1 Integer
v2 T_List_382 T_ScopedTm_522
v3 T_Σ_14
v4
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((Integer -> Integer -> T_Either_6 T_TypeError_12 T_Fin_6)
-> Any -> Any -> Any
forall a b. a -> b
coe Integer -> Integer -> T_Either_6 T_TypeError_12 T_Fin_6
d_chkIdx_514 (Integer -> Any
forall a b. a -> b
coe Integer
v2) (Any -> Any
forall a b. a -> b
coe Any
v5))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v7 ->
(Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> Any
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> [T__'8866'Nf'8902'__4]
-> T_Either_6 T_TypeError_12 T_IList_302)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> [T__'8866'Nf'8902'__4]
-> T_Either_6 T_TypeError_12 T_IList_302
d_checkConstrArgs'45'List_1180 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T_List_382 T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_List_382 T_ScopedTm_522
v3)
((T_Vec_24 -> T_Fin_6 -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe T_Vec_24 -> T_Fin_6 -> Any
MAlonzo.Code.Data.Vec.Base.du_lookup_94 (Any -> Any
forall a b. a -> b
coe Any
v6) (Any -> Any
forall a b. a -> b
coe Any
v7)))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v8 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
((Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4) -> Any -> Any -> Any
forall a b. a -> b
coe Integer -> T_Vec_24 -> T__'8866'Nf'8902'__4
MAlonzo.Code.Type.BetaNormal.C_SOP_28 Any
v5 Any
v6)
((T_Fin_6
-> [T__'8866'Nf'8902'__4] -> T_IList_302 -> T__'8866'__168)
-> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Fin_6 -> [T__'8866'Nf'8902'__4] -> T_IList_302 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_constr_230 Any
v7
((T_Vec_24 -> T_Fin_6 -> Any) -> Any -> Any -> Any
forall a b. a -> b
coe T_Vec_24 -> T_Fin_6 -> Any
MAlonzo.Code.Data.Vec.Base.du_lookup_94 (Any -> Any
forall a b. a -> b
coe Any
v6) (Any -> Any
forall a b. a -> b
coe Any
v7))
Any
v8))))))
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
d_'46'extendedlambda24_1410 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Scoped.T_ScopedTy_14 ->
MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'46'extendedlambda24_1410 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_ScopedTy_14
-> T_ScopedTm_522
-> T_List_382 T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Σ_14
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
d_'46'extendedlambda24_1410 T_Ctx'8902'_2
v0 T_Ctx_2
v1 ~T_ScopedTy_14
v2 ~T_ScopedTm_522
v3 T_List_382 T_ScopedTm_522
v4 T__'8866'Nf'8902'__4
v5 ~T_Σ_14
v6 T_Σ_14
v7
= T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1410 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_List_382 T_ScopedTm_522
v4 T__'8866'Nf'8902'__4
v5 T_Σ_14
v7
du_'46'extendedlambda24_1410 ::
MAlonzo.Code.Type.T_Ctx'8902'_2 ->
MAlonzo.Code.Algorithmic.T_Ctx_2 ->
MAlonzo.Code.Utils.T_List_382 MAlonzo.Code.Scoped.T_ScopedTm_522 ->
MAlonzo.Code.Type.BetaNormal.T__'8866'Nf'8902'__4 ->
MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
MAlonzo.Code.Utils.T_Either_6
T_TypeError_12 MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
du_'46'extendedlambda24_1410 :: T_Ctx'8902'_2
-> T_Ctx_2
-> T_List_382 T_ScopedTm_522
-> T__'8866'Nf'8902'__4
-> T_Σ_14
-> T_Either_6 T_TypeError_12 T_Σ_14
du_'46'extendedlambda24_1410 T_Ctx'8902'_2
v0 T_Ctx_2
v1 T_List_382 T_ScopedTm_522
v2 T__'8866'Nf'8902'__4
v3 T_Σ_14
v4
= case T_Σ_14 -> T_Σ_14
forall a b. a -> b
coe T_Σ_14
v4 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v5 Any
v6
-> case Any -> T_Σ_14
forall a b. a -> b
coe Any
v6 of
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 Any
v7 Any
v8
-> (Either Any Any -> (Any -> Either Any Any) -> Either Any Any)
-> Any -> Any -> T_Either_6 T_TypeError_12 T_Σ_14
forall a b. a -> b
coe
Either Any Any -> (Any -> Either Any Any) -> Either Any Any
MAlonzo.Code.Utils.du_eitherBind_42
((T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162)
-> Any -> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe
T_Ctx'8902'_2
-> T_Ctx_2
-> T__'8866'Nf'8902'__4
-> T_List_382 T_ScopedTm_522
-> T_Vec_24
-> T_Either_6 T_TypeError_12 T_Cases_162
du_checkCases'45'List_1220 (T_Ctx'8902'_2 -> Any
forall a b. a -> b
coe T_Ctx'8902'_2
v0) (T_Ctx_2 -> Any
forall a b. a -> b
coe T_Ctx_2
v1) (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3) (T_List_382 T_ScopedTm_522 -> Any
forall a b. a -> b
coe T_List_382 T_ScopedTm_522
v2)
(Any -> Any
forall a b. a -> b
coe Any
v7))
((Any -> Any) -> Any
forall a b. a -> b
coe
(\ Any
v9 ->
(Any -> Either Any Any) -> Any -> Any
forall a b. a -> b
coe
Any -> Either Any Any
forall {a} {b}. b -> Either a b
MAlonzo.Code.Utils.C_inj'8322'_14
((Any -> Any -> T_Σ_14) -> Any -> Any -> Any
forall a b. a -> b
coe
Any -> Any -> T_Σ_14
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (T__'8866'Nf'8902'__4 -> Any
forall a b. a -> b
coe T__'8866'Nf'8902'__4
v3)
((Integer
-> T_Vec_24 -> T__'8866'__168 -> T_Cases_162 -> T__'8866'__168)
-> Any -> Any -> Any -> Any -> Any
forall a b. a -> b
coe Integer
-> T_Vec_24 -> T__'8866'__168 -> T_Cases_162 -> T__'8866'__168
MAlonzo.Code.Algorithmic.C_case_242 Any
v5 Any
v7 Any
v8 Any
v9))))
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError
T_Σ_14
_ -> T_Either_6 T_TypeError_12 T_Σ_14
forall a. a
MAlonzo.RTE.mazUnreachableError