 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[openany]{book}
\usepackage{amsthm,amssymb,amsmath} 
% بسته‌ای برای تنطیم حاشیه‌های بالا، پایین، چپ و راست صفحه
%\usepackage[top=40mm, bottom=40mm, left=25mm, right=35mm]{geometry}
\usepackage{geometry}\geometry{left=33.4mm,right=37.4mm, top=45.4mm,bottom=44.5mm}%قطع وزیری۱۷۰*۲۳۵


%\usepackage{geometry}
%\geometry{left=25mm,right=25mm, top=34mm,bottom=20mm}
\baselineskip=.75cm
\renewcommand{\baselinestretch}{1.6}
\usepackage{xepersian}
%\settextfont[Scale=1.1]{XB Niloofar}
% از revision 118 زی‌پرشین به بعد، وارد کردن دستور زیر لازم نیست. توجه داشته باشید که در صورت غیرفعال کردن این دستور،
% از فونت پیش‌فرض لاتک برای کلمات انگلیسی استفاده خواهد شد.
\setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic},ItalicFont={lmroman10-italic}]{lmroman10-regular}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% چنانچه می‌خواهید اعداد در فرمول‌ها، انگلیسی باشد، خط زیر را غیرفعال کنید
\setdigitfont[Scale=1.0]{ParsiDigits}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\settextfont[Scale=1.0]{XB Zar}

% تعریف قلم‌های فارسی و انگلیسی اضافی برای استفاده در بعضی از قسمت‌های متن
\defpersianfont\nastaliq[Scale=2]{IranNastaliq}
\defpersianfont\chapternumber[Scale=3]{IranNastaliq}
\defpersianfont\titr[Scale=1]{IranNastaliq}


\makeatletter
\renewcommand \thesection {\@arabic\c@section}
\renewcommand \thechapter {\@tartibi\c@chapter}
\renewcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@
    \setlength\@tempdima{1.5em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima
      \hskip -\leftskip
فصل
#1 \nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
      \penalty\@highpenalty
    \endgroup
  \fi} 
\renewcommand*\l@section{بخش\vspace*{-1.9em}\@dottedtocline{1}{3.5em}{2.3em}}
\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\Large\bfseries بخش}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newcommand{\co}{\complement} 
\newcommand{\si}{\sigma}
%\newcommand{\a}{\alpha}
%\newcommand{\b}{\beta}
%\newcommand{\N}{\mathbb{N}}
%\newcommand{\bR}{\Bbb{R}}
%\newcommand{\n}{n\in\Bbb{N}}
%\newcommand{\A}{{\mathcal{A}}}
\newcommand{\J}{{\mathcal{J}}}
\newcommand{\cP}{{\mathcal{P}}}
\newcommand{\cR}{{\mathcal{R}}}
\newcommand{\D}{{\mathcal{D}}}
\newcommand{\F}{{\mathcal{F}}}
\newcommand{\cN}{{\mathcal{N}}}
%\newcommand{\r}{\rightarrow}
\newcommand{\s}{\subset}
\newcommand{\su}{\subseteq}
\newcommand{\es}{\emptyset}
\newcommand{\R}{\Rightarrow}
\newcommand{\bk}{\backslash}
\newcommand{\tr}{\triangle}
\newcommand{\ii}{\infty}
%\newcommand{\l}{\lambda}
%\newcommand{\de}{\delta}

\makeatother
\swapnumbers
\theoremstyle{definition}
\newtheorem{definition}{تعریف}[section]
\theoremstyle{theorem}
\newtheorem{theorem}[definition]{قضیه}
%\theoremstyle{definition}
%\newtheorem{definition}{تعریف}[chapter]
%\theoremstyle{theorem}
%\newtheorem{theorem}[definition]{قضیه}
\newtheorem{lemma}[definition]{لم}
\newtheorem{proposition}[definition]{گزاره}
\newtheorem{corollary}[definition]{نتیجه}
\newtheorem{remark}{ملاحظه}
%\theoremstyle{definition}
\newtheorem{example}{مثال}
\newtheorem{exersise}{تمرین}
\newtheorem{tabsare}[definition]{تبصره}
\newtheorem{tazakor}[definition]{تذکر}

\newcommand{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
\newcommand{\bt}{\begin{theorem}}
\newcommand{\et}{\end{theorem}}
\newcommand{\bl}{\begin{lemma}}
\newcommand{\el}{\end{lemma}}
\newcommand{\bc}{\begin{corollary}}
\newcommand{\ec}{\end{corollary}}
\newcommand{\bpr}{\begin{proof}}
\newcommand{\epr}{\end{proof}}
\newcommand{\bex}{\begin{example}}
\newcommand{\eex}{\end{example}}
\newcommand{\bd}{\begin{definition}}
\newcommand{\ed}{\end{definition}}
\newcommand{\bx}{\begin{exersise}}
\newcommand{\ex}{\end{exersise}}
\newcommand{\br}{\begin{remark}}
\newcommand{\er}{\end{remark}}
\newcommand{\bp}{\begin{proposition}}
\newcommand{\ep}{\end{proposition}}
\newcommand{\btaz}{\begin{tazakor}}
\newcommand{\etaz}{\end{tazakor}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\renewcommand \theequation {\@arabic\c@equation.\@arabic\c@section}                          
\makeatother

\let\origsection\section
\renewcommand{\section}[1]{%
 \origsection{#1}\setcounter{equation}{0}
  }%
% define the title

\begin{document}

\فصل*{مقدمه}
\addcontentsline{toc}{part}{مقدمه}
متن مقدمه را اینجا می‌نویسم. متن مقدمه را اینجا می‌نویسم. متن مقدمه را اینجا می‌نویسم. متن مقدمه را اینجا می‌نویسم. متن مقدمه را اینجا می‌نویسم. متن مقدمه را اینجا می‌نویسم. 
\فصل*{چکیده}
\addcontentsline{toc}{part}{چکیده}
متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. متن چکیده را اینجا می‌نویسم. 

\tableofcontents
\newpage
\pagenumbering{arabic}
\include{chapter1}
\end{document}