{-# 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.Function.Properties.Inverse.HalfAdjointEquivalence 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.Equality
import qualified MAlonzo.Code.Agda.Primitive
import qualified MAlonzo.Code.Function.Bundles
d__'8771'__24 :: p -> p -> p -> p -> ()
d__'8771'__24 p
a0 p
a1 p
a2 p
a3 = ()
data T__'8771'__24
= C__'8771'_'46'constructor_973 (AgdaAny -> AgdaAny)
(AgdaAny -> AgdaAny)
d_to_46 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_to_46 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_to_46 T__'8771'__24
v0
= case T__'8771'__24 -> T__'8771'__24
forall a b. a -> b
coe T__'8771'__24
v0 of
C__'8771'_'46'constructor_973 AgdaAny -> AgdaAny
v1 AgdaAny -> AgdaAny
v2 -> (AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
forall a b. a -> b
coe AgdaAny -> AgdaAny
v1
T__'8771'__24
_ -> AgdaAny -> AgdaAny
forall a. a
MAlonzo.RTE.mazUnreachableError
d_from_48 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_from_48 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_from_48 T__'8771'__24
v0
= case T__'8771'__24 -> T__'8771'__24
forall a b. a -> b
coe T__'8771'__24
v0 of
C__'8771'_'46'constructor_973 AgdaAny -> AgdaAny
v1 AgdaAny -> AgdaAny
v2 -> (AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
forall a b. a -> b
coe AgdaAny -> AgdaAny
v2
T__'8771'__24
_ -> AgdaAny -> AgdaAny
forall a. a
MAlonzo.RTE.mazUnreachableError
d_left'45'inverse'45'of_52 ::
T__'8771'__24 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_left'45'inverse'45'of_52 :: T__'8771'__24 -> AgdaAny -> T__'8801'__12
d_left'45'inverse'45'of_52 = T__'8771'__24 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_right'45'inverse'45'of_56 ::
T__'8771'__24 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_right'45'inverse'45'of_56 :: T__'8771'__24 -> AgdaAny -> T__'8801'__12
d_right'45'inverse'45'of_56 = T__'8771'__24 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_left'45'right_60 ::
T__'8771'__24 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_left'45'right_60 :: T__'8771'__24 -> AgdaAny -> T__'8801'__12
d_left'45'right_60 = T__'8771'__24 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_injective_66 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
() ->
T__'8771'__24 ->
AgdaAny ->
AgdaAny ->
MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12 ->
MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_injective_66 :: ()
-> ()
-> ()
-> ()
-> T__'8771'__24
-> AgdaAny
-> AgdaAny
-> T__'8801'__12
-> T__'8801'__12
d_injective_66 = ()
-> ()
-> ()
-> ()
-> T__'8771'__24
-> AgdaAny
-> AgdaAny
-> T__'8801'__12
-> T__'8801'__12
forall a. a
erased
d_'8771''8658''8596'_78 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() -> T__'8771'__24 -> MAlonzo.Code.Function.Bundles.T_Inverse_1960
d_'8771''8658''8596'_78 :: () -> () -> () -> () -> T__'8771'__24 -> T_Inverse_1960
d_'8771''8658''8596'_78 ~()
v0 ~()
v1 ~()
v2 ~()
v3 T__'8771'__24
v4
= T__'8771'__24 -> T_Inverse_1960
du_'8771''8658''8596'_78 T__'8771'__24
v4
du_'8771''8658''8596'_78 ::
T__'8771'__24 -> MAlonzo.Code.Function.Bundles.T_Inverse_1960
du_'8771''8658''8596'_78 :: T__'8771'__24 -> T_Inverse_1960
du_'8771''8658''8596'_78 T__'8771'__24
v0
= ((AgdaAny -> AgdaAny) -> (AgdaAny -> AgdaAny) -> T_Inverse_1960)
-> AgdaAny -> AgdaAny -> T_Inverse_1960
forall a b. a -> b
coe
(AgdaAny -> AgdaAny) -> (AgdaAny -> AgdaAny) -> T_Inverse_1960
MAlonzo.Code.Function.Bundles.du_mk'8596''8347''8242'_2366
((T__'8771'__24 -> AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
forall a b. a -> b
coe T__'8771'__24 -> AgdaAny -> AgdaAny
d_to_46 (T__'8771'__24 -> AgdaAny
forall a b. a -> b
coe T__'8771'__24
v0)) ((T__'8771'__24 -> AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
forall a b. a -> b
coe T__'8771'__24 -> AgdaAny -> AgdaAny
d_from_48 (T__'8771'__24 -> AgdaAny
forall a b. a -> b
coe T__'8771'__24
v0))
d_from_88 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_from_88 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_from_88 T__'8771'__24
v0 = (T__'8771'__24 -> AgdaAny -> AgdaAny)
-> AgdaAny -> AgdaAny -> AgdaAny
forall a b. a -> b
coe T__'8771'__24 -> AgdaAny -> AgdaAny
d_from_48 (T__'8771'__24 -> AgdaAny
forall a b. a -> b
coe T__'8771'__24
v0)
d_injective_90 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
T__'8771'__24 ->
AgdaAny ->
AgdaAny ->
MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12 ->
MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_injective_90 :: ()
-> ()
-> ()
-> ()
-> T__'8771'__24
-> AgdaAny
-> AgdaAny
-> T__'8801'__12
-> T__'8801'__12
d_injective_90 = ()
-> ()
-> ()
-> ()
-> T__'8771'__24
-> AgdaAny
-> AgdaAny
-> T__'8801'__12
-> T__'8801'__12
forall a. a
erased
d_left'45'inverse'45'of_92 ::
T__'8771'__24 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_left'45'inverse'45'of_92 :: T__'8771'__24 -> AgdaAny -> T__'8801'__12
d_left'45'inverse'45'of_92 = T__'8771'__24 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_left'45'right_94 ::
T__'8771'__24 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_left'45'right_94 :: T__'8771'__24 -> AgdaAny -> T__'8801'__12
d_left'45'right_94 = T__'8771'__24 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_right'45'inverse'45'of_96 ::
T__'8771'__24 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_right'45'inverse'45'of_96 :: T__'8771'__24 -> AgdaAny -> T__'8801'__12
d_right'45'inverse'45'of_96 = T__'8771'__24 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_to_98 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_to_98 :: T__'8771'__24 -> AgdaAny -> AgdaAny
d_to_98 T__'8771'__24
v0 = (T__'8771'__24 -> AgdaAny -> AgdaAny)
-> AgdaAny -> AgdaAny -> AgdaAny
forall a b. a -> b
coe T__'8771'__24 -> AgdaAny -> AgdaAny
d_to_46 (T__'8771'__24 -> AgdaAny
forall a b. a -> b
coe T__'8771'__24
v0)
d_'8596''8658''8771'_100 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() -> MAlonzo.Code.Function.Bundles.T_Inverse_1960 -> T__'8771'__24
d_'8596''8658''8771'_100 :: () -> () -> () -> () -> T_Inverse_1960 -> T__'8771'__24
d_'8596''8658''8771'_100 ~()
v0 ~()
v1 ~()
v2 ~()
v3 T_Inverse_1960
v4
= T_Inverse_1960 -> T__'8771'__24
du_'8596''8658''8771'_100 T_Inverse_1960
v4
du_'8596''8658''8771'_100 ::
MAlonzo.Code.Function.Bundles.T_Inverse_1960 -> T__'8771'__24
du_'8596''8658''8771'_100 :: T_Inverse_1960 -> T__'8771'__24
du_'8596''8658''8771'_100 T_Inverse_1960
v0
= ((AgdaAny -> AgdaAny) -> (AgdaAny -> AgdaAny) -> T__'8771'__24)
-> (AgdaAny -> AgdaAny) -> (AgdaAny -> AgdaAny) -> T__'8771'__24
forall a b. a -> b
coe
(AgdaAny -> AgdaAny) -> (AgdaAny -> AgdaAny) -> T__'8771'__24
C__'8771'_'46'constructor_973
(T_Inverse_1960 -> AgdaAny -> AgdaAny
MAlonzo.Code.Function.Bundles.d_to_1972 (T_Inverse_1960 -> T_Inverse_1960
forall a b. a -> b
coe T_Inverse_1960
v0))
(T_Inverse_1960 -> AgdaAny -> AgdaAny
MAlonzo.Code.Function.Bundles.d_from_1974 (T_Inverse_1960 -> T_Inverse_1960
forall a b. a -> b
coe T_Inverse_1960
v0))
d_strictlyInverse'691'_130 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Function.Bundles.T_Inverse_1960 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_strictlyInverse'691'_130 :: () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
d_strictlyInverse'691'_130 = () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_right'45'inverse'45'of_188 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Function.Bundles.T_Inverse_1960 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_right'45'inverse'45'of_188 :: () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
d_right'45'inverse'45'of_188 = () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_left'45'right_194 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Function.Bundles.T_Inverse_1960 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_left'45'right_194 :: () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
d_left'45'right_194 = () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
forall a. a
erased
d_lemma_202 ::
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Agda.Primitive.T_Level_18 ->
() ->
MAlonzo.Code.Function.Bundles.T_Inverse_1960 ->
AgdaAny -> MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_lemma_202 :: () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
d_lemma_202 = () -> () -> () -> () -> T_Inverse_1960 -> AgdaAny -> T__'8801'__12
forall a. a
erased