"      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ _ ` a b c d e f g h ij k l m nopqrstuvwxyz{|}~      !"#$%&'()*+,-./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"{"|"}"~"""""""""""""""""""""""""""#######$$$$$$$$$$$$$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&&&&'''(((((((((((())))))***+,--------./01111111 1 2 2 2 2222222222222222222 2!2"3#3$4%4&4'4(4)4*4+5,5-5.6/606162636465666768696:7;7<7=8>8?9@9A9B9C9D9E: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@lAmBnCoDpEqFrFsFtFuFvFwFxFyGzG{G|G}G~GGGGGGGGGGGGGGGGHNoneF1Decide 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.oV NoneF !"#  !"#  !#" !"#NoneF.'()*+,-./0123456789:;<=>?@AB CDEFGHIJKLM NO2'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO201'()*+,435678<=?2>@AB:9CDE;HGIJKLMF-./NO)'()*+,-./0123456789:;<=>?@AB CDEFGHIJKLM NONoneFHMPQ R  STUVWXYZ PQRSTUVWXYZ PQWXTUVZYRSPQ R  STUVWXYZNoneF[\][\][\][\] NoneF^_`abcd^_`abcd^_a`bcd^_`abcd NoneF=e f!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWeffe=e f!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW NoneFXghYZ[\]ghghXghYZ[\]NoneF.^_`abcdefghijklmnopqrstuvwxyz{|}~iii$^ hgfedcba`_ijklmnopqrstuvwxyz{|}~i NoneFjkl'the desugared rhs of the bind statementjkljkljkl NoneF8mmm1m Safe-InferredF nopqrstnopqrstnopqrts nopqrst Safe-Inferred+FuvwxyzuvwxyzuyxwvzuyxwvzNone !"24EFHM\{|}~H{|}~\}~{|Q{|} ~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$%&   $%&P&%$P$%&   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[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvw          k%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~           !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwNoneEF! !"#$%&'()*+,-./0123456789! !"#$%&'()*+,-./0123456789! !"#$%&'()*+,-./0123456789! !"#$%&'()*+,-./0123456789None *+-./02346BFt;6KVar Profile -----------------------------------------CCOutput ------------------------------------------------------------PCAnnotations -------------------------------------------------------YMeasure Refinement: {v | p}ZMeasure Refinement: {v | (? v)  = p }[ Measure Refinement: {v | v = e }xCConverting Results To Answers -------------------------------------zCSource Information Associated With Constraints --------------------~:INVARIANT : all Error constructors should have a pos fieldUnexpected PANIC!Refined Class/Interfaces ConflictTermination Error9Previously saved error, that carries over after DiffCheck5Illegal RTAlias application (from BSort, eg. in PVar)%Cyclic Refined Type Alias Definitions)Mismatch between Liquid and Haskell types#GHC error: parsing or type checkingUnbound symbol in specificationHaskell 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 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 8 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 8 $Abstract refinement associated with 8  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.hs3BCo- 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]5 variance info for type variables6%variance info for predicate variables78logical function that computes the size of the structure:GHC Type ConstructorxPredicate Parameters; TyConInfoD?Abstract Predicate Variables ----------------------------------J*Which Top-Level Binders Should be VerifiedSFIXME: WHAT IS THIS??TThese are backwards, why??e&The following is the overall type for specificationsA obtained from parsing the target source and dependent librariesg0Asserted Reftypes eg. see include/Prelude.spechAssumed ReftypesiUData Constructor Measure Sigs eg. (:) :: a -> xs:[a] -> {v: Int | v = 1 + len(xs) }j%Measure Types eg. len :: [a] -> Intk;Data Type Invariants eg. forall a. {v: [a] | len(v) >= 0}lData Type Invariant Aliasesm,Predicated Data-Constructors e.g. see testsposMap.hsn,Predicated Type-Constructors eg. see testsposMap.hsoList of yH free in spec and corresponding GHC var eg. (Cons, Cons#7uz) from testsposex1.hspUHow to embed GHC Tycons into fixpoint sorts e.g. "embed Set as Set_set" from includeDataSet.specq*Qualifiers in Source/Spec files e.g testspos qualTest.hsr5Top-level Binders To Verify (empty means ALL binders)s8Lexicographically ordered size witnesses for terminationt5Lexicographically ordered expressions for terminationuAVariables that should be checked in the environment they are usedv-Binders to IGNORE during termination checkingwConfiguration OptionsxName's exported by the module being verified{Dictionary Environment|=GHC Information : Code & Spec ------------------------------HPrinter ----------------------------------------------------------------HCommand Line Config Options --------------------------------------------source files to check%path to directory for including specsBcheck subset of binders modified (+ dependencies) since last checksupports real number arithmetic'check all binders (overrides diffcheck)/use native (Haskell) fixpoint constraint solverset 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 RTyConzHPPrint -----------------------------------------------------------------{For debugging.|KTyConable Instances -------------------------------------------------------4:};<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:x;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~z{| :;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~|}~efghijklmnopqrstuvwxyz{JLK  89:;345670,)'%!12-./2*+(+&+"#$2- +-+2+       <=DEFGHIACB>?MNOPQRSTUVWXYZ[\]^@PQKONMLCDEFGHIJvwrutsmnopqxy~z{|}hijkldefg\]^_`abcX[ZYRSTUVW;BA@?>=<:d_`abc:};BA@?>=<CDEFGHIJKONMLPQRSTUVWX[ZY\]^_`abcdefghijklmnopqrutsvwxyz{|}~g        )0,)'%!12-./2*+(+&+"#$2- +-+2+3456789:x;<=>?@ACBDEFGHIJLKM NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{| }~~z{|None24F        None 2346EFM               NoneF    NoneF        None+24EFM(           ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; <$           ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; <None24BEF = > ? @ A B C D E F G H I J K L M N O P Q R S = > ? @ A B C D E F G H I J K L M N O P Q R SNone234EFPrinting an Ordered List:Pretty Printing RefType ---------------------------------- TFrom GHC: TypeRep - U V T 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  - U V T 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 None!"2346EFHM)Various functions for converting vanilla  { to Spec+TBinders generated by class predicates, typically for constraining tyvars (e.g. FNum) |?Wrappers for GHC Type Elements -------------------------------- }JRefTypable Instances ----------------------------------------------------- ~JReftable Instances ------------------------------------------------------- GSubable Instances -----------------------------------------------------             !"#$% &'( ) * + ,-. / 0 | } ~  0      !"#$%&'()*+,-./00 %-.,/)"   (' ! +#$&*0              !"#$% &'( ) * + ,-. / 0 | } ~  !None+24EF6 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]`7 Instantiate D 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 HI. The range of the D substitutions are fresh or true RefType0. That is, there are no further _quantified_ D in the target.  Requires:  not $ null sB substRCon :: String -> (RPVar, SpecType) -> SpecType -> SpecType8GInterface: Modified CoreSyn.exprType due to predApp -------------------#1 23456 7 8 9 : MNOPQRSTUVWXYZ[\]^123456789:WXYZ[\]^MNOPQRSTUV321745869:#1 23456 7 8 9 : "NoneF+=%Integer Keys for Fixpoint Environment>Fixpoint EnvironmentE subtyping constraints over RTypeF%wellformedness constraints over RTypeG.additional stratum constrains for let bindingsH$subtyping over Sort (post-splitting)I/tracks constraints that come from let-bindings J5wellformedness constraints over Sort (post-splitting)K"counter for generating fresh KVarsLset of environment bindersMsource-position annotation mapN#information about type-constructorsO ? FIX THISP+Terminating Metrics for Recursive functionsQ3Set of variables to ignore for termination checkingR ? FIX THISS4primitive Sorts into which TyCons should be embeddedT>Fixpoint Kut variables (denoting "back-edges"/recursive KVars)U ? FIX THIS VCheck Termination (?) WCheck Strata (?)X!Trust ghc auto generated bindingsYprune unsorted refinementsZ#Errors during coontraint generation[ Profiling distribution of KVars \3number of recursive functions seen (for benchmarks)m Location in original source filenSpecTypes for Bindings in scopeoMap from free Symbols (e.g. datacons) to Var , penv :: !(F.SEnv PrType) -- ^ PrTypes for top-level bindings (merge with renv) pDictionary EnvironmentqFixpoint Environmentr0recursive defs being processed (for annotations)sDatatype invariants tDatatype checkable invariants u6Top-level variables with (assert)-guarantees to verifyv&Top-level variables with assumed typesw+How to embed GHC Tycons into fixpoint sortsx*Map from top-level binders to fixpoint tagyCurrent top-level binderz6Type of recursive function with decreasing constraints{&Let binding that have not been checked|&Types with holes, will need refreshing}Logical Constraints^;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~X;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~_klmnopqrstuvwxyz{|}ijaebfghfcd_`^]CDEFGHIJKLMNOPQRSTUVWXYZ[\~AB@?;<=>&;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aebfghfcdijklmnopqrstuvwxyz{|}~#None24F$NoneEFThe name of the bound(Type variables that appear in the bounds'These are abstract refinements, for nowThese are value variablesThe body of the bound       %None234F User-defined properties for ADTsAssumed (unchecked) typesImported functions and typesLocal type signaturesData type invariants"Data type invariants to be checkedLoaded spec module namesPredicated data definitionsIncluded 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 definitions5Binders to turn into bounds 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 functionsA       ,,       &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 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 { | } ~   'NoneF  (NoneFBLH Primitive TyCons ----------------------------------------------BLH Primitive TyCons ----------------------------------------------ALH Primitive Types ----------------------------------------------    )None234<EF2     +        *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 ----------------------------mNiki: please write more documentation for this, maybe an example? I can't really tell whats going on... (RJ)     -NoneF    .None24F     /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) /Used for annotating reads (i.e. at Var x sites) PUsed to update annotations for a location, due to (ghost) predicate applications FRight 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 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 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 { | } ~  0None24F CPretty 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.    1None24F 3Intervals of line numbers that have been re-checked -Map from saved-line-num ---> current-line-num "Variable dependencies "call-graph" Variable definitions &line at which binder definition starts $line at which binder definition ends name of binder+Main type of value returned for diff-check. returns a subset of the  [CoreBind] of the input targetm 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.   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. DDiff Interface -----------------------------------------------------,`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. getShift lm old returns Just  if the line number old shifts by  in the diff and returns Nothing otherwise. setShift (lo, hi, ) lm updates the interval map lm appropriately DAeson instances ----------------------------------------------------K      C     2NoneFNError-Reader-IO For Bare Transformation --------------------------------------       !     !     !       !3None24F"  #             "#"#"  #             4None24F(0It'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.$%&'    () *    $%&'()*$%&'()*$%&'    () *    5NoneEF+ ! ",- #+,-+,-+ ! ",- #6NoneF./012 $345 %6 & '789  ./0123456789 276./01345 89 ./012 $345 %6 & '7897NoneEF:;< ( ) * +:;<:;<:;< ( ) * +8None24EF=> , - . / 0 1 2 3 4 5 6 7 8 9=>=>=> , - . / 0 1 2 3 4 5 6 7 8 99NoneEF :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?@AB ;CD < = > ? @ A B C : D E F?@ABCD?@ABCD?@AB ;CD < = > ? @ A B C : D E F:NoneEF E GFG H I J K LH MEFGHEHFG E GFG H I J K LH M;NoneEFIJ N O P QKL RMNO S T U VP W XQ Y Z [ \ ] ^ IJKLMNOPQ IJQMNOLKPIJ N O P QKL RMNO S T U VP W XQ Y Z [ \ ] ^<NoneEF _ ` aR b c d e f g h i j k l m nRR _ ` aR b c d e f g h i j k l m n=None?EF[=API: Bare Refinement Types ----------------------------------STUVWXYZ o p[\] q^ r s t u_ v` wa x yb zSTUVWXYZ[\]^_`abSTUVWZY[\]^_`abXSTUVWXYZ o p[\] q^ r s t u_ v` wa x yb z>None24EF {CJSON: Annotation Data Types ---------------------------------------coutput" creates the pretty printed outputdannotate& 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 HJ& 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 ----------------------------------------------------< { cd | } ~  cdcd6  { cd | } ~  ?None24EFM Attempt to canonicalize all   s in the 3 so we don't have to worry about relative paths.gUpdating optionshCExit Function ----------------------------------------------------- %Monoid instances for updating options e fg h efghefgh e fg h @None?EFM  checkRTypeO determines if a type is malformed in a given environment ---------------------  checkMeasuresO determines if a measure definition is wellformed -----------------------------i jk ijkijki jk ANone F l efghijklmnopqrstuvwxyz{lefghijklmnopqrstuvwxyz{l  l KNoneFefghijklmnopqrstuvwxyz{lefghijklmnopqrstuvwxyz{lBNone F m  mm m  CNoneFn  nnn  DNone24EFM =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(o                       ! " # $ % & ' ( ) * +oo(o                       ! " # $ % & ' ( ) * +E Safe-InferredFppppFNone;FqrstuvwxqrstuvwxqrstuvwxqrstuvwxG Safe-Inferred;<Fyz{|}~yz{|}~yz{|}~yz{|}~ ,LMNLMOLMPLMQLMRLMRLMSLMTLMUVWXVWYVWZVW[VW\VW]VW^VW_VW`Vabcdefghijklmnopqrstuvwxyz{|}~   ]      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~3      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyyz{|}}~      !"#$%&'()*+,-./0123456789:;<=>?@ 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,1-1.1/101112131425262728292:2;2<222=2>2?2@2A2B2C2D2E2F2G2H2I2J3K3L4M4N4O4P4Q4R4S5T5U5V6W6X6Y6Z6[6\6]6^6_6`6a6b7c7d7e8f8g9h9i9j9k9l9m:n:o:p:q;r;s;t;u;v;w;x;y;z<{=|=}=~=============>>????@@@ABCDEFFFFFFFFGGGGGGGGGGGGGGGGGGGGG      !"#$%&'()*+,-./0123456 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 { | } ~                                                                                      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Va                                  ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 723 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 { | } ~                       VW   '  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! $ $ $ $ $ $ $ $ $ $ $ $ % % % % % % % % % % % % % % % % % % % % % & & & !& "& #& $& %& && '& (& )& *& +& ,& -& .& /& 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& {& |& }& ~& & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & ' ' ' ' ' ' ' ' ' ' ' ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )a) ) ) ) ) ) ) ) ) ) )  * + + + + , , ,3, , , , , , , , , , , , - . . . . . . . . . / /0/ / / / / / / / / / / !/ "/ #/ $/ %/ &/ '/ 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/ j/ 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 11 11 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 !3 "3 #L $ $ % &L ' '4 (4 )4 *4 +4 ,4 -4 .4 /4 05 15 25 36 46 56 66 77 87 97 :7 ;8 <8 =8 >8 ?8 @8 A8 B8 C8 D8 E8 F8 G8 H8 I9 J9 K9 L9 M9 N9 O9 P9 Q9 R9 S9 T9 U9 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< {< |< }= ~= = = = = = = = = = = > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ?  ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ A A A A A A A A A A A A A A A A A A A A A A A A A A B B B B B B B B B B C C D D D D D D D D D D D D D D D !D "D #D $D %D &D 'D (D )D *D +D ,D -D .D /D 0D 1D 2D 3D 4D 5DD 6D 7D 8 9liquidhaskell-0.4.0.1'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.BoundsLanguage.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.RefSplit+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.Bare.Spec Language.Haskell.Liquid.AnnotateLanguage.Haskell.Liquid.CmdLine"Language.Haskell.Liquid.Bare.Check$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.3.0.1Language.Fixpoint.TypesisDummydummyLocvallocElocLocLocated 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 unTickExprisFractionalClass isDataConIdgetDataConVarUniqueunpackRealSrcSpan realSrcSpan toFixSDocsDocDocpprDocshowPprshowSDoc showSDocDumptypeUniqueStringsourcePosSrcSpansourcePosSrcLocsrcSpanSourcePossrcSpanSourcePosEsrcSpanFilenamesrcSpanStartLoc srcSpanEndLoconeLinelineColrealSrcSpanSourcePosrealSrcSpanSourcePosE getSourcePos getSourcePosEcollectArgumentscollectValBinders'ignoreLetBindsisDictionaryExpression isDictionary isInternal realTcArity kindArity uniqueHash lookupRdrName addContextqualImportDecl ignoreInline symbolTyCon symbolTyVar varSymbolqualifiedNameSymbolfastStringTextsymbolFastStringtyConTyVarsDef$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!? safeFromJustfst4snd4 mapFourth4addFst3addThd3dropFst3dropThd3replaceNfourth4third4mapSndMfirstMsecondMfirst3Msecond3Mthird3Mthird3zip4 getIncludeDir getCssPathgetCoreToLogicPathmaximumWithDefaultsafeZipWithErrorsafeZip3WithErrormapNsmapNpadordNub intToStringKVProfKVKindLetECaseELamE PredInstE TypeInstE NonRecBindERecBindEOutputOo_varso_errorso_typeso_templso_botso_resultAnnotAnnLocAnnRDfAnnDefAnnUseAnnInfoAIRClassrcNamercSupersrcTyVars rcMethodsBodyRPEDefmeasuredparamsctordsortbindsbodyCMeasureCMcNamecSortMeasureMnamesorteqnsRTEnvRTE typeAliases predAliases exprAliasesModType SpecImport SrcImportTargetModNameResultresultCinfoCici_locci_errTErrorErrOther ErrRClassclsinsts ErrTerminbindErrSaved ErrAliasAppnargsdargsErrIllegalAliasAppdnamedpos ErrAliasCycleacycle ErrMismatchhslqErrGhc ErrUnboundErrHMeasErrMeasms ErrIAlMist1t2ErrIAlErrInvtinv ErrBadData ErrDupSpecs ErrDupAliaskindlocs ErrTermSpecexp ErrTySpecvartypErrParseerr ErrAssTypeoblref ErrFCrash ErrSubTypeposmsgctxtacttexpEMsg ErrorResultREnv UReftableofUReftRTypeRepty_varsty_preds ty_labelsty_bindsty_reftsty_argsty_resRTAliasRTArtNamertTArgsrtVArgsrtBodyrtPosrtPosEDataDeclDtycName 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 freeLabelstyConststyArgstyResdc_locETyConP freeTyVarsTy freePredTy freeLabelTy varianceTs variancePssizeFunLMaplvarlargslexprLogicMapGhcSpecSPtySigsasmSigsctorsmeas invariantsialiasesdconsPtconsPfreeSymstcEmbeds qualifierstgtVarsdecrtexprslvarslazyconfigexportsmeasurestyconEnvdictsGhcInfoGIenvcbsderVarsimpVarsdefVarsuseVarshqFilesimportsincludesspecPPEnvPPppPsppTyVarppSsppShortPPrintpprint pprintTidyTidyFullLossyConfigfilesidirs diffcheckreal fullchecknativebindersnoCheckUnknown notermination nowarningstrustinternals nocaseexpandstrata notruetypestotalitynoPrune maxParams smtsolver shortNames shortErrors ghcOptionscFilesshowppppEnv ppEnvShort toLogicMap eAppWithMappvTypepvars isClassRTyCon rTyConPVs rTyConPropVsisPropPV isClassTypedefaultTyConInfo ignoreObligisSVar mapRTAVars fromRTypeRep toRTypeRepmkArrow bkArrowDeepbkArrow safeBkArrowmkUnivsbkUnivbkClassrFunrClsrRCls addTermCond addInvCondpApppappSym isTrivialmapReftisBaseisFunTymapReftMfoldReft efoldReftmapBotmapBindofRSorttoRSort insertsSEnv rTypeValueVar rTypeReftstripRTypeBase makeDivType makeFinType getStrata errToFCrasherrSpanerrOther isSrcImport isSpecImport getModName getModStringmapRTmapRPmapRE emptyKVProf updKVProfholeisHolehasHole SubStratumsubSsubsS<:= solveStrata FreshablefreshtruerefreshemptysimplifyBoundstransformRecExprtransformScope anormalize pprintSymbolpprManyOrderedrtypeDoc ppr_rtypeppSpinepprintLongListstrengthenDataConTypepdVarfindPVaruRTypeuRType' uRTypeGenuPVaruReftuToprVarrTyVar symbolRTyVar normalizePdsrExrAppstrengthenRefTypeGen strengthen addTyConInfo appRTyCon generalize tyClassessubsTyVars_meetsubsTyVars_nomeetsubsTyVar_nomeetsubsTyVar_meetsubts subvUReft subvPredicateofType dataConSymbol dataConReft dataConMsRefttoTyperTypeSortedReft rTypeSort applySolutionshiftVVtypeUniqueSymboltypeSort tyConNamemkDataConIdsTy classBinds makeNumEnv 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$fMonoidLConstraintRRBEnvRBEnvRRBoundRBoundBoundbnametyvarsbparamsbargsbbody makeBoundenvToSubMSpecctorMapmeasMapcmeasMapimeasSpecsigs localSigs dataDeclsaliasespaliasesealiasesembedshmeashboundsinlinespragmas cmeasures imeasuresclasses termexprs rinstance dvarianceboundsBareSpec qualifySpecmkMmkMSpec'mkMSpecmapTy dataConTypes defRefTypehsSpecificationPlhsSpecificationPspecSpecificationPparseSymbolToLogic tidySymbol isTmpSymbol tidySpecType propTyCon hpropTyConpropTypemaxArity wiredTyCons wiredDataConswiredTyDataConslistTyDataConstupleTyDataCons pdVarReftmkpsmkps_ logicTypestrengthenResult runToLogic coreToDef coreToFunmkLitliteralFRefType literalFReft literalConst txRefSort txExpToBindmakeDictionariesmakeDictionary dfromListdmaptydmapdinsertdlookupdhasinfosplitXRelatedRefsgenerateConstraints tidyError DiffCheckDCnewBinds oldOutputnewSpecslicethin saveResultBareEnvBEmodNametcEnvrtEnvvarEnvhscEnvlogicEnvTInlineTItiargstibodyInlnEnvTCEnvWarnBareMinModule withVArgs setRTAlias setRPAlias setREAliasexecBare Transformable txRefToLogic GhcLookup lookupNamesrcSpanlookupGhcThing lookupGhcVarlookupGhcTyConlookupGhcDataCon expandReft expandPred expandExpr MapTyVarSTMTVSTvmaperrmsg makeSymbols initMapSt runMapTyVars mapTyVars mkVarExprjoinVarsimpleSymbolVar hasBoolResultmakePluggedSigsmakePluggedAsmSigsmakePluggedDataCons Resolvableresolve ofBareType ofMeaSortofBSortofBPVar mkSpecType mkSpecType' makeConTypes dataConSpecmeetDataConSpecmakeTyConEmbedsmakeHaskellMeasuresmakeHaskellInlinesstrengthenHaskellMeasuresmakeMeasureSelectorsmakeMeasureSpecmakeMeasureSpec'makeClassMeasureSpec varMeasuresmakeHaskellBounds makeRTEnv makeClassesmakeQualifiers makeHintsmakeLVarmakeLazy makeHBounds makeTExpr makeHIMeasmakeTargetVarsmakeAssertSpecmakeAssumeSpecmakeDefaultMethods makeIAliasesmakeInvariantsmakeSpecDictionaries makeBoundsmkOutputannotategetOptsmkOpts withPragmasexitWithResult checkGhcSpeccheckTerminationExprcheckTy makeGhcSpecspecificationQualifiers cgInfoFInfo getGhcInfo transposeintCSizecSizeIntmkPtr isNullPtrfpLenpLenderefeqPtrplusminustimeseqneqleqgeqltgt liquidAssertB liquidAssert liquidAssume liquidAssumeB liquidErrorcrashforcechooseisEvenisOdd safeZipWith==>shouldTickBindaddTickLHsExprLetBodytickSameFileOnly 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_strpToRefemapReftemapRefmapRefM 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 $fUReftable()$fUReftableUReft $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 dropBoundLikeisBoundLikePredisImp 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 maybeParenppTyConB ppr_rsubtypeppExists ppAllExprppReftPs ppr_dbind ppr_rty_fun ppr_rty_fun' ppr_forallppr_cls ppr_pvar_def ppr_pvar_kindppr_name ppr_tyvarppr_tyvar_short ppRefArgsppRefSympprAnnInfoBindspprAnnInfoBindpprXOTppTable$fPPrintHashMap$fPPrintAnnInfo $fPPrintAnnot $fPPrintUReft $fPPrintRef$fPPrintRTyVar$fShowPredicate $fPPrintClass $fPPrintType $fPPrintTyCon $fPPrintName $fPPrintVar$fPPrintParseError$fPPrintSourceError$fPPrintErrMsg $fPPrintDoc$fPPrintSrcSpanReft $fEqPredicate $fFixpoint[]$fReftableRTypeFreeVareqRSorteqpdrPredaddPdsnlzPstrengthenRefTypestrengthenRefType_meets expandRApp rtPropToprtPropPVmkRTProppvArgs isNumeric addNumSizeFun subsTyVars subsTyVarsubsFree subsFreessubsFreeRAppTymkRApp refAppTyToFun subsFreeRefofType_ isBaseDataConisBaseTy appSolRefa tyConFTyContypeSortForAll typeSortFungrabArgsexpandProductType mkProductTy rTyVarSymbolmkDType mkDecrFun 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$fPPrintTyConP pprint_bsyms makeBoundType partitionPsisPApp toUsedPVars toUsedPVarmakeRef$fBifunctorBound $fPPrintBound $fShowBound $fEqBound$fHashableBoundcheckDuplicateMeasurerefineWithCtorBodybodyPred$fShowCMeasure$fPPrintCMeasure $fShowMeasure $fPPrintMSpec$fPPrintMeasure $fPPrintDef $fPPrintBody$fBifunctorSpec$fBifunctorMSpec$fBifunctorMeasure$fBifunctorDef$fFunctorMSpec$fFunctorCMeasure$fFunctorMeasure $fFunctorDef $fMonoidSpec $fMonoidMSpec $fShowMSpec bareTypeP$fInputableRType $fShowPspecPspecVariaRInstClassIMeasCMeasPragmaPBoundHBoundInlineHMeasLazyLVarsDecrQualifEmbedEAliasPAliasAliasIAliasInvtInclDDeclImptAsrtsLAsrtAsrtAssmMeasArrowSym ArrowPredArrowFuncommentP simpleCommentnewlinePspecificationPparseWithErrorparseErrorError remParseError remLineColtoLogicP toLogicOnePdotangles stringLiteralbareArgP bareAtomPholePholeRefP refasHolePbbasePstratumP bstratumP bbaseNoAppPmaybeP bareTyArgPbareAtomNoAppPbareConstraintP constraintPconstraintEnvPrrTybareAllSbareAllPtyVarIdP predVarDefsP predVarDefP predVarIdPbPVar predVarTypeP mkPredVarTypexyParrowPbareFunP dummyBindPbbindP bareArrowisPropBareTypeisHPropBareTypeisPrimBareType getClassesdummyPsymsP dummyRSortrefaP predicatesP predicate1PmmonoPredicatePmonoPredicatePmonoPredicate1P predVarUsePfunArgsPboundPbRPropbRVarbLstbTupbConbAppTy reftUReft predUReft dummyReft dummyTyIdmkSpecspecP reservedTokenspaces1pragmaPlazyVarP hmeasurePhboundPinlineP 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 simplesymbolthrowgetState coreToPred coreToLogic checkBoolAlts coreToIte toPredApp toLogicAppmakeApp eVarWithMapbrelsbops splitArgstosymbol tosymbol'makesubmkImkRmkS ignoreVarsimpleSymbolVar' isErasableisDead isUndefined$fSimplify(,,)$fSimplifyBind$fSimplifyExpr $fShowExpr$fApplicativeLogicM$fFunctorLogicM $fMonadLogicMbase Data.MaybeNothing makeRTypeBase addSymSort addSymSortRefaddSymSortRef' spliceArgsExStemappmap expToBindT expToBindReftgetBinds addExistsaddExist expToBindRef expToBind expToBindParg expToBindExpr freshSymbolmakeDictionaryNameIsFreeisFree splitRType splitUReftsplitRef splitReft splitPred $fIsFreex 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 makeRecTypeunOConsmergecondition safeLogIndex checkHintcheckValidHint consCBLet consCBToptcondconsCBSizedTysconsCBWithExprs makeFinTy makeTermEnvsconsCBconsBindnoHoles killSubst killSubstReftdefAnn addPToEnvextender addBinders unTemplateaddPostTemplatesafeFromAssertedcconsEsplitConstraints substStrata cconsLazyLetcastTy singletonReft checkUnbound dropExistsdropConstraints cconsCase refreshTy refreshVV refreshVVRefcaseEnvaltReftunfoldRinstantiateTysinstantiatePvs checkTyConcheckFuncheckAllcheckErrvarAnn getSrcSpan'argExpr varRefType varRefType'subsTyVar_meet'forallExprRefTypeforallExprReftforallExprReft_forallExprReftLookupexprLocisType 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' assumeSpecdiffVarssigVars globalDiffisDiffthinWithcoreDeps txClosure filterBindsspecDefsspecSigscoreDefscoreDeflineSpancatSpansbindFilevarFile bindSpans exprSpansaltSpans isJunkSpan lineDiff' diffLines diffShifts loadResult adjustOutput adjustTypes adjustResult errorsResult adjustErrors adjustSrcSpan isCheckedSpanisCheckedRealSpan adjustSpan adjustReal checkedItvifMlinelineE$fFromJSONOutput$fToJSONOutput$fFromJSONAnnInfo$fToJSONAnnInfo$fFromJSONHashMap$fToJSONHashMap $fFromJSONDoc $fToJSONDoc$fFromJSONFixResult$fToJSONFixResult$fFromJSONSourcePos $fFunctorDiff $fShowDef setModule mkExprAliastxtx'txQuantmexprtxEApptxPApp cmpSymboldropModuleNamesAndUnique$fTransformableBody$fTransformableDef$fTransformableMeasure$fTransformableExpr$fTransformablePred$fTransformableEither$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' ofBDataDeclgetPsSig getPsSigPsaddps ofBDataConmakeTyConEmbeds'makeMeasureInline updateInlinesmakeMeasureDefinitionmakeMeasureSelector mkMeasureDConmkMeasureDCon_ measureCtors mkMeasureSort isSimpleType varSpecTypemakeHaskellBoundtoBoundcapitalizeBound expandMeasureexpandMeasureDefexpandMeasureBodyNodeGraph AliasTable makeRTAliases makeRPAliases makeREAliases graphExpandbuildAliasTablefromAliasSymbolbuildAliasGraphbuildAliasNodecheckCyclicAliasesgenExpandOrderbuildTypeEdgesbuildPredEdgesbuildExprEdges varSymbols varsAftergrepClassAsserts makeLocalSpecmakeSpec lookupIds mkVarSpec makeIAliases'makeInvariants'makeSpecDictionarymakeSpecDictionaryOnemkBoundAssoc 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 checkMeasurescheckRefinedClassescheckDuplicateFieldNamescheckInvcheckIAl checkIAlOnecheckRTAliases checkBindcheckDupIntersectcheckDuplicatecheckDuplicateRTAlias checkMismatchtyCompaterrTypeMismatch checkAppTys checkTcArity checkFunRefscheckAbstractRefs checkReft checkMeasure checkMBodycheckMBodyUnify checkMBody'ReplaceM ReplaceState ReplaceEnvRE_re_env_re_fenv_re_emb_re_tyilistLMap postProcess ghcSpecEnv makeGhcSpec' emptySpec makeGhcSpec0 makeGhcSpec1 makeGhcSpec2 makeGhcSpec3 makeGhcSpec4makeGhcSpecCHOP1makeGhcSpecCHOP3makeGhcSpecCHOP2replaceLocalBinds traverseExprs traverseBindswithExtendedEnvreplaceLocalBindsOne refTypeQuals pAppQualsexpressionsOfSortpAppQual refTypeQuals' refTopQualsmkPQualmkQual lookupSortorderedFreeVars targetFInfo targetQualsgetGhcModGuts1desugarModuleWithLoc 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