let mode = ref default_mode
+(* let pp_tactical = TacticAstPp.pp_tactical *)
+
+let pp_tactical = TacticAst2Box.tacticalPp
+
+
let _ =
try
match Sys.argv.(1) with
print_endline (TacticAstPp.pp_tactic term)
| `Tactical ->
let term = CicTextualParser2.parse_tactical istream in
- print_endline (TacticAstPp.pp_tactical term)
+ print_endline (pp_tactical term)
| `Alias ->
let env = CicTextualParser2.EnvironmentP3.of_string line in
print_endline (CicTextualParser2.EnvironmentP3.to_string env));
[ le_n \Rightarrow (refl_equal nat O)
| (le_S x y) \Rightarrow (refl_equal nat O) ]
+[\lambda z:nat. \lambda h:(le (plus (plus O O) (plus O O)) z). (eq nat (plus (plus O O) (plus O O)) (plus (plus O O) (plus O O)))]
+match (le_n (plus (plus O O) (plus O O))): le with
+[ le_n \Rightarrow (refl_equal nat (plus (plus O O) (plus O O)))
+| (le_S x y) \Rightarrow (refl_equal nat (plus (plus O O) (plus O O))) ]
+
(*
[\lambda z:nat. \lambda h:(le 1 z). (le 0 z)]
match (le_S 2 (le_n 1)): le with
[ le_n \Rightarrow (le_S 0 0 (le_n 0))
| (le_S x y) \Rightarrow (le_S 0 (S x) (le_S 0 x y)) ]
+
[\lambda x:bool. nat]
match true:bool with
[ true \Rightarrow O