-
Notifications
You must be signed in to change notification settings - Fork 6
/
lstlangmizar.sty
26 lines (25 loc) · 1.23 KB
/
lstlangmizar.sty
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
%%
%% Mizar definition (c) 2012 Josef Urban
%% <Josef.Urban@gmail.com>
%%
\lstdefinelanguage{Mizar}%
{morekeywords={schemes,constructors,definitions,theorems,vocabularies,requirements,registrations,
notations,theorem,scheme,definition,registration,notation,axiom,proof,now,end,hereby,case,suppose,
for,ex,not,&,or,implies,iff,st,holds,being,does,assume,cases,given,hence,let,per,take,thus,and,
antonym,attr,as,be,begin,canceled,cluster,coherence,compatibility,consider,consistency,
contradiction,correctness,def,deffunc,defpred,environ,equals,existence,func,if,identify,
irreflexivity,it,means,mode,of,otherwise,over,pred,provided,qua,reconsider,redefine,reduce,
reducibility,reflexivity,reserve,struct,such,synonym,that,then,thesis,when,where,withis,
associativity,commutativity,connectedness,irreflexivity,reduce,reducibility,reflexivity,symmetry,
sethood,uniqueness,transitivity,idempotence,asymmetry,projectivity,involutiveness
},%
sensitive, %
morecomment=[n]{(:}{:)},%
morestring=[d]",%
literate={=>}{{$\Rightarrow$}}1 {>->}{{$\rightarrowtail$}}2{->}{{$\to$}}1
{\/\\}{{$\wedge$}}1
{|-}{{$\vdash$}}1
{\\\/}{{$\vee$}}1
{~}{{$\sim$}}1
{<>}{{$\neq$}}1 %indeed... no.
}[keywords,comments,strings]%