{-# 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.Data.String.Properties where
import MAlonzo.RTE (coe, erased, AgdaAny, addInt, subInt, mulInt,
quotInt, remInt, geqInt, ltInt, eqInt, add64, sub64, mul64, quot64,
rem64, lt64, eq64, word64FromNat, word64ToNat)
import qualified MAlonzo.RTE
import qualified Data.Text
import qualified MAlonzo.Code.Agda.Builtin.Equality
import qualified MAlonzo.Code.Agda.Builtin.String
import qualified MAlonzo.Code.Agda.Primitive
import qualified MAlonzo.Code.Data.Char.Properties
import qualified MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict
import qualified MAlonzo.Code.Data.List.Relation.Binary.Pointwise
import qualified MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base
import qualified MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Properties
import qualified MAlonzo.Code.Function.Base
import qualified MAlonzo.Code.Relation.Binary.Bundles
import qualified MAlonzo.Code.Relation.Binary.Construct.On
import qualified MAlonzo.Code.Relation.Binary.PropositionalEquality.Properties
import qualified MAlonzo.Code.Relation.Binary.Structures
import qualified MAlonzo.Code.Relation.Nullary
import qualified MAlonzo.Code.Relation.Nullary.Decidable.Core
d_'8776''8658''8801'_6 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48 ->
MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12
d_'8776''8658''8801'_6 = erased
d_'8776''45'reflexive_8 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.Equality.T__'8801'__12 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48
d_'8776''45'reflexive_8 v0 ~v1 ~v2 = du_'8776''45'reflexive_8 v0
du_'8776''45'reflexive_8 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48
du_'8776''45'reflexive_8 v0
= coe
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.du_'8801''8658'Pointwise'45''8801'_578
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v0)
d_'8776''45'refl_10 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48
d_'8776''45'refl_10 v0 = coe du_'8776''45'reflexive_8 (coe v0)
d_'8776''45'sym_14 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48
d_'8776''45'sym_14 v0 v1
= coe
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Properties.du_symmetric_40
erased
(coe
MAlonzo.Code.Function.Base.du__'45''10216'_'8739'_290
MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12
(\ v2 v3 -> v2) v0 v1)
(coe
MAlonzo.Code.Function.Base.du_'8739'_'10217''45'__296
(\ v2 v3 -> v3)
MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v0 v1)
d_'8776''45'trans_16 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48
d_'8776''45'trans_16 v0 v1 v2
= coe
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Properties.du_transitive_50
erased
(coe
MAlonzo.Code.Function.Base.du__'45''10216'_'8739'_290
MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12
(\ v3 v4 -> v3) v0 v1)
(coe
MAlonzo.Code.Function.Base.du_'8739'_'10217''45'__296
(\ v3 v4 -> v4)
MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v0 v1)
(coe
MAlonzo.Code.Function.Base.du_'8739'_'10217''45'__296
(\ v3 v4 -> v4)
MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v1 v2)
d_'8776''45'subst_20 ::
MAlonzo.Code.Agda.Primitive.T_Level_14 ->
(MAlonzo.Code.Agda.Builtin.String.T_String_6 -> ()) ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Base.T_Pointwise_48 ->
AgdaAny -> AgdaAny
d_'8776''45'subst_20 ~v0 ~v1 ~v2 ~v3 ~v4 v5
= du_'8776''45'subst_20 v5
du_'8776''45'subst_20 :: AgdaAny -> AgdaAny
du_'8776''45'subst_20 v0 = coe v0
d__'8776''63'__28 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d__'8776''63'__28 v0 v1
= coe
MAlonzo.Code.Data.List.Relation.Binary.Pointwise.Properties.du_decidable_112
(coe MAlonzo.Code.Data.Char.Properties.d__'8799'__14)
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v0)
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v1)
d_'8776''45'isEquivalence_34 ::
MAlonzo.Code.Relation.Binary.Structures.T_IsEquivalence_26
d_'8776''45'isEquivalence_34
= coe
MAlonzo.Code.Relation.Binary.Structures.C_IsEquivalence'46'constructor_519
(coe d_'8776''45'refl_10) (coe d_'8776''45'sym_14)
(coe d_'8776''45'trans_16)
d_'8776''45'setoid_48 ::
MAlonzo.Code.Relation.Binary.Bundles.T_Setoid_44
d_'8776''45'setoid_48
= coe
MAlonzo.Code.Relation.Binary.Bundles.C_Setoid'46'constructor_575
d_'8776''45'isEquivalence_34
d_'8776''45'isDecEquivalence_50 ::
MAlonzo.Code.Relation.Binary.Structures.T_IsDecEquivalence_44
d_'8776''45'isDecEquivalence_50
= coe
MAlonzo.Code.Relation.Binary.Structures.C_IsDecEquivalence'46'constructor_1689
(coe d_'8776''45'isEquivalence_34) (coe d__'8776''63'__28)
d_'8776''45'decSetoid_52 ::
MAlonzo.Code.Relation.Binary.Bundles.T_DecSetoid_84
d_'8776''45'decSetoid_52
= coe
MAlonzo.Code.Relation.Binary.Bundles.C_DecSetoid'46'constructor_1131
d_'8776''45'isDecEquivalence_50
d__'8799'__54 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d__'8799'__54 v0 v1
= coe
MAlonzo.Code.Relation.Nullary.Decidable.Core.du_map'8242'_168
erased (coe d__'8776''63'__28 (coe v0) (coe v1))
d_'8801''45'setoid_60 ::
MAlonzo.Code.Relation.Binary.Bundles.T_Setoid_44
d_'8801''45'setoid_60
= coe
MAlonzo.Code.Relation.Binary.PropositionalEquality.Properties.du_setoid_404
d_'8801''45'decSetoid_62 ::
MAlonzo.Code.Relation.Binary.Bundles.T_DecSetoid_84
d_'8801''45'decSetoid_62
= coe
MAlonzo.Code.Relation.Binary.PropositionalEquality.Properties.du_decSetoid_408
(coe d__'8799'__54)
d__'60''63'__64 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Relation.Nullary.T_Dec_32
d__'60''63'__64 v0 v1
= coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'60''45'decidable_274
MAlonzo.Code.Data.Char.Properties.d__'8799'__14
MAlonzo.Code.Data.Char.Properties.d__'60''63'__44
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v0)
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12 v1)
d_'60''45'isStrictPartialOrder'45''8776'_70 ::
MAlonzo.Code.Relation.Binary.Structures.T_IsStrictPartialOrder_266
d_'60''45'isStrictPartialOrder'45''8776'_70
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_isStrictPartialOrder_356
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'60''45'isStrictPartialOrder_278
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'isStrictPartialOrder_102))
d_'60''45'isStrictTotalOrder'45''8776'_72 ::
MAlonzo.Code.Relation.Binary.Structures.T_IsStrictTotalOrder_498
d_'60''45'isStrictTotalOrder'45''8776'_72
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_isStrictTotalOrder_498
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'60''45'isStrictTotalOrder_314
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'isStrictTotalOrder_118))
d_'60''45'strictPartialOrder'45''8776'_74 ::
MAlonzo.Code.Relation.Binary.Bundles.T_StrictPartialOrder_472
d_'60''45'strictPartialOrder'45''8776'_74
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_strictPartialOrder_592
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'60''45'strictPartialOrder_372
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'strictPartialOrder_126))
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
d_'60''45'strictTotalOrder'45''8776'_76 ::
MAlonzo.Code.Relation.Binary.Bundles.T_StrictTotalOrder_860
d_'60''45'strictTotalOrder'45''8776'_76
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_strictTotalOrder_616
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'60''45'strictTotalOrder_434
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'strictTotalOrder_128))
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
d_'8804''45'isDecPartialOrder'45''8776'_78 ::
MAlonzo.Code.Relation.Binary.Structures.T_IsDecPartialOrder_206
d_'8804''45'isDecPartialOrder'45''8776'_78
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_isDecPartialOrder_304
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'8804''45'isDecPartialOrder_704
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'isStrictTotalOrder_118))
d_'8804''45'isDecTotalOrder'45''8776'_80 ::
MAlonzo.Code.Relation.Binary.Structures.T_IsDecTotalOrder_430
d_'8804''45'isDecTotalOrder'45''8776'_80
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_isDecTotalOrder_438
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'8804''45'isDecTotalOrder_808
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'isStrictTotalOrder_118))
d_'8804''45'decTotalOrder'45''8776'_82 ::
MAlonzo.Code.Relation.Binary.Bundles.T_DecTotalOrder_736
d_'8804''45'decTotalOrder'45''8776'_82
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_decTotalOrder_608
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'8804''45'decTotalOrder_1068
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'strictTotalOrder_128))
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
d_'8804''45'decPoset'45''8776'_84 ::
MAlonzo.Code.Relation.Binary.Bundles.T_DecPoset_360
d_'8804''45'decPoset'45''8776'_84
= coe
MAlonzo.Code.Relation.Binary.Construct.On.du_decPoset_584
(coe
MAlonzo.Code.Data.List.Relation.Binary.Lex.Strict.du_'8804''45'decPoset_990
(coe
MAlonzo.Code.Data.Char.Properties.d_'60''45'strictTotalOrder_128))
(coe MAlonzo.Code.Agda.Builtin.String.d_primStringToList_12)
d__'61''61'__86 ::
MAlonzo.Code.Agda.Builtin.String.T_String_6 ->
MAlonzo.Code.Agda.Builtin.String.T_String_6 -> Bool
d__'61''61'__86 v0 v1
= coe
MAlonzo.Code.Relation.Nullary.Decidable.Core.du_isYes_16
(coe d__'8799'__54 (coe v0) (coe v1))
d_setoid_100 :: MAlonzo.Code.Relation.Binary.Bundles.T_Setoid_44
d_setoid_100 = coe d_'8801''45'setoid_60
d_decSetoid_102 ::
MAlonzo.Code.Relation.Binary.Bundles.T_DecSetoid_84
d_decSetoid_102 = coe d_'8801''45'decSetoid_62
d_strictTotalOrder_104 ::
MAlonzo.Code.Relation.Binary.Bundles.T_StrictTotalOrder_860
d_strictTotalOrder_104
= coe d_'60''45'strictTotalOrder'45''8776'_76