include ../Makefile.common
+MATEX = ./$(EXEC).native
PROBE = ../probe/probe.native
REGISTRY = $(RT_BASE_DIR)/matita.conf.xml \
test/legacy_1.conf.xml test/ground_1.conf.xml test/basic_1.conf.xml
test: test/$(SRCS)
-test/$(OBJS): $(REGISTRY)
+test/$(OBJS): $(REGISTRY) Makefile
@echo probe: $(DEVEL)
$(H)$(PROBE) $(REGISTRY) -g $(DEVEL) -os > $@
-test/$(SRCS): test/$(OBJS) $(REGISTRY) ./matex.native
+test/$(SRCS): test/$(OBJS) $(REGISTRY) $(MATEX) Makefile
@echo MaTeX: processing $<
- $(H)./matex.native -O test -l $(SRCS) -a -g -p $(REGISTRY) `cat $<`
+ $(H)$(MATEX) -O test -l $(SRCS) -a -g -p $(REGISTRY) `cat $<`
.PHONY: test
let get_macro s l =
let rec aux = function
- | [] -> "", 0
+ | [] ->
+ if !G.log_missing then missing s l;
+ "", 0
| (r, m, a, x) :: _ when r = s && a = l -> m, x
| _ :: tl -> aux tl
in
let l = L.length ts in
let macro, x = get_macro s l in
begin match macro with
- | "" ->
- if !G.log_missing then missing s l;
- None
+ | ""
| "APPL" -> None
| _ ->
let ts1, ts2 = X.split_at x ts in
proc_sort st is s
| C.Const c ->
let s, name = K.resolve_reference c in
- T.Macro "GREF" :: T.arg (mk_gname name) :: T.free s :: is
+ let macro, _ = get_macro s 0 in
+ if macro = "" || macro = "APPL" then
+ T.Macro "GREF" :: T.arg (mk_gname name) :: T.free s :: is
+ else
+ T.Macro macro :: T.free s :: is
| C.Match (w, u, v, ts) ->
let is_w = proc_term st [] (C.Const w) in
let is_u = proc_term st [] u in
MAIN = test
-SOURCES = $(shell cat Make) $(shell cat Make.srcs)
+SOURCES = $(shell cat Make) $(shell cat Make.srcs) Makefile
all: $(MAIN).dvi
<key name="gref">tlt_wf__q_ind q_ind_aux</key>
<key name="gref">tslt_wf__q_ind q_ind_aux</key>
<key name="gref">ty3_nf2_gen__ty3_nf2_inv_abst_aux ty3_nf2_inv_abst_aux</key>
+ <key name="gref">ty3_nf2_inv_abst_premise H_ty3_nf2_inv_abst</key>
</section>
<section name="matex.notation">
<key name="const">$(devel.basic1).A.defs.A.AHead.type To 2 0</key>
<key name="const">$(devel.basic1).A.defs.A.ASort.type AtomB 2 0</key>
-<!--
-$(devel.basic1).A.fwd.A_rect.A_rect.type 0</key>
--->
+ <key name="const">$(devel.basic1).A.fwd.A_rect.A_rect.type APPL 4 0</key>
<key name="const">$(devel.basic1).aplus.defs.aplus.aplus.type PlusA 3 0</key>
<key name="const">$(devel.basic1).app.defs.app1.app1.type Shift 2 0</key>
<key name="const">$(devel.basic1).app.defs.cbk.cbk.type Level 1 0</key>
<key name="const">$(devel.basic1).C.defs.clt.type LT 2 0</key>
<key name="const">$(devel.basic1).C.defs.CTail.CTail.type THead 3 0</key>
<key name="const">$(devel.basic1).C.defs.cweight.cweight.type WeightA 1 0</key>
-<!--
-$(devel.basic1).C.fwd.C_rect.C_rect.type 0</key>
--->
+ <key name="const">$(devel.basic1).C.fwd.C_rect.C_rect.type APPL 4 0</key>
<key name="const">$(devel.basic1).cimp.defs.cimp.type SubEq 2 0</key>
<key name="const">$(devel.basic1).clear.defs.clear.clear.type Drop 2 0</key>
<key name="const">$(devel.basic1).clen.defs.clen.clen.type Length 1 0</key>
<key name="const">$(devel.basic1).T.defs.T.TLRef.type LRef 1 0</key>
<key name="const">$(devel.basic1).T.defs.T.TSort.type AtomA 1 0</key>
<key name="const">$(devel.basic1).T.defs.tweight.tweight.type WeightA 1 0</key>
-<!--
-$(devel.basic1).T.fwd.T_rect.T_rect.type 0</key>
--->
+ <key name="const">$(devel.basic1).T.fwd.T_rect.T_rect.type APPL 5 0</key>
<key name="const">$(devel.basic1).tlist.defs.TApp.TApp.type CoConsA 2 0</key>
<key name="const">$(devel.basic1).tlist.defs.THeads.THeads.type THead 3 0</key>
<key name="const">$(devel.basic1).tlist.defs.TList.TCons.type ConsA 2 0</key>
<key name="const">$(devel.basic1).tlt.defs.weight.type CoWeightA 1 0</key>
<key name="const">$(devel.basic1).ty3.defs.ty3.ty3.type Type 4 0</key>
<key name="const">$(devel.basic1).ty3.defs.tys3.tys3.type Type 4 0</key>
-<!--
-$(devel.basic1).ty3.nf2.ty3_nf2_inv_abst_premise.type 0</key>
--->
+ <key name="const">$(devel.basic1).ty3.nf2.ty3_nf2_inv_abst_premise.type APPL 3 0</key>
<key name="const">$(devel.basic1).wcpr0.defs.wcpr0.wcpr0.type RStep 2 0</key>
<key name="const">$(devel.basic1).wf3.defs.wf3.wf3.type Valid 3 0</key>
</section>
--- /dev/null
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.A.defs.A.AHead.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.A.defs.A.ASort.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.A.defs.A.A.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.A.fwd.A_rect.A_rect.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.C.defs.C.CHead.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.C.defs.C.CSort.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.C.defs.C.C.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.C.fwd.C_rect.C_rect.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.ex0.defs.gz.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.ex1.defs.ex1_c.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.ex1.defs.ex1_t.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.ex2.defs.ex2_c.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.ex2.defs.ex2_t.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.G.defs.G.G.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.B.Abbr.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.B.Abst.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.B.B.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.B.Void.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.F.Appl.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.F.Cast.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.F.F.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.K.Bind.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.K.Flat.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.K.K.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.T.THead.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.T.TLRef.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.T.TSort.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.defs.T.T.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.T.fwd.T_rect.T_rect.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlist.defs.TList.TCons.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlist.defs.TList.TList.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlist.defs.TList.TNil.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlt.defs.wadd.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlt.defs.wadd.type (3)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlt.defs.weight_map.weight_map.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.tlt.defs.weight_map.weight_map.type (1)
+MaTeX: engine: missing macro for matita.lambdadelta.basic_1.ty3.nf2.ty3_nf2_inv_abst_premise.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.ground_1.plist.defs.PList.PCons.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.ground_1.plist.defs.PList.PList.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.ground_1.plist.defs.PList.PNil.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.bool.bool.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.bool.false.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.bool.true.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.nat.nat.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.nat.O.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.nat.S.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.defs.True.True.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.coq.props.lt_n_Sn.type (0)
+MaTeX: engine: missing macro for matita.lambdadelta.legacy_1.preamble.False.False.type (0)
+MaTeX: processing test/Make.objs
\newenvironment{assumption}[2]{\ma@thehead{Assumption}{has type}{#1}{#2}$}{$\par}
\newenvironment{axiom}[2]{\ma@thehead{Axiom}{states}{#1}{#2}$}{$\par}
\newenvironment{declaration}[2]{\ma@thehead{Definition}{of type}{#1}{#2}$}{$\par}
-\newenvironment{definition}[2]{\ma@theneck{is defined as}$}{$\par}
+\newenvironment{definition}[2]{\ma@theneck{is defined as}$}{$.\par}
\newenvironment{proposition}[2]{\ma@thehead{Proposition}{stating}{#1}{#2}$}{$\par}
\newenvironment{proof}[2]{\ma@theneck{is proved by}}{\par}
\newenvironment{ma@step}[1]{\color{#1}}{\par}
\newcommand*\EXIT[1]{\ma@head{\ma@exit}{end}{}{}{}{} of block #1\ma@stop}
\newcommand*\OPEN[3]{\ma@head{}{}{}{\ma@open}{#1}{#2} is this block #3\ma@stop}
-\newcommand*\PRIM[3]{\ma@head{}{}{}{\ma@prim}{#1}{#2} will have type $\ma@type{#3}$\ma@stop}
-\newcommand*\DECL[3]{\ma@head{\ma@qed}{\_QED}{}{\ma@fwd}{#1}{#2} has type $\ma@type{#3}$\par}
+\newcommand*\PRIM[3]{\ma@head{}{}{}{\ma@prim}{#1}{#2} will have type: $\ma@type{#3}$\ma@stop}
+\newcommand*\DECL[3]{\ma@head{\ma@qed}{\_QED}{}{\ma@fwd}{#1}{#2} has type: $\ma@type{#3}$\par}
\newcommand*\BODY[1]{being $#1$\ma@stop}
\newcommand*\STEP[1]{by $#1$\ma@tail}
\newcommand*\DEST[1]{by cases on $#1$\ma@tail}