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
|
embed
{{ tex
\newcommand{\helloone}{Hello, world.}
}}
{{ coq
Definition index := nat.
}}
{{ hol
val _ = type_abbrev("index", ``:num``);
}}
{{ isa
types index = "nat"
}}
%% Hmm, seems I can't use ich here, I wonder why
%%indexvar i ::= {{ich index}}
indexvar i ::= {{coq index}} {{isa index}} {{hol index}}
embed
{{ tex
\helloone
}}
grammar
thing :: thing_ ::=
| Normal :: :: normal
| meta :: M :: meta {{ ich thing_meta }}
embed
{{ tex
Grammar one to relations one.
}}
{{ coq
Definition thing_meta := thing_normal.
}}
%% TODO: hol, isa
defns
relations :: '' ::=
defn
thing ok :: :: ok :: ok_ by
---------------------------------------------------------------- :: wibble
meta ok
embed
{{ tex
Goodbye, world.
}}
{{ coq
Definition okay := ok.
}}
%% TODO: hol, isa
|