package coq
Formal proof management system
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.14.0.tar.gz
sha256=b1501d686c21836302191ae30f610cca57fb309214c126518ca009363ad2cd3c
doc/src/tuto3_plugin/g_tuto3.ml.html
Source file g_tuto3.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
let __coq_plugin_name = "tuto3_plugin" let _ = Mltop.add_known_module __coq_plugin_name # 3 "doc/plugin_tutorial/tuto3/src/g_tuto3.mlg" open Ltac_plugin open Construction_game (* This one is necessary, to avoid message about missing wit_string *) open Stdarg let () = Vernacextend.vernac_extend ~command:"ShowTypeConstruction" ~classifier:(fun _ -> Vernacextend.classify_as_query) ?entry:None [(Vernacextend.TyML (false, Vernacextend.TyTerminal ("Tuto3_1", Vernacextend.TyNil), (let coqpp_body () = Vernacextend.VtDefault (fun () -> # 16 "doc/plugin_tutorial/tuto3/src/g_tuto3.mlg" let env = Global.env () in let sigma = Evd.from_env env in let sigma, s = Evd.new_sort_variable Evd.univ_rigid sigma in let new_type_2 = EConstr.mkSort s in let sigma, _ = Typing.type_of (Global.env()) (Evd.from_env (Global.env())) new_type_2 in Feedback.msg_notice (Printer.pr_econstr_env env sigma new_type_2) ) in fun ?loc ~atts () -> coqpp_body (Attributes.unsupported_attributes atts)), None))] let () = Vernacextend.vernac_extend ~command:"ShowOneConstruction" ~classifier:(fun _ -> Vernacextend.classify_as_query) ?entry:None [(Vernacextend.TyML (false, Vernacextend.TyTerminal ("Tuto3_2", Vernacextend.TyNil), (let coqpp_body () = Vernacextend.VtDefault (fun () -> # 27 "doc/plugin_tutorial/tuto3/src/g_tuto3.mlg" example_sort_app_lambda () ) in fun ?loc ~atts () -> coqpp_body (Attributes.unsupported_attributes atts)), None))] let () = Tacentries.tactic_extend __coq_plugin_name "collapse_hyps" ~level:0 [(Tacentries.TyML (Tacentries.TyIdent ("pack", Tacentries.TyIdent ("hypothesis", Tacentries.TyArg ( Extend.TUentry (Genarg.get_arg_tag wit_ident), Tacentries.TyNil))), (fun i ist -> # 32 "doc/plugin_tutorial/tuto3/src/g_tuto3.mlg" Tuto_tactic.pack_tactic i )))] let () = Vernacextend.vernac_extend ~command:"TriggerClasses" ~classifier:(fun _ -> Vernacextend.classify_as_query) ?entry:None [(Vernacextend.TyML (false, Vernacextend.TyTerminal ("Tuto3_3", Vernacextend.TyNonTerminal (Extend.TUentry (Genarg.get_arg_tag wit_int), Vernacextend.TyNil)), (let coqpp_body n () = Vernacextend.VtDefault (fun () -> # 39 "doc/plugin_tutorial/tuto3/src/g_tuto3.mlg" example_classes n ) in fun n ?loc ~atts () -> coqpp_body n (Attributes.unsupported_attributes atts)), None))] let () = Vernacextend.vernac_extend ~command:"TriggerCanonical" ~classifier:(fun _ -> Vernacextend.classify_as_query) ?entry:None [(Vernacextend.TyML (false, Vernacextend.TyTerminal ("Tuto3_4", Vernacextend.TyNonTerminal (Extend.TUentry (Genarg.get_arg_tag wit_int), Vernacextend.TyNil)), (let coqpp_body n () = Vernacextend.VtDefault (fun () -> # 44 "doc/plugin_tutorial/tuto3/src/g_tuto3.mlg" example_canonical n ) in fun n ?loc ~atts () -> coqpp_body n (Attributes.unsupported_attributes atts)), None))]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>