package lambdapi

All checked builds pass
  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-4.0.0.tbz
sha256=0e2e73e0ea0c674f1263bf85ed3453ed3d6084d38eea29974a03ba9e382d29d7
sha512=2831db57fcd09206687a92fc9ee7d363e87bcec5167949e9c8161d41c63d5887b9f3556bfd63a7a9a0c12e5a5dc61a397baf4f496ebdb2a2fce122142c05e7a1

doc/lambdapi.parsing/Parsing/LpLexer/index.html

Module Parsing.LpLexerSource

Sourceval __sedlex_table_27 : string
Sourceval __sedlex_table_31 : string
Sourceval __sedlex_table_15 : string
Sourceval __sedlex_table_58 : string
Sourceval __sedlex_table_24 : string
Sourceval __sedlex_table_1 : string
Sourceval __sedlex_table_2 : string
Sourceval __sedlex_table_3 : string
Sourceval __sedlex_table_4 : string
Sourceval __sedlex_table_5 : string
Sourceval __sedlex_table_6 : string
Sourceval __sedlex_table_7 : string
Sourceval __sedlex_table_9 : string
Sourceval __sedlex_table_10 : string
Sourceval __sedlex_table_11 : string
Sourceval __sedlex_table_12 : string
Sourceval __sedlex_table_13 : string
Sourceval __sedlex_table_14 : string
Sourceval __sedlex_table_16 : string
Sourceval __sedlex_table_17 : string
Sourceval __sedlex_table_18 : string
Sourceval __sedlex_table_21 : string
Sourceval __sedlex_table_22 : string
Sourceval __sedlex_table_23 : string
Sourceval __sedlex_table_25 : string
Sourceval __sedlex_table_26 : string
Sourceval __sedlex_table_29 : string
Sourceval __sedlex_table_30 : string
Sourceval __sedlex_table_32 : string
Sourceval __sedlex_table_33 : string
Sourceval __sedlex_table_34 : string
Sourceval __sedlex_table_36 : string
Sourceval __sedlex_table_37 : string
Sourceval __sedlex_table_38 : string
Sourceval __sedlex_table_39 : string
Sourceval __sedlex_table_40 : string
Sourceval __sedlex_table_41 : string
Sourceval __sedlex_table_42 : string
Sourceval __sedlex_table_44 : string
Sourceval __sedlex_table_45 : string
Sourceval __sedlex_table_46 : string
Sourceval __sedlex_table_47 : string
Sourceval __sedlex_table_49 : string
Sourceval __sedlex_table_51 : string
Sourceval __sedlex_table_52 : string
Sourceval __sedlex_table_53 : string
Sourceval __sedlex_table_54 : string
Sourceval __sedlex_table_55 : string
Sourceval __sedlex_table_56 : string
Sourceval __sedlex_table_57 : string
Sourceval __sedlex_table_59 : string
Sourceval __sedlex_table_60 : string
Sourceval __sedlex_table_61 : string
Sourceval __sedlex_table_62 : string
Sourceval __sedlex_table_63 : string
Sourceval __sedlex_table_64 : string
Sourceval __sedlex_table_65 : string
Sourceval __sedlex_table_66 : string
Sourceval __sedlex_table_68 : string
Sourceval __sedlex_table_70 : string
Sourceval __sedlex_table_71 : string
Sourceval __sedlex_table_72 : string
Sourceval __sedlex_table_73 : string
Sourceval __sedlex_table_74 : string
Sourceval __sedlex_table_75 : string
Sourceval __sedlex_table_76 : string
Sourceval __sedlex_table_43 : string
Sourceval __sedlex_table_67 : string
Sourceval __sedlex_table_19 : string
Sourceval __sedlex_table_20 : string
Sourceval __sedlex_table_50 : string
Sourceval __sedlex_table_8 : string
Sourceval __sedlex_table_28 : string
Sourceval __sedlex_table_35 : string
Sourceval __sedlex_table_48 : string
Sourceval __sedlex_table_69 : string
Sourceval __sedlex_partition_70 : int -> int
Sourceval __sedlex_partition_16 : int -> int
Sourceval __sedlex_partition_32 : int -> int
Sourceval __sedlex_partition_51 : int -> int
Sourceval __sedlex_partition_52 : int -> int
Sourceval __sedlex_partition_80 : int -> int
Sourceval __sedlex_partition_20 : int -> int
Sourceval __sedlex_partition_77 : int -> int
Sourceval __sedlex_partition_26 : int -> int
Sourceval __sedlex_partition_50 : int -> int
Sourceval __sedlex_partition_28 : int -> int
Sourceval __sedlex_partition_47 : int -> int
Sourceval __sedlex_partition_69 : int -> int
Sourceval __sedlex_partition_76 : int -> int
Sourceval __sedlex_partition_24 : int -> int
Sourceval __sedlex_partition_66 : int -> int
Sourceval __sedlex_partition_23 : int -> int
Sourceval __sedlex_partition_35 : int -> int
Sourceval __sedlex_partition_62 : int -> int
Sourceval __sedlex_partition_10 : int -> int
Sourceval __sedlex_partition_13 : int -> int
Sourceval __sedlex_partition_15 : int -> int
Sourceval __sedlex_partition_3 : int -> int
Sourceval __sedlex_partition_58 : int -> int
Sourceval __sedlex_partition_64 : int -> int
Sourceval __sedlex_partition_79 : int -> int
Sourceval __sedlex_partition_17 : int -> int
Sourceval __sedlex_partition_43 : int -> int
Sourceval __sedlex_partition_60 : int -> int
Sourceval __sedlex_partition_12 : int -> int
Sourceval __sedlex_partition_27 : int -> int
Sourceval __sedlex_partition_39 : int -> int
Sourceval __sedlex_partition_33 : int -> int
Sourceval __sedlex_partition_5 : int -> int
Sourceval __sedlex_partition_41 : int -> int
Sourceval __sedlex_partition_61 : int -> int
Sourceval __sedlex_partition_1 : int -> int
Sourceval __sedlex_partition_19 : int -> int
Sourceval __sedlex_partition_78 : int -> int
Sourceval __sedlex_partition_31 : int -> int
Sourceval __sedlex_partition_59 : int -> int
Sourceval __sedlex_partition_75 : int -> int
Sourceval __sedlex_partition_40 : int -> int
Sourceval __sedlex_partition_67 : int -> int
Sourceval __sedlex_partition_25 : int -> int
Sourceval __sedlex_partition_11 : int -> int
Sourceval __sedlex_partition_65 : int -> int
Sourceval __sedlex_partition_48 : int -> int
Sourceval __sedlex_partition_21 : int -> int
Sourceval __sedlex_partition_30 : int -> int
Sourceval __sedlex_partition_8 : int -> int
Sourceval __sedlex_partition_49 : int -> int
Sourceval __sedlex_partition_2 : int -> int
Sourceval __sedlex_partition_56 : int -> int
Sourceval __sedlex_partition_63 : int -> int
Sourceval __sedlex_partition_73 : int -> int
Sourceval __sedlex_partition_4 : int -> int
Sourceval __sedlex_partition_38 : int -> int
Sourceval __sedlex_partition_46 : int -> int
Sourceval __sedlex_partition_57 : int -> int
Sourceval __sedlex_partition_82 : int -> int
Sourceval __sedlex_partition_22 : int -> int
Sourceval __sedlex_partition_45 : int -> int
Sourceval __sedlex_partition_54 : int -> int
Sourceval __sedlex_partition_71 : int -> int
Sourceval __sedlex_partition_74 : int -> int
Sourceval __sedlex_partition_34 : int -> int
Sourceval __sedlex_partition_42 : int -> int
Sourceval __sedlex_partition_55 : int -> int
Sourceval __sedlex_partition_68 : int -> int
Sourceval __sedlex_partition_14 : int -> int
Sourceval __sedlex_partition_53 : int -> int
Sourceval __sedlex_partition_7 : int -> int
Sourceval __sedlex_partition_18 : int -> int
Sourceval __sedlex_partition_72 : int -> int
Sourceval __sedlex_partition_81 : int -> int
Sourceval __sedlex_partition_29 : int -> int
Sourceval __sedlex_partition_37 : int -> int
Sourceval __sedlex_partition_44 : int -> int
Sourceval __sedlex_partition_6 : int -> int
Sourceval __sedlex_partition_36 : int -> int
Sourceval __sedlex_partition_9 : int -> int

