{-# 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.Algebra.Construct.NaturalChoice.MinOp 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.Sigma
import qualified MAlonzo.Code.Agda.Primitive
import qualified MAlonzo.Code.Algebra.Bundles
import qualified MAlonzo.Code.Algebra.Construct.NaturalChoice.Base
import qualified MAlonzo.Code.Algebra.Structures
import qualified MAlonzo.Code.Data.Sum.Base
import qualified MAlonzo.Code.Function.Base
import qualified MAlonzo.Code.Relation.Binary.Bundles
import qualified MAlonzo.Code.Relation.Binary.Reasoning.Base.Double
import qualified MAlonzo.Code.Relation.Binary.Structures
d__'8776'__20 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> ()
d__'8776'__20 = erased
d__'8818'__22 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> ()
d__'8818'__22 = erased
d_Associative_100 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Associative_100 = erased
d_Commutative_104 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Commutative_104 = erased
d_Congruent'8321'_106 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny) -> ()
d_Congruent'8321'_106 = erased
d_Congruent'8322'_108 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Congruent'8322'_108 = erased
d_Idempotent_112 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Idempotent_112 = erased
d_Identity_116 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Identity_116 = erased
d_LeftIdentity_136 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_LeftIdentity_136 = erased
d_LeftZero_140 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_LeftZero_140 = erased
d_RightIdentity_154 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_RightIdentity_154 = erased
d_RightZero_158 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_RightZero_158 = erased
d_Selective_160 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Selective_160 = erased
d_Zero_162 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny -> AgdaAny) -> ()
d_Zero_162 = erased
d_IsBand_168 a0 a1 a2 a3 a4 a5 = ()
d_IsCommutativeSemigroup_178 a0 a1 a2 a3 a4 a5 = ()
d_IsMagma_194 a0 a1 a2 a3 a4 a5 = ()
d_IsMonoid_196 a0 a1 a2 a3 a4 a5 a6 = ()
d_IsSelectiveMagma_206 a0 a1 a2 a3 a4 a5 = ()
d_IsSemigroup_208 a0 a1 a2 a3 a4 a5 = ()
d_x'8851'y'8804'x_1690 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny
d_x'8851'y'8804'x_1690 ~v0 ~v1 ~v2 v3 v4 v5 v6
= du_x'8851'y'8804'x_1690 v3 v4 v5 v6
du_x'8851'y'8804'x_1690 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny
du_x'8851'y'8804'x_1690 v0 v1 v2 v3
= let v4
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3 in
case coe v4 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v5
-> let v6
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'737''45''8776'_100
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v6))
(coe v2) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v5))
(let v7
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_refl_98
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v7))
(coe v2))
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v5
-> let v6
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'737''45''8776'_100
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v6))
(coe v2) (coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3 v5))
(coe v5)
_ -> MAlonzo.RTE.mazUnreachableError
d_x'8851'y'8804'y_1716 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny
d_x'8851'y'8804'y_1716 ~v0 ~v1 ~v2 v3 v4 v5 v6
= du_x'8851'y'8804'y_1716 v3 v4 v5 v6
du_x'8851'y'8804'y_1716 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny
du_x'8851'y'8804'y_1716 v0 v1 v2 v3
= let v4
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3 in
case coe v4 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v5
-> let v6
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'737''45''8776'_100
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v6))
(coe v3) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v5))
(coe v5)
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v5
-> let v6
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'737''45''8776'_100
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v6))
(coe v3) (coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3 v5))
(let v7
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_refl_98
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v7))
(coe v3))
_ -> MAlonzo.RTE.mazUnreachableError
d_'8851''45'comm_1738 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'comm_1738 ~v0 ~v1 ~v2 v3 v4 v5 v6
= du_'8851''45'comm_1738 v3 v4 v5 v6
du_'8851''45'comm_1738 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'comm_1738 v0 v1 v2 v3
= let v4
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3 in
case coe v4 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v5
-> let v6
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_38
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v6)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v5)
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v2)
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v3 v2 v5))
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v5
-> let v6
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_38
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v6)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3 v5)
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v2)
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v3 v2 v5))
_ -> MAlonzo.RTE.mazUnreachableError
d_'8851''45'cong'737'_1764 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'cong'737'_1764 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_'8851''45'cong'737'_1764 v3 v4 v5 v6 v7 v8
du_'8851''45'cong'737'_1764 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'cong'737'_1764 v0 v1 v2 v3 v4 v5
= let v6
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3 in
case coe v6 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v7
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v4
(let v8
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'691''45''8776'_106
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v8))
(coe v2) (coe v3) (coe v4) (coe v5) (coe v7))))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v7))
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v7
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v3) (coe v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v4
(let v8
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'737''45''8776'_100
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v8))
(coe v2) (coe v3) (coe v4) (coe v5) (coe v7))))
(coe v5))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3 v7))
_ -> MAlonzo.RTE.mazUnreachableError
d_'8851''45'cong'691'_1802 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'cong'691'_1802 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_'8851''45'cong'691'_1802 v3 v4 v5 v6 v7 v8
du_'8851''45'cong'691'_1802 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'cong'691'_1802 v0 v1 v2 v3 v4 v5
= coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v4 v2)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v4 v2)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v4 v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v4 v2)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v4 v2))
(coe du_'8851''45'comm_1738 (coe v0) (coe v1) (coe v2) (coe v4)))
(coe
du_'8851''45'cong'737'_1764 (coe v0) (coe v1) (coe v2) (coe v3)
(coe v4) (coe v5)))
(coe du_'8851''45'comm_1738 (coe v0) (coe v1) (coe v2) (coe v3)))
d_'8851''45'cong_1812 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'cong_1812 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8 v9 v10
= du_'8851''45'cong_1812 v3 v4 v5 v6 v7 v8 v9 v10
du_'8851''45'cong_1812 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'cong_1812 v0 v1 v2 v3 v4 v5 v6 v7
= let v8
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_38
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v8)))
(coe
MAlonzo.Code.Function.Base.du__'45''10216'_'8739'_290
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2)
(\ v9 v10 -> v9) v4 v5)
(coe
MAlonzo.Code.Function.Base.du_'8739'_'10217''45'__296
(\ v9 v10 -> v10)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2)
v4 v5)
(coe
MAlonzo.Code.Function.Base.du_'8739'_'10217''45'__296
(\ v9 v10 -> v10)
(\ v9 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v9 v5)
v2 v3)
(coe
du_'8851''45'cong'737'_1764 (coe v0) (coe v1) (coe v2) (coe v4)
(coe v5) (coe v7))
(coe
du_'8851''45'cong'691'_1802 (coe v0) (coe v1) (coe v5) (coe v2)
(coe v3) (coe v6))
d_'8851''45'assoc_1826 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'assoc_1826 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7
= du_'8851''45'assoc_1826 v3 v4 v5 v6 v7
du_'8851''45'assoc_1826 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'assoc_1826 v0 v1 v2 v3 v4
= let v5
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3 in
let v6
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v3 v4 in
case coe v5 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v7
-> case coe v6 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v8
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v3 v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v3 v4)))
(coe
du_'8851''45'cong'737'_1764 (coe v0) (coe v1) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v3 v4)
(coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v3 v4 v8)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v7))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v4
(coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
v2 v3 v4 v7 v8)))
(coe
du_'8851''45'cong'691'_1802 (coe v0) (coe v1) (coe v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v7)))
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v8
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
v1 v3 v4)))
(coe
du_'8851''45'cong'737'_1764 (coe v0) (coe v1) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
(coe v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v3 v4 v8)))
(coe
du_'8851''45'cong'691'_1802 (coe v0) (coe v1) (coe v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3 v7)))
_ -> MAlonzo.RTE.mazUnreachableError
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v7
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
(coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
v3 v2
(coe du_x'8851'y'8804'x_1690 (coe v0) (coe v1) (coe v3) (coe v4))
v7)))
(coe
du_'8851''45'cong'691'_1802 (coe v0) (coe v1) (coe v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3 v7)))
_ -> MAlonzo.RTE.mazUnreachableError
d_'8851''45'idem_1866 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny
d_'8851''45'idem_1866 ~v0 ~v1 ~v2 v3 v4 v5
= du_'8851''45'idem_1866 v3 v4 v5
du_'8851''45'idem_1866 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny
du_'8851''45'idem_1866 v0 v1 v2
= coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v2
(let v3
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_refl_98
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v3))
(coe v2))
d_'8851''45'sel_1870 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30
d_'8851''45'sel_1870 ~v0 ~v1 ~v2 v3 v4 v5 v6
= du_'8851''45'sel_1870 v3 v4 v5 v6
du_'8851''45'sel_1870 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> MAlonzo.Code.Data.Sum.Base.T__'8846'__30
du_'8851''45'sel_1870 v0 v1 v2 v3
= coe
MAlonzo.Code.Data.Sum.Base.du_map_84
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3)
(coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3)
d_'8851''45'identity'737'_1878 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
d_'8851''45'identity'737'_1878 v0 v1 v2 v3
= coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v0 v1 v3 (coe v2 v3)
d_'8851''45'identity'691'_1884 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
d_'8851''45'identity'691'_1884 v0 v1 v2 v3
= coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v0 v3 v1 (coe v2 v3)
d_'8851''45'identity_1890 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
(AgdaAny -> AgdaAny) -> MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'8851''45'identity_1890 v0 v1 v2
= coe
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(coe
(\ v3 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v0 v1 v3 (coe v2 v3)))
(coe
(\ v3 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v0 v3 v1 (coe v2 v3)))
d_'8851''45'zero'737'_1896 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
d_'8851''45'zero'737'_1896 v0 v1 v2 v3
= coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v0 v1 v3 (coe v2 v3)
d_'8851''45'zero'691'_1902 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> (AgdaAny -> AgdaAny) -> AgdaAny -> AgdaAny
d_'8851''45'zero'691'_1902 v0 v1 v2 v3
= coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v0 v3 v1 (coe v2 v3)
d_'8851''45'zero_1908 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
(AgdaAny -> AgdaAny) -> MAlonzo.Code.Agda.Builtin.Sigma.T_Σ_14
d_'8851''45'zero_1908 v0 v1 v2
= coe
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(coe
(\ v3 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v0 v1 v3 (coe v2 v3)))
(coe
(\ v3 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v0 v3 v1 (coe v2 v3)))
d_'8851''45'isMagma_1912 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsMagma_98
d_'8851''45'isMagma_1912 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'isMagma_1912 v3 v4
du_'8851''45'isMagma_1912 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsMagma_98
du_'8851''45'isMagma_1912 v0 v1
= coe
MAlonzo.Code.Algebra.Structures.C_IsMagma'46'constructor_495
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))))
(coe du_'8851''45'cong_1812 (coe v0) (coe v1))
d_'8851''45'isSemigroup_1914 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsSemigroup_206
d_'8851''45'isSemigroup_1914 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'isSemigroup_1914 v3 v4
du_'8851''45'isSemigroup_1914 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsSemigroup_206
du_'8851''45'isSemigroup_1914 v0 v1
= coe
MAlonzo.Code.Algebra.Structures.C_IsSemigroup'46'constructor_3475
(coe du_'8851''45'isMagma_1912 (coe v0) (coe v1))
(coe du_'8851''45'assoc_1826 (coe v0) (coe v1))
d_'8851''45'isBand_1916 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsBand_242
d_'8851''45'isBand_1916 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'isBand_1916 v3 v4
du_'8851''45'isBand_1916 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsBand_242
du_'8851''45'isBand_1916 v0 v1
= coe
MAlonzo.Code.Algebra.Structures.C_IsBand'46'constructor_4211
(coe du_'8851''45'isSemigroup_1914 (coe v0) (coe v1))
(coe du_'8851''45'idem_1866 (coe v0) (coe v1))
d_'8851''45'isCommutativeSemigroup_1918 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsCommutativeSemigroup_282
d_'8851''45'isCommutativeSemigroup_1918 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'isCommutativeSemigroup_1918 v3 v4
du_'8851''45'isCommutativeSemigroup_1918 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsCommutativeSemigroup_282
du_'8851''45'isCommutativeSemigroup_1918 v0 v1
= coe
MAlonzo.Code.Algebra.Structures.C_IsCommutativeSemigroup'46'constructor_5047
(coe du_'8851''45'isSemigroup_1914 (coe v0) (coe v1))
(coe du_'8851''45'comm_1738 (coe v0) (coe v1))
d_'8851''45'isSelectiveMagma_1920 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsSelectiveMagma_170
d_'8851''45'isSelectiveMagma_1920 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'isSelectiveMagma_1920 v3 v4
du_'8851''45'isSelectiveMagma_1920 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Structures.T_IsSelectiveMagma_170
du_'8851''45'isSelectiveMagma_1920 v0 v1
= coe
MAlonzo.Code.Algebra.Structures.C_IsSelectiveMagma'46'constructor_2741
(coe du_'8851''45'isMagma_1912 (coe v0) (coe v1))
(coe du_'8851''45'sel_1870 (coe v0) (coe v1))
d_'8851''45'isMonoid_1924 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
(AgdaAny -> AgdaAny) ->
MAlonzo.Code.Algebra.Structures.T_IsMonoid_370
d_'8851''45'isMonoid_1924 ~v0 ~v1 ~v2 v3 v4 v5 v6
= du_'8851''45'isMonoid_1924 v3 v4 v5 v6
du_'8851''45'isMonoid_1924 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
(AgdaAny -> AgdaAny) ->
MAlonzo.Code.Algebra.Structures.T_IsMonoid_370
du_'8851''45'isMonoid_1924 v0 v1 v2 v3
= coe
MAlonzo.Code.Algebra.Structures.C_IsMonoid'46'constructor_7357
(coe du_'8851''45'isSemigroup_1914 (coe v0) (coe v1))
(coe
MAlonzo.Code.Agda.Builtin.Sigma.C__'44'__32
(coe
(\ v4 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v4 (coe v3 v4)))
(coe
(\ v4 ->
coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v4 v2 (coe v3 v4))))
d_'8851''45'rawMagma_1928 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_RawMagma_8
d_'8851''45'rawMagma_1928 ~v0 ~v1 ~v2 ~v3 v4
= du_'8851''45'rawMagma_1928 v4
du_'8851''45'rawMagma_1928 ::
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_RawMagma_8
du_'8851''45'rawMagma_1928 v0
= coe
MAlonzo.Code.Algebra.Bundles.C_RawMagma'46'constructor_47
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v0))
d_'8851''45'magma_1930 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_Magma_36
d_'8851''45'magma_1930 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'magma_1930 v3 v4
du_'8851''45'magma_1930 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_Magma_36
du_'8851''45'magma_1930 v0 v1
= coe
MAlonzo.Code.Algebra.Bundles.C_Magma'46'constructor_447
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v1))
(coe du_'8851''45'isMagma_1912 (coe v0) (coe v1))
d_'8851''45'semigroup_1932 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_Semigroup_206
d_'8851''45'semigroup_1932 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'semigroup_1932 v3 v4
du_'8851''45'semigroup_1932 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_Semigroup_206
du_'8851''45'semigroup_1932 v0 v1
= coe
MAlonzo.Code.Algebra.Bundles.C_Semigroup'46'constructor_3121
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v1))
(coe du_'8851''45'isSemigroup_1914 (coe v0) (coe v1))
d_'8851''45'band_1934 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_Band_266
d_'8851''45'band_1934 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'band_1934 v3 v4
du_'8851''45'band_1934 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_Band_266
du_'8851''45'band_1934 v0 v1
= coe
MAlonzo.Code.Algebra.Bundles.C_Band'46'constructor_4059
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v1))
(coe du_'8851''45'isBand_1916 (coe v0) (coe v1))
d_'8851''45'commutativeSemigroup_1936 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_CommutativeSemigroup_332
d_'8851''45'commutativeSemigroup_1936 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'commutativeSemigroup_1936 v3 v4
du_'8851''45'commutativeSemigroup_1936 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_CommutativeSemigroup_332
du_'8851''45'commutativeSemigroup_1936 v0 v1
= coe
MAlonzo.Code.Algebra.Bundles.C_CommutativeSemigroup'46'constructor_5063
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v1))
(coe du_'8851''45'isCommutativeSemigroup_1918 (coe v0) (coe v1))
d_'8851''45'selectiveMagma_1938 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_SelectiveMagma_90
d_'8851''45'selectiveMagma_1938 ~v0 ~v1 ~v2 v3 v4
= du_'8851''45'selectiveMagma_1938 v3 v4
du_'8851''45'selectiveMagma_1938 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
MAlonzo.Code.Algebra.Bundles.T_SelectiveMagma_90
du_'8851''45'selectiveMagma_1938 v0 v1
= coe
MAlonzo.Code.Algebra.Bundles.C_SelectiveMagma'46'constructor_1305
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v1))
(coe du_'8851''45'isSelectiveMagma_1920 (coe v0) (coe v1))
d_'8851''45'monoid_1942 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
(AgdaAny -> AgdaAny) -> MAlonzo.Code.Algebra.Bundles.T_Monoid_502
d_'8851''45'monoid_1942 ~v0 ~v1 ~v2 v3 v4 v5 v6
= du_'8851''45'monoid_1942 v3 v4 v5 v6
du_'8851''45'monoid_1942 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
(AgdaAny -> AgdaAny) -> MAlonzo.Code.Algebra.Bundles.T_Monoid_502
du_'8851''45'monoid_1942 v0 v1 v2 v3
= coe
MAlonzo.Code.Algebra.Bundles.C_Monoid'46'constructor_7625
(MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100
(coe v1))
v2
(coe
du_'8851''45'isMonoid_1924 (coe v0) (coe v1) (coe v2) (coe v3))
d_x'8851'y'8776'x'8658'x'8804'y_1950 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_x'8851'y'8776'x'8658'x'8804'y_1950 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7
= du_x'8851'y'8776'x'8658'x'8804'y_1950 v3 v4 v5 v6 v7
du_x'8851'y'8776'x'8658'x'8804'y_1950 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_x'8851'y'8776'x'8658'x'8804'y_1950 v0 v1 v2 v3 v4
= let v5
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v2 v3 in
case coe v5 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v6 -> coe v6
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v6
-> coe
MAlonzo.Code.Relation.Binary.Structures.d_reflexive_82
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
v2 v3
(let v7
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_38
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v7)))
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v3
(let v8
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v8)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v2 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v2 v3 v6))
_ -> MAlonzo.RTE.mazUnreachableError
d_x'8851'y'8776'y'8658'y'8804'x_1982 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_x'8851'y'8776'y'8658'y'8804'x_1982 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7
= du_x'8851'y'8776'y'8658'y'8804'x_1982 v3 v4 v5 v6 v7
du_x'8851'y'8776'y'8658'y'8804'x_1982 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_x'8851'y'8776'y'8658'y'8804'x_1982 v0 v1 v2 v3 v4
= coe
du_x'8851'y'8776'x'8658'x'8804'y_1950 (coe v0) (coe v1) (coe v3)
(coe v2)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v3)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe v3) (coe v3)
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v3))
(coe v4))
(coe du_'8851''45'comm_1738 (coe v0) (coe v1) (coe v3) (coe v2))))
d_mono'45''8804''45'distrib'45''8851'_1996 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny) ->
(AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
(AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
AgdaAny -> AgdaAny -> AgdaAny
d_mono'45''8804''45'distrib'45''8851'_1996 ~v0 ~v1 ~v2 v3 v4 v5 v6
v7 v8 v9
= du_mono'45''8804''45'distrib'45''8851'_1996 v3 v4 v5 v6 v7 v8 v9
du_mono'45''8804''45'distrib'45''8851'_1996 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
(AgdaAny -> AgdaAny) ->
(AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
(AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny) ->
AgdaAny -> AgdaAny -> AgdaAny
du_mono'45''8804''45'distrib'45''8851'_1996 v0 v1 v2 v3 v4 v5 v6
= let v7
= coe
MAlonzo.Code.Relation.Binary.Structures.d_total_128
(MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0))
v5 v6 in
case coe v7 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v8
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v5 v6))
(coe v2 v5)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v2 v5)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 (coe v2 v5) (coe v2 v6) (coe v4 v5 v6 v8)))
(coe
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v5 v6)
v5
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8804'y'8658'x'8851'y'8776'x_106
v1 v5 v6 v8)))
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v8
-> coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v5 v6))
(coe v2 v6)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe v2 v6)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe v2 v5) (coe v2 v6)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 (coe v2 v5) (coe v2 v6) (coe v4 v6 v5 v8)))
(coe
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v5 v6)
v6
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d_x'8805'y'8658'x'8851'y'8776'y_112
v1 v5 v6 v8)))
_ -> MAlonzo.RTE.mazUnreachableError
d_x'8804'y'8658'x'8851'z'8804'y_2042 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_x'8804'y'8658'x'8851'z'8804'y_2042 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_x'8804'y'8658'x'8851'z'8804'y_2042 v3 v4 v5 v6 v7 v8
du_x'8804'y'8658'x'8851'z'8804'y_2042 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_x'8804'y'8658'x'8851'z'8804'y_2042 v0 v1 v2 v3 v4 v5
= coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
v2 v3
(coe du_x'8851'y'8804'x_1690 (coe v0) (coe v1) (coe v2) (coe v4))
v5
d_x'8804'y'8658'z'8851'x'8804'y_2054 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_x'8804'y'8658'z'8851'x'8804'y_2054 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_x'8804'y'8658'z'8851'x'8804'y_2054 v3 v4 v5 v6 v7 v8
du_x'8804'y'8658'z'8851'x'8804'y_2054 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_x'8804'y'8658'z'8851'x'8804'y_2054 v0 v1 v2 v3 v4 v5
= coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v4 v2)
v2 v3
(coe du_x'8851'y'8804'y_1716 (coe v0) (coe v1) (coe v4) (coe v2))
v5
d_x'8804'y'8851'z'8658'x'8804'y_2066 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_x'8804'y'8851'z'8658'x'8804'y_2066 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_x'8804'y'8851'z'8658'x'8804'y_2066 v3 v4 v5 v6 v7 v8
du_x'8804'y'8851'z'8658'x'8804'y_2066 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_x'8804'y'8851'z'8658'x'8804'y_2066 v0 v1 v2 v3 v4 v5
= coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
v3 v5
(coe du_x'8851'y'8804'x_1690 (coe v0) (coe v1) (coe v3) (coe v4))
d_x'8804'y'8851'z'8658'x'8804'z_2080 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_x'8804'y'8851'z'8658'x'8804'z_2080 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_x'8804'y'8851'z'8658'x'8804'z_2080 v3 v4 v5 v6 v7 v8
du_x'8804'y'8851'z'8658'x'8804'z_2080 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_x'8804'y'8851'z'8658'x'8804'z_2080 v0 v1 v2 v3 v4 v5
= coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
v4 v5
(coe du_x'8851'y'8804'y_1716 (coe v0) (coe v1) (coe v3) (coe v4))
d_'8851''45'mono'45''8804'_2088 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'mono'45''8804'_2088 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8 v9
v10
= du_'8851''45'mono'45''8804'_2088 v3 v4 v5 v6 v7 v8 v9 v10
du_'8851''45'mono'45''8804'_2088 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'mono'45''8804'_2088 v0 v1 v2 v3 v4 v5 v6 v7
= let v8
= coe du_'8851''45'sel_1870 (coe v0) (coe v1) (coe v3) (coe v5) in
case coe v8 of
MAlonzo.Code.Data.Sum.Base.C_inj'8321'_38 v9
-> let v10
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'691''45''8776'_106
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v10))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v5)
(let v11
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v11)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v5)
v3 v9)
(coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
v2 v3
(coe du_x'8851'y'8804'x_1690 (coe v0) (coe v1) (coe v2) (coe v4))
v6)
MAlonzo.Code.Data.Sum.Base.C_inj'8322'_42 v9
-> let v10
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'691''45''8776'_106
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v10))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
(coe v5)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v5)
(let v11
= coe
MAlonzo.Code.Relation.Binary.Bundles.du_preorder_248 (coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.d_sym_36
(MAlonzo.Code.Relation.Binary.Structures.d_isEquivalence_80
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isPreorder_154 (coe v11)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v5)
v5 v9)
(coe
MAlonzo.Code.Relation.Binary.Structures.d_trans_84
(MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v4)
v4 v5
(coe du_x'8851'y'8804'y_1716 (coe v0) (coe v1) (coe v2) (coe v4))
v7)
_ -> MAlonzo.RTE.mazUnreachableError
d_'8851''45'mono'737''45''8804'_2138 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'mono'737''45''8804'_2138 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_'8851''45'mono'737''45''8804'_2138 v3 v4 v5 v6 v7 v8
du_'8851''45'mono'737''45''8804'_2138 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'mono'737''45''8804'_2138 v0 v1 v2 v3 v4 v5
= coe
du_'8851''45'mono'45''8804'_2088 (coe v0) (coe v1) (coe v3)
(coe v4) (coe v2) (coe v2) (coe v5)
(let v6
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_refl_98
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v6))
(coe v2))
d_'8851''45'mono'691''45''8804'_2148 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'mono'691''45''8804'_2148 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8
= du_'8851''45'mono'691''45''8804'_2148 v3 v4 v5 v6 v7 v8
du_'8851''45'mono'691''45''8804'_2148 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'mono'691''45''8804'_2148 v0 v1 v2 v3 v4 v5
= coe
du_'8851''45'mono'45''8804'_2088 (coe v0) (coe v1) (coe v2)
(coe v2) (coe v3) (coe v4)
(let v6
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_refl_98
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v6))
(coe v2))
(coe v5)
d_'8851''45'glb_2160 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'glb_2160 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7 v8 v9
= du_'8851''45'glb_2160 v3 v4 v5 v6 v7 v8 v9
du_'8851''45'glb_2160 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'glb_2160 v0 v1 v2 v3 v4 v5 v6
= let v7
= MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0) in
coe
MAlonzo.Code.Relation.Binary.Structures.du_'8764''45'resp'737''45''8776'_100
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126 (coe v7))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v2)
(coe v2) (coe du_'8851''45'idem_1866 (coe v0) (coe v1) (coe v2))
(coe
du_'8851''45'mono'45''8804'_2088 (coe v0) (coe v1) (coe v2)
(coe v3) (coe v2) (coe v4) (coe v5) (coe v6))
d_'8851''45'triangulate_2174 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
d_'8851''45'triangulate_2174 ~v0 ~v1 ~v2 v3 v4 v5 v6 v7
= du_'8851''45'triangulate_2174 v3 v4 v5 v6 v7
du_'8851''45'triangulate_2174 ::
MAlonzo.Code.Relation.Binary.Bundles.T_TotalPreorder_204 ->
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.T_MinOperator_84 ->
AgdaAny -> AgdaAny -> AgdaAny -> AgdaAny
du_'8851''45'triangulate_2174 v0 v1 v2 v3 v4
= coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_begin'45'equality__124
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3))
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3))
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776'_156
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du_step'45''8776''728'_176
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
MAlonzo.Code.Relation.Binary.Reasoning.Base.Double.du__'8718'_234
(coe
MAlonzo.Code.Relation.Binary.Structures.d_isPreorder_126
(coe
MAlonzo.Code.Relation.Binary.Bundles.d_isTotalPreorder_226
(coe v0)))
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2 v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)))
(coe
du_'8851''45'assoc_1826 (coe v0) (coe v1) (coe v2) (coe v3)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4)))
(coe
du_'8851''45'cong'737'_1764 (coe v0) (coe v1) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
v4)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v4))
(coe
du_'8851''45'assoc_1826 (coe v0) (coe v1) (coe v3) (coe v3)
(coe v4))))
(coe
du_'8851''45'assoc_1826 (coe v0) (coe v1) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
(coe v4)))
(coe
du_'8851''45'cong'691'_1802 (coe v0) (coe v1) (coe v4)
(coe
MAlonzo.Code.Function.Base.du__'45''10216'_'8739'_290
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2)
(\ v5 v6 -> v5)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
v3)
(coe
MAlonzo.Code.Function.Base.du_'8739'_'10217''45'__296
(\ v5 v6 -> v6)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
v3)
(coe
du_'8851''45'cong'737'_1764 (coe v0) (coe v1) (coe v2)
(coe
MAlonzo.Code.Algebra.Construct.NaturalChoice.Base.d__'8851'__100 v1
v3 v3)
(coe v3) (coe du_'8851''45'idem_1866 (coe v0) (coe v1) (coe v3)))))