k]      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\] ^ _ ` a b c d e f g hi j k l mnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                             !!!!!!!!! !!"""#"$"%"&"'"(")"*"+","-"."/"0"1"2"3"4"5"6"7"8"9":";"<"=">"?"@"A"B"C"D"E"F"G"H"I"J"K"L"M"N"O"P"Q"R"S"T"U"V"W"X"Y"Z"["\"]"^"_"`"a"b"c"d"e"f"g"h"i"j"k"l"m"n"o"p"q"r"s"t"u"v"w"x"y"z"{"|"}"~"#######$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%%%&&&''''''''''''(((((()))*+,,,,,,,,-.///////000000000000000000000001122222223334444444 4 4 4 5 5566777777888899999 9!9"9#:$;%;&<'<(<)<*=+=,=-=.>/>0>1>2>3>4>5>6>7>8>9>:>;><?=@>A?B@CADBDCDDDEDFDGDHDIEJEKELEMENEOEPEQERESETEUEVEWEXEYEZE[E\EFNoneF]1Decide whether to add a tick to a binding or not.^ A let body is treated differently from addTickLHsExprEvalInner above with TickForBreakPoints, because for breakpoints we always want to tick the body, even if it is not a redex. See test break012. This gives the user the opportunity to inspect the values of the let-bound variables._Tickishs that only make sense when their source code location refers to the current file. This might not always be true due to LINE pragmas in the code - which would confuse at least HPC.o`abcdefghijklmnopqrstuvwxyz{|}~]^_V`abcdehgfi jklmnopqrstuvwxy~}|{z]^_NoneF !"  !"  "! !"NoneF.&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN2&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN2/0&'()*+324567;<>1=?@A98BCD:GFHIJKLE,-.MN)&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNNoneFHMOPQRSTUVWXY OPQRSTUVWXY OPVWSTUYXQROPQRSTUVWXYNoneFZ[\Z[\Z[\Z[\ NoneF]^_`abc]^_`abc]^`_abc]^_`abc NoneF=de      !"#$%&deed=de      !"#$%& NoneF'fg()*+,fgfg'fg()*+,NoneF.-./0123456789:;<=>?@ABCDEFGHIJKLMNOPhQRSTUhh$- 76543210/.89:;<=>?@ABCDEFGHIJKLMNOPhQRSTU NoneFiVWXYZ[\]j^_`abkcdef'the desugared rhs of the bind statementghijkijkiVWXYZ[\]j^_`abkcdefgh NoneF8ijklmnopqrstuvwxyz{|}~lll1ijklmnopqrstuvwxyz{|}~l Safe-InferredF mnopqrsmnopqrsmnopqsr mnopqrs Safe-Inferred+FtuvwxytuvwxytxwvuytxwvuyNone !"24EFHMUz{|}~Az{|}~U|}~z{Jz{| }~None+24EFM NoneEFThe TagKey is the top-level binder, and Tag is a singleton Int list  NoneF 3Separating literate files into code/comment chunks. type string error string Cline number, total width of lines i.e. max (length (show lineNum)) Loc -> (Var, Type)List of error intervalsBFormats Haskell source code using HTML and mouse-over annotations BFormats Haskell source code using HTML and mouse-over annotations "annotTokenise is absurdly slow: O( tokens x errors)IThe code for classify is largely stolen from Language.Preprocessor.Unlit.;Join up chunks of code/comment that are next to each other.3Whether to include anchors.1Whether input document is literate haskell or not3Haskell source code, Annotations as comments at endColoured Haskell source code.Whether to include anchors."Function to refine comment tokens 1Whether input document is literate haskell or notHaskell Source, AnnotationsColoured Haskell source code.$None24EF  NoneF#$%#$%O%$#O#$%NoneF"Main entry point to the desugarer."Main entry point to the desugarer.NoneFThrow some errors.$Convert a typechecked module to Core  NoneFl      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy  z{| } ~       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEF          k      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy  z{| } ~       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFNoneEF !"#$%&'()*+, !"#$%&'()*+, !"#$%&'()*+, !"#$%&'()*+,None *+-./02346BFr.6KVar Profile -----------------------------------------6COutput ------------------------------------------------------------CCAnnotations -------------------------------------------------------LMeasure Refinement: {v | p}MMeasure Refinement: {v | (? v)  = p }N!Measure Refinement: {v | v = e } iCConverting Results To Answers -------------------------------------kCSource Information Associated With Constraints --------------------o:INVARIANT : all Error constructors should have a pos fieldpUnexpected PANIC q!Refined Class/Interfaces ConflicttTermination Error v9Previously saved error, that carries over after DiffCheckz5Illegal RTAlias application (from BSort, eg. in PVar)}%Cyclic Refined Type Alias Definitions)Mismatch between Liquid and Haskell types#GHC error: parsing or type checking Unbound symbol in specification Haskell bad Measure errorMeasure sort errorIncompatible using errorUsing sort errorInvariant sort error%multiple specs for same binder error %multiple specs for same binder error #multiple alias with same name errorsort error in specificationsort error in specificationspecification parse errorliquid type errorliquid type errorIn the below, we use EMsg instead of, say, SpecType because the latter is impossible to serialize, as it contains GHC internals like TyCon and Class inside it.CError Data Type ---------------------------------------------------The type used during constraint generation, used also to define contexts for errors, hence in this file, and NOT in Constraint.hsCConstructor and Destructors for RTypes ----------------------------Refinement Type AliasesEValues Related to Specifications ------------------------------------Data type refinementsType Constructor NameTyvar ParametersPVar ParametersPLabel Parameters  DataCon, [(fieldName, fieldType)]Source Position/Measure that should decrease in recursive callsERefined Instances ---------------------------------------------------A World is a Separation Logic predicate that is essentially a sequence of binders that satisfies two invariants (TODO:LIQUID): 1. Each `hs_addr :: Symbol` appears at most once, 2. There is at most one  in a list.RTProp is a convenient alias for RefM that will save a bunch of typing. In general, perhaps we need not expose Ref directly at all.Ref describes `Prop ` and HProp? arguments applied to type constructors. For example, in [a] {h- v > h}>, we apply (via   ) * the ) denoted by `{h -> v > h}` to * the # denoted by `[]`. Thus, Ref is used for abstract-predicate (arguments) that are associated with _type constructors_ i.e. whose semantics are _dependent upon_ the data-type. In contrast, the ) argument in  in the UReftR applies directly to any type and has semantics _independent of_ the data-type.)Abstract heap-refinement associated with #$Abstract refinement associated with # Parse-time  "Obligation that proves constraints!Obligation that proves invariants"Obligation that proves termination;let LH match against the Haskell type and add k-vars, e.g. `x:_` see testsposHoles.hs5For expression arguments to type aliases see testspos vector2.hsCCo- and Contra-variance for TyCon -------------------------------- Indexes start from 0 and type or predicate arguments can be both covariant and contravaariant e.g., for the below Foo dataTypedata Foo a b c d  p:: b -6 Prop, q :: Int -> Prop, r :: a -> Prop> = F (a r -> b p) | Q (c -> a) | G (Int q -> a r)there will be: varianceTyArgs = [Bivariant , Covariant, Contravatiant, Invariant] variancePsArgs = [Covariant, Contravatiant, Bivariant]  variance info for type variables!%variance info for predicate variables"8logical function that computes the size of the structure%GHC Type ConstructorGPredicate Parameters& TyConInfo/?Abstract Predicate Variables ----------------------------------5*Which Top-Level Binders Should be Verified>FIXME: WHAT IS THIS???These are backwards, why??O&The following is the overall type for specificationsA obtained from parsing the target source and dependent librariesQ0Asserted Reftypes eg. see include/Prelude.specRAssumed ReftypesSUData Constructor Measure Sigs eg. (:) :: a -> xs:[a] -> {v: Int | v = 1 + len(xs) }T'Measure Types eg. len :: [a] -> IntUData Type InvariantsVBData Type Invariant Aliases eg. forall a. {v: [a] | len(v) >= 0}W,Predicated Data-Constructors e.g. see testsposMap.hsX,Predicated Type-Constructors eg. see testsposMap.hsYList of HI free in spec and corresponding GHC var eg. (Cons, Cons#7uz) from testsposex1.hsZUHow to embed GHC Tycons into fixpoint sorts e.g. "embed Set as Set_set" from includeDataSet.spec[*Qualifiers in Source/Spec files e.g testspos qualTest.hs\5Top-level Binders To Verify (empty means ALL binders)]8Lexicographically ordered size witnesses for termination^5Lexicographically ordered expressions for termination_AVariables that should be checked in the environment they are used`-Binders to IGNORE during termination checkingaConfiguration OptionsbName's exported by the module being verifiedeDictionary Environmentf=GHC Information : Code & Spec ------------------------------{HPrinter ----------------------------------------------------------------~HCommand Line Config Options --------------------------------------------source files to check%path to directory for including specsCcheck subset of binders modified (+ dependencies) since last check supports real number arithmetic'check all binders (overrides diffcheck)set of binders to checkIwhether to complain about specifications for unexported and unused valuesdisable termination check*disable warnings output (only show errors)%type all internal variables with truedisable case expandenable strata analysisdisable truing top level typescheck totality in definitions%disable prunning unsorted RefinementsAthe maximum number of parameters to accept when mining qualifiersBname of smtsolver to use [default: try z3, cvc4, mathsat in order]0drop module qualifers from pretty-printed names.*don't show subtyping errors and contexts. #command-line options to pass to GHC..c files to compile and link against (for GHC)Accessors for RTyConIHPPrint -----------------------------------------------------------------JFor debugging.KKTyConable Instances -------------------------------------------------------'-L./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%G&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~IJK -./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~fghijklmnopqOPQRSTUVWXYZ[\]^_`abcde576  #$%& !"     '(/01234,.-)*89:;<=>?@ABCDEFGH+CD>BA@?6789:;<=xyzrstuvw{}|ghcfed^_`abijo}zwvtqp~{|x{|yursklmnYZ[\]UVWXOPQRSTKNMLEFGHIJ.543210/-NIJKLM-L.543210/6789:;<=>BA@?CDEFGHIJKNMLOPQRSTUVWXYZ[\]^_`abcfedghijklmnoa}zwvtqp~{|x{|yurs )      !"#$%G&'()*+,.-/0123457689:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef ghijklmnopqrstuvwxyz{}|~MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~IJKNone24FNone 2346EFM NoneFNoneFNone+24EFM(     $     None24BEF                                       None234EFPrinting an Ordered List:Pretty Printing RefType ---------------------------------- DFrom GHC: TypeRep pprArrowChain p [a,b,c] generates a -> b -> c From GHC: TypeRep ,     ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B {|} {}|,     ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B None!"2346EFHM)Various functions for converting vanilla  C to SpecTBinders generated by class predicates, typically for constraining tyvars (e.g. FNum) D?Wrappers for GHC Type Elements -------------------------------- EJRefTypable Instances ----------------------------------------------------- FJReftable Instances ------------------------------------------------------- GGSubable Instances -----------------------------------------------------} H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d      e f g h i j k l m n o p q r s t u v w x y z { | } ~  D E F G -     -     | H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d      e f g h i j k l m n o p q r s t u v w x y z { | } ~  D E F G !None+24EF pvarRType  returns a trivial RType2 corresponding to the function signature for a PVar . For example, if  :: T1 -> T2 -> T3 -> Prop then  pvarRType  returns an RType with an RTycon called  predRTyCon `RApp predRTyCon [T1, T2, T3]`  Instantiate / with 0 ----------------------------------------------- replacePredsk is the main function used to substitute an (abstract) predicate with a concrete Ref, that is either an  or 4 type. The substitution is invoked to obtain the  resulting at predicate application sites in FG. The range of the / substitutions are fresh or true RefType1. That is, there are no further _quantified_ / in the target.  Requires:  not $ null sB substRCon :: String -> (RPVar, SpecType) -> SpecType -> SpecTypeGInterface: Modified CoreSyn.exprType due to predApp -------------------#      89:;<=>?@ABCDEFGH ABCDEFGH89:;<=>?@ #      "NoneF+#%Integer Keys for Fixpoint Environment$Fixpoint Environment+ subtyping constraints over RType,%wellformedness constraints over RType-.additional stratum constrains for let bindings.$subtyping over Sort (post-splitting)//tracks constraints that come from let-bindings 05wellformedness constraints over Sort (post-splitting)1"counter for generating fresh KVars2set of environment binders3source-position annotation map4#information about type-constructors5 ? FIX THIS6+Terminating Metrics for Recursive functions73Set of variables to ignore for termination checking8 ? FIX THIS94primitive Sorts into which TyCons should be embedded:>Fixpoint Kut variables (denoting "back-edges"/recursive KVars); ? FIX THIS <Check Termination (?) =Check Strata (?)>!Trust ghc auto generated bindings?prune unsorted refinements@#Errors during coontraint generationA Profiling distribution of KVars B3number of recursive functions seen (for benchmarks)S Location in original source fileTSpecTypes for Bindings in scopeUMap from free Symbols (e.g. datacons) to Var , penv :: !(F.SEnv PrType) -- ^ PrTypes for top-level bindings (merge with renv) VDictionary EnvironmentWFixpoint EnvironmentX0recursive defs being processed (for annotations)YDatatype invariants ZDatatype checkable invariants [6Top-level variables with (assert)-guarantees to verify\&Top-level variables with assumed types]+How to embed GHC Tycons into fixpoint sorts^*Map from top-level binders to fixpoint tag_Current top-level binder`6Type of recursive function with decreasing constraintsa&Let binding that have not been checkedb&Types with holes, will need refreshingcLogical Constraints^!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~X!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwx_QRSTUVWXYZ[\]^_`abcOP~}GKHLMNLIJEFDC|{z)*+,-./0123456789:;<=>?@AByd'(ef&%ghijklmnopqrstu!"#$vwx&!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGKHLMNLIJOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~#None24F$None234F User-defined properties for ADTsAssumed (unchecked) typesImported functions and types Local type signaturesData type invariants"Data type invariants to be checkedLoaded spec module namesPredicated data definitions Included qualifier filesRefType aliasesRefinement/Predicate aliasesExpression aliasesGHC-Tycon-to-fixpoint Tycon mapQualifiers in source/spec files#Information on decreasing argumentsAVariables that should be checked in the environment they are used+Ignore Termination Check in these Functions7Binders to turn into measures using haskell definitions;Binders to turn into logic inline using haskell definitions4Command-line configurations passed in through source!Measures attached to a type-class'Mappings from (measure,type) -> measureRefined Type-Classes&Terminating Conditions for functions >  **  %None24EFUsed to parse .spec files ~The top-level parser for "bare" refinement types. If refinements are not supplied, then the default "top" refinement is used. :Bundling Parsers into a Typeclass ------------------------  For debugging                              ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c                                 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c &NoneF d e f g h i j k l m n d e f g h i j k l m n'NoneFBLH Primitive TyCons ----------------------------------------------BLH Primitive TyCons ----------------------------------------------ALH Primitive Types ----------------------------------------------    (None234<EF4 o p q r s t u v w x y z { | } ~   - o p q r s t u v w x y z { | } ~   )NoneF returns   for unhandled lits because otherwise string-literals show up as global int-constants which blow up qualifier instantiation.   *NoneF  +NoneF JReplace Predicate Arguments With Existentials ----------------------------nNiki: please write more documentation for this, maybe an example? I can't really tell whats going on... (RJ)     ,NoneF    -None*+-./246EFM &TODO: All this *should* happen inside Bare; but appears to happen after certain are signatures are fresh#-ed, which is why they are here. CHelpers: Reading/Extending Environment Bindings ------------------- 2Used for annotation binders (i.e. at binder sites) 0Used for annotating reads (i.e. at Var x sites) PUsed to update annotations for a location, due to (ghost) predicate applications GRight now, we generate NO new pvars. Rather than clutter code with = calls, put it in one place where the above invariant is  obviously4 enforced. Constraint generation should ONLY use  freshTy_type and  freshTy_expr ~Used to generate "cut" kvars for fixpoint. Typically, KVars for recursive definitions, and also to update the KVar profile.  varTemplate2 is only called with a `Just e` argument when the e corresponds to the body of a Rec binder. instantiatePreds' peels away the universally quantified PVars of a RType, generates fresh Ref. for them and substitutes them in the body. instantiateStrata generates fresh Strata: vars and substitutes them inside the body of the type. >Type Synthesis -----------------------------------------------  consElimE/ is used to *synthesize* types by **existential elimination** instead of *checking* via a fresh template. That is, assuming  |- e1 ~> t1 we have  |- let x = e1 in e2 ~> Ex x t1 t2 where , x:t1 |- e2 ~> t2 instead of the earlier case where we generate a fresh template t" and check , x:t1 |- e <~ t consFreshE is used to *synthesize* types with a **fresh template** when the above existential elimination is not easy (e.g. at joins, recursive binders) BHelpers: Creating Fresh Refinement -------------------------------                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V                             ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V.None24F WCPretty Printing Error Messages ------------------------------------ Need to put  PPrint Error; instance here (instead of in Types), as it depends on PPrint SpecTypes, which lives in this module. X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n W/None24F o3Intervals of line numbers that have been re-checked p-Map from saved-line-num ---> current-line-num q"Variable dependencies "call-graph" r&line at which binder definition starts s$line at which binder definition ends tname of binder+Main type of value returned for diff-check. returns a subset of the  [CoreBind] of the input targeto file which correspond to top-level binders whose code has changed and their transitive dependencies.thin returns a subset of the  [CoreBind]F given which correspond to those binders that depend on any of the Var s provided. u u cuts off the start-line to be no less than the line at which the binder is defined. Without this, i.e. if we ONLY use the ticks and spans appearing inside the definition of the binder (i.e. just eSp) then the generated span can be WAY before the actual definition binder, possibly due to GHC INLINE pragmas or dictionaries OR ... for an example: see the "INCCHECK: Def" generated by liquid -d benchmarksbytestring-0.9.2.1Data/ByteString.hs where spanEnd is a single line function around 1092 but where the generated span starts mysteriously at 222 where Data.List is imported. v,`lineDiff new old` compares the contents of src with dst and returns the lines of src that are different. save" creates an .saved version of the target< file, which will be used to find what has changed the  next time target is checked. wgetShift lm old returns Just  if the line number old shifts by  in the diff and returns Nothing otherwise. xsetShift (lo, hi, ) lm updates the interval map lm appropriately yDAeson instances ----------------------------------------------------B o p q z { r s t | } ~  u v  w x y ; o p q z { r s t | } ~  u v  w x y 0NoneFNError-Reader-IO For Bare Transformation --------------------------------------    1None24F    2None24F0It's possible that we have already resolved the  : we are looking for, but have had to turn it back into a  , e.g. to be used in an Expr , as in {v:Ordering | v = EQ}$. In this case, the fully-qualified   ( GHC.Types.EQO) will likely not be in scope, so we store our own mapping of fully-qualified  s to  s and prefer pulling   s from it.      3NoneEF    4NoneF               5NoneEF          6None24EF  7NoneEF exprArg converts a tyVar to an exprVar because parser cannot tell HORRIBLE HACK To allow treating upperCase X as value variables X e.g. type Matrix a Row Col = List (List a Row) Col    8NoneEF        9NoneEF   ! "      !" !"   ! "     :NoneEF   #         ##   #         ;None24EF CJSON: Annotation Data Types ---------------------------------------$output" creates the pretty printed output%annotate& actually renders the output to files EPandoc HTML Rendering (for lhs + markdown source) ------------------ EDirect HTML Rendering (for non-lhs/markdown source) ---------------- topn tail True" is used for standalone HTML, topn tail False for embedded HTML IBuilding Annotation Maps ------------------------------------------------UThis function converts our annotation information into that which is required by FH& to generate mouseover annotations. ITokenizing Refinement Type Annotations in @-blocks ----------------------OThe token used for refinement symbols inside the highlighted types in @-blocks. ^The top-level function for tokenizing @-block annotations. Used to tokenize comments by ACSS. CCreating Vim Annotations ------------------------------------------ KA Little Unit Test -------------------------------------------------------- CJSON Instances ----------------------------------------------------< ! " # $ % & ' (  )$% * + , -  . / 0   1 2 3  4 5 6 7 8 9 : ; < =   > ? @ A B C D E F G  H I J  K L M N O P $%$%6 ! " # $ % & ' (  )$% * + , -  . / 0   1 2 3  4 5 6 7 8 9 : ; < =   > ? @ A B C D E F G  H I J  K L M N O P <None24EFM QAttempt to canonicalize all  R s in the ~3 so we don't have to worry about relative paths.(Updating options)CExit Function ----------------------------------------------------- S%Monoid instances for updating options T& U V Q W X Y'( Z [) \ ] ^ _ ` a b S&'()&'() T& U V Q W X Y'( Z [) \ ] ^ _ ` a b S=None?EFM c checkRTypeO determines if a type is malformed in a given environment --------------------- d checkMeasuresO determines if a measure definition is wellformed ----------------------------- ePTasteful Error Messages --------------------------------------------------------* f g h i j k l+, m n o p q r c s t d u v w x- y e z*+,-*-+,* f g h i j k l+, m n o p q r c s t d u v w x- y e z>None?EF5=API: Bare Refinement Types ----------------------------------./01234 { |567 }8 ~  9 : ; ./0123456789:;./0123456789:;./01234 { |567 }8 ~  9 : ; ?None F < OPQRSTUVWXYZ[\]^_`abcde<OPQRSTUVWXYZ[\]^_`abcde<  < INoneFOPQRSTUVWXYZ[\]^_`abcde<OPQRSTUVWXYZ[\]^_`abcde<@None F = == = ANoneF>>>>BNone+24EFM =Extracting CoreBindings From File --------------------------- KDesugaring (Taken from GHC, modified to hold onto Loc in Ticks) ----------- KExtracting Qualifiers ----------------------------------------------------- KExtracting Specifications (Measures + Assumptions) ------------------------ Throw a panic exception $Convert a GHC error into one of ours(? ??(? C Safe-InferredF@@@@DNone;FABCDEFGHABCDEFGHABCDEFGHABCDEFGHE Safe-Inferred;<FIJKLMNOPQRSTUVWXYZ[\IJKLMNOPQRSTUVWXYZ[\IJKLMNOPQRSTUVWXYZ[\IJKLMNOPQRSTUVWXYZ[\ JKLJKMJKNJKOJKPJKPJKQJKRJKSTUVTUWTUXTUYTUZTU[TU\TU]T^_`abcdefghijklmnopqrstuvwxyz{|}~   Z      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~)      !"#$%&'()*+,-./01234456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abbcdeffghijklmnopqrstuvwxyzz{|}~      !"#$%&' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 | : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S!T!U!V!W!X!Y!Z![!\!]"^"_"`"a"b"c"d"d"e"e"f"g"h"i"j"k"l""m"n"o"p"q"r"s"t"u"v"w"x"y"z"{"|"}"~"""""""""""""""Y"""""""""""""""""""""""""""""""""""""""""""#######$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%%%&&&''''''''''''(((((()))*+,,,,,,,,-.///////0 0 0 0 0 00000000000000000011 2!2"2#2$2%2&2'3(3)3*4+4,4-4.4/404142434455565768697:7;7<7=7>7?8@8A8B8C9D9E9F9G9H9I9J9K:L;M;N<O<P<Q<R=S=T=U=V>W>X>Y>Z>[>\>]>^>_>`>a>b>c>d?e@fAgBhCiDjDkDlDmDnDoDpDqErEsEtEuEvEwExEyEzE{E|E}E~EEEEEEE                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{ | } ~                                                                             !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghT^ijklmnopqrstuvwxyz{|}~   l                               ! " # $ % % & ' ( ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ]TU ^ _ ` a   b  c d e f g h i j k l m n o p q r s t u v w x y z { | } ~   ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % !% "% #% $% %% &% '% (% )% *% +% ,% -% .% /% 0% 1% 2% 3% 4% 5% 6% 7% 8% 9% :% ;% <% =% >% ?% @% A% B% C% D% E% F% G% H% I% J% K% L% M% N% O% P% Q% R% S% T% U% V% W% X% Y% Z% [% \% ]% ^% _% `% a% b% c% d% e% f% g% h% i% j% k% l% m% n% o% p% q% r% s% t% u% v% w% x% y% z% {& |& }& ~& & & & & & & & ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (  ) * * * * + + ++ + + + + + + + + + + + , - -&- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 3- - - - - - - - - - - - - - - - - - - - - - - - - !- "- #- $- %- &- '- (- )- *- +- ,- -- .- /- 0- 1- 2- 3- 4- 5- 6- 7- 8- 9- :- ;- <- =- >- ?- @- A- B- C- D- E- F- G- H- I- J- K- L- M- N- O- P- Q- R- S- T- U- V- W- X- Y- Z- [- \- ]- ^- _- `- a- b- c- d- e- f- g- h- i- j. k. l. m. n. o. p. q. r. s. t. u. v. w. x. y. z. {. |. }. ~. . . . / // / / / / / / / / /// / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 J   J  2 2 2 2 2 2 2 2 2 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 6 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 : : : : : : : : : : !: ": #: $: %: &: '; (; ); *; +; ,; -; .; /; 0; 1; 2; 3; 4; 5; 6; 7; 8; 9; :; ;; <; =; >; ?; @; A; B; C; D; E; F; G; H; I; J; K; L; M; N; O; P; Q; R; \; S; T; U; V; W; X; Y; Z; [; \; ]; ^; _; `< a b c< d<< e< f< g< h< i< j< k< l< m< n< o< p< q< r= s= t= u= v= w= x= y= z= {= |= }= ~= = = = = = = = = = = = > > > > > > > > > > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? @ @ @ @ @ @ @ @ @ @ @ B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B BB B B liquidhaskell-0.3.1.0'Language.Haskell.Liquid.Desugar.DsUtilsLanguage.Haskell.Liquid.Types(Language.Haskell.Liquid.Desugar.Coverage%Language.Haskell.Liquid.Desugar.Match)Language.Haskell.Liquid.Desugar.DsForeign&Language.Haskell.Liquid.Desugar.DsExpr(Language.Haskell.Liquid.Desugar.MatchLit'Language.Haskell.Liquid.Desugar.DsGRHSs'Language.Haskell.Liquid.Desugar.DsBinds%Language.Haskell.Liquid.Desugar.Check(Language.Haskell.Liquid.Desugar.MatchCon*Language.Haskell.Liquid.Desugar.DsListComp(Language.Haskell.Liquid.Desugar.DsArrowsPaths_liquidhaskell Language.Haskell.Liquid.VarianceLanguage.Haskell.Liquid.GhcMisc Language.Haskell.Liquid.VisitorsLanguage.Haskell.Liquid.CTagsLanguage.Haskell.Liquid.ACSSLanguage.Haskell.Liquid.GhcPlay'Language.Haskell.Liquid.Desugar.Desugar'Language.Haskell.Liquid.Desugar.HscMain&Language.Haskell.Liquid.Desugar.DsMetaLanguage.Haskell.Liquid.MiscLanguage.Haskell.Liquid.StrataLanguage.Haskell.Liquid.FreshLanguage.Haskell.Liquid.World Language.Haskell.Liquid.Simplify$Language.Haskell.Liquid.TransformRec$Language.Haskell.Liquid.ANFTransform#Language.Haskell.Liquid.PrettyPrintLanguage.Haskell.Liquid.RefType Language.Haskell.Liquid.PredType(Language.Haskell.Liquid.Constraint.Types-Language.Haskell.Liquid.Constraint.ConstraintLanguage.Haskell.Liquid.MeasureLanguage.Haskell.Liquid.ParseLanguage.Haskell.Liquid.TidyLanguage.Haskell.Liquid.WiredIn#Language.Haskell.Liquid.CoreToLogic Language.Haskell.Liquid.Literals$Language.Haskell.Liquid.Bare.SymSort(Language.Haskell.Liquid.Bare.Existential$Language.Haskell.Liquid.Dictionaries+Language.Haskell.Liquid.Constraint.GenerateLanguage.Haskell.Liquid.Errors!Language.Haskell.Liquid.DiffCheck Language.Haskell.Liquid.Bare.Env'Language.Haskell.Liquid.Bare.RefToLogic#Language.Haskell.Liquid.Bare.Lookup#Language.Haskell.Liquid.Bare.Expand!Language.Haskell.Liquid.Bare.Misc$Language.Haskell.Liquid.Bare.Plugged$Language.Haskell.Liquid.Bare.Resolve#Language.Haskell.Liquid.Bare.OfType%Language.Haskell.Liquid.Bare.DataType$Language.Haskell.Liquid.Bare.Measure"Language.Haskell.Liquid.Bare.RTEnv Language.Haskell.Liquid.AnnotateLanguage.Haskell.Liquid.CmdLine"Language.Haskell.Liquid.Bare.Check!Language.Haskell.Liquid.Bare.Spec$Language.Haskell.Liquid.Bare.GhcSpec!Language.Haskell.Liquid.Qualifier-Language.Haskell.Liquid.Constraint.ToFixpoint$Language.Haskell.Liquid.GhcInterfaceLanguage.Haskell.Liquid.ListLanguage.Haskell.Liquid.ForeignLanguage.Haskell.Liquid.PreludeLanguage.Haskell.Liquid ConstraintACSSLanguage.Haskell.Liquid.Bare ghc-7.8.3DsMonadeqn_rhseqn_patsEqnInfo EquationInfo MatchResultCanFailCantFail CanItFailliquid-fixpoint-0.2.3.1Language.Fixpoint.TypesisDummydummyLocvallocLocLocated LocSymbolLocTextLanguage.Fixpoint.Names dummyNameaddTicksToBinds hpcInitCodematchSinglePat matchSimply matchWrappermatch dsForeigns dsForeigns' dsFImport dsCImportdsFCall dsPrimCall dsFExportdsFExportDynamicmkFExportCBitsforeignExportInitialisertoCType dsLocalBindsdsLExprdsExprCaseAlt MkCaseAltalt_pat alt_bndrs alt_wrapper alt_resultselectSimpleMatchVarLselectMatchVarsselectMatchVarfirstPat shiftEqns matchCanFailalwaysFailMatchResultcantFailMatchResultextractMatchResultcombineMatchResultsadjustMatchResultadjustMatchResultDs wrapBindswrapBindseqVarmkCoLetMatchResultmkViewMatchResultmkEvalMatchResultmkGuardedMatchResultmkCoPrimCaseMatchResultmkCoAlgCaseMatchResultmkCoSynCaseMatchResult mkErrorAppDs mkCoreAppDs mkCoreAppsDsmkSelectorBinds mkLHsPatTupmkLHsVarPatTupmkVanillaTuplePatmkBigLHsVarTup mkBigLHsTupmkBigLHsVarPatTupmkBigLHsPatTup mkOptTickBoxmkBinaryTickBoxdsLit dsOverLitwarnAboutIdentitieswarnAboutEmptyEnumerations tidyLitPattidyNPat matchLiteralshsLitKey hsOverLitKey matchNPatsmatchNPlusKPats dsGuardeddsGRHSsdsGRHS dsTopLHsBinds dsLHsBindsdsSpecdecomposeRuleLhs dsHsWrapper dsTcEvBinds dsEvBinds ExhaustivePatcheckmatchConFamily matchPatSynmatchEquations dsListComp dsPArrComp dsMonadComp dsProcExprversion getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNameVariance Covariant Contravariant Bivariant Invariant VarianceInfoL MGIModGutsMI mgi_binds mgi_modulemgi_deps mgi_dir_imps mgi_rdr_envmgi_tcs mgi_fam_insts mgi_exports mgi_is_dfun miModGuts srcSpanTick tickSrcSpan stringTyVar stringTyConhasBaseTypeVar isBaseType validTyVartvIdtracePprpprShowtidyCBsunTick unTickExprisFractionalClassgetDataConVarUniqueunpackRealSrcSpan realSrcSpan toFixSDocsDocDocpprDocshowPprshowSDoc showSDocDumptypeUniqueStringsourcePosSrcSpansourcePosSrcLocsrcSpanSourcePossrcSpanFilenamesrcSpanStartLoc srcSpanEndLoconeLinelineColrealSrcSpanSourcePos getSourcePoscollectArgumentscollectValBinders'ignoreLetBindsisDictionaryExpression isDictionary isInternal uniqueHash lookupRdrName addContextqualImportDecl ignoreInline symbolTyCon symbolTyVar varSymbolqualifiedNameSymbolfastStringTextsymbolFastString$fSymbolicFastString $fSymbolicVar$fSymbolicName$fSymbolicTyCon$fHashableTyCon $fHashableVar $fShowTyCon $fShowClass $fShowVar $fShowName$fFixpointType$fFixpointName $fFixpointVar$fFromJSONSrcSpan$fToJSONSrcSpan$fFromJSONRealSrcSpan$fToJSONRealSrcSpan$fOutputableHashSet$fHashableSrcSpan $fHashableLoc CBVisitablefreeVarsreadVarsletVarsliteralsTagEnvTagKey defaultTag memTagEnv makeTagEnvgetTagStatusCrashErrorUnsafeSafeAnnMapAnntypeserrorsstatushscolourhsannot srcModuleNamebreakSSubablesubsubTysubVar substTysWith $fSubableType $fSubableBind $fSubableVar $fSubable(,,)$fSubableCoercion $fSubableExpr dsValBindsdeSugarWithLocdeSugar deSugarExprhscDesugarWithLoc dsBrackettemplateHaskellNames qTyConName nameTyConName decTyConName typeTyConName tExpTyConNameliftNameliftStringName mkNameG_vName mkNameG_dNamemkNameG_tcName unTypeName unTypeQNameunsafeTExpCoerceNametExpDataConName expQTyConName decQTyConNamedecsQTyConNametypeQTyConName patQTyConName quoteExpName quotePatName quoteDecName quoteTypeNamefirstDuplicate safeIndex!? safeFromJustaddFst3dropFst3dropThd3replaceNfourth4third4mapSndMfirstMsecondMfirst3Msecond3Mthird3Mthird3zip4 getIncludeDir getCssPathgetCoreToLogicPathmaximumWithDefaultsafeZipWithErrormapNsmapNpadordNub intToStringKVProfKVKindLetECaseELamE PredInstE TypeInstE NonRecBindERecBindEOutputOo_varso_errorso_typeso_templso_botso_resultAnnotAnnLocAnnRDfAnnDefAnnUseAnnInfoAIRClassrcNamercSupersrcTyVars rcMethodsBodyRPEDefmeasurectorbindsbodyCMeasureCMcNamecSortMeasureMnamesorteqnsRTEnvRTE typeAliases predAliases exprAliasesModType SpecImport SrcImportTargetModNameResultresultCinfoCici_locci_errTErrorErrOther ErrRClassclsinsts ErrTerminbindErrSaved ErrAliasAppnargsdargsErrIllegalAliasAppdnamedpos ErrAliasCycleacycle ErrMismatchhsErrGhc ErrUnboundErrHMeasErrMeasms ErrIAlMist1t2ErrIAlErrInvtinv ErrBadData ErrDupSpecs ErrDupAliaskindlocs ErrTermSpecexp ErrTySpecvartypErrParseerr ErrAssTypeoblref ErrSubTypeposmsgctxtacttexpEMsg ErrorResultREnvRTypeRepty_varsty_preds ty_labelsty_bindsty_argsty_resRTAliasRTArtNamertTArgsrtVArgsrtBodyrtPosDataDeclDtycName tycTyVarstycPVars tycTyLabstycDCons tycSrcPostycSFunRDEnvDEnv RInstanceRIriclassrityperisigs RefTypableppRType TyConableisFunisListisTupleppTyconisClassisNumCls isFracClsSubsTysubtStrataStratumSFinSWhnfSDivSVarRRPropSpecPropSpecTypeBareTypePrTypeRReftRPVarBPVarRSortBSortRRTypeBRTypeUReftUur_reftur_pred ur_strataHSegHVarHBindhs_addrhs_valWorldRTPropRefRHProprf_heapRProprf_bodyRPropPrf_argsrf_reftObligOConsOInvOTermRTypeRHoleRRTyrt_envrt_refrt_oblRAppTyrt_argrt_resRExprArgRExrt_exargRAllE rt_allargRApprt_tyconrt_argsrt_pargsRAllSrt_sbindRAllP rt_pvbindRAllT rt_tvbindrt_tyRFunrt_bindrt_inrt_outRVarrt_varrt_reft TyConInfovarianceTyArgsvariancePsArgs sizeFunctionRTyConrtc_tcrtc_infoRTyVarRTV PredicatePrUsedPVarPVKindPVHPropPVPropPVarPVpnameptypepargpargs TargetVarsOnlyAllVarsDataConPdc_loc freeTyVarsfreePred freeLabelstyConststyArgstyResTyConP freeTyVarsTy freePredTy freeLabelTy varianceTs variancePssizeFunLMaplvarlargslexprLogicMapGhcSpecSPtySigsasmSigsctorsmeas invariantsialiasesdconsPtconsPfreeSymstcEmbeds qualifierstgtVarsdecrtexprslvarslazyconfigexportsmeasurestyconEnvdictsGhcInfoGIenvcbsderVarsimpVarsdefVarsuseVarshqFilesimportsincludesspecPPEnvPPppPsppTyVarppSsppShortPPrintpprint pprintTidyTidyFullLossyConfigfilesidirs diffcheckreal fullcheckbindersnoCheckUnknown notermination nowarningstrustinternals nocaseexpandstrata notruetypestotalitynoPrune maxParams smtsolver shortNames shortErrors ghcOptionscFilesshowppppEnv ppEnvShort toLogicMap eAppWithMappvTypepvars isClassRTyCon rTyConPVs rTyConPropVsisPropPV isClassTypedefaultTyConInfo ignoreObligisSVar mapRTAVars fromRTypeRep toRTypeRepmkArrow bkArrowDeepbkArrow safeBkArrowmkUnivsbkUnivbkClassrFunrClsrRCls addTermCond addInvCondpToRefpApppappSym isTrivialmapReftisBaseisFunTymapReftMfoldReft efoldReftmapBotmapBindofRSorttoRSort insertsSEnv rTypeValueVar rTypeReftstripRTypeBase makeDivType makeFinType getStrataerrSpanerrOther isSrcImport isSpecImport getModName getModStringmapRTmapRPmapRE emptyKVProf updKVProfholeisHolehasHole SubStratumsubSsubsS<:= solveStrata FreshablefreshtruerefreshemptysimplifyBoundstransformRecExprtransformScope anormalize pprintSymbolpprManyOrderedrtypeDoc ppr_rtypeppSpinepprintLongListpdVarfindPVaruRTypeuRType' uRTypeGenuPVaruReftuToprVarrTyVar symbolRTyVar normalizePdsrExrApp strengthen addTyConInfo appRTyCon generalize tyClassessubsTyVars_meetsubsTyVars_nomeetsubsTyVar_nomeetsubsTyVar_meetsubts subvUReft subvPredicateofType dataConSymbol dataConReft dataConMsRefttoTyperTypeSortedReft rTypeSort applySolutionshiftVVtypeUniqueSymboltypeSort tyConNamemkDataConIdsTy classBinds isDecreasing makeDecrType makeLexRefa mkTyConInfo makeTyConInfodataConPSpecType dataConTyreplacePredsWithRefs pVartoRConc pvarRType replacePredspredType substPargwiredSortedSymsFEnvFEfe_bindsfe_env RTyConIAl RTyConInvHEnvCGInfohsCshsWfssCsfixCsisBindfixWfs freshIndexannotMap tyConInfospecDecr termExprs specLVarsspecLazy tyConEmbedkutslitstcheckschecktrustghc pruneRefs logErrorskvProfrecCountFixWfCFixSubCWfCSubCSubRobligsenvlhsrhs LConstraintLCCGEnvCGErenvsyenvdenvfenvrecsinvsialgrtysassmsembtgEnvtgKeytreclcbholeslcs ppr_CGInfo fromListHEnvelemHEnv mkRTyConInv mkRTyConIAl addRTyConInvaddRInvconjoinInvariant'conjoinInvariantShiftconjoinInvariantgrapBindsWithType toListREnv filterREnv fromListREnv deleteREnv insertREnv lookupREnv memberREnv insertFEnv insertsFEnvinitFEnv$fPPrintCGInfo$fSubStratumSubC $fPPrintWfC $fPPrintSubC $fShowCGEnv $fPPrintCGEnvtypeToConstraintaddConstraintsconstraintToLogicconstraintToLogicOnesubConstraintToLogicOne combinations$fMonoidLConstraintMSpecctorMapmeasMapcmeasMapimeasSpecsigs localSigs dataDeclsaliasespaliasesealiasesembedshmeasinlinespragmas cmeasures imeasuresclasses termexprs rinstance dvarianceBareSpec qualifySpecmkMmkMSpec'mkMSpecmapTy dataConTypes defRefTypehsSpecificationPlhsSpecificationPspecSpecificationPparseSymbolToLogic tidySymbol isTmpSymbol tidySpecType propTyCon hpropTyConpropTypemaxArity wiredTyCons wiredDataConswiredTyDataConslistTyDataConstupleTyDataCons pdVarReftmkpsmkps_ logicTypestrengthenResult runToLogic coreToDef coreToFunmkLitliteralFRefType literalFReft literalConst txRefSort txExpToBindmakeDictionariesmakeDictionary dfromListdmaptydmapdinsertdlookupdhasinfogenerateConstraints tidyError DiffCheckDCnewBinds oldOutputslicethin saveResultBareEnvBEmodNametcEnvrtEnvvarEnvhscEnvlogicEnvTInlineTItiargstibodyInlnEnvTCEnvWarnBareMinModule withVArgs setRTAlias setRPAlias setREAliasexecBare Transformable txRefToLogic GhcLookup lookupNamesrcSpanlookupGhcThing lookupGhcVarlookupGhcTyConlookupGhcDataCon expandReft expandPred expandExpr MapTyVarSTMTVSTvmaperrmsg makeSymbols initMapSt runMapTyVars mapTyVars mkVarExprjoinVarmakePluggedSigsmakePluggedAsmSigsmakePluggedDataCons Resolvableresolve ofBareType ofMeaSortofBSortofBPVar mkSpecType mkSpecType' makeConTypes dataConSpecmeetDataConSpecmakeTyConEmbedsmakeHaskellMeasuresmakeHaskellInlinesstrengthenHaskellMeasuresmakeMeasureSelectorsmakeMeasureSpecmakeMeasureSpec'makeClassMeasureSpec varMeasures makeRTEnvmkOutputannotategetOptsmkOpts withPragmasexitWithResult checkGhcSpeccheckTerminationExprcheckTycheckDefAsserts makeClassesmakeQualifiers makeHintsmakeLVarmakeLazy makeHIMeas makeTExprmakeTargetVarsmakeAssertSpecmakeAssumeSpecmakeDefaultMethods makeIAliasesmakeInvariantsmakeSpecDictionaries makeGhcSpecspecificationQualifiers cgInfoFInfo getGhcInfo transposeintCSizecSizeIntmkPtr isNullPtrfpLenpLenderefeqPtrplusminustimeseqneqleqgeqltgt liquidAssertB liquidAssert liquidAssume liquidAssumeB liquidErrorcrashforcechooseisEvenisOdd safeZipWithshouldTickBindaddTickLHsExprLetBodytickSameFileOnly MixEntry_TMunTMFreeVars TickishType BreakpointsHpcTicks ProfNotes TickTransEnvTTEfileNamedensity tte_dflagsdeclPathinScope blackListthis_mod tickishTypeTickTransStateTT tickBoxCount mixEntries TickDensity TickCallSitesTickExportedFunctionsTickTopFunctionsTickAllFunctionsTickForBreakPointsTickForCoverageguessSourceFile mkModBreakswriteMixEntries mkDensityshouldTickPatBindaddTickLHsBindsaddTickLHsBindbindTickaddTickLHsExpraddTickLHsExprRHSaddTickLHsExprEvalInneraddTickLHsExprNeverisGoodBreakExpr isCallSiteaddTickLHsExprOptAltaddBinTickLHsExpr addTickHsExpr addTickTupArgaddTickMatchGroup addTickMatch addTickGRHSs addTickGRHSaddTickGRHSBody addTickLStmtsaddTickLStmts' addTickStmtaddTickaddTickStmtAndBindersaddTickHsLocalBindsaddTickHsValBindsaddTickHsIPBinds addTickIPBindaddTickSyntaxExpr addTickLPataddTickHsCmdTop addTickLHsCmd addTickHsCmdaddTickCmdMatchGroupaddTickCmdMatchaddTickCmdGRHSsaddTickCmdGRHSaddTickLCmdStmtsaddTickLCmdStmts'addTickCmdStmtaddTickHsRecordBindsaddTickArithSeqInfoliftLnoFVsgetEnvwithEnv getDensity ifDensity getFreeVarsfreeVar addPathEntry getPathEntry getFileNameisGoodSrcSpan'isGoodTickSrcSpanifGoodTickSrcSpan bindLocals isBlackListed allocTickBox allocATickBox mkTickishallocBinTickBoxmkBinTickBoxHpcmkHpcPos hpcSrcSpanmatchesOneOfManymixHash $fMonadTM$fApplicativeTM $fFunctorTMBindingtoCNamemkHObj unpackHObj showStgType showFFIType typeTyCon insertRetAddr ret_addr_arg getPrimTyOfprimTyDescChar sort_alts mkPatSynCase mkDataConCase mkPArrCase mkFailurePair dsOverLit'conversionNameswarnAboutOverflowedLiterals litValKey matchGuards isTrueLHsExpr ds_lhs_binds dsLHsBinddsHsBind makeCorePair dictAritydsSpecs specUnfolding specOnInline sccEvBindsdsEvTerm dsTcCoercionds_tc_coercionNeedParsEqnSetEqnNo WarningPatuntidy_exhaustiveuntidy_messageuntidy_no_pars untidy_parsuntidy untidy_conpars untidy_litcheck'split_by_literalsprocess_explicit_literalsprocess_literalsconstruct_literal_matrixremove_first_column_litsplit_by_constructorfirst_column_only_varsno_need_default_caseneed_default_caseconstruct_matrixremove_first_column make_row_varshash_xmake_row_vars_for_constructor compare_cons remove_dups get_used_cons isConPatOut remove_dups' get_used_litsget_used_lits'get_litmb_negget_unused_consall_vars remove_var firstPatNis_conis_litis_var is_var_con is_var_lit isInfixConis_nilis_list return_list make_listmake_conmake_whole_contidy_eqnmight_fail_patmight_fail_lpat tidy_lpattidy_pat tidy_lit_pattidy_con ConArgPatsmatchOneConLikecompatible_pats same_fieldsselectConMatchVars conArgPatsPatGroupPgOverloadedListPgViewPgCoPgBangPgNpKPgNPgLitPgSynPgConPgAny matchCheckmatchCheck_reallymaximum_output dsShadowWarndsIncompleteWarn pp_contextppr_patsppr_shadow_patsppr_incomplete_patsppr_constraintppr_eqn matchEmptymatchVariables matchBangs matchCoercion matchViewmatchOverloadedListdecomposeFirstPatgetCoPat getBangPat getViewPatgetOLPat tidyEqnInfotidy1 tidy_bang_patgroupEquationssubGroup sameGroup viewLExprEqpatGroupdsInnerListComp dsTransStmt deListComp deBindComp dfListComp dfBindComp mkZipBind mkUnzipBind dePArrComp dePArrParCompdeLambdamkLambda parrElemType dsMcStmtsdsMcStmt matchTuple dsMcBindStmtdsInnerMonadComp mkMcUnzipMDsCmdEnvarr_id compose_idfirst_idapp_id choice_idloop_idmkCmdEnvdo_arr do_composedo_firstdo_app do_choicedo_loop do_premap mkFailExpr mkFstExpr mkSndExpr coreCaseTuple coreCasePair mkCorePairTymkCorePairExprmkCoreUnitExpr envStackType splitTypeAt buildEnvStack matchEnvStackmatchEnv matchVarStackmkHsEnvStackExprdsLCmddsCmd dsTrimCmdArgdsfixCmd trimInputdsCmdDo dsCmdLStmt dsCmdStmtdsRecCmd dsfixCmdStmts dsCmdStmts matchSimplys leavesMatchreplaceLeavesMatchreplaceLeavesGRHSfoldbcollectPatBinderscollectPatsBinderscollectlcollectEvBinders add_ev_bndrcollectLStmtsBinderscollectLStmtBinderscollectStmtBinderscatchIObindirlibdirdatadir libexecdir sysconfdir exprFreeVars exprReadVars exprLetVars exprLiterals extendEnvbindings$fCBVisitableAltCon$fCBVisitable(,,)$fCBVisitableExpr$fCBVisitableBind$fCBVisitable[] CallGraphcallGraphRanks makeCallGraphbindEqnsLitlin annotTokeniseclassifyjoinLCodeunLCommentTransform AnnotationAlitSpanshsannot' spanAnnotspanLineinRangetokeniseWithCommentTransform tokenSpansplusLocrenderAnnotTokenrenderTypAnnotrenderErrAnnotrenderLinAnnot lineStringinsertAnnotAnchorsstitchsplitSrcAndAnns tokenModule annotParse parseLines ppAnnotTyp ppAnnotErrallProg $fShowAnnMap dsIPBinds ds_val_bind dsStrictBindstrictMatchOnly findFielddsExplicitListspanTail dsArithSeqdsDohandle_failure mk_fail_msgwarnDiscardedDoBindings badMonadBind dsImpSpecscombineEvBindsaddExportFlagsAndRulesdsRuledsVect throwErrors getWarnings clearWarnings logWarnings hscDesugar' getHscEnvhandleWarnings ioMsgMaybeCoreMkC GenSymBindrepTopPrepTopDshsSigTvBindersrepTyClDrepRoleD repDataDefn repSynDecl repFamilyDeclrepFamilyDecls mk_extra_tvs repLFunDeps repLFunDep repFamilyInforepInstD repClsInstD repTyFamInstD repTyFamEqnrepDataFamInstDrepForD repCCallConv repSafetyrepFixDrepRuleD ruleBndrNames repRuleBndrds_msgrepCin_subst mkGadtCtxt repBangTy repDerivsrep_sigs rep_sigs'rep_sig rep_ty_sig rep_inlinerep_specialiserep_specialiseInst repInline repRuleMatch repPhases addTyVarBindsaddTyClTyVarBindsrepTyVarBndrWithKind repLContext repContextrepLPredrepPredrepLTysrepLTyrepTyrepTyLitrepLKindrepNonArrowLKindrepNonArrowKindrepRole repSplicerepLEsrepLErepE repMatchTup repClauseTup repGuardsrepLGRHS repFieldsrepLStsrepStsrepBinds rep_val_binds rep_binds rep_binds'rep_bind repLambdarepLPsrepLPrepP sort_by_locde_loc mkGenSymsaddBinds dupBinder lookupLBinder lookupBinder lookupLOcc lookupOcc globalVar lookupType wrapGenSyms occNameLitunCrep2dataCon'dataConrepPlitrepPvarrepPtuprepPunboxedTuprepPconrepPrec repPinfix repPtilderepPbang repPaspatrepPwildrepPlistrepPview repVarOrConrepVarrepConrepLitrepApprepLam repLamCaserepTup repUnboxedTuprepCond repMultiIfrepLetErepCaseErepDoErepComp repListExp repSigExp repRecCon repRecUpd repFieldExp repInfixApp repSectionL repSectionR repGuarded repNormal repLNormalGE repNormalGErepPatGE repBindStrepLetSt repNoBindStrepParStrepFrom repFromThen repFromTo repFromThenTorepMatch repClauserepValrepFunrepData repNewtyperepTySynrepInstrepClass repPragInl repPragSpecrepPragSpecInlrepPragSpecInst repPragRulerepFamilyNoKind repFamilyKind repTySynInstrepClosedFamilyNoKindrepClosedFamilyKind repTySynEqn repRoleAnnotD repFunDeprepProtorepCtxt repClassP repEqualP repConstr repTForallrepTvarrepTapprepTappsrepTSigrepTPromotedListrepTLit repNamedTyCon repTupleTyConrepUnboxedTupleTyCon repArrowTyCon repListTyConrepPromotedTyConrepPromotedTupleTyConrepPromotedNilTyConrepPromotedConsTyCon repPlainTV repKindedTVrepKVarrepKCon repKTuple repKArrowrepKListrepKApprepKAppsrepKStarrepKConstraint repLiteral mk_integer mk_rational mk_stringrepOverloadedLiteralmk_lit repGensymrepBindQ repSequenceQrepListcoreList coreList'nonEmptyCoreList coreStringLit coreIntLitcoreVar notHandledthSynthLibqqLib mkTHModulelibFunlibTcthFunthTcthConqqFunfieldExpTyConName patTyConNamefieldPatTyConName expTyConNametyVarBndrTyConNamematchTyConNameclauseTyConNamefunDepTyConName predTyConName returnQName bindQName sequenceQName newNameName mkNameName mkNameLName charLName stringLName integerLName intPrimLName wordPrimLNamefloatPrimLNamedoublePrimLName rationalLNamelitPNamevarPNametupPNameunboxedTupPNameconPName infixPName tildePName bangPNameasPName wildPNamerecPName listPNamesigPName viewPName fieldPatName matchName clauseNamevarENameconENamelitENameappEName infixEName infixAppName sectionLName sectionRNamelamEName lamCaseENametupENameunboxedTupEName condEName multiIfENameletEName caseENamedoEName compEName fromEName fromThenEName fromToENamefromThenToEName listENamesigEName recConEName recUpdEName fieldExpName guardedBName normalBName normalGEName patGEName bindSNameletSName noBindSNameparSNamefunDNamevalDName dataDName newtypeDName tySynDName classDName instanceDNamesigDName forImpDName pragInlDName pragSpecDNamepragSpecInlDNamepragSpecInstDName pragRuleDNamefamilyNoKindDNamefamilyKindDName dataInstDNamenewtypeInstDNametySynInstDNameclosedTypeFamilyKindDNameclosedTypeFamilyNoKindDName infixLDName infixRDName infixNDNameroleAnnotDNamecxtName classPName equalPName isStrictName notStrictName unpackedName normalCNamerecCName infixCName forallCNamestrictTypeNamevarStrictTypeName forallTNamevarTNameconTName tupleTNameunboxedTupleTName arrowTName listTNameappTNamesigTNamelitTName promotedTNamepromotedTupleTNamepromotedNilTNamepromotedConsTName numTyLitName strTyLitName plainTVName kindedTVName nominalRNamerepresentationalRName phantomRName inferRNamevarKNameconKName tupleKName arrowKName listKNameappKName starKNameconstraintKName cCallName stdCallName unsafeNamesafeNameinterruptibleNamenoInlineDataConNameinlineDataConNameinlinableDataConNameconLikeDataConNamefunLikeDataConNameallPhasesDataConNamefromPhaseDataConNamebeforePhaseDataConName ruleVarNametypedRuleVarName funDepName typeFamName dataFamName tySynEqnNamematchQTyConNameclauseQTyConNamestmtQTyConName conQTyConNamestrictTypeQTyConNamevarStrictTypeQTyConNamefieldExpQTyConNamefieldPatQTyConNamepredQTyConNameruleBndrQTyConNametySynEqnQTyConName roleTyConName expTyConKey matchTyConKeyclauseTyConKey qTyConKey expQTyConKey decQTyConKey patTyConKeymatchQTyConKeyclauseQTyConKey stmtQTyConKey conQTyConKey typeQTyConKey typeTyConKey decTyConKeyvarStrictTypeQTyConKeystrictTypeQTyConKeyfieldExpTyConKeyfieldPatTyConKey nameTyConKey patQTyConKeyfieldPatQTyConKeyfieldExpQTyConKeyfunDepTyConKey predTyConKey predQTyConKeytyVarBndrTyConKey decsQTyConKeyruleBndrQTyConKeytySynEqnQTyConKey roleTyConKey tExpTyConKey returnQIdKey bindQIdKeysequenceQIdKey liftIdKey newNameIdKey mkNameIdKeymkNameG_vIdKeymkNameG_dIdKeymkNameG_tcIdKey mkNameLIdKey unTypeIdKey unTypeQIdKeyunsafeTExpCoerceIdKey charLIdKey stringLIdKey integerLIdKey intPrimLIdKeywordPrimLIdKeyfloatPrimLIdKeydoublePrimLIdKeyrationalLIdKeyliftStringIdKey litPIdKey varPIdKey tupPIdKeyunboxedTupPIdKey conPIdKey infixPIdKey tildePIdKey bangPIdKeyasPIdKey wildPIdKey recPIdKey listPIdKey sigPIdKey viewPIdKey fieldPatIdKey matchIdKey clauseIdKey varEIdKey conEIdKey litEIdKey appEIdKey infixEIdKey infixAppIdKey sectionLIdKey sectionRIdKey lamEIdKey lamCaseEIdKey tupEIdKeyunboxedTupEIdKey condEIdKey multiIfEIdKey letEIdKey caseEIdKeydoEIdKey compEIdKey fromEIdKeyfromThenEIdKey fromToEIdKeyfromThenToEIdKey listEIdKey sigEIdKey recConEIdKey recUpdEIdKey fieldExpIdKey guardedBIdKey normalBIdKey normalGEIdKey patGEIdKey bindSIdKey letSIdKey noBindSIdKey parSIdKey funDIdKey valDIdKey dataDIdKey newtypeDIdKey tySynDIdKey classDIdKeyinstanceDIdKey sigDIdKey forImpDIdKey pragInlDIdKeypragSpecDIdKeypragSpecInlDIdKeypragSpecInstDIdKeypragRuleDIdKeyfamilyNoKindDIdKeyfamilyKindDIdKeydataInstDIdKeynewtypeInstDIdKeytySynInstDIdKeyclosedTypeFamilyKindDIdKeyclosedTypeFamilyNoKindDIdKey infixLDIdKey infixRDIdKey infixNDIdKeyroleAnnotDIdKeycxtIdKey classPIdKey equalPIdKey isStrictKey notStrictKey unpackedKey normalCIdKey recCIdKey infixCIdKey forallCIdKey strictTKey varStrictTKey forallTIdKey varTIdKey conTIdKey tupleTIdKeyunboxedTupleTIdKey arrowTIdKey listTIdKey appTIdKey sigTIdKey litTIdKeypromotedTIdKeypromotedTupleTIdKeypromotedNilTIdKeypromotedConsTIdKey numTyLitIdKey strTyLitIdKey plainTVIdKey kindedTVIdKey nominalRIdKeyrepresentationalRIdKey phantomRIdKey inferRIdKey varKIdKey conKIdKey tupleKIdKey arrowKIdKey listKIdKey appKIdKey starKIdKeyconstraintKIdKey cCallIdKey stdCallIdKey unsafeIdKey safeIdKeyinterruptibleIdKeynoInlineDataConKeyinlineDataConKeyinlinableDataConKeyconLikeDataConKeyfunLikeDataConKeyallPhasesDataConKeyfromPhaseDataConKeybeforePhaseDataConKeytExpDataConKey funDepIdKey typeFamIdKey dataFamIdKey tySynEqnIdKey quoteExpKey quotePatKey quoteDecKey quoteTypeKey ruleVarIdKeytypedRuleVarIdKey rtc_pvarsSymbol $fShowStratum$fShowDataDecl$fTyConableRTyConKVP _ppEnvCurrentppEnvPrintPredspdTruepdAnd mapQualBodyisProp addObligation isTauto_ureft ppTy_ureftppr_reftppr_stremapReftemapRefmapRefM mapBotRef mapBindRefstripAnnotationsstripAnnotationsRefmapRBase makeLType cinfoError emptyOutput $fShowDataCon$fPPrintDataCon$fSymbolicDataCon$fNFDataKVProf$fPPrintKVProf$fPPrintKVKind$fNFDataKVKind$fHashableKVKind$fMonoidOutput $fNFDataAnnot$fNFDataAnnInfo$fFunctorAnnInfo$fMonoidAnnInfo$fFunctorRClass $fSubableBody $fSubableDef$fSubableMeasure $fMonoidRTEnv$fSymbolicModuleName$fSymbolicModName $fShowModName$fResultFixResult$fResultTError $fResult[] $fNFDataCinfo $fErrorTError $fOrdTError $fEqTError $fPPrintEMsg$fPPrintSortedReft $fPPrintReft $fPPrintRefa$fPPrintPredicate $fPPrintPVar $fPPrintPred$fPPrintSymConst $fPPrintExpr$fPPrintSymbol $fPPrintSort $fPPrintBop $fPPrintBrel$fPPrintConstant$fPPrintInteger $fPPrintInt$fPPrintLocated $fPPrintText $fPPrint[] $fPPrint()$fPPrintSourcePos $fPPrint[]0$fPPrintStratum$fFunctorRType$fFunctorUReft$fReftablePredicate$fSubableRType $fSubableRef$fSubableUReft$fReftableUReft $fReftable[] $fSubable[]$fSubableStratum $fOrdDataDecl $fEqDataDecl$fFunctorRInstance $fShowRTyCon$fPPrintRTyCon$fFixpointRTyCon $fEqRTyCon$fTyConableLocated$fTyConableSymbol $fMonoid[] $fPPrintOblig $fShowOblig$fShowTyConInfo$fDefaultTyConInfo$fSymbolicRTyVar$fNFDataRTyVar $fNFDataRType $fNFData[] $fNFDataUReft$fSubableQualifier$fSubablePredicate $fSubablePVar $fMonoidUReft$fMonoidPredicate$fNFDataPredicate$fNFDataSrcSpan $fNFDataVar$fHashablePVar $fNFDataPVar$fNFDataPVKind $fFunctorPVar$fFunctorPVKind $fOrdPVar$fEqPVar $fShowLMap $fPPrint(,) $fPPrint[]1 $fPPrintMaybeallSVarsnoSVarnoUpdate updateFin updateDivsolve$fSubStratumRType$fSubStratumAnnot$fSubStratum[]$fSubStratum(,)$fSubStratumStratum trueRefTypetrueRefrefreshRefType refreshReffreshSym$fFreshablemRType$fFreshablem[]$fFreshablemUReft$fFreshablemReft$fFreshablem[]0$fFreshablemRefa$fFreshablemSymbolsepConj $fMonoidWorld simplifyLenTrEnvTr_locTEinlineLoopBreakerinlineFailCases isTypeError outerScTr isCaseArg innerScTrscTransinitEnvtransPgtransBd transExpr isNonPolyRecnonPolycollectNonRecLets appTysAndIdstrans makeTrans mkRecBindsmkSubs mkFreshIdsfreshInt freshUniquemkAlive mapNonRecmapBndmapExprmapAltmapBdM$fFreshableVar$fFreshableUnique$fFreshableIntDsMWDsST st_expandflagst_bindsDsMrunDsMmodGutsTypeEnvnormalizeTopBindnormalizeTyVarssubst normalizeBind normalizeNameaddnormalizeLiteralfreshNormalVar normalizeexpandDefaultCaseexpandDefaultCase' cloneCase sortCases pprArrowChain maybeParenppTyConB ppr_rsubtypeppExists ppAllExprppReftPs ppr_dbind ppr_fun_tail ppr_forallppr_cls ppr_pvar_def ppr_pvar_kindppr_name ppr_tyvarppr_tyvar_short ppRefArgsppRefSympprAnnInfoBindspprAnnInfoBindpprXOTppTable$fPPrintHashMap$fPPrintAnnInfo $fPPrintAnnot $fPPrintUReft $fPPrintRef$fPPrintRTyVar$fShowPredicate $fPPrintClass $fPPrintType $fPPrintName $fPPrintVar$fPPrintParseError$fPPrintSourceError$fPPrintErrMsg $fPPrintDoc$fPPrintSrcSpanReft $fEqPredicate $fFixpoint[]$fReftableRTypeFreeVareqRSorteqpdrPredaddPdsnlzPstrengthenRefTypestrengthenRefType_meets expandRApp rtPropToprtPropPVmkRTProppvArgs isNumeric addNumSizeFun subsTyVars subsTyVarsubsFree subsFreessubsFreeRAppTymkRApp refAppTyToFun subsFreeRefofType_ isBaseDataConisBaseTyvv_ tyConFTyContypeSortForAll typeSortFungrabArgsexpandProductType mkProductTy rTyVarSymbolmkDType cmpLexRef makeLexReft $fShowRTAlias$fExpressionVar$fSubsTytvtyRef$fSubsTySymbolRTypeRType$fSubsTySymbolRTypeLocated$fSubsTyRTyVarRTypeRType$fSubsTyRTyVarRTyVarRType$fSubsTyRTyVarRTypeRType0$fSubsTyRTyVarRTypeRType1$fSubsTyRTyVarRTypeRTyCon$fSubsTytvtyPVar$fSubsTytvtyPVKind$fSubsTytvtyReft$fSubsTytvty() $fPPrintREnv $fShowRef $fShowRType $fPPrintRType $fShowUReft $fShowRTyVar $fNFDataRef$fHashableRTyCon $fOrdRTyCon$fHashableRTyVar $fOrdRTyVar $fEqRTyVar $fEqRType$fFreeVarLocatedSymbol$fFreeVarRTyConRTyVar$fRefTypableRTyConRTyVarr$fRefTypablecSymbolr$fFixpointClass $fReftableRef $fMonoidRef $fMonoidRef0 $fMonoidRType substRConmkRTyCon rpredType predRTyCon wpredRTyCon symbolRTyCon substPred substPredP splitRPvar freeArgsPs freeArgsPsRefmeetListWithPSubsmeetListWithPSubsRefmeetListWithPSubmeetListWithPSubRefpredName wpredName symbolType pappAritypappSort predFTyCon$fShowDataConP$fPPrintDataConP $fShowTyConP$fPPrintTyConPcheckDuplicateMeasurerefineWithCtorBodybodyPred$fShowCMeasure$fPPrintCMeasure $fShowMeasure $fPPrintMSpec$fPPrintMeasure $fPPrintDef $fPPrintBody$fBifunctorSpec$fBifunctorMSpec$fBifunctorMeasure$fFunctorMSpec$fFunctorCMeasure$fFunctorMeasure $fFunctorDef $fMonoidSpec $fMonoidMSpec $fShowMSpec bareTypeP$fInputableRType $fShowPspecPspecVariaRInstClassIMeasCMeasPragmaInlineHMeasLazyLVarsDecrQualifEmbedEAliasPAliasAliasIAliasInvtInclDDeclImptAsrtsLAsrtAsrtAssmMeasArrowSym ArrowPredArrowFuncommentP simpleCommentnewlinePspecificationPparseWithErrorparseErrorError remParseError remLineColtoLogicP toLogicOnePdotangles stringLiteralbareArgP bareAtomPholePholeRefP refasHolePbbasePstratumP bstratumP bbaseNoAppPmaybeP bareTyArgPbareAtomNoAppP bareAllExprPbareConstraintP constraintPconstraintEnvPrrTy bareExistsPexBindPbareAllSbareAllPtyVarIdP predVarDefsP predVarDefP predVarIdPbPVar predVarTypeP mkPredVarTypexyParrowPbareFunP dummyBindPbbindP bareArrowisPropBareTypeisHPropBareTypeisPrimBareType getClassesdummyPsymsP dummyRSortrefasP predicatesP predicate1PmmonoPredicatePmonoPredicatePmonoPredicate1P predVarUsePfunArgsPbRPropbRVarbLstbTupbConbAppTy reftUReft predUReft dummyReft dummyTyIdmkSpecspecP reservedTokenspaces1pragmaPlazyVarP hmeasurePinlineP decreaseP filePathP datavarianceP variancePtyBindsPtyBindP termBareTypeP termTypeP invariantP invaliasP genBareTypePembedPaliasPpaliasPealiasPrtAliasPaliasIdPmeasureP cMeasureP iMeasureP instancePclassPrawBodyPtyBodyPbinderPgrabs measureDefP measurePatPtupPatPconPatPconsPatPnilPatPnullaryConPatPmkTupPatmkNilPat mkConsPat tupDataCondataConFieldsP dataConFieldP predTypeDDPdataConP dataConNameP dataSizeP dataDeclP dataDeclSizeP dataDeclFullPgrabUpto betweenMany specWraps$fInputableMeasure tidyValueVarstidyVV tidySymbolstidyLocalRefas tidyDSymbols tidyFunBinds tidyTyVars bindersTxtyVars subsTyVarsAllfunBindsSimplifysimplifyinlineLState symbolMapmkErrorLogicMLMrunMisBool isClassBind simplesymbolthrowgetState coreToPred coreToLogic checkBoolAlts coreToIte toPredApp toLogicAppmakeApp eVarWithMapbrelsbops splitArgstosymbol tosymbol'makesubmkImkRmkS stringSort ignoreVarsimpleSymbolVarsimpleSymbolVar' isErasableisDead$fSimplify(,,)$fSimplifyBind$fSimplifyExpr$fSymbolicByteString $fShowExpr$fApplicativeLogicM$fFunctorLogicM $fMonadLogicMbase Data.MaybeNothing makeRTypeBase addSymSort addSymSortRefaddSymSortRef' spliceArgsExStemappmap expToBindT expToBindReftgetBinds addExistsaddExist expToBindRef expToBind expToBindParg expToBindExpr freshSymbolmakeDictionaryName predsUnifyaddIdAaddLocA updateLocA freshTy_typeaddKVars varTemplateinstantiatePredsinstantiateStrataconsE cconsFreshE freshPredRefTemplateUnknownAssumedAssertedCGconsAct refreshHoles refreshHoles'extract refreshArgs' strataUnifymeasEnvassmgrty assm_grtygrtyTopsetLocwithRecswithTRecsetBind isGenericsplitWrsplitWbsplitWbsplitW'splitSsplitsSWithVariancersplitsSWithVariancebsplitSrsplitSsplitfWithVariancesplitCsplitsCWithVariancersplitsCWithVariancebsplitC checkStratumbsplitC'unifyVVrsplitCinitCGI coreBindLitsextendEnvWithVVaddCGEnv++=addSEnvrTypeSortedReft'+++=+=-=??=?= normalizeVVaddBind addClassBind pushConsBindaddCaddPostaddW addWarning boundRecVaraddA freshTy_exprfreshTy_reftypeisKut specTypeKVarstrueTyofType'fixTyrefreshArgsTop refreshArgsrefreshArgsSub makeDecrIndexmakeDecrIndexTyrecType checkIndex makeRecType safeLogIndex checkHintcheckValidHint consCBLet consCBToptcondconsCBSizedTysconsCBWithExprs makeFinTy makeTermEnvsconsCBconsBindnoHoles killSubstdefAnn addPToEnvextender addBinders unTemplateaddPostTemplatesafeFromAssertedcconsEsplitConstraints substStrata cconsLazyLetcastTy singletonReft checkUnbound dropExistsdropConstraints cconsCase refreshTy refreshVV refreshVVRefcaseEnvaltReftunfoldRinstantiateTysinstantiatePvs checkTyConcheckFuncheckAllcheckErrvarAnn getSrcSpan'argExpr varRefType varRefType'subsTyVar_meet'forallExprRefTypeforallExprReftforallExprReft_forallExprReftLookupsplitExistsCases exrefAddEq exrefToPred fFromRConcexprLocisType exprRefType exprRefType_ bindRefType_extendγ $fNFDataREnv$fNFDataCGInfo $fNFDataWfC $fNFDataType$fNFDataRTyCon $fNFDataClass $fNFDataSubC $fNFDataFEnv $fNFDataCGEnv$fFreshableStateTInteger$fPPrintTErrorCtxtidyErrContexttidyCtx stripReft stripRTypetidyREnv expandFix tidyTemps niceTemps ppSpecTypeErrppErrorpprintEnestssepVcat blankLineppError'ppVarerrSaved$fFromJSONTError$fToJSONTError $fException[]$fExceptionTError $fShowTErrorChkItvDepsstartendbinder meetSpanslineDiffgetShiftsetShift$fToJSONSourcePos sliceSaved sliceSaved' filterBindscoreDefscoreDeflineSpancatSpansbindFilevarFile bindSpans exprSpansaltSpans isJunkSpancoreDepsbindDep dependentVarsdiffVars lineDiff' diffLines diffShifts loadResult adjustOutput adjustTypes adjustResult errorsResult adjustErrors adjustSrcSpan isCheckedSpanisCheckedRealSpan adjustSpan adjustReal checkedItvifM$fFromJSONOutput$fToJSONOutput$fFromJSONAnnInfo$fToJSONAnnInfo$fFromJSONHashMap$fToJSONHashMap $fFromJSONDoc $fToJSONDoc$fFromJSONFixResult$fToJSONFixResult$fFromJSONSourcePos $fFunctorDiff $fShowDef setModule mkExprAliastxtx'mexprtxEApptxPApp cmpSymbol$fTransformableBody$fTransformableDef$fTransformableMeasure$fTransformableExpr$fTransformablePred$fTransformableEither$fTransformableRefa$fTransformableReft$fTransformableUReft$fTransformableRType$fTransformableTInline$fTransformableDataConP$fTransformable[]NameGHC.BaseStringVarlookupGhcThing' symbolLookupwiredInsymbolLookupEnv tryPropTyCon isTupleDClookupGhcDataCon'$fGhcLookupName$fGhcLookupLocated txPredReftmapPredM expandApp freeSymbols mapTyRVar varFunSymbolisFunVar plugHolesaddRefs maybeTrue killHolesaddSymisCon$fResolvable()$fResolvablePVar$fResolvablePredicate$fResolvableReft$fResolvableUReft$fResolvableSort$fResolvableSymbol$fResolvableLocated$fResolvableExpr$fResolvablePred$fResolvableQualifier$fResolvable[]exprArg mapM_pvartxParamtxPvarpredMaprtypePredBindsofBRType matchTyConfailRTAliasAppexpandRTAliasApp bareTCApptyAppexpandRTypeSynonyms makeConTypes'meetPad ofBDataDeclgetPsSig getPsSigPsaddps ofBDataConmakeTyConEmbeds'makeMeasureInline updateInlinesmakeMeasureDefinitionmakeMeasureSelector mkMeasureDConmkMeasureDCon_ measureCtors mkMeasureSort varSpecType isSimpleType expandMeasureexpandMeasureDefexpandMeasureBodyNodeGraph AliasTable makeRTAliases makeRPAliases makeREAliases graphExpandbuildAliasTablefromAliasSymbolbuildAliasGraphbuildAliasNodecheckCyclicAliasesgenExpandOrderbuildTypeEdgesbuildPredEdgesbuildExprEdgesAssoc renderPandoc renderDirect top'n'tailmkAnnMaprefTokentokAnnotvimAnnot_anns$fToJSONStatusAnnot1A1identannrowcol AnnErrorsAnnTypesAscmkBotswriteFilesOrStrings generateHtml renderHtml renderPandoc' pandocCmd pandocPreProc htmlHeader htmlClosecssHTMLmkStatus mkAnnMapErrcinfoErr mkAnnMapTypmkAnnMapBinders closeAnnotscloseAfilterA collapseApickOneAtrimLiquidAnnottokBodyisMeasisDataisIncl spacePrefix tokeniseSpec tokeniseSpec' chopAltDBGvimBindannTypesinsi$fToJSONAnnMap $fToJSONAssoc $fToJSON[] $fToJSONLoc$fToJSONAnnot1canonicalizePathsGHC.IOFilePath$fMonoidConfig cmdArgsRun'findfixCfgenvCfg copyright withPragma parsePragmawriteCheckVars writeResultresDocs reportUrl addErrors$fFixpointFixResult$fMonoidSMTSolver checkRType checkMeasuresberrUnknownVarcheckRefinedClassescheckDuplicateFieldNamescheckInvcheckIAl checkIAlOnecheckRTAliases checkBindcheckDupIntersectcheckDuplicatecheckDuplicateRTAlias checkMismatchtyCompaterrTypeMismatchcheckAbstractRefs checkReft checkMeasure checkMBodycheckMBodyUnify checkMBody'warn berrUnknown varSymbols varsAftergrepClassAsserts makeLocalSpecmakeSpec lookupIds mkVarSpec makeIAliases'makeInvariants'makeSpecDictionarymakeSpecDictionaryOneReplaceM ReplaceState ReplaceEnvRE_re_env_re_fenv_re_emb_re_tyi postProcess ghcSpecEnv makeGhcSpec' emptySpec makeGhcSpec0 makeGhcSpec1 makeGhcSpec2 makeGhcSpec3 makeGhcSpec4makeGhcSpecCHOP1makeGhcSpecCHOP3makeGhcSpecCHOP2replaceLocalBinds traverseExprs traverseBindswithExtendedEnvreplaceLocalBindsOne refTypeQuals pAppQualsexpressionsOfSortpAppQual refTypeQuals' refTopQualsmkPQualmkQual lookupSortorderedFreeVarsatomsgetGhcModGuts1desugarModuleWithLoc moduleHquals moduleSpec exitWithPanic$fResultSourceError getGhcInfo' makeLogicMap derivedVars derivedVsupdateDynFlags compileCFilesmgi_namestring importVars definedVarsgetDerivedDictionaries cleanFilesremoveFileIfExists allDepNamesdeclNameString patErrorName realSpecNamenotRealSpecNamegetSpecs getPatSpec getRealSpectransParseSpecs parseSpec specParser moduleImports moduleFile specIncludesreqFile errMsgErrors$fPPrintTargetVars $fShowGhcInfo$fPPrintGhcInfo$fPPrintGhcSpec