Lexer for Lambdapi syntax, using Sedlex, a Utf8 lexer generator.

Sourceval remove_first : Sedlexing.lexbuf -> string
Sourceval remove_last : Sedlexing.lexbuf -> string
Sourceval remove_ends : Sedlexing.lexbuf -> string
Sourceexception SyntaxError of bool * Common.Pos.strloc
Sourceval syntax_error : ?recoverable:??? -> (Lexing.position * Lexing.position) -> string -> 'a
Sourceval fail : Sedlexing.lexbuf -> string -> 'a
Sourceval invalid_character : Sedlexing.lexbuf -> 'a
Sourcetype token =
  1. | EOF
  2. | ABORT
  3. | ADMIT
  4. | ADMITTED
  5. | ALL_HYPS
  6. | APPLY
  7. | AS
  8. | ASSERT of bool
  9. | ASSOCIATIVE
  10. | ASSUME
  11. | ASSUMPTION
  12. | BEGIN
  13. | BUILTIN
  14. | CHANGE
  15. | COERCE_RULE
  16. | COMMUTATIVE
  17. | COMPUTE
  18. | CONSTANT
  19. | DEBUG
  20. | END
  21. | EVAL
  22. | FAIL
  23. | FIRST_HYP
  24. | FLAG
  25. | FOCUS
  26. | GENERALIZE
  27. | HAVE
  28. | IN
  29. | INDUCTION
  30. | INDUCTIVE
  31. | INFIX
  32. | INJECTIVE
  33. | LET
  34. | NOTATION
  35. | OPAQUE
  36. | OPEN
  37. | ORELSE
  38. | POSTFIX
  39. | PREFIX
  40. | PRINT
  41. | PRIVATE
  42. | PROOFTERM
  43. | PROTECTED
  44. | PROVER
  45. | PROVER_TIMEOUT
  46. | QUANTIFIER
  47. | REFINE
  48. | REFLEXIVITY
  49. | REMOVE
  50. | REPEAT
  51. | REQUIRE
  52. | REWRITE
  53. | RULE
  54. | SEARCH
  55. | SEQUENTIAL
  56. | SET
  57. | SIMPLIFY
  58. | SOLVE
  59. | SYMBOL
  60. | SYMMETRY
  61. | TRY
  62. | TYPE_QUERY
  63. | TYPE_TERM
  64. | UNIF_RULE
  65. | VERBOSE
  66. | WHY3
  67. | WITH
  68. | DEBUG_FLAGS of bool * string
  69. | INT of string
  70. | QINT of Common.Path.t * string
  71. | FLOAT of string
  72. | SIDE of Pratter.associativity
  73. | STRINGLIT of string
  74. | SWITCH of bool
  75. | ARROW
  76. | ASSIGN
  77. | BACKQUOTE
  78. | COMMA
  79. | COLON
  80. | DOT
  81. | EQUIV
  82. | EXISTS
  83. | FORALL
  84. | FUN
  85. | HOOK_ARROW
  86. | LAMBDA
  87. | L_CU_BRACKET
  88. | L_PAREN
  89. | L_SQ_BRACKET
  90. | PI
  91. | R_CU_BRACKET
  92. | R_PAREN
  93. | R_SQ_BRACKET
  94. | SEMICOLON
  95. | THICKARROW
  96. | TURNSTILE
  97. | UNDERSCORE
  98. | VBAR
  99. | UID of string
  100. | UID_EXPL of string
  101. | UID_META of int
  102. | UID_PATT of string
  103. | QID of Common.Path.t
  104. | QID_EXPL of Common.Path.t

Tokens.

Identifiers.

There are two kinds of identifiers: regular identifiers and escaped identifiers of the form {|...|}.

Modulo those surrounding brackets, escaped identifiers allow to use as identifiers keywords or filenames that are not regular identifiers.

An escaped identifier denoting a filename or directory is unescaped before accessing to it. Hence, the module {|a b|} refers to the file a b.

Finally, identifiers must not be empty, so that we can use the empty string for the path of ghost signatures.

Sourceval is_keyword : string -> bool
Sourceval is_regid : string -> bool
Sourceval escape : string -> string

escape s escapes s if s is not regular. This is used to convert irregular module path elements to valid identifiers.

Sourceval comment : (Sedlexing.lexbuf -> 'a) -> int -> Sedlexing.lexbuf -> 'a
Sourceval qid : bool -> string list -> Sedlexing.lexbuf -> token
Sourceval token : allow_rocq_syntax:bool -> Sedlexing.lexbuf -> token * Lexing.position * Lexing.position