content: {-# 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.Relation.Binary.Construct.NonStrictToStrict where
  
  import Data.Text qualified
  import MAlonzo.Code.Agda.Builtin.Sigma qualified
  import MAlonzo.Code.Agda.Primitive qualified
  import MAlonzo.Code.Data.Irrelevant qualified
  import MAlonzo.Code.Data.Sum.Base qualified
  import MAlonzo.Code.Relation.Binary.Definitions qualified
  import MAlonzo.Code.Relation.Binary.Structures qualified
  import MAlonzo.Code.Relation.Nullary.Decidable.Core qualified
  import MAlonzo.Code.Relation.Nullary.Negation.Core qualified
  import MAlonzo.Code.Relation.Nullary.Reflects qualified
  import MAlonzo.RTE (AgdaAny, add64, addInt, coe, eq64, eqInt, erased, geqInt, lt64, ltInt, mul64,
                      mulInt, quot64, quotInt, rem64, remInt, sub64, subInt, word64FromNat,
                      word64ToNat)
  import MAlonzo.RTE qualified
  
  -- Relation.Binary.Construct.NonStrictToStrict._≉_
  d__'8777'__20 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) -> AgdaAny -> AgdaAny -> ()
  d__'8777'__20 = erased
  -- Relation.Binary.Construct.NonStrictToStrict._<_
  d__'60'__26 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) -> AgdaAny -> AgdaAny -> ()
  d__'60'__26 = erased
  -- Relation.Binary.Construct.NonStrictToStrict.<⇒≤
  d_'60''8658''8804'_32 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    AgdaAny ->
    AgdaAny -> MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 -> AgdaAny
  d_'60''8658''8804'_32 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 ~v6 ~v7 v8
    = du_'60''8658''8804'_32 v8
  du_'60''8658''8804'_32 ::
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 -> AgdaAny
  du_'60''8658''8804'_32 v0
    = coe MAlonzo.Code.Agda.Builtin.Sigma.d_fst_28 (coe v0)
  -- Relation.Binary.Construct.NonStrictToStrict.<⇒≉
  d_'60''8658''8777'_38 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    AgdaAny -> MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20
  d_'60''8658''8777'_38 = erased
  -- Relation.Binary.Construct.NonStrictToStrict.≤∧≉⇒<
  d_'8804''8743''8777''8658''60'_44 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    (AgdaAny -> MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20) ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'8804''8743''8777''8658''60'_44 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 ~v6 ~v7
    = du_'8804''8743''8777''8658''60'_44
  du_'8804''8743''8777''8658''60'_44 ::
    AgdaAny ->
    (AgdaAny -> MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20) ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'8804''8743''8777''8658''60'_44
    = coe MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
  -- Relation.Binary.Construct.NonStrictToStrict.<⇒≱
  d_'60''8658''8817'_50 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    AgdaAny -> MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20
  d_'60''8658''8817'_50 = erased
  -- Relation.Binary.Construct.NonStrictToStrict.≤⇒≯
  d_'8804''8658''8815'_64 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20
  d_'8804''8658''8815'_64 = erased
  -- Relation.Binary.Construct.NonStrictToStrict.≰⇒>
  d_'8816''8658''62'_76 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30) ->
    AgdaAny ->
    AgdaAny ->
    (AgdaAny -> MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20) ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'8816''8658''62'_76 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8 v9 v10 v11
    = du_'8816''8658''62'_76 v6 v7 v8 v9 v10 v11
  du_'8816''8658''62'_76 ::
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30) ->
    AgdaAny ->
    AgdaAny ->
    (AgdaAny -> MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20) ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'8816''8658''62'_76 v0 v1 v2 v3 v4 v5
    = let v6 = coe v2 v3 v4 in
      coe
        (case coe v6 of
           MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v7
             -> coe
                  MAlonzo.Code.Relation.Nullary.Negation.Core.du_contradiction_44
                  erased
           MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v7
             -> coe
                  MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v7)
                  (coe (\ v8 -> coe v5 (coe v1 v3 v4 (coe v0 v4 v3 v8))))
           _ -> MAlonzo.RTE.mazUnreachableError)
  -- Relation.Binary.Construct.NonStrictToStrict.≮⇒≥
  d_'8814''8658''8805'_126 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30) ->
    AgdaAny ->
    AgdaAny ->
    (MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
     MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20) ->
    AgdaAny
  d_'8814''8658''8805'_126 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8 v9 v10
                           v11 ~v12
    = du_'8814''8658''8805'_126 v6 v7 v8 v9 v10 v11
  du_'8814''8658''8805'_126 ::
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30) ->
    AgdaAny -> AgdaAny -> AgdaAny
  du_'8814''8658''8805'_126 v0 v1 v2 v3 v4 v5
    = let v6 = coe v1 v4 v5 in
      coe
        (let v7 = coe v3 v5 v4 in
         coe
           (case coe v6 of
              MAlonzo.Code.Relation.Nullary.Decidable.Core.C__because__32 v8 v9
                -> let v10
                         = case coe v7 of
                             MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v10 -> coe v10
                             _ -> MAlonzo.RTE.mazUnreachableError in
                   coe
                     (if coe v8
                        then let v11
                                   = case coe v7 of
                                       MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v11 -> coe v11
                                       _ -> MAlonzo.RTE.mazUnreachableError in
                             coe
                               (case coe v9 of
                                  MAlonzo.Code.Relation.Nullary.Reflects.C_of'696'_22 v12
                                    -> coe v2 v5 v4 (coe v0 v4 v5 v12)
                                  _ -> coe v11)
                        else (case coe v7 of
                                MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v11 -> coe v11
                                MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v11
                                  -> case coe v9 of
                                       MAlonzo.Code.Relation.Nullary.Reflects.C_of'8319'_26
                                         -> coe
                                              MAlonzo.Code.Relation.Nullary.Negation.Core.du_contradiction_44
                                              erased
                                       _ -> coe v10
                                _ -> MAlonzo.RTE.mazUnreachableError))
              _ -> MAlonzo.RTE.mazUnreachableError))
  -- Relation.Binary.Construct.NonStrictToStrict.<-irrefl
  d_'60''45'irrefl_196 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20
  d_'60''45'irrefl_196 = erased
  -- Relation.Binary.Construct.NonStrictToStrict.<-trans
  d_'60''45'trans_202 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsPartialOrder_174 ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'60''45'trans_202 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8 v9 v10 v11
    = du_'60''45'trans_202 v6 v7 v8 v9 v10 v11
  du_'60''45'trans_202 ::
    MAlonzo.Code.Relation.Binary.Structures.T_IsPartialOrder_174 ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'60''45'trans_202 v0 v1 v2 v3 v4 v5
    = case coe v4 of
        MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v6 v7
          -> case coe v5 of
               MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v8 v9
                 -> coe
                      MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
                      (coe
                         MAlonzo.Code.Relation.Binary.Structures.d_trans_84
                         (MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182 (coe v0))
                         v1 v2 v3 v6 v8)
                      (coe
                         (\ v10 ->
                            coe
                              v7
                              (coe
                                 MAlonzo.Code.Relation.Binary.Structures.d_antisym_184 v0 v1 v2 v6
                                 (coe
                                    MAlonzo.Code.Relation.Binary.Structures.d_trans_84
                                    (MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182
                                       (coe v0))
                                    v2 v3 v1 v8
                                    (coe
                                       MAlonzo.Code.Relation.Binary.Structures.d_reflexive_82
                                       (MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182
                                          (coe v0))
                                       v3 v1
                                       (coe
                                          MAlonzo.Code.Relation.Binary.Structures.d_sym_36
                                          (MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
                                             (coe
                                                MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182
                                                (coe v0)))
                                          v1 v3 v10))))))
               _ -> MAlonzo.RTE.mazUnreachableError
        _ -> MAlonzo.RTE.mazUnreachableError
  -- Relation.Binary.Construct.NonStrictToStrict.<-≤-trans
  d_'60''45''8804''45'trans_256 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    AgdaAny -> MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'60''45''8804''45'trans_256 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8 v9
                                v10 v11 v12 v13 v14
    = du_'60''45''8804''45'trans_256 v6 v7 v8 v9 v10 v11 v12 v13 v14
  du_'60''45''8804''45'trans_256 ::
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    AgdaAny -> MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'60''45''8804''45'trans_256 v0 v1 v2 v3 v4 v5 v6 v7 v8
    = case coe v7 of
        MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v9 v10
          -> coe
               MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v1 v4 v5 v6 v9 v8)
               (coe
                  (\ v11 ->
                     coe v10 (coe v2 v4 v5 v9 (coe v3 v5 v6 v4 (coe v0 v4 v6 v11) v8))))
        _ -> MAlonzo.RTE.mazUnreachableError
  -- Relation.Binary.Construct.NonStrictToStrict.≤-<-trans
  d_'8804''45''60''45'trans_274 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'8804''45''60''45'trans_274 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8 v9
                                v10 v11 v12 v13
    = du_'8804''45''60''45'trans_274 v6 v7 v8 v9 v10 v11 v12 v13
  du_'8804''45''60''45'trans_274 ::
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'8804''45''60''45'trans_274 v0 v1 v2 v3 v4 v5 v6 v7
    = case coe v7 of
        MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v8 v9
          -> coe
               MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v0 v3 v4 v5 v6 v8)
               (coe (\ v10 -> coe v9 (coe v1 v4 v5 v8 (coe v2 v4 v3 v5 v10 v6))))
        _ -> MAlonzo.RTE.mazUnreachableError
  -- Relation.Binary.Construct.NonStrictToStrict.<-asym
  d_'60''45'asym_290 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Data.Irrelevant.T_Irrelevant_20
  d_'60''45'asym_290 = erased
  -- Relation.Binary.Construct.NonStrictToStrict.<-respˡ-≈
  d_'60''45'resp'737''45''8776'_300 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'60''45'resp'737''45''8776'_300 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8
                                    v9 v10 v11 v12
    = du_'60''45'resp'737''45''8776'_300 v6 v7 v8 v9 v10 v11 v12
  du_'60''45'resp'737''45''8776'_300 ::
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'60''45'resp'737''45''8776'_300 v0 v1 v2 v3 v4 v5 v6
    = case coe v6 of
        MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v7 v8
          -> coe
               MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v1 v2 v3 v4 v5 v7)
               (coe (\ v9 -> coe v8 (coe v0 v3 v4 v2 v5 v9)))
        _ -> MAlonzo.RTE.mazUnreachableError
  -- Relation.Binary.Construct.NonStrictToStrict.<-respʳ-≈
  d_'60''45'resp'691''45''8776'_312 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'60''45'resp'691''45''8776'_312 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8
                                    v9 v10 v11 v12 v13
    = du_'60''45'resp'691''45''8776'_312 v6 v7 v8 v9 v10 v11 v12 v13
  du_'60''45'resp'691''45''8776'_312 ::
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    AgdaAny ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'60''45'resp'691''45''8776'_312 v0 v1 v2 v3 v4 v5 v6 v7
    = case coe v7 of
        MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v8 v9
          -> coe
               MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v2 v3 v4 v5 v6 v8)
               (coe (\ v10 -> coe v9 (coe v1 v3 v5 v4 v10 (coe v0 v4 v5 v6))))
        _ -> MAlonzo.RTE.mazUnreachableError
  -- Relation.Binary.Construct.NonStrictToStrict.<-resp-≈
  d_'60''45'resp'45''8776'_328 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsEquivalence_26 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  d_'60''45'resp'45''8776'_328 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7
    = du_'60''45'resp'45''8776'_328 v6 v7
  du_'60''45'resp'45''8776'_328 ::
    MAlonzo.Code.Relation.Binary.Structures.T_IsEquivalence_26 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14 ->
    MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
  du_'60''45'resp'45''8776'_328 v0 v1
    = case coe v1 of
        MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 v2 v3
          -> coe
               MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
               (coe
                  du_'60''45'resp'691''45''8776'_312
                  (coe MAlonzo.Code.Relation.Binary.Structures.d_sym_36 (coe v0))
                  (coe MAlonzo.Code.Relation.Binary.Structures.d_trans_38 (coe v0))
                  (coe v2))
               (coe
                  du_'60''45'resp'737''45''8776'_300
                  (coe MAlonzo.Code.Relation.Binary.Structures.d_trans_38 (coe v0))
                  (coe v3))
        _ -> MAlonzo.RTE.mazUnreachableError
  -- Relation.Binary.Construct.NonStrictToStrict.<-trichotomous
  d_'60''45'trichotomous_352 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    (AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
    (AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30) ->
    AgdaAny ->
    AgdaAny -> MAlonzo.Code.Relation.Binary.Definitions.T_Tri_158
  d_'60''45'trichotomous_352 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 ~v6 v7 ~v8 v9
                             v10 v11
    = du_'60''45'trichotomous_352 v7 v9 v10 v11
  du_'60''45'trichotomous_352 ::
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    (AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30) ->
    AgdaAny ->
    AgdaAny -> MAlonzo.Code.Relation.Binary.Definitions.T_Tri_158
  du_'60''45'trichotomous_352 v0 v1 v2 v3
    = let v4 = coe v0 v2 v3 in
      coe
        (case coe v4 of
           MAlonzo.Code.Relation.Nullary.Decidable.Core.C__because__32 v5 v6
             -> if coe v5
                  then case coe v6 of
                         MAlonzo.Code.Relation.Nullary.Reflects.C_of'696'_22 v7
                           -> coe MAlonzo.Code.Relation.Binary.Definitions.C_tri'8776'_180 v7
                         _ -> MAlonzo.RTE.mazUnreachableError
                  else coe
                         seq (coe v6)
                         (let v7 = coe v1 v2 v3 in
                          coe
                            (case coe v7 of
                               MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v8
                                 -> coe
                                      MAlonzo.Code.Relation.Binary.Definitions.C_tri'60'_172
                                      (coe
                                         MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v8) erased)
                               MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v8
                                 -> coe
                                      MAlonzo.Code.Relation.Binary.Definitions.C_tri'62'_188
                                      (coe
                                         MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32 (coe v8) erased)
                               _ -> MAlonzo.RTE.mazUnreachableError))
           _ -> MAlonzo.RTE.mazUnreachableError)
  -- Relation.Binary.Construct.NonStrictToStrict.<-decidable
  d_'60''45'decidable_434 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    AgdaAny ->
    AgdaAny -> MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20
  d_'60''45'decidable_434 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6 v7 v8 v9
    = du_'60''45'decidable_434 v6 v7 v8 v9
  du_'60''45'decidable_434 ::
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    AgdaAny ->
    AgdaAny -> MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20
  du_'60''45'decidable_434 v0 v1 v2 v3
    = coe
        MAlonzo.Code.Relation.Nullary.Decidable.Core.du__'215''45'dec__76
        (coe v1 v2 v3)
        (coe
           MAlonzo.Code.Relation.Nullary.Decidable.Core.du_'172''63'_70
           (coe v0 v2 v3))
  -- Relation.Binary.Construct.NonStrictToStrict.<-isStrictPartialOrder
  d_'60''45'isStrictPartialOrder_444 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsPartialOrder_174 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsStrictPartialOrder_290
  d_'60''45'isStrictPartialOrder_444 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6
    = du_'60''45'isStrictPartialOrder_444 v6
  du_'60''45'isStrictPartialOrder_444 ::
    MAlonzo.Code.Relation.Binary.Structures.T_IsPartialOrder_174 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsStrictPartialOrder_290
  du_'60''45'isStrictPartialOrder_444 v0
    = coe
        MAlonzo.Code.Relation.Binary.Structures.C_IsStrictPartialOrder'46'constructor_14045
        (MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
           (coe
              MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182 (coe v0)))
        (coe du_'60''45'trans_202 (coe v0))
        (coe
           du_'60''45'resp'45''8776'_328
           (coe
              MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
              (coe
                 MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182 (coe v0)))
           (coe
              MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'45''8776'_118
              (coe
                 MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_182
                 (coe v0))))
  -- Relation.Binary.Construct.NonStrictToStrict.<-isDecStrictPartialOrder
  d_'60''45'isDecStrictPartialOrder_490 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsDecPartialOrder_224 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsDecStrictPartialOrder_336
  d_'60''45'isDecStrictPartialOrder_490 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6
    = du_'60''45'isDecStrictPartialOrder_490 v6
  du_'60''45'isDecStrictPartialOrder_490 ::
    MAlonzo.Code.Relation.Binary.Structures.T_IsDecPartialOrder_224 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsDecStrictPartialOrder_336
  du_'60''45'isDecStrictPartialOrder_490 v0
    = coe
        MAlonzo.Code.Relation.Binary.Structures.C_IsDecStrictPartialOrder'46'constructor_18663
        (coe
           du_'60''45'isStrictPartialOrder_444
           (coe
              MAlonzo.Code.Relation.Binary.Structures.d_isPartialOrder_234
              (coe v0)))
        (coe
           MAlonzo.Code.Relation.Binary.Structures.d__'8799'__236 (coe v0))
        (coe
           du_'60''45'decidable_434
           (coe
              MAlonzo.Code.Relation.Binary.Structures.d__'8799'__236 (coe v0))
           (coe
              MAlonzo.Code.Relation.Binary.Structures.d__'8804''63'__238
              (coe v0)))
  -- Relation.Binary.Construct.NonStrictToStrict.<-isStrictTotalOrder₁
  d_'60''45'isStrictTotalOrder'8321'_548 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsTotalOrder_404 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsStrictTotalOrder_534
  d_'60''45'isStrictTotalOrder'8321'_548 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6
                                         v7
    = du_'60''45'isStrictTotalOrder'8321'_548 v6 v7
  du_'60''45'isStrictTotalOrder'8321'_548 ::
    (AgdaAny ->
     AgdaAny ->
     MAlonzo.Code.Relation.Nullary.Decidable.Core.T_Dec_20) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsTotalOrder_404 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsStrictTotalOrder_534
  du_'60''45'isStrictTotalOrder'8321'_548 v0 v1
    = coe
        MAlonzo.Code.Relation.Binary.Structures.C_IsStrictTotalOrder'46'constructor_24953
        (coe
           du_'60''45'isStrictPartialOrder_444
           (coe
              MAlonzo.Code.Relation.Binary.Structures.d_isPartialOrder_412
              (coe v1)))
        (coe
           du_'60''45'trichotomous_352 (coe v0)
           (coe MAlonzo.Code.Relation.Binary.Structures.d_total_414 (coe v1)))
  -- Relation.Binary.Construct.NonStrictToStrict.<-isStrictTotalOrder₂
  d_'60''45'isStrictTotalOrder'8322'_602 ::
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    MAlonzo.Code.Agda.Primitive.T_Level_18 ->
    () ->
    (AgdaAny -> AgdaAny -> ()) ->
    (AgdaAny -> AgdaAny -> ()) ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsDecTotalOrder_460 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsStrictTotalOrder_534
  d_'60''45'isStrictTotalOrder'8322'_602 ~v0 ~v1 ~v2 ~v3 ~v4 ~v5 v6
    = du_'60''45'isStrictTotalOrder'8322'_602 v6
  du_'60''45'isStrictTotalOrder'8322'_602 ::
    MAlonzo.Code.Relation.Binary.Structures.T_IsDecTotalOrder_460 ->
    MAlonzo.Code.Relation.Binary.Structures.T_IsStrictTotalOrder_534
  du_'60''45'isStrictTotalOrder'8322'_602 v0
    = coe
        du_'60''45'isStrictTotalOrder'8321'_548
        (coe
           MAlonzo.Code.Relation.Binary.Structures.d__'8799'__472 (coe v0))
        (coe
           MAlonzo.Code.Relation.Binary.Structures.d_isTotalOrder_470
           (coe v0))
  