\usepackage[top=20mm, bottom=30mm, left=26mm, right=26mm]{geometry}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{xfrac}
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{graphicx} 
\usepackage{perpage}
\MakePerPage{footnote}
\usepackage{lipsum}
\usepackage{mathrsfs}
\usepackage{hyperref}
\usepackage{setspace} 
\usepackage{color,graphicx} 
\usepackage{framed} 
\usepackage{lastpage}
\usepackage{tikz}
\usepackage{supertabular}
\usepackage{xepersian}

\theoremstyle{definition}
\newtheorem{definition}{ تعــریف}[section]
\theoremstyle{theorem}
\newtheorem{theorem}{ســوال}
\newtheorem{lemma}[definition]{لــم}
\newtheorem{corollary}[definition]{نتیجه}
\newtheorem*{corollar}{نتیجه}
\newtheorem{remark}[definition]{ملاحظه}
\theoremstyle{definition}
%\newtheorem{example}[definition]{مثـال}


\let\oldproof\proof
\let\oldendproof\endproof
\def\proof{\paragraph{\fontsize{12}{12}\Sols{پاســخ:}}} 
\def\endproof{\hfill$\blacksquare$\oldendproof}







\newtheorem*{example}{حل}
\newenvironment{solve}
{\begin{example}}
{ \hfill$\qedsymbol$\end{example}}

\newcommand{\Con}[1]{\overline{\mathrm{co}}({#1})}
\newcommand{\re}{Re}
\newcommand{\mc}{\mathcal}\newcommand{\ms}{\mathscr}
\newcommand{\dis}{\displaystyle}
\newcommand{\mr}{\mathrm}
\newcommand{\nn}{\nonumber}
\newcommand{\enorm}[1]{\norm{#1}_e}
\newcommand{\fnorm}[1]{\norm{#1}_{ae}}
\newcommand{\abs}[1]{\left\vert#1\right\vert}
\newcommand{\set}[1]{\left\{#1\right\}}
\newcommand{\paran}[1]{\left(#1\right)}
\newcommand{\seq}[1]{\left\langle#1\right\rangle}
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
\newcommand{\LB}[1]{\mathcal{L}(\mathrm{#1})}
\newcommand{\bm}[1]{\bf{#1}}
\newcommand{\dom}[1]{\mathrm{D}_{{#1}}}


\def\opn#1#2{\def#1{\operatorname{#2}}} % to make operators
\opn\it{\mathrm{Int}}
\opn\cl{\mathrm{cl}}
\opn\con{\mathrm{co}}
\opn\det{\mathrm{det}}
\opn\span{\mathit{span}}
\opn\ker{\mathrm{Ker}}
\opn\wot{\mathrm{(WOT)}}
\opn\sot{\small\mathrm{(SOT)}}
\opn\ind{\mathrm{ind}}
\opn\W{\mathcal{W}}
\opn\Dom{\mathrm{Dom}}
\opn\B{\mathcal{B}}\opn\F{\mathcal{F}}
\opn\K{\mathcal{K}}
\opn\R{\mathbb{R}}
\opn\C{\mathbb{C}}
\opn\rng{\mathrm{Rang}}
\opn\Lat{\mathrm{Lat}}
\opn\spp{\mathrm{supp}}
\opn\Re{\mathrm{Re}}
\opn\H{\mathcal{H}}\opn\K{\mathcal{K}}
\opn\Im{\mathrm{Im}}
\opn\mx{\mathrm{max}}\opn\dist{\mathrm{dist}}
%***********************************************************
\settextfont[Scale=1]{XB Niloofar}

\setdigitfont[Scale=1]{Yas}
\defpersianfont\Sols[Scale=1]{XB Sols}


\setcounter{section}{1}
