<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">15759</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2021.015759</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>A Novel Design of Octal-Valued Logic Full Adder Using Light Color State Model</article-title>
<alt-title alt-title-type="left-running-head">A Novel Design of Octal-Valued Logic Full Adder Using Light Color State Model</alt-title>
<alt-title alt-title-type="right-running-head">A Novel Design of Octal-Valued Logic Full Adder Using Light Color State Model</alt-title>
</title-group>
<contrib-group content-type="authors">
<contrib id="author-1" contrib-type="author">
<name name-style="western">
<surname>Talal</surname>
<given-names>Ahmed</given-names>
</name>
</contrib>
<contrib id="author-2" contrib-type="author" corresp="yes">
<name name-style="western">
<surname>Abu-Elnasr</surname>
<given-names>Osama</given-names>
</name>
<email>mr_abuelnasr@mans.edu.eg</email></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western">
<surname>Elmougy</surname>
<given-names>Samir</given-names>
</name></contrib>
<aff><institution>Department of Computer Science, Faculty of Computes and Information, Mansoura University</institution>, <addr-line>Mansoura, 35516</addr-line>, <country>Egypt</country></aff>
</contrib-group>
<author-notes><corresp id="cor1">&#x002A;Corresponding Author: Osama Abu-Elnasr. Email: <email>mr_abuelnasr@mans.edu.eg</email></corresp></author-notes>
<pub-date pub-type="epub" date-type="pub" iso-8601-date="2021-01-20">
<day>20</day>
<month>01</month>
<year>2021</year>
</pub-date>
<volume>67</volume>
<issue>3</issue>
<fpage>3487</fpage>
<lpage>3503</lpage>
<history>
<date date-type="received">
<day>05</day>
<month>12</month>
<year>2020</year>
</date>
<date date-type="accepted">
<day>06</day>
<month>01</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2021 Talal, Abu-Elnasr and Elmougy</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Talal, Abu-Elnasr and Elmougy</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_15759.pdf"></self-uri>
<abstract>
<p>Due to the demand of high computational speed for processing big data that requires complex data manipulations in a timely manner, the need for extending classical logic to construct new multi-valued optical models becomes a challenging and promising research area. This paper establishes a novel octal-valued logic design model with new optical gates construction based on the hypothesis of Light Color State Model to provide an efficient solution to the limitations of computational processing inherent in the electronics computing. We provide new mathematical definitions for both of the binary OR function and the PLUS operation in multi valued logic that is used as the basis of novel construction for the optical full adder model. Four case studies were used to assure the validity of the proposed adder. These cases proved that the proposed optical 8-valued logic models provide significantly more information to be packed within a single bit and therefore the abilities of data representation and processing is increased.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Mathematical modeling</kwd>
<kwd>numerical simulations</kwd>
<kwd>optical logic</kwd>
<kwd>optics in computing</kwd>
<kwd>multi-valued logic</kwd>
<kwd>full adder</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>Arithmetic operation plays an important role in various digital systems such as computers process controller and signal processors. Nowadays, computer depends on 2-ary conventional system with 2 logical states &#x2018;Low&#x2019; and &#x2018;High&#x2019;. Binary Logic (BL) is a classical two-valued Boolean logic that development in it be founded difficult to understand and complex.</p>
<p>Because the demand for high speed computational operations for solving complex problems and high bandwidth has rapidly increased to get the maximum device speed, the future of computation and communication face problems of unavoidability. This is because the conventional electronic technology will very soon reach its speed limit. So, researchers are looking at several approaches to find alternatives to address these problems. One of these approaches is the optical signal processing that refers to a wide range of optical data signals techniques [<xref ref-type="bibr" rid="ref-1">1</xref>]. It includes vastly popular systems such as optical multiplexing and demultiplexing, equalizers, optical switches, optical memories, optical amplifiers [<xref ref-type="bibr" rid="ref-2">2</xref>,<xref ref-type="bibr" rid="ref-3">3</xref>], and various areas of microwave photonics [<xref ref-type="bibr" rid="ref-4">4</xref>,<xref ref-type="bibr" rid="ref-5">5</xref>].</p>
<p>Another parallel alternative is Multi-Valued Logic (MVL) that can enable significantly more information to be packed within a single digit instead of BL. It is considered another way of solving many complications of transmitting, saving, and dealing with large amount of information in digital signal processing [<xref ref-type="bibr" rid="ref-6">6</xref>].</p>
<p>Unlike BL that contains only &#x2018;T&#x2019; and &#x2018;F&#x2019; states, MVL has a root greater than 2 and contains values with a finite and unlimited number of values [<xref ref-type="bibr" rid="ref-7">7</xref>]. Recently, MVL is used for high-speed arithmetic operations due to its high speed and carries less generation. A carry free arithmetic operation can be achieved using MVL. Since a huge number of gates are presented in MVL, circuit complexity will be less and require small area than binary computer [<xref ref-type="bibr" rid="ref-8">8</xref>].</p>
<p>Recently, Optical Multi-Valued Logic (OMVL) functions have been shown a great importance in the last years towards optical logic and information processing applications. Applying OMVL can overcome the limitations faced by traditional binary electronic technologies. This technology could be a revolution in achieving very high levels speed of data processing. Also, it provides a complexity inherent in electronics computing system [<xref ref-type="bibr" rid="ref-9">9</xref>].</p>
<p>Most of the existed MVL models are depending on Three-Valued Logic (3-VL) [<xref ref-type="bibr" rid="ref-10">10</xref>&#x2013;<xref ref-type="bibr" rid="ref-18">18</xref>] and Four-Valued Logic (4-VL) [<xref ref-type="bibr" rid="ref-19">19</xref>,<xref ref-type="bibr" rid="ref-20">20</xref>]. They follow the mechanism of the polarization encoded optical shadow casting scheme help which vertical and horizontal strips of opaque and transparent bars represent the logical states.</p>
<p>We aim in this work to define a new mathematical model based on OMVL that can execute the basic computational operations for enhancing the speed of processing data and the amount of processed information. Mainly, this paper proposes new optical logic gates and reshape how to extend them to define the optical model of the PLUS operation which can derive the other operations from. It is organized as following. Section 1 presents the literature review and related works. Section 3 discusses the proposed optical binary OR gate. Section 4 presents the mathematical model of defining the PLUS operation. Section 5 provides an explanation of the construction of an optical full adder as an application of the defined mathematical model with validating it. Finally, we provide the conclusions of the work.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Related Works</title>
<p>Most of the efforts focus on extending classic binary logic to multi-valued logic to increase their abilities in representation and data processing. These efforts concentrate on implementing MVL in the fields of electronics using Metal-Oxide Semiconductor (MOS), Carbon Nanotube Field Effect Transistors (CNFET), and Quantum-dot Cellular Automata (QCA) technologies. Also, MVL is implemented in optical field using either many technologies that will listed in this section.</p>
<p>MOS is one of the earlier strategies used to design ternary logic circuit. Balla et al. [<xref ref-type="bibr" rid="ref-10">10</xref>] pro-posed an MOS ternary-logic family which includes a set of inverters, NAND gates, and NOR gates that were used to design basic 3-VL arithmetic and memory circuits. The circuits thus developed are shown to have low power dissipation, and reduced propagation delay and component count compared to other known ternary circuits.</p>
<p>Carbon Nanotube Field Effect Transistors (CNFET) provided an alternative technique to MOS transistors in the application areas that require high performance computations and low power consumptions. Merlin et al. [<xref ref-type="bibr" rid="ref-14">14</xref>] had been utilized CNFET and introduced a strategy that enabled carry Propagate-Generate to be used in a ternary addition leading to the use of 3-VL prefix adders. Also, their results showed that the delay was reduced (up to 28%) by using binary prefix networks for calculating the carry and obtain lower power (up to 29%) by using low power encoder.</p>
<p>Bhoi et al. [<xref ref-type="bibr" rid="ref-11">11</xref>] proposed a redundant adder architecture using QCA technology to improve the computation speed in ternary logic-based adders. Various experimentations were conducted and proved that Ternary QCA approach assures the efficiency of the proposed computational components; adder, decoder, and binary increment and decrement.</p>
<p>Li et al. [<xref ref-type="bibr" rid="ref-13">13</xref>] presented the design criteria of ternary MVL optical calculators based on Decrease-Radix Design rule. The experimentations which applied on hundreds-bit reconfigurable calculator state that the formation of any logic calculator can be constructed using a few basic units and hence increase the simplicity of the structures.</p>
<p>Datta et al. [<xref ref-type="bibr" rid="ref-21">21</xref>] presented an optical Full Adder design using switching mechanism of Mach&#x2013;Zehnder Interferometers (MZI) based on Electro-Optic effect. It accepts three digital electrical signals and produces both sum and carry bits in optical domain. The simulations were carried out to validate the ability to handle power dissipation issue by passing three input control signals to the electrodes of three distinct groups of MZIs.</p>
<p>Roy et al. [<xref ref-type="bibr" rid="ref-16">16</xref>] proposed 3-VL half adder circuit with Optical Nonlinear Material switch (OPNLM) schema based on manipulating polarized lights of logical states. Various ternary optical circuits were constructed on the basis of the proposed half adder including; incrementer/ decrementer (INC/DEC) component and full adder circuit. Significant advantages were provided compared to some other circuits including: reduce the time lagging in data processing, minimize the required circuit components, and increase the computational performance.</p>
<p>Obiniyi et al. [<xref ref-type="bibr" rid="ref-15">15</xref>] suggested a design of Ternary Arithmetic and Logic Unit based on ternary color-coded for manipulating ternary calculations. Hence, they suggested modelling a ternary half adder circuit and separate carry value.</p>
<p>Patel et al. [<xref ref-type="bibr" rid="ref-22">22</xref>] presented arithmetic operations using MVL in both Modulo-4 arithmetic and Galois field. Also, Quaternary-binary and binary-quaternary converters, Negation in modular arithmetic, and quaternary multiplier circuit were proposed.</p>
</sec>
<sec id="s3">
<label>3</label>
<title>The Proposed Optical Gates</title>
<p>This paper establishes a novel MVL model with octal optical gates based on the different eight light colors to provide an efficient solution to the limitations of computational speed and complexity inherent in the electronics computing. Section 2.1 introduces hypothesis of modelling colors as logic states. Section 2.2 presents a new construction of optical binary OR gate, Optical Binary AND, Optical NOT, and optical dispersion gate from the standpoint of physics laws.</p>
<sec id="s3_1">
<label>3.1</label>
<title>Hypothesis of Light Color State Model (LCSM)</title>
<p>Nowadays, most of computers and some types of printers use (Red&#x2013;Green&#x2013;Blue) RGB or (Cyan&#x2013;Magenta&#x2013;Yellow&#x2013;Black) CMYK coloring systems to generate colored images and photos. In this research, we present the RGB and CMYK coloring systems not for generating images but to prove that they can be used in constructing the basis of the color numbering model that enhances the computational operations due to their abilities to generate thousands of various visible colors by changing the grey levels of basic colors processes.</p>
<p>Logic Color State Model (LCSM) is a numerical representation model in which a color represents an octal logic sate. <xref ref-type="fig" rid="fig-1">Fig. 1</xref> shows RGB light coloring model. Suppose that the red and green light colors are represented by <inline-formula id="ieqn-1"><alternatives><inline-graphic xlink:href="ieqn-1.png"/><tex-math id="tex-ieqn-1"><![CDATA[$\mathrm{R}= 1$]]></tex-math><mml:math id="mml-ieqn-1"><mml:mstyle mathvariant="normal"><mml:mi>R</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-2"><alternatives><inline-graphic xlink:href="ieqn-2.png"/><tex-math id="tex-ieqn-2"><![CDATA[$\mathrm{G}= 2$]]></tex-math><mml:math id="mml-ieqn-2"><mml:mstyle mathvariant="normal"><mml:mi>G</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></alternatives></inline-formula>, respectively. According to the optical observations by projecting R and G together on a surface, it gives the wave intensity of yellow light color which can be stated as <inline-formula id="ieqn-3"><alternatives><inline-graphic xlink:href="ieqn-3.png"/><tex-math id="tex-ieqn-3"><![CDATA[$\mathrm{Y}= 3$]]></tex-math><mml:math id="mml-ieqn-3"><mml:mstyle mathvariant="normal"><mml:mi>Y</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>3</mml:mn></mml:math></alternatives></inline-formula>.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>RGB light coloring model</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-1.png"/>
</fig>
<p>In the same sense, if the blue light color is represented by <inline-formula id="ieqn-4"><alternatives><inline-graphic xlink:href="ieqn-4.png"/><tex-math id="tex-ieqn-4"><![CDATA[$\mathrm{B}= 4$]]></tex-math><mml:math id="mml-ieqn-4"><mml:mstyle mathvariant="normal"><mml:mi>B</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>4</mml:mn></mml:math></alternatives></inline-formula>, then by projecting R with B, it gives magenta light color which can be stated as <inline-formula id="ieqn-5"><alternatives><inline-graphic xlink:href="ieqn-5.png"/><tex-math id="tex-ieqn-5"><![CDATA[$\mathrm{M}= 5$]]></tex-math><mml:math id="mml-ieqn-5"><mml:mstyle mathvariant="normal"><mml:mi>M</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>5</mml:mn></mml:math></alternatives></inline-formula>. Also projecting G with B gives cyan light color which can be stated as <inline-formula id="ieqn-6"><alternatives><inline-graphic xlink:href="ieqn-6.png"/><tex-math id="tex-ieqn-6"><![CDATA[$\mathrm{C}= 6$]]></tex-math><mml:math id="mml-ieqn-6"><mml:mstyle mathvariant="normal"><mml:mi>C</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>6</mml:mn></mml:math></alternatives></inline-formula>. The white light color consists of the three basic colors Red (R), Green (G), and Blue (B), and it can be stated as <inline-formula id="ieqn-7"><alternatives><inline-graphic xlink:href="ieqn-7.png"/><tex-math id="tex-ieqn-7"><![CDATA[$\mathrm{W}= 7$]]></tex-math><mml:math id="mml-ieqn-7"><mml:mstyle mathvariant="normal"><mml:mi>W</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>7</mml:mn></mml:math></alternatives></inline-formula>. By considering the black color as an infrared that can be added to any light color, it is represented by <inline-formula id="ieqn-8"><alternatives><inline-graphic xlink:href="ieqn-8.png"/><tex-math id="tex-ieqn-8"><![CDATA[$\mathrm{K}= 0$]]></tex-math><mml:math id="mml-ieqn-8"><mml:mstyle mathvariant="normal"><mml:mi>K</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></alternatives></inline-formula> in our color light sate model. <xref ref-type="fig" rid="fig-2">Fig. 2</xref> shows the color logic states by representing each color with its value. <xref ref-type="table" rid="table-1">Tab. 1</xref> illustrates the mapping between each logic color state and its corresponding basis numbers within our proposed 8-VL.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Light color state model</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-2.png"/>
</fig>
 
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Mapping of logic color states to its corresponding basis numbers</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Light color</th>
<th>K</th>
<th>R</th>
<th>G</th>
<th>Y</th>
<th>B</th>
<th>M</th>
<th>C</th>
<th>W</th>
</tr>
</thead>
<tbody>
<tr>
<td>Octal representation</td>
<td>0</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>Binary representation</td>
<td>0</td>
<td>1</td>
<td>01</td>
<td>11</td>
<td>100</td>
<td>101</td>
<td>110</td>
<td>111</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Basic Functions and Optical Gates</title>
<p>Like binary logic, many basic functions are existed in MVL. They are differing based on the base and number of used variables. Different logic functions could be constructed depending on MVL. The proposed MVL 8-VL is consists of 8 logical states K, R, Y, G, B, M, C, W. Set <inline-formula id="ieqn-9"><alternatives><inline-graphic xlink:href="ieqn-9.png"/><tex-math id="tex-ieqn-9"><![CDATA[$\mathrm{X}= \{\text{K, R, Y, G, B, M, C, W}\}$]]></tex-math><mml:math id="mml-ieqn-9"><mml:mstyle mathvariant="normal"><mml:mi>X</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mstyle class="text"><mml:mtext>K,&#x00A0;R,&#x00A0;Y,&#x00A0;G,&#x00A0;B,&#x00A0;M,&#x00A0;C,&#x00A0;W</mml:mtext></mml:mstyle></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-10"><alternatives><inline-graphic xlink:href="ieqn-10.png"/><tex-math id="tex-ieqn-10"><![CDATA[$\mathrm{x}\in \mathrm{X}$]]></tex-math><mml:math id="mml-ieqn-10"><mml:mstyle mathvariant="normal"><mml:mi>x</mml:mi></mml:mstyle><mml:mo>&#x2208;</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>X</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula>, a function <inline-formula id="ieqn-11"><alternatives><inline-graphic xlink:href="ieqn-11.png"/><tex-math id="tex-ieqn-11"><![CDATA[$\mathrm{f}\colon\mathrm{X}\rightarrow \mathrm{X}$]]></tex-math><mml:math id="mml-ieqn-11"><mml:mstyle mathvariant="normal"><mml:mi>f</mml:mi></mml:mstyle><mml:mo>:</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>X</mml:mi></mml:mstyle><mml:mo>&#x2192;</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>X</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula>, then the number of possible functions <inline-formula id="ieqn-12"><alternatives><inline-graphic xlink:href="ieqn-12.png"/><tex-math id="tex-ieqn-12"><![CDATA[$\mathrm{f}$]]></tex-math><mml:math id="mml-ieqn-12"><mml:mstyle mathvariant="normal"><mml:mi>f</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> that can be generated is calculated according to <xref ref-type="disp-formula" rid="eqn-1">Eq. (1)</xref>, [<xref ref-type="bibr" rid="ref-7">7</xref>]:</p>
<p><disp-formula id="eqn-1">
<label>(1)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-1.png"/>
<tex-math id="tex-eqn-1"><![CDATA[$$\begin{equation}
\mathrm{N}=b^{ \left(b^{n}\right)}
\label{eqn-1}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-1" display="block"><mml:mstyle mathvariant="normal"><mml:mi>N</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:math></alternatives></disp-formula></p>
<p>Where N is the number of possible functions, b is the base or radix, and <italic>n</italic> is the number of variables used in the function. In binary logic of one variable (<italic>b</italic> = 2, <italic>n</italic> = 1), there are 4 possible functions. When <italic>b</italic> = 2, <italic>n</italic> = 2, then <italic>f</italic>(2, 2) = 2<sup>(2)<sup>2</sup></sup> = 8. The possible functions of one input variable for 8-VL is <italic>f</italic>(8, 1) = 8<sup>(8)<sup>1</sup></sup> = 16,777,216, and their numbers for two variables <inline-formula id="ieqn-13"><alternatives><inline-graphic xlink:href="ieqn-13.png"/><tex-math id="tex-ieqn-13"><![CDATA[$f(8, 2) = 8^{(8)^{2}}= 6.27710174 \times 10^{57}$]]></tex-math><mml:math id="mml-ieqn-13"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>8</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mn>8</mml:mn></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>8</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mn>6</mml:mn><mml:mo>.</mml:mo><mml:mn>27710174</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:mn>1</mml:mn><mml:msup><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>57</mml:mn></mml:mrow></mml:msup></mml:math></alternatives></inline-formula>. These numbers are very huge. Hence, incredible numbers of functions or logical gates can possible for more variables. The next subsections discuss in detail the basic functions associated with our proposed 8-VL including: optical binary OR, Optical Binary AND, Optical NOT, and optical dispersion gates.</p>
<sec id="s3_2_1">
<label>3.2.1</label>
<title>Optical Binary OR Gate</title>
<p>The behavior of the proposed optical binary OR gate simulates the behavior of the additive light property. In fact, they both obtain one optical beam in response to projection of more than one optical beam onto special types of prism or optical fibers to be one beam as shown in <xref ref-type="fig" rid="fig-3">Fig. 3</xref>.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>Additive light property</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-3.png"/>
</fig>
<p>Let <inline-formula id="ieqn-14"><alternatives><inline-graphic xlink:href="ieqn-14.png"/><tex-math id="tex-ieqn-14"><![CDATA[$L = \{K, R, Y, G, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-14"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>X</italic> = (<italic>l</italic><sub>1</sub>, <italic>l</italic><sub>2</sub>), where <inline-formula id="ieqn-15"><alternatives><inline-graphic xlink:href="ieqn-15.png"/><tex-math id="tex-ieqn-15"><![CDATA[$l_{1}, l_{2}\in L$]]></tex-math><mml:math id="mml-ieqn-15"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>, an optical binary OR function <inline-formula id="ieqn-16"><alternatives><inline-graphic xlink:href="ieqn-16.png"/><tex-math id="tex-ieqn-16"><![CDATA[$f\colon L \times L \rightarrow L$]]></tex-math><mml:math id="mml-ieqn-16"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:mi>L</mml:mi><mml:mo>&#x00D7;</mml:mo><mml:mi>L</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula> can be modelled as: <inline-formula id="ieqn-17"><alternatives><inline-graphic xlink:href="ieqn-17.png"/><tex-math id="tex-ieqn-17"><![CDATA[$f(X) = l_{1}, \mid l_{2}$]]></tex-math><mml:math id="mml-ieqn-17"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2223;</mml:mo><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>. Where (<inline-formula id="ieqn-18"><alternatives><inline-graphic xlink:href="ieqn-18.png"/><tex-math id="tex-ieqn-18"><![CDATA[$ | $]]></tex-math><mml:math id="mml-ieqn-18"><mml:mo>|</mml:mo></mml:math></alternatives></inline-formula>) means a binary OR operation by applying the or truth table on the binary representation of inputs, The symbolic representation of the optical binary OR gate of input <italic>X</italic> and <italic>Y</italic> is shown in <xref ref-type="fig" rid="fig-4">Fig. 4</xref>. <xref ref-type="table" rid="table-2">Tab. 2</xref> illustrates the truth table of the possible states in the proposed 8-VL emergent from mixing two color lights A and B. It is denoted by <inline-formula id="ieqn-19"><alternatives><inline-graphic xlink:href="ieqn-19.png"/><tex-math id="tex-ieqn-19"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-19"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula> and gets 64 resultant values.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>A Symbolic representation of optical binary OR gate</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-4.png"/>
</fig>
 
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Truth table of optical binary OR gate, <inline-formula id="ieqn-20"><alternatives><inline-graphic xlink:href="ieqn-20.png"/><tex-math id="tex-ieqn-20"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-20"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-21"><alternatives><inline-graphic xlink:href="ieqn-21.png"/><tex-math id="tex-ieqn-21"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-21"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-22"><alternatives><inline-graphic xlink:href="ieqn-22.png"/><tex-math id="tex-ieqn-22"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-22"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-23"><alternatives><inline-graphic xlink:href="ieqn-23.png"/><tex-math id="tex-ieqn-23"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-23"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-24"><alternatives><inline-graphic xlink:href="ieqn-24.png"/><tex-math id="tex-ieqn-24"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-24"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-25"><alternatives><inline-graphic xlink:href="ieqn-25.png"/><tex-math id="tex-ieqn-25"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-25"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-26"><alternatives><inline-graphic xlink:href="ieqn-26.png"/><tex-math id="tex-ieqn-26"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-26"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-27"><alternatives><inline-graphic xlink:href="ieqn-27.png"/><tex-math id="tex-ieqn-27"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-27"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-28"><alternatives><inline-graphic xlink:href="ieqn-28.png"/><tex-math id="tex-ieqn-28"><![CDATA[$A |_{2} B$]]></tex-math><mml:math id="mml-ieqn-28"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>K</td>
<td>K</td>
<td/>
<td>R</td>
<td>K</td>
<td>R</td>
<td/>
<td>G</td>
<td>K</td>
<td>G</td>
<td/>
<td>Y</td>
<td>K</td>
<td>Y</td>
<td/>
<td>B</td>
<td>K</td>
<td>B</td>
<td/>
<td>M</td>
<td>K</td>
<td>M</td>
<td/>
<td>C</td>
<td>K</td>
<td>C</td>
<td/>
<td>W</td>
<td>K</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>R</td>
<td>R</td>
<td/>
<td>R</td>
<td>R</td>
<td>R</td>
<td/>
<td>G</td>
<td>R</td>
<td>Y</td>
<td/>
<td>Y</td>
<td>R</td>
<td>Y</td>
<td/>
<td>B</td>
<td>R</td>
<td>M</td>
<td/>
<td>M</td>
<td>R</td>
<td>M</td>
<td/>
<td>C</td>
<td>R</td>
<td>W</td>
<td/>
<td>W</td>
<td>R</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>G</td>
<td>G</td>
<td/>
<td>R</td>
<td>G</td>
<td>Y</td>
<td/>
<td>G</td>
<td>G</td>
<td>G</td>
<td/>
<td>Y</td>
<td>G</td>
<td>Y</td>
<td/>
<td>B</td>
<td>G</td>
<td>C</td>
<td/>
<td>M</td>
<td>G</td>
<td>W</td>
<td/>
<td>C</td>
<td>G</td>
<td>C</td>
<td/>
<td>W</td>
<td>G</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>Y</td>
<td>Y</td>
<td/>
<td>R</td>
<td>Y</td>
<td>Y</td>
<td/>
<td>G</td>
<td>Y</td>
<td>Y</td>
<td/>
<td>Y</td>
<td>Y</td>
<td>Y</td>
<td/>
<td>B</td>
<td>Y</td>
<td>W</td>
<td/>
<td>M</td>
<td>Y</td>
<td>W</td>
<td/>
<td>C</td>
<td>Y</td>
<td>W</td>
<td/>
<td>W</td>
<td>Y</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>B</td>
<td>B</td>
<td/>
<td>R</td>
<td>B</td>
<td>M</td>
<td/>
<td>G</td>
<td>B</td>
<td>W</td>
<td/>
<td>Y</td>
<td>B</td>
<td>W</td>
<td/>
<td>B</td>
<td>B</td>
<td>B</td>
<td/>
<td>M</td>
<td>B</td>
<td>M</td>
<td/>
<td>C</td>
<td>B</td>
<td>C</td>
<td/>
<td>W</td>
<td>B</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>M</td>
<td>M</td>
<td/>
<td>R</td>
<td>M</td>
<td>M</td>
<td/>
<td>G</td>
<td>M</td>
<td>W</td>
<td/>
<td>Y</td>
<td>M</td>
<td>W</td>
<td/>
<td>B</td>
<td>M</td>
<td>M</td>
<td/>
<td>M</td>
<td>M</td>
<td>M</td>
<td/>
<td>C</td>
<td>M</td>
<td>W</td>
<td/>
<td>W</td>
<td>M</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>C</td>
<td>C</td>
<td/>
<td>R</td>
<td>C</td>
<td>W</td>
<td/>
<td>G</td>
<td>C</td>
<td>C</td>
<td/>
<td>Y</td>
<td>C</td>
<td>W</td>
<td/>
<td>B</td>
<td>C</td>
<td>C</td>
<td/>
<td>M</td>
<td>C</td>
<td>W</td>
<td/>
<td>C</td>
<td>C</td>
<td>C</td>
<td/>
<td>W</td>
<td>C</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>W</td>
<td>W</td>
<td/>
<td>R</td>
<td>W</td>
<td>W</td>
<td/>
<td>G</td>
<td>W</td>
<td>W</td>
<td/>
<td>Y</td>
<td>W</td>
<td>W</td>
<td/>
<td>B</td>
<td>W</td>
<td>W</td>
<td/>
<td>M</td>
<td>W</td>
<td>W</td>
<td/>
<td>C</td>
<td>W</td>
<td>W</td>
<td/>
<td>W</td>
<td>W</td>
<td>W</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="s3_2_2">
<label>3.2.2</label>
<title>Optical Binary AND Gate</title>
<p>The idea of the construction of light filters is to selectively transmit the desired wavelengths while restricting others. The two most common used types of filters are absorption and interference filters. Our proposed optical binary AND gate mimics the behavior of the absorption filters that absorb unwanted wavelengths, while the proposed optical binary NOT gate mimics the behavior of the interference filters in the way of removing selected wavelengths by internal destructive interference and reflection. <xref ref-type="fig" rid="fig-5">Fig. 5</xref> shows the mechanism of implementing a magenta filter that selectively transmits the red and blue portions of the incident white light spectrum and absorbs most of the green wavelengths.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>Magenta absorption filter</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-5.png"/>
</fig>
<p><italic>Optical Binary AND Red Gate.</italic> Optical binary AND Red gate is built based on the work behavior of the red absorption filter. It is denoted by <inline-formula id="ieqn-29"><alternatives><inline-graphic xlink:href="ieqn-29.png"/><tex-math id="tex-ieqn-29"><![CDATA[$X \&_{2} R$]]></tex-math><mml:math id="mml-ieqn-29"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula> that accepts optical light <italic>X</italic> and performs binary AND operation with red light.</p>
<p>Let <inline-formula id="ieqn-30"><alternatives><inline-graphic xlink:href="ieqn-30.png"/><tex-math id="tex-ieqn-30"><![CDATA[$L = \{K, R, Y, G, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-30"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>X</italic> = (<italic>l</italic>) where <inline-formula id="ieqn-31"><alternatives><inline-graphic xlink:href="ieqn-31.png"/><tex-math id="tex-ieqn-31"><![CDATA[$l \in L$]]></tex-math><mml:math id="mml-ieqn-31"><mml:mi>l</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>, then <inline-formula id="ieqn-32"><alternatives><inline-graphic xlink:href="ieqn-32.png"/><tex-math id="tex-ieqn-32"><![CDATA[$\mathrm{X} \&_{2} \mathrm{R}$]]></tex-math><mml:math id="mml-ieqn-32"><mml:mstyle mathvariant="normal"><mml:mi>X</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>R</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> can be modeled as function <inline-formula id="ieqn-33"><alternatives><inline-graphic xlink:href="ieqn-33.png"/><tex-math id="tex-ieqn-33"><![CDATA[$f\colon L\rightarrow L$]]></tex-math><mml:math id="mml-ieqn-33"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:mi>L</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>,where <inline-formula id="ieqn-34"><alternatives><inline-graphic xlink:href="ieqn-34.png"/><tex-math id="tex-ieqn-34"><![CDATA[$f(X) = l \& R$]]></tex-math><mml:math id="mml-ieqn-34"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:mi>&#x0026;</mml:mi><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula>. Where (&#x0026;) means binary AND operation by applying And truth table on the binary representation of inputs. <xref ref-type="fig" rid="fig-6">Fig. 6</xref> shows the symbolic representation of the optical binary AND Red gate of <inline-formula id="ieqn-35"><alternatives><inline-graphic xlink:href="ieqn-35.png"/><tex-math id="tex-ieqn-35"><![CDATA[$A \&_{2} R$]]></tex-math><mml:math id="mml-ieqn-35"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula> and <xref ref-type="table" rid="table-3">Tab. 3</xref> illustrates its truth table.</p>
<fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>Symbolic representation of optical binary AND Red gate</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-6.png"/>
</fig>
 
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Truth table of optical binary AND Red gate, <inline-formula id="ieqn-36"><alternatives><inline-graphic xlink:href="ieqn-36.png"/><tex-math id="tex-ieqn-36"><![CDATA[$\mathrm{A} \&_{2} \mathrm{R}$]]></tex-math><mml:math id="mml-ieqn-36"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>R</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>A</italic></th>
<th><italic>R</italic></th>
<th><inline-formula id="ieqn-37"><alternatives><inline-graphic xlink:href="ieqn-37.png"/><tex-math id="tex-ieqn-37"><![CDATA[$X \&_{2} R$]]></tex-math><mml:math id="mml-ieqn-37"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>R</td>
<td>R</td>
</tr>
<tr>
<td>G</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>Y</td>
<td>R</td>
<td>R</td>
</tr>
<tr>
<td>B</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>M</td>
<td>R</td>
<td>R</td>
</tr>
<tr>
<td>C</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>W</td>
<td>R</td>
<td>R</td>
</tr>
</tbody>
</table></table-wrap>
<p><italic>Another Binary AND Gates.</italic> The absorption filters can be applied to any sort of color state to design other optical AND gates. Let <inline-formula id="ieqn-38"><alternatives><inline-graphic xlink:href="ieqn-38.png"/><tex-math id="tex-ieqn-38"><![CDATA[$L=\{K, R, Y, G, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-38"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, <italic>X</italic> = (<italic>l</italic>), and <italic>l</italic>, <inline-formula id="ieqn-39"><alternatives><inline-graphic xlink:href="ieqn-39.png"/><tex-math id="tex-ieqn-39"><![CDATA[$\upsilon \in L$]]></tex-math><mml:math id="mml-ieqn-39"><mml:mi>&#x03C5;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-40"><alternatives><inline-graphic xlink:href="ieqn-40.png"/><tex-math id="tex-ieqn-40"><![CDATA[$X \&_{2} \upsilon$]]></tex-math><mml:math id="mml-ieqn-40"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>&#x03C5;</mml:mi></mml:math></alternatives></inline-formula> can be modelled as function <inline-formula id="ieqn-41"><alternatives><inline-graphic xlink:href="ieqn-41.png"/><tex-math id="tex-ieqn-41"><![CDATA[$f\colon L\rightarrow L$]]></tex-math><mml:math id="mml-ieqn-41"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:mi>L</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>, where <inline-formula id="ieqn-42"><alternatives><inline-graphic xlink:href="ieqn-42.png"/><tex-math id="tex-ieqn-42"><![CDATA[$f(X) = l~\&~\upsilon$]]></tex-math><mml:math id="mml-ieqn-42"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:mspace width=".3em" /><mml:mi>&#x0026;</mml:mi><mml:mspace width=".3em" /><mml:mi>&#x03C5;</mml:mi></mml:math></alternatives></inline-formula>. <inline-formula id="ieqn-43"><alternatives><inline-graphic xlink:href="ieqn-43.png"/><tex-math id="tex-ieqn-43"><![CDATA[$X \&_{2} G$]]></tex-math><mml:math id="mml-ieqn-43"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>G</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-44"><alternatives><inline-graphic xlink:href="ieqn-44.png"/><tex-math id="tex-ieqn-44"><![CDATA[$X \&_{2} Y$]]></tex-math><mml:math id="mml-ieqn-44"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>Y</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-45"><alternatives><inline-graphic xlink:href="ieqn-45.png"/><tex-math id="tex-ieqn-45"><![CDATA[$X \&_{2} B$]]></tex-math><mml:math id="mml-ieqn-45"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-46"><alternatives><inline-graphic xlink:href="ieqn-46.png"/><tex-math id="tex-ieqn-46"><![CDATA[$X \&_{2} M$]]></tex-math><mml:math id="mml-ieqn-46"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-47"><alternatives><inline-graphic xlink:href="ieqn-47.png"/><tex-math id="tex-ieqn-47"><![CDATA[$X \&_{2} C$]]></tex-math><mml:math id="mml-ieqn-47"><mml:mi>X</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>C</mml:mi></mml:math></alternatives></inline-formula> are optical Binary AND gates that accept one optical light <italic>X</italic> and perform binary AND operation with the specified built-in color light. <xref ref-type="fig" rid="fig-7">Fig. 7</xref> shows their symbolic representations while <xref ref-type="table" rid="table-4">Tab. 4</xref> illustrates their truth tables.</p>
<fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>The symbolic representation of other optical AND gates</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-7.png"/>
</fig>
 
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>Truth table of other optical binary AND gates, <inline-formula id="ieqn-48"><alternatives><inline-graphic xlink:href="ieqn-48.png"/><tex-math id="tex-ieqn-48"><![CDATA[$\mathrm{A} \&_{2} \mathrm{G}$]]></tex-math><mml:math id="mml-ieqn-48"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>G</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-49"><alternatives><inline-graphic xlink:href="ieqn-49.png"/><tex-math id="tex-ieqn-49"><![CDATA[$\mathrm{A} \&_{2} \mathrm{Y}$]]></tex-math><mml:math id="mml-ieqn-49"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>Y</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-50"><alternatives><inline-graphic xlink:href="ieqn-50.png"/><tex-math id="tex-ieqn-50"><![CDATA[$\mathrm{A} \&_{2} \mathrm{B}$]]></tex-math><mml:math id="mml-ieqn-50"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>B</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-51"><alternatives><inline-graphic xlink:href="ieqn-51.png"/><tex-math id="tex-ieqn-51"><![CDATA[$\mathrm{A} \&_{2} \mathrm{M}$]]></tex-math><mml:math id="mml-ieqn-51"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>M</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-52"><alternatives><inline-graphic xlink:href="ieqn-52.png"/><tex-math id="tex-ieqn-52"><![CDATA[$\mathrm{A} \&_{2} \mathrm{C}$]]></tex-math><mml:math id="mml-ieqn-52"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>C</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>A</italic></th>
<th><italic>G</italic></th>
<th><inline-formula id="ieqn-53"><alternatives><inline-graphic xlink:href="ieqn-53.png"/><tex-math id="tex-ieqn-53"><![CDATA[$A \&_{2} G$]]></tex-math><mml:math id="mml-ieqn-53"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>G</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>Y</italic></th>
<th><italic>A &#x0026;</italic><sub>2</sub> <italic>Y</italic></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-54"><alternatives><inline-graphic xlink:href="ieqn-54.png"/><tex-math id="tex-ieqn-54"><![CDATA[$A \&_{2} B$]]></tex-math><mml:math id="mml-ieqn-54"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>M</italic></th>
<th><inline-formula id="ieqn-55"><alternatives><inline-graphic xlink:href="ieqn-55.png"/><tex-math id="tex-ieqn-55"><![CDATA[$A \&_{2} M$]]></tex-math><mml:math id="mml-ieqn-55"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>C</italic></th>
<th><inline-formula id="ieqn-56"><alternatives><inline-graphic xlink:href="ieqn-56.png"/><tex-math id="tex-ieqn-56"><![CDATA[$A \&_{2} C$]]></tex-math><mml:math id="mml-ieqn-56"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>C</mml:mi></mml:math></alternatives></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>G</td>
<td>K</td>
<td/>
<td>K</td>
<td>Y</td>
<td>K</td>
<td/>
<td>K</td>
<td>B</td>
<td>K</td>
<td/>
<td>K</td>
<td>M</td>
<td>K</td>
<td/>
<td>K</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>G</td>
<td>K</td>
<td/>
<td>R</td>
<td>Y</td>
<td>R</td>
<td/>
<td>R</td>
<td>B</td>
<td>K</td>
<td/>
<td>R</td>
<td>M</td>
<td>R</td>
<td/>
<td>R</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>G</td>
<td>G</td>
<td>G</td>
<td/>
<td>G</td>
<td>Y</td>
<td>G</td>
<td/>
<td>G</td>
<td>B</td>
<td>K</td>
<td/>
<td>G</td>
<td>M</td>
<td>K</td>
<td/>
<td>G</td>
<td>C</td>
<td>G</td>
</tr>
<tr>
<td>Y</td>
<td>G</td>
<td>G</td>
<td/>
<td>Y</td>
<td>Y</td>
<td>Y</td>
<td/>
<td>Y</td>
<td>B</td>
<td>K</td>
<td/>
<td>Y</td>
<td>M</td>
<td>R</td>
<td/>
<td>Y</td>
<td>C</td>
<td>G</td>
</tr>
<tr>
<td>B</td>
<td>G</td>
<td>K</td>
<td/>
<td>B</td>
<td>Y</td>
<td>K</td>
<td/>
<td>B</td>
<td>B</td>
<td>B</td>
<td/>
<td>B</td>
<td>M</td>
<td>B</td>
<td/>
<td>B</td>
<td>C</td>
<td>B</td>
</tr>
<tr>
<td>M</td>
<td>G</td>
<td>K</td>
<td/>
<td>M</td>
<td>Y</td>
<td>R</td>
<td/>
<td>M</td>
<td>B</td>
<td>B</td>
<td/>
<td>M</td>
<td>M</td>
<td>M</td>
<td/>
<td>M</td>
<td>C</td>
<td>B</td>
</tr>
<tr>
<td>C</td>
<td>G</td>
<td>G</td>
<td/>
<td>C</td>
<td>Y</td>
<td>G</td>
<td/>
<td>C</td>
<td>B</td>
<td>B</td>
<td/>
<td>C</td>
<td>M</td>
<td>B</td>
<td/>
<td>C</td>
<td>C</td>
<td>C</td>
</tr>
<tr>
<td>W</td>
<td>G</td>
<td>G</td>
<td/>
<td>W</td>
<td>Y</td>
<td>Y</td>
<td/>
<td>W</td>
<td>B</td>
<td>B</td>
<td/>
<td>W</td>
<td>M</td>
<td>M</td>
<td/>
<td>W</td>
<td>C</td>
<td>C</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="s3_2_3">
<label>3.2.3</label>
<title>Optical Binary NOT Gate</title>
<p>Our proposed negation gate (i.e., optical binary NOT gate) is constructed based on the work behavior of the interference filters. Unlike the absorption filters, the interference filters reflect and destructively interfere with unwanted wavelengths as opposed to absorbing them. The term dichroic arises from the fact that the interference filter appears one color under illumination with transmitted light and another color with reflected light. <xref ref-type="fig" rid="fig-8">Fig. 8</xref> shows how the magenta dichroic filter reflects the green light and permitting the magenta light to be transmitted from the other side of the filter.</p>
<fig id="fig-8">
<label>Figure 8</label>
<caption>
<title>Magenta interference filter</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-8.png"/>
</fig>
<p><italic>Optical NOT Red Gate.</italic> Optical binary NOT Red gate is built based on the work behavior of the cyan interference filter. The cyan dichroic filter reflects the red light and permitting the cyan light to be transmitted from the other side of the filter. The reflected light performs <inline-formula id="ieqn-57"><alternatives><inline-graphic xlink:href="ieqn-57.png"/><tex-math id="tex-ieqn-57"><![CDATA[$\lnot R$]]></tex-math><mml:math id="mml-ieqn-57"><mml:mo>&#x00AC;</mml:mo><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula> operation and is denoted by <inline-formula id="ieqn-58"><alternatives><inline-graphic xlink:href="ieqn-58.png"/><tex-math id="tex-ieqn-58"><![CDATA[$X\mathrm{-}R$]]></tex-math><mml:math id="mml-ieqn-58"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula>. Let <inline-formula id="ieqn-59"><alternatives><inline-graphic xlink:href="ieqn-59.png"/><tex-math id="tex-ieqn-59"><![CDATA[$L = \{K, R, Y, G, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-59"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>X</italic> = (<italic>l</italic>), <inline-formula id="ieqn-60"><alternatives><inline-graphic xlink:href="ieqn-60.png"/><tex-math id="tex-ieqn-60"><![CDATA[$l \in L$]]></tex-math><mml:math id="mml-ieqn-60"><mml:mi>l</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>, then optical binary NOT Red gate (<inline-formula id="ieqn-61"><alternatives><inline-graphic xlink:href="ieqn-61.png"/><tex-math id="tex-ieqn-61"><![CDATA[$X\mathrm{-}R$]]></tex-math><mml:math id="mml-ieqn-61"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula>) can be modelled as function <inline-formula id="ieqn-62"><alternatives><inline-graphic xlink:href="ieqn-62.png"/><tex-math id="tex-ieqn-62"><![CDATA[$f\colon L \rightarrow L$]]></tex-math><mml:math id="mml-ieqn-62"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:mi>L</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>, where <inline-formula id="ieqn-63"><alternatives><inline-graphic xlink:href="ieqn-63.png"/><tex-math id="tex-ieqn-63"><![CDATA[$f(X) = l\mathrm{-}R$]]></tex-math><mml:math id="mml-ieqn-63"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula>. <xref ref-type="fig" rid="fig-9">Fig. 9</xref> shows the symbolic representation of the optical binary NOT Red Gate of <inline-formula id="ieqn-64"><alternatives><inline-graphic xlink:href="ieqn-64.png"/><tex-math id="tex-ieqn-64"><![CDATA[$A\mathrm{-}R$]]></tex-math><mml:math id="mml-ieqn-64"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula> and <xref ref-type="table" rid="table-5">Tab. 5</xref> illustrates its truth table.</p>
<fig id="fig-9">
<label>Figure 9</label>
<caption>
<title>The symbolic representation of optical Not Red gate</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-9.png"/>
</fig>
 
<table-wrap id="table-5">
<label>Table 5</label>
<caption>
<title>Truth table of optical NOT Red gate, <inline-formula id="ieqn-65"><alternatives><inline-graphic xlink:href="ieqn-65.png"/><tex-math id="tex-ieqn-65"><![CDATA[$A\mathrm{-}R$]]></tex-math><mml:math id="mml-ieqn-65"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>A</italic></th>
<th><italic>R</italic></th>
<th><inline-formula id="ieqn-66"><alternatives><inline-graphic xlink:href="ieqn-66.png"/><tex-math id="tex-ieqn-66"><![CDATA[$A\mathrm{-}R$]]></tex-math><mml:math id="mml-ieqn-66"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>G</td>
<td>R</td>
<td>G</td>
</tr>
<tr>
<td>Y</td>
<td>R</td>
<td>G</td>
</tr>
<tr>
<td>B</td>
<td>R</td>
<td>B</td>
</tr>
<tr>
<td>M</td>
<td>R</td>
<td>B</td>
</tr>
<tr>
<td>C</td>
<td>R</td>
<td>C</td>
</tr>
<tr>
<td>W</td>
<td>R</td>
<td>C</td>
</tr>
</tbody>
</table></table-wrap>
<p><italic>Another Optical Binary NOT Gates.</italic> As we worked through designing the optical binary NOT Red gate by implementing the behavior of the cyan interference filter, the other colored filters can be used to design with related color the other optical NOT gates.</p>
<p>Let <inline-formula id="ieqn-67"><alternatives><inline-graphic xlink:href="ieqn-67.png"/><tex-math id="tex-ieqn-67"><![CDATA[$L = \{K, R, Y, G, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-67"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, <italic>X</italic> = (<italic>l</italic>), and <inline-formula id="ieqn-68"><alternatives><inline-graphic xlink:href="ieqn-68.png"/><tex-math id="tex-ieqn-68"><![CDATA[$l, \upsilon \in L$]]></tex-math><mml:math id="mml-ieqn-68"><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03C5;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-69"><alternatives><inline-graphic xlink:href="ieqn-69.png"/><tex-math id="tex-ieqn-69"><![CDATA[$X\mathrm{-}\upsilon$]]></tex-math><mml:math id="mml-ieqn-69"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>&#x03C5;</mml:mi></mml:math></alternatives></inline-formula> can be modelled as function <inline-formula id="ieqn-70"><alternatives><inline-graphic xlink:href="ieqn-70.png"/><tex-math id="tex-ieqn-70"><![CDATA[$f\colon L\rightarrow L$]]></tex-math><mml:math id="mml-ieqn-70"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:mi>L</mml:mi><mml:mo>&#x2192;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula>, where <inline-formula id="ieqn-71"><alternatives><inline-graphic xlink:href="ieqn-71.png"/><tex-math id="tex-ieqn-71"><![CDATA[$f(X) = l\mathrm{-}\upsilon$]]></tex-math><mml:math id="mml-ieqn-71"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>&#x03C5;</mml:mi></mml:math></alternatives></inline-formula>. <inline-formula id="ieqn-72"><alternatives><inline-graphic xlink:href="ieqn-72.png"/><tex-math id="tex-ieqn-72"><![CDATA[$X\mathrm{-}G$]]></tex-math><mml:math id="mml-ieqn-72"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>G</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-73"><alternatives><inline-graphic xlink:href="ieqn-73.png"/><tex-math id="tex-ieqn-73"><![CDATA[$X\mathrm{-}Y$]]></tex-math><mml:math id="mml-ieqn-73"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>Y</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-74"><alternatives><inline-graphic xlink:href="ieqn-74.png"/><tex-math id="tex-ieqn-74"><![CDATA[$X\mathrm{-}B$]]></tex-math><mml:math id="mml-ieqn-74"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-75"><alternatives><inline-graphic xlink:href="ieqn-75.png"/><tex-math id="tex-ieqn-75"><![CDATA[$X\mathrm{-}M$]]></tex-math><mml:math id="mml-ieqn-75"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-76"><alternatives><inline-graphic xlink:href="ieqn-76.png"/><tex-math id="tex-ieqn-76"><![CDATA[$X\mathrm{-}C$]]></tex-math><mml:math id="mml-ieqn-76"><mml:mi>X</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>C</mml:mi></mml:math></alternatives></inline-formula> are optical Binary NOT gates that accept optical light <italic>X</italic> and perform negation operation of the specified built-in color light. <xref ref-type="fig" rid="fig-10">Fig. 10</xref> shows their symbolic representations and <xref ref-type="table" rid="table-6">Tab. 6</xref> illustrates their truth tables.</p>
<fig id="fig-10">
<label>Figure 10</label>
<caption>
<title>The symbolic representation of other optical NOT gates</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-10.png"/>
</fig>
 
<table-wrap id="table-6">
<label>Table 6</label>
<caption>
<title>The truth table of other optical binary NOT gates, <inline-formula id="ieqn-77"><alternatives><inline-graphic xlink:href="ieqn-77.png"/><tex-math id="tex-ieqn-77"><![CDATA[$A\mathrm{-}G$]]></tex-math><mml:math id="mml-ieqn-77"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>G</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-78"><alternatives><inline-graphic xlink:href="ieqn-78.png"/><tex-math id="tex-ieqn-78"><![CDATA[$A\mathrm{-}Y$]]></tex-math><mml:math id="mml-ieqn-78"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>Y</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-79"><alternatives><inline-graphic xlink:href="ieqn-79.png"/><tex-math id="tex-ieqn-79"><![CDATA[$A\mathrm{-}B$]]></tex-math><mml:math id="mml-ieqn-79"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-80"><alternatives><inline-graphic xlink:href="ieqn-80.png"/><tex-math id="tex-ieqn-80"><![CDATA[$A\mathrm{-}M$]]></tex-math><mml:math id="mml-ieqn-80"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-81"><alternatives><inline-graphic xlink:href="ieqn-81.png"/><tex-math id="tex-ieqn-81"><![CDATA[$A\mathrm{-}C$]]></tex-math><mml:math id="mml-ieqn-81"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>C</mml:mi></mml:math></alternatives></inline-formula></title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>A</italic></th>
<th><italic>G</italic></th>
<th><inline-formula id="ieqn-82"><alternatives><inline-graphic xlink:href="ieqn-82.png"/><tex-math id="tex-ieqn-82"><![CDATA[$A\mathrm{-}G$]]></tex-math><mml:math id="mml-ieqn-82"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>G</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>Y</italic></th>
<th><inline-formula id="ieqn-83"><alternatives><inline-graphic xlink:href="ieqn-83.png"/><tex-math id="tex-ieqn-83"><![CDATA[$A\mathrm{-}Y$]]></tex-math><mml:math id="mml-ieqn-83"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>Y</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>B</italic></th>
<th><inline-formula id="ieqn-84"><alternatives><inline-graphic xlink:href="ieqn-84.png"/><tex-math id="tex-ieqn-84"><![CDATA[$A\mathrm{-}B$]]></tex-math><mml:math id="mml-ieqn-84"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>M</italic></th>
<th><inline-formula id="ieqn-85"><alternatives><inline-graphic xlink:href="ieqn-85.png"/><tex-math id="tex-ieqn-85"><![CDATA[$A\mathrm{-}M$]]></tex-math><mml:math id="mml-ieqn-85"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>M</mml:mi></mml:math></alternatives></inline-formula></th>
<th></th>
<th><italic>A</italic></th>
<th><italic>C</italic></th>
<th><inline-formula id="ieqn-86"><alternatives><inline-graphic xlink:href="ieqn-86.png"/><tex-math id="tex-ieqn-86"><![CDATA[$A\mathrm{-}C$]]></tex-math><mml:math id="mml-ieqn-86"><mml:mi>A</mml:mi><mml:mstyle class="text"><mml:mtext>&#x2013;</mml:mtext></mml:mstyle><mml:mi>C</mml:mi></mml:math></alternatives></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>G</td>
<td>K</td>
<td/>
<td>K</td>
<td>Y</td>
<td>K</td>
<td/>
<td>K</td>
<td>B</td>
<td>K</td>
<td/>
<td>K</td>
<td>M</td>
<td>K</td>
<td/>
<td>K</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>G</td>
<td>R</td>
<td/>
<td>R</td>
<td>Y</td>
<td>G</td>
<td/>
<td>R</td>
<td>B</td>
<td>R</td>
<td/>
<td>R</td>
<td>M</td>
<td>K</td>
<td/>
<td>R</td>
<td>C</td>
<td>R</td>
</tr>
<tr>
<td>G</td>
<td>G</td>
<td>K</td>
<td/>
<td>G</td>
<td>Y</td>
<td>R</td>
<td/>
<td>G</td>
<td>B</td>
<td>G</td>
<td/>
<td>G</td>
<td>M</td>
<td>G</td>
<td/>
<td>G</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>Y</td>
<td>G</td>
<td>R</td>
<td/>
<td>Y</td>
<td>Y</td>
<td>K</td>
<td/>
<td>Y</td>
<td>B</td>
<td>Y</td>
<td/>
<td>Y</td>
<td>M</td>
<td>G</td>
<td/>
<td>Y</td>
<td>C</td>
<td>R</td>
</tr>
<tr>
<td>B</td>
<td>G</td>
<td>B</td>
<td/>
<td>B</td>
<td>Y</td>
<td>B</td>
<td/>
<td>B</td>
<td>B</td>
<td>K</td>
<td/>
<td>B</td>
<td>M</td>
<td>K</td>
<td/>
<td>B</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>M</td>
<td>G</td>
<td>M</td>
<td/>
<td>M</td>
<td>Y</td>
<td>B</td>
<td/>
<td>M</td>
<td>B</td>
<td>R</td>
<td/>
<td>M</td>
<td>M</td>
<td>K</td>
<td/>
<td>M</td>
<td>C</td>
<td>R</td>
</tr>
<tr>
<td>C</td>
<td>G</td>
<td>B</td>
<td/>
<td>C</td>
<td>Y</td>
<td>B</td>
<td/>
<td>C</td>
<td>B</td>
<td>G</td>
<td/>
<td>C</td>
<td>M</td>
<td>G</td>
<td/>
<td>C</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>W</td>
<td>G</td>
<td>M</td>
<td/>
<td>W</td>
<td>Y</td>
<td>B</td>
<td/>
<td>W</td>
<td>B</td>
<td>Y</td>
<td/>
<td>W</td>
<td>M</td>
<td>G</td>
<td/>
<td>W</td>
<td>C</td>
<td>R</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="s3_2_4">
<label>3.2.4</label>
<title>Optical Dispersion Gate</title>
<p>The behavior of our proposed optical dispersion gate simulates the behavior of the dispersion light property. In fact, they both accept one optical beam and disperse the projected light to its basic constituent colors as shown below in <xref ref-type="fig" rid="fig-11">Fig. 11</xref>.</p>
<fig id="fig-11">
<label>Figure 11</label>
<caption>
<title>Dispersion light property</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-11.png"/>
</fig>
<p>So far, there are two types of the optical dispersion gate based on their ability to disperse lights. The first one can disperse the projected light color to its all constituent logical states as shown in <xref ref-type="fig" rid="fig-11">Fig. 11</xref>. The other type is one that disperses the input projected light color to its three basic constituent logical states as called shown in <xref ref-type="fig" rid="fig-12">Fig. 12</xref>. Our proposed optical 3-Dispersion Gate (3DG) follows the characteristics of the second type. <xref ref-type="fig" rid="fig-13">Fig. 13</xref> shows the symbolic representation of the optical dispersion gate and <xref ref-type="table" rid="table-7">Tab. 7</xref> illustrates its truth table.</p>
<fig id="fig-12">
<label>Figure 12</label>
<caption>
<title>Optical 3-dispersion filters</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-12.png"/>
</fig>
<fig id="fig-13">
<label>Figure 13</label> 
<caption>
<title>Symbolic representation of optical 3-dispersion gate</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-13.png"/>
</fig>
 
<table-wrap id="table-7">
<label>Table 7</label>
<caption>
<title>Truth table of optical 3-dispersion gate</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>A</italic></th>
<th><inline-formula id="ieqn-87"><alternatives><inline-graphic xlink:href="ieqn-87.png"/><tex-math id="tex-ieqn-87"><![CDATA[$A \&_{2} R$]]></tex-math><mml:math id="mml-ieqn-87"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>R</mml:mi></mml:math></alternatives></inline-formula></th>
<th><inline-formula id="ieqn-88"><alternatives><inline-graphic xlink:href="ieqn-88.png"/><tex-math id="tex-ieqn-88"><![CDATA[$A \&_{2} G$]]></tex-math><mml:math id="mml-ieqn-88"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>G</mml:mi></mml:math></alternatives></inline-formula></th>
<th><inline-formula id="ieqn-89"><alternatives><inline-graphic xlink:href="ieqn-89.png"/><tex-math id="tex-ieqn-89"><![CDATA[$A \&_{2} B$]]></tex-math><mml:math id="mml-ieqn-89"><mml:mi>A</mml:mi><mml:msub><mml:mrow><mml:mi>&#x0026;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>R</td>
<td>K</td>
<td>K</td>
</tr>
<tr>
<td>G</td>
<td>K</td>
<td>G</td>
<td>K</td>
</tr>
<tr>
<td>Y</td>
<td>R</td>
<td>G</td>
<td>K</td>
</tr>
<tr>
<td>B</td>
<td>K</td>
<td>K</td>
<td>B</td>
</tr>
<tr>
<td>M</td>
<td>R</td>
<td>K</td>
<td>B</td>
</tr>
<tr>
<td>C</td>
<td>K</td>
<td>G</td>
<td>B</td>
</tr>
<tr>
<td>W</td>
<td>R</td>
<td>G</td>
<td>B</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Proposed Mathematical Model of PLUS Operation in MVL</title>
<p>The proposed model provides a new definition for the PLUS operation based on the definition of binary OR gate in MVL. Section 4.1 defines the binary OR function. Section 4.2 defines the PLUS operation for any MVL. Section 4.3 highlights the definition of the plus-carry function.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Mathematical Definition of Binary OR Function</title>
<p>Binary OR function defined in binary logic as: <inline-formula id="ieqn-90"><alternatives><inline-graphic xlink:href="ieqn-90.png"/><tex-math id="tex-ieqn-90"><![CDATA[$\mathrm{A}\mid \mathrm{B}$]]></tex-math><mml:math id="mml-ieqn-90"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:mo>&#x2223;</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>B</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> is True when A OR B, or both, are True but in MVL has another definition. Let <inline-formula id="ieqn-91"><alternatives><inline-graphic xlink:href="ieqn-91.png"/><tex-math id="tex-ieqn-91"><![CDATA[$\mathbb{B}$]]></tex-math><mml:math id="mml-ieqn-91"><mml:mstyle mathvariant="double-struck"><mml:mi>B</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> is the set of powers of 2 where <inline-formula id="ieqn-92"><alternatives><inline-graphic xlink:href="ieqn-92.png"/><tex-math id="tex-ieqn-92"><![CDATA[$\mathbb{B}= \{1, 2, 4, 8, 16, \ldots\}$]]></tex-math><mml:math id="mml-ieqn-92"><mml:mstyle mathvariant="double-struck"><mml:mi>B</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>4</mml:mn><mml:mo>,</mml:mo><mml:mn>8</mml:mn><mml:mo>,</mml:mo><mml:mn>16</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, if we have <italic>Z<sub>n</sub></italic> is MVL with <italic>n</italic> states where <inline-formula id="ieqn-93"><alternatives><inline-graphic xlink:href="ieqn-93.png"/><tex-math id="tex-ieqn-93"><![CDATA[$Z_{n}= \{0, 1, 2, \ldots, n - 1\}$]]></tex-math><mml:math id="mml-ieqn-93"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="ieqn-94"><alternatives><inline-graphic xlink:href="ieqn-94.png"/><tex-math id="tex-ieqn-94"><![CDATA[$a, b \in Z_{n}$]]></tex-math><mml:math id="mml-ieqn-94"><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-95"><alternatives><inline-graphic xlink:href="ieqn-95.png"/><tex-math id="tex-ieqn-95"><![CDATA[$A, B \subset \mathbb{B}$]]></tex-math><mml:math id="mml-ieqn-95"><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>&#x2282;</mml:mo><mml:mstyle mathvariant="double-struck"><mml:mi>B</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> are the set of powers of 2 that found in <italic>a</italic>, <italic>b</italic> respectively, these sets <italic>A</italic>, <italic>B</italic> calculated according to <xref ref-type="disp-formula" rid="eqn-2">Eq. (2)</xref>.</p>
<p><disp-formula id="eqn-2">
<label>(2)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-2.png"/>
<tex-math id="tex-eqn-2"><![CDATA[$$\begin{equation}
A=\coprod_{i=0}^{ \left\lceil \ln n\right\rceil } \left\lfloor \frac{a}{2^{i}}\right\rfloor \,\mathrm{mod}\,2\times 2^{i}\neq 0.
\label{eqn-2}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-2" display="block"><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:munderover><mml:mrow><mml:mo>&#x2210;</mml:mo> </mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo lspace='0pt' rspace='0pt'>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mrow><mml:mo lspace='0pt' rspace='0pt'>&#x2308;</mml:mo><mml:mrow><mml:mo>ln</mml:mo><mml:mi>n</mml:mi></mml:mrow><mml:mo lspace='0pt' rspace='0pt'>&#x2309;</mml:mo></mml:mrow></mml:mrow></mml:munderover><mml:mrow><mml:mo>&#x230A;</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mrow><mml:mo>&#x230B;</mml:mo></mml:mrow><mml:mspace width="0.3em"/><mml:mstyle mathvariant="normal"><mml:mi>m</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi></mml:mstyle><mml:mspace width="0.3em"/><mml:mn>2</mml:mn><mml:mo>&#x00D7;</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo>&#x2260;</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo></mml:math></alternatives></disp-formula></p>
<p>Where <italic>i</italic> is the position of the index of element of 2&#x2019;s power in set A. The Binary OR function in MVL <inline-formula id="ieqn-96"><alternatives><inline-graphic xlink:href="ieqn-96.png"/><tex-math id="tex-ieqn-96"><![CDATA[$a |_{2} b$]]></tex-math><mml:math id="mml-ieqn-96"><mml:mi>a</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>b</mml:mi></mml:math></alternatives></inline-formula> is calculated by modulo <italic>n</italic> of summation of not repeated powers of 2 that found in inputs <italic>a</italic> and <italic>b</italic> in other words <inline-formula id="ieqn-97"><alternatives><inline-graphic xlink:href="ieqn-97.png"/><tex-math id="tex-ieqn-97"><![CDATA[$a |_{2} b$]]></tex-math><mml:math id="mml-ieqn-97"><mml:mi>a</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>b</mml:mi></mml:math></alternatives></inline-formula> calculated by <xref ref-type="disp-formula" rid="eqn-3">Eq. (3)</xref>.</p>
<p><disp-formula id="eqn-3">
<label>(3)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-3.png"/>
<tex-math id="tex-eqn-3"><![CDATA[$$\begin{equation}
a\,|_{2}\,b= \left(\sum A\cup B\right)\,\mathrm{mod}\, n
\label{eqn-3}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-3" display="block"><mml:mi>a</mml:mi><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mspace width="0.3em"/><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x2211;</mml:mo> <mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="0.3em"/><mml:mstyle mathvariant="normal"><mml:mi>m</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi></mml:mstyle><mml:mspace width="0.3em"/><mml:mi>n</mml:mi></mml:math></alternatives></disp-formula></p>
<p>For example: Suppose we have <inline-formula id="ieqn-98"><alternatives><inline-graphic xlink:href="ieqn-98.png"/><tex-math id="tex-ieqn-98"><![CDATA[$Z_{4}= \{0, 1, 2, 3\}$]]></tex-math><mml:math id="mml-ieqn-98"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>3</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and let <italic>a</italic> = 3, <italic>b</italic> = 1 and the sets of powers of 2 for <italic>a</italic>, <italic>b</italic> <inline-formula id="ieqn-99"><alternatives><inline-graphic xlink:href="ieqn-99.png"/><tex-math id="tex-ieqn-99"><![CDATA[$A = \{1, 2\}$]]></tex-math><mml:math id="mml-ieqn-99"><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-100"><alternatives><inline-graphic xlink:href="ieqn-100.png"/><tex-math id="tex-ieqn-100"><![CDATA[$B = \{1\}$]]></tex-math><mml:math id="mml-ieqn-100"><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-101"><alternatives><inline-graphic xlink:href="ieqn-101.png"/><tex-math id="tex-ieqn-101"><![CDATA[$A\cup B = \{1, 2\}$]]></tex-math><mml:math id="mml-ieqn-101"><mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-102"><alternatives><inline-graphic xlink:href="ieqn-102.png"/><tex-math id="tex-ieqn-102"><![CDATA[$a |_{2} b = (1+ 2)  \mathit{mod} 4 = 3$]]></tex-math><mml:math id="mml-ieqn-102"><mml:mi>a</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>m</mml:mi><mml:mi>o</mml:mi><mml:mi>d</mml:mi></mml:mstyle><mml:mn>4</mml:mn><mml:mo>=</mml:mo><mml:mn>3</mml:mn></mml:math></alternatives></inline-formula>.</p>
<p>The binary OR function of <inline-formula id="ieqn-103"><alternatives><inline-graphic xlink:href="ieqn-103.png"/><tex-math id="tex-ieqn-103"><![CDATA[$a, b \in Z_{n}$]]></tex-math><mml:math id="mml-ieqn-103"><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> can work as PLUS function on <italic>Z<sub>n</sub></italic> of <italic>a</italic>, <italic>b</italic> if there is no repeated powers of 2 appear in input sets A, B and that means <inline-formula id="ieqn-104"><alternatives><inline-graphic xlink:href="ieqn-104.png"/><tex-math id="tex-ieqn-104"><![CDATA[$\mathrm{a} |_{2} \mathrm{b}= (\mathrm{a}+ \mathrm{b})_{Zn}$]]></tex-math><mml:math id="mml-ieqn-104"><mml:mstyle mathvariant="normal"><mml:mi>a</mml:mi></mml:mstyle><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mstyle mathvariant="normal"><mml:mi>b</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>a</mml:mi></mml:mstyle><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>b</mml:mi></mml:mstyle></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> if <inline-formula id="ieqn-105"><alternatives><inline-graphic xlink:href="ieqn-105.png"/><tex-math id="tex-ieqn-105"><![CDATA[$\mathrm{A}\cap \mathrm{B}=\emptyset$]]></tex-math><mml:math id="mml-ieqn-105"><mml:mstyle mathvariant="normal"><mml:mi>A</mml:mi></mml:mstyle><mml:mo>&#x2229;</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>B</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mi>&#x2205;</mml:mi></mml:math></alternatives></inline-formula>. So, binary OR function will not equal PLUS function in cases that powers of 2 is repeated in the set <italic>A</italic>, <italic>B</italic>; in other words: <inline-formula id="ieqn-106"><alternatives><inline-graphic xlink:href="ieqn-106.png"/><tex-math id="tex-ieqn-106"><![CDATA[$a |_{2} b \neq (a + b)_{Zn}$]]></tex-math><mml:math id="mml-ieqn-106"><mml:mi>a</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>b</mml:mi><mml:mo>&#x2260;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mi>b</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> if <inline-formula id="ieqn-107"><alternatives><inline-graphic xlink:href="ieqn-107.png"/><tex-math id="tex-ieqn-107"><![CDATA[$A_{i}\in A, B, \in B_{j}$]]></tex-math><mml:math id="mml-ieqn-107"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, <italic>A<sub>i</sub></italic> = <italic>B<sub>j</sub></italic>. for example: Suppose we have <inline-formula id="ieqn-108"><alternatives><inline-graphic xlink:href="ieqn-108.png"/><tex-math id="tex-ieqn-108"><![CDATA[$Z_{4}=\{0, 1, 2, 3\}$]]></tex-math><mml:math id="mml-ieqn-108"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>3</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> as MVL and let <italic>a</italic> = 3, <italic>b</italic> = 1 and <inline-formula id="ieqn-109"><alternatives><inline-graphic xlink:href="ieqn-109.png"/><tex-math id="tex-ieqn-109"><![CDATA[$A = \{1, 2\}$]]></tex-math><mml:math id="mml-ieqn-109"><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-110"><alternatives><inline-graphic xlink:href="ieqn-110.png"/><tex-math id="tex-ieqn-110"><![CDATA[$B = \{1\}$]]></tex-math><mml:math id="mml-ieqn-110"><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-111"><alternatives><inline-graphic xlink:href="ieqn-111.png"/><tex-math id="tex-ieqn-111"><![CDATA[$A \cap B = \{1\}\neq \emptyset$]]></tex-math><mml:math id="mml-ieqn-111"><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x2260;</mml:mo><mml:mi>&#x2205;</mml:mi></mml:math></alternatives></inline-formula> where <inline-formula id="ieqn-112"><alternatives><inline-graphic xlink:href="ieqn-112.png"/><tex-math id="tex-ieqn-112"><![CDATA[$a |_{2} b = 3$]]></tex-math><mml:math id="mml-ieqn-112"><mml:mi>a</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:mn>3</mml:mn></mml:math></alternatives></inline-formula> and (<italic>a</italic> + <italic>b</italic>)<sub><italic>Zn</italic></sub> = 0 so, <inline-formula id="ieqn-113"><alternatives><inline-graphic xlink:href="ieqn-113.png"/><tex-math id="tex-ieqn-113"><![CDATA[$a |_{2} b \neq (a + b)_{Zn}$]]></tex-math><mml:math id="mml-ieqn-113"><mml:mi>a</mml:mi><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mi>b</mml:mi><mml:mo>&#x2260;</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mi>b</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Mathematical Definition of PLUS Operation</title>
<p>Form binary OR operation definition, we can add a new definition of PLUS operation for any MVL as binary OR operation with replacing the cases that has repeated Powers of 2 of inputs with another value <inline-formula id="ieqn-114"><alternatives><inline-graphic xlink:href="ieqn-114.png"/><tex-math id="tex-ieqn-114"><![CDATA[$\beta$]]></tex-math><mml:math id="mml-ieqn-114"><mml:mi>&#x03B2;</mml:mi></mml:math></alternatives></inline-formula> that matched with PLUS operation, by define <inline-formula id="ieqn-115"><alternatives><inline-graphic xlink:href="ieqn-115.png"/><tex-math id="tex-ieqn-115"><![CDATA[$1 + 1 = \beta_{0}$]]></tex-math><mml:math id="mml-ieqn-115"><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-116"><alternatives><inline-graphic xlink:href="ieqn-116.png"/><tex-math id="tex-ieqn-116"><![CDATA[$2 + 2 = \beta_{1}$]]></tex-math><mml:math id="mml-ieqn-116"><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-117"><alternatives><inline-graphic xlink:href="ieqn-117.png"/><tex-math id="tex-ieqn-117"><![CDATA[$4 + 4 = \beta_{2}$]]></tex-math><mml:math id="mml-ieqn-117"><mml:mn>4</mml:mn><mml:mo>+</mml:mo><mml:mn>4</mml:mn><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-118"><alternatives><inline-graphic xlink:href="ieqn-118.png"/><tex-math id="tex-ieqn-118"><![CDATA[$\ldots$]]></tex-math><mml:math id="mml-ieqn-118"><mml:mo>&#x2026;</mml:mo></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-119"><alternatives><inline-graphic xlink:href="ieqn-119.png"/><tex-math id="tex-ieqn-119"><![CDATA[$2^{\lceil \textit{ln }n\rceil}+ 2^{\lceil \textit{ln }n\rceil}= \beta^{\lceil \textit{ln }n\rceil}$]]></tex-math><mml:math id="mml-ieqn-119"><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mstyle class="text"><mml:mtext class="textit" mathvariant="italic">ln&#x00A0;</mml:mtext></mml:mstyle><mml:mi>n</mml:mi></mml:mrow><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mstyle class="text"><mml:mtext class="textit" mathvariant="italic">ln&#x00A0;</mml:mtext></mml:mstyle><mml:mi>n</mml:mi></mml:mrow><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mstyle class="text"><mml:mtext class="textit" mathvariant="italic">ln&#x00A0;</mml:mtext></mml:mstyle><mml:mi>n</mml:mi></mml:mrow><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:math></alternatives></inline-formula> where <italic>n</italic> is the number of states in MVL. This <inline-formula id="ieqn-120"><alternatives><inline-graphic xlink:href="ieqn-120.png"/><tex-math id="tex-ieqn-120"><![CDATA[$\beta$]]></tex-math><mml:math id="mml-ieqn-120"><mml:mi>&#x03B2;</mml:mi></mml:math></alternatives></inline-formula> value will be a new input to the recursive PLUS function with <inline-formula id="ieqn-121"><alternatives><inline-graphic xlink:href="ieqn-121.png"/><tex-math id="tex-ieqn-121"><![CDATA[$A \cup B - A \cap B$]]></tex-math><mml:math id="mml-ieqn-121"><mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo>-</mml:mo><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi></mml:math></alternatives></inline-formula>, until there is no any repeated item then applying binary or operation, the final <inline-formula id="ieqn-122"><alternatives><inline-graphic xlink:href="ieqn-122.png"/><tex-math id="tex-ieqn-122"><![CDATA[$\mathrm{a}+ \mathrm{b}$]]></tex-math><mml:math id="mml-ieqn-122"><mml:mstyle mathvariant="normal"><mml:mi>a</mml:mi></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>b</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> definition of can defined by <xref ref-type="disp-formula" rid="eqn-4">Eq. (4)</xref>.</p>
<p><disp-formula id="eqn-4">
<label>(4)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-4.png"/>
<tex-math id="tex-eqn-4"><![CDATA[$$\begin{equation}
 \left(a+b\right)_{Z_{n}}= \left(\sum \left\{\begin{array}{l@{\quad}l}
 \left( \left(A\cup B-A\cap B\right)+\beta \right)_{Z_{n}}, & A\cap B\neq \phi \\
a\,|_{2}\,b & A\cap B=\phi \end{array}\right. \right)\text{m}\text{o}\text{d}\,n
\label{eqn-4}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-4" display="block"><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mi>b</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo>&#x2211;</mml:mo> <mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable equalrows="false" columnlines="none" equalcolumns="false"><mml:mtr><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>A</mml:mi><mml:mo lspace='0pt' rspace='0pt'>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo lspace='0pt' rspace='0pt'>-</mml:mo><mml:mi>A</mml:mi><mml:mo lspace='0pt' rspace='0pt'>&#x2229;</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi><mml:mo>&#x2260;</mml:mo><mml:mi>&#x03D5;</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mi>a</mml:mi><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mspace width="0.3em"/><mml:mi>b</mml:mi><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mi>&#x03D5;</mml:mi></mml:mtd></mml:mtr> </mml:mtable></mml:mrow><mml:mo></mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mstyle><mml:mtext>m</mml:mtext></mml:mstyle><mml:mstyle><mml:mtext>o</mml:mtext></mml:mstyle><mml:mstyle><mml:mtext>d</mml:mtext></mml:mstyle><mml:mspace width="0.3em"/><mml:mi>n</mml:mi></mml:math></alternatives></disp-formula></p>
<p>The definition of <inline-formula id="ieqn-123"><alternatives><inline-graphic xlink:href="ieqn-123.png"/><tex-math id="tex-ieqn-123"><![CDATA[$\beta$]]></tex-math><mml:math id="mml-ieqn-123"><mml:mi>&#x03B2;</mml:mi></mml:math></alternatives></inline-formula> Value is changed from MVL to another. In our case of 8-VL, <inline-formula id="ieqn-124"><alternatives><inline-graphic xlink:href="ieqn-124.png"/><tex-math id="tex-ieqn-124"><![CDATA[$\beta$]]></tex-math><mml:math id="mml-ieqn-124"><mml:mi>&#x03B2;</mml:mi></mml:math></alternatives></inline-formula> have the values: <inline-formula id="ieqn-125"><alternatives><inline-graphic xlink:href="ieqn-125.png"/><tex-math id="tex-ieqn-125"><![CDATA[$\beta_{0}= 1 + 1 = 2$]]></tex-math><mml:math id="mml-ieqn-125"><mml:msub><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-126"><alternatives><inline-graphic xlink:href="ieqn-126.png"/><tex-math id="tex-ieqn-126"><![CDATA[$\beta_{1}= 2 + 2 = 4$]]></tex-math><mml:math id="mml-ieqn-126"><mml:msub><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>=</mml:mo><mml:mn>4</mml:mn></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-127"><alternatives><inline-graphic xlink:href="ieqn-127.png"/><tex-math id="tex-ieqn-127"><![CDATA[$\beta_{2}= 4 + 4 = 0$]]></tex-math><mml:math id="mml-ieqn-127"><mml:msub><mml:mrow><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>4</mml:mn><mml:mo>+</mml:mo><mml:mn>4</mml:mn><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></alternatives></inline-formula>.</p>
<p>For example: Suppose <inline-formula id="ieqn-128"><alternatives><inline-graphic xlink:href="ieqn-128.png"/><tex-math id="tex-ieqn-128"><![CDATA[$Z_{4}= \{0, 1, 2, 3\}$]]></tex-math><mml:math id="mml-ieqn-128"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mn>3</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> as MVL , let <italic>a</italic> = 3, <italic>b</italic> = 1 and <inline-formula id="ieqn-129"><alternatives><inline-graphic xlink:href="ieqn-129.png"/><tex-math id="tex-ieqn-129"><![CDATA[$A = \{1, 2\}$]]></tex-math><mml:math id="mml-ieqn-129"><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, <inline-formula id="ieqn-130"><alternatives><inline-graphic xlink:href="ieqn-130.png"/><tex-math id="tex-ieqn-130"><![CDATA[$B = \{1\}$]]></tex-math><mml:math id="mml-ieqn-130"><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="ieqn-131"><alternatives><inline-graphic xlink:href="ieqn-131.png"/><tex-math id="tex-ieqn-131"><![CDATA[$\beta$]]></tex-math><mml:math id="mml-ieqn-131"><mml:mi>&#x03B2;</mml:mi></mml:math></alternatives></inline-formula> value in <italic>Z</italic><sub>4</sub> defined as 1+1 = 2, 2+2 = 0. Thus: <inline-formula id="ieqn-132"><alternatives><inline-graphic xlink:href="ieqn-132.png"/><tex-math id="tex-ieqn-132"><![CDATA[$A \cup B = \{1, 2\}$]]></tex-math><mml:math id="mml-ieqn-132"><mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-133"><alternatives><inline-graphic xlink:href="ieqn-133.png"/><tex-math id="tex-ieqn-133"><![CDATA[$A \cap B = \{1\}\neq \emptyset$]]></tex-math><mml:math id="mml-ieqn-133"><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x2260;</mml:mo><mml:mi>&#x2205;</mml:mi></mml:math></alternatives></inline-formula>. Here, <inline-formula id="ieqn-134"><alternatives><inline-graphic xlink:href="ieqn-134.png"/><tex-math id="tex-ieqn-134"><![CDATA[$A \cup B - A \cap B = \{2\}$]]></tex-math><mml:math id="mml-ieqn-134"><mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo>-</mml:mo><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> by setting <inline-formula id="ieqn-135"><alternatives><inline-graphic xlink:href="ieqn-135.png"/><tex-math id="tex-ieqn-135"><![CDATA[$\beta = 1 + 1 = 2$]]></tex-math><mml:math id="mml-ieqn-135"><mml:mi>&#x03B2;</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:math></alternatives></inline-formula> and applying the <xref ref-type="disp-formula" rid="eqn-4">Eq. (4)</xref> then <inline-formula id="ieqn-136"><alternatives><inline-graphic xlink:href="ieqn-136.png"/><tex-math id="tex-ieqn-136"><![CDATA[$(3 + 1)_{Z4}= (A \cup B - A \cap B) + \beta = (2 + 2)_{Z4}$]]></tex-math><mml:math id="mml-ieqn-136"><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>3</mml:mn><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo>-</mml:mo><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>&#x03B2;</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> by applying the recursive <xref ref-type="disp-formula" rid="eqn-4">Eq. (4)</xref> again on the result by replacing <inline-formula id="ieqn-137"><alternatives><inline-graphic xlink:href="ieqn-137.png"/><tex-math id="tex-ieqn-137"><![CDATA[$\beta = 2 + 2 = 0$]]></tex-math><mml:math id="mml-ieqn-137"><mml:mi>&#x03B2;</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-138"><alternatives><inline-graphic xlink:href="ieqn-138.png"/><tex-math id="tex-ieqn-138"><![CDATA[$\{2\}\cup \{2\}= \{2\}$]]></tex-math><mml:math id="mml-ieqn-138"><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x222A;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and <inline-formula id="ieqn-139"><alternatives><inline-graphic xlink:href="ieqn-139.png"/><tex-math id="tex-ieqn-139"><![CDATA[$\{2\}\cap \{2\}= \{2\}$]]></tex-math><mml:math id="mml-ieqn-139"><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x2229;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-140"><alternatives><inline-graphic xlink:href="ieqn-140.png"/><tex-math id="tex-ieqn-140"><![CDATA[$\{2\}\cup \{2\}- \{2\}\cap \{2\}= \emptyset$]]></tex-math><mml:math id="mml-ieqn-140"><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x222A;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x2229;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>&#x2205;</mml:mi></mml:math></alternatives></inline-formula> then <inline-formula id="ieqn-141"><alternatives><inline-graphic xlink:href="ieqn-141.png"/><tex-math id="tex-ieqn-141"><![CDATA[$(2 + 2)_{Z4}= (A \cup B - A \cap B) + \beta = (0 + 0)_{Z4}= 0$]]></tex-math><mml:math id="mml-ieqn-141"><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>A</mml:mi><mml:mo>&#x222A;</mml:mo><mml:mi>B</mml:mi><mml:mo>-</mml:mo><mml:mi>A</mml:mi><mml:mo>&#x2229;</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mi>&#x03B2;</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>0</mml:mn><mml:mo lspace='0pt' rspace='0pt'>+</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>Z</mml:mi><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></alternatives></inline-formula> will be 0.</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Mathematical Definition of Plus-Carry Function</title>
<p>The carry value C of PLUS operation is the next state of the result if the summation greater than or equals the number of states in MVL. For any MVL <italic>Z<sub>n</sub></italic> for <italic>a, b <inline-formula id="ieqn-142"><alternatives><inline-graphic xlink:href="ieqn-142.png"/><tex-math id="tex-ieqn-142"><![CDATA[$\in$]]></tex-math><mml:math id="mml-ieqn-142"><mml:mo>&#x2208;</mml:mo></mml:math></alternatives></inline-formula> Z</italic><sub><italic>n</italic></sub> can also depend on the sets of powers of 2 <inline-formula id="ieqn-143"><alternatives><inline-graphic xlink:href="ieqn-143.png"/><tex-math id="tex-ieqn-143"><![CDATA[$A, B \subset \mathbb{B}$]]></tex-math><mml:math id="mml-ieqn-143"><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>&#x2282;</mml:mo><mml:mstyle mathvariant="double-struck"><mml:mi>B</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> that found in <italic>a, b</italic>. The <italic>C</italic> value will be the first state of <italic>Z<sub>n</sub></italic> if there exist a summation of two or more powers of 2 is greater than n so <italic>C</italic> can be calculated according to <xref ref-type="disp-formula" rid="eqn-5">Eq. (5)</xref></p>
<p><disp-formula id="eqn-5">
<label>(5)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-5.png"/>
<tex-math id="tex-eqn-5"><![CDATA[$$\begin{equation}
C(a,b)= \left\{\begin{array}{l@{\quad}l}
Z_{0}& \forall\, A_{i}\in A,\,B_{j}\in B,\,A_{i}+B_{j}< n \\
Z_{1}& A_{i}\in A,\, B_{j}\in B,\,\exists\, A_{i}+B_{j} \geq n
\end{array}\right.
\label{eqn-5}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-5" display="block"><mml:mi>C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable equalrows="false" columnlines="none" equalcolumns="false"><mml:mtr><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:mo>&#x2200;</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:mi>n</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:mo>&#x2203;</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:mi>n</mml:mi></mml:mtd></mml:mtr> </mml:mtable></mml:mrow><mml:mo></mml:mo></mml:mrow></mml:math></alternatives></disp-formula></p>
<p>For example: In binary logic, the only state that gives carry value is: (1+1), in 3-VL (1+2, 2+2), in 4-VL there is one case (2+2) and so on. In our case study 8-VL, there is only one case can give carry value if exist (4+4) in the set of powers of 2 in PLUS operation.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Architecture of Optical Full Adder (OFA)</title>
<p>The full adder in the binary logic circuits represents the main core of any micro-controller or processor. The subsequent sub-sections implement the defined mathematical model of PLUS operation by representing an optical full adder construction based on proposed optical 8-VL gates. Section  5.1 uncovers the principle and the implementation of constructing the optical tiny adders. Section 5.2 discusses in detail the design of the proposed optical full adder. Section 5.3 introduces set of case studies to validate the functionality of the optical full adder.</p>
<sec id="s5_1">
<label>5.1</label>
<title>Optical Tiny Adders (OTA)</title>
<p>The architecture of the proposed optical adder is consisting of three tiny adders: Optical Red Tiny Adder (ORTA), Optical Green Tiny Adder (OGTA), and Optical Blue Tiny Adder (OBTA). The idea behind constructing the tiny adders is built on extending the abilities of manufactured nonlinear materials that can double the frequency of the light passes through them and generates new light [<xref ref-type="bibr" rid="ref-23">23</xref>]. Each tiny adder may be constructed using one optical component or sort of simple optical gate.</p>
<sec id="s5_1_1">
<label>5.1.1</label>
<title>Optical Red Tiny Adder (ORTA)</title>
<p>ORTA is one type of OTA that can only makes PLUS operation on 3 Red beams as input values and the output may be red or green or both. Let <inline-formula id="ieqn-144"><alternatives><inline-graphic xlink:href="ieqn-144.png"/><tex-math id="tex-ieqn-144"><![CDATA[$L = \{K, R, G, Y, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-144"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>L</italic><sub>1</sub>, <inline-formula id="ieqn-145"><alternatives><inline-graphic xlink:href="ieqn-145.png"/><tex-math id="tex-ieqn-145"><![CDATA[$L_{2}\subset L$]]></tex-math><mml:math id="mml-ieqn-145"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2282;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula> where <inline-formula id="ieqn-146"><alternatives><inline-graphic xlink:href="ieqn-146.png"/><tex-math id="tex-ieqn-146"><![CDATA[$L_{1}= \{K, R\}$]]></tex-math><mml:math id="mml-ieqn-146"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="ieqn-147"><alternatives><inline-graphic xlink:href="ieqn-147.png"/><tex-math id="tex-ieqn-147"><![CDATA[$L_{2}= \{K, R, G\}$]]></tex-math><mml:math id="mml-ieqn-147"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and <italic>l</italic><sub>1</sub>, <italic>l</italic><sub>2</sub>, <inline-formula id="ieqn-148"><alternatives><inline-graphic xlink:href="ieqn-148.png"/><tex-math id="tex-ieqn-148"><![CDATA[$l_{3}\in L_{1}$]]></tex-math><mml:math id="mml-ieqn-148"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, Then, ORTA can be modelled as the function <inline-formula id="ieqn-149"><alternatives><inline-graphic xlink:href="ieqn-149.png"/><tex-math id="tex-ieqn-149"><![CDATA[$f\colon L_{1}\times L_{1}\times L_{1}\rightarrow L_{2}\times L_{2}$]]></tex-math><mml:math id="mml-ieqn-149"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2192;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> where <italic>f</italic> defined as in <xref ref-type="disp-formula" rid="eqn-6">Eq. (6)</xref>. <xref ref-type="fig" rid="fig-14">Fig. 14</xref> shows the simple circuit design of ORTA given inputs; <italic>L</italic><sub>1</sub>, <italic>L</italic><sub>2</sub> and <inline-formula id="ieqn-150"><alternatives><inline-graphic xlink:href="ieqn-150.png"/><tex-math id="tex-ieqn-150"><![CDATA[$C_{\mathit{in}}$]]></tex-math><mml:math id="mml-ieqn-150"><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mstyle></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> and <xref ref-type="table" rid="table-8">Tab. 8</xref> illustrate its truth table.</p>
<p><disp-formula id="eqn-6">
<label>(6)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-6.png"/>
<tex-math id="tex-eqn-6"><![CDATA[$$\begin{equation}
f(l_{1},\,l_{2},\,l_{3})= \left\{\begin{array}{l@{\quad}l}
(K,K) & l_{1},\,l_{2},\,l_{3}=K. \\
(R,K) & l_{1}=R,\, l_{2},\, l_{3}=K, \textit{ or }l_{2}=R,\, l_{1},\, l_{3}=K, \textit{ or }l_{3}=R,\, l_{1},\, l_{2}=K. \\
(K,G) & l_{1},\, l_{2}=R,\, l_{3}=K, \textit{ or }l_{1},\, l_{3}=R,\, l_{2}=K, \textit{ or }l_{2},\, l_{3}=R,\, l_{1}=K. \\
(R,G) & l_{1},\, l_{2},\, l_{3}=R.\end{array}\right.
\label{eqn-6}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-6" display="block"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable equalrows="false" columnlines="none" equalcolumns="false"><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>R</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr> </mml:mtable></mml:mrow><mml:mo></mml:mo></mml:mrow></mml:math></alternatives></disp-formula></p>
<fig id="fig-14">
<label>Figure 14</label> 
<caption>
<title>ORTA circuit design</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-14.png"/>
</fig>
 
<table-wrap id="table-8">
<label>Table 8</label>
<caption>
<title>Truth table of optical red tiny adder, ORTA</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><inline-formula id="ieqn-151"><alternatives><inline-graphic xlink:href="ieqn-151.png"/><tex-math id="tex-ieqn-151"><![CDATA[$C_{\mathit{in}}$]]></tex-math><mml:math id="mml-ieqn-151"><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mstyle></mml:mrow></mml:msub></mml:math></alternatives></inline-formula></th>
<th><italic>Output 1</italic></th>
<th><italic>Output 2</italic></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>K</td>
<td>K</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>K</td>
<td>R</td>
<td>K</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>R</td>
<td>K</td>
<td>K</td>
<td>G</td>
</tr>
<tr>
<td>K</td>
<td>K</td>
<td>R</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>R</td>
<td>K</td>
<td>R</td>
<td>K</td>
<td>G</td>
</tr>
<tr>
<td>K</td>
<td>R</td>
<td>R</td>
<td>K</td>
<td>G</td>
</tr>
<tr>
<td>R</td>
<td>R</td>
<td>R</td>
<td>R</td>
<td>G</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="s5_1_2">
<label>5.1.2</label>
<title>Optical Green Tiny Adder (OGTA)</title>
<p>OGTA is another type of OTA that can only make PLUS operation on 3 green beams as input values and the output may be either green or blue or both. Let <inline-formula id="ieqn-152"><alternatives><inline-graphic xlink:href="ieqn-152.png"/><tex-math id="tex-ieqn-152"><![CDATA[$L = \{K, R, G, Y, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-152"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>L</italic><sub>1</sub>, <inline-formula id="ieqn-153"><alternatives><inline-graphic xlink:href="ieqn-153.png"/><tex-math id="tex-ieqn-153"><![CDATA[$L_{2}\subset L$]]></tex-math><mml:math id="mml-ieqn-153"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2282;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula> where <inline-formula id="ieqn-154"><alternatives><inline-graphic xlink:href="ieqn-154.png"/><tex-math id="tex-ieqn-154"><![CDATA[$L_{1}= \{K, G\}$]]></tex-math><mml:math id="mml-ieqn-154"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="ieqn-155"><alternatives><inline-graphic xlink:href="ieqn-155.png"/><tex-math id="tex-ieqn-155"><![CDATA[$L_{2}= \{K, G, B\}$]]></tex-math><mml:math id="mml-ieqn-155"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula> and <italic>l</italic><sub>1</sub>, <italic>l</italic><sub>2</sub>, <inline-formula id="ieqn-156"><alternatives><inline-graphic xlink:href="ieqn-156.png"/><tex-math id="tex-ieqn-156"><![CDATA[$l_{3}\in L_{1}$]]></tex-math><mml:math id="mml-ieqn-156"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, Then OGTA can be modelled as the function <inline-formula id="ieqn-157"><alternatives><inline-graphic xlink:href="ieqn-157.png"/><tex-math id="tex-ieqn-157"><![CDATA[$f\colon L_{1}\times L_{1}\times L_{1}\rightarrow L_{2}\times L_{2}$]]></tex-math><mml:math id="mml-ieqn-157"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2192;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> where <italic>f</italic> defined as in <xref ref-type="disp-formula" rid="eqn-7">Eq. (7)</xref>. <xref ref-type="fig" rid="fig-15">Fig. 15</xref> shows the simple circuit design of OGTA given inputs; <italic>L</italic><sub>1</sub>, <italic>L</italic><sub>2</sub> and <inline-formula id="ieqn-158"><alternatives><inline-graphic xlink:href="ieqn-158.png"/><tex-math id="tex-ieqn-158"><![CDATA[$C_{\mathit{in}}$]]></tex-math><mml:math id="mml-ieqn-158"><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mstyle></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> where <xref ref-type="table" rid="table-9">Tab. 9</xref> illustrate its truth table.</p>
<p><disp-formula id="eqn-7">
<label>(7)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-7.png"/>
<tex-math id="tex-eqn-7"><![CDATA[$$\begin{equation}
f(l_{1},\,l_{2},\,l_{3})= \left\{\begin{array}{l@{\quad}l}
(K,K) & l_{1},\,l_{2},\,l_{3}=K. \\
(G,K) & l_{1}=G,\,l_{2},\,l_{3}=K, \textit{ or }l_{2}=G,\,l_{1},\,l_{3}=K, \textit{ or }l_{3}=G,\,l_{1},\,l_{2}=K. \\
(K,B) & l_{1},\,l_{2}=G,\,l_{3}=K, \textit{ or }l_{1},\,l_{3}=G,\,l_{2}=K, \textit{ or }l_{2},\,l_{3}=G,\,l_{1}=K. \\
(G,B) & l_{1},\,l_{2},\,
l_{3}=G. \end{array}\right.
\label{eqn-7}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-7" display="block"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable equalrows="false" columnlines="none" equalcolumns="false"><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>G</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr> </mml:mtable></mml:mrow><mml:mo></mml:mo></mml:mrow></mml:math></alternatives></disp-formula></p>
<fig id="fig-15">
<label>Figure 15</label> 
<caption>
<title>OGTA circuit design</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-15.png"/>
</fig>
 
<table-wrap id="table-9">
<label>Table 9</label>
<caption>
<title>Truth table of optical green tiny adder, OGTA</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><inline-formula id="ieqn-159"><alternatives><inline-graphic xlink:href="ieqn-159.png"/><tex-math id="tex-ieqn-159"><![CDATA[$C_{\mathit{in}}$]]></tex-math><mml:math id="mml-ieqn-159"><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mstyle></mml:mrow></mml:msub></mml:math></alternatives></inline-formula></th>
<th><italic>Output 1</italic></th>
<th><italic>Output 2</italic></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
</tr>
<tr>
<td>G</td>
<td>K</td>
<td>K</td>
<td>G</td>
<td>K</td>
</tr>
<tr>
<td>K</td>
<td>G</td>
<td>K</td>
<td>G</td>
<td>K</td>
</tr>
<tr>
<td>G</td>
<td>G</td>
<td>K</td>
<td>K</td>
<td>B</td>
</tr>
<tr>
<td>K</td>
<td>K</td>
<td>G</td>
<td>G</td>
<td>K</td>
</tr>
<tr>
<td>G</td>
<td>K</td>
<td>G</td>
<td>K</td>
<td>B</td>
</tr>
<tr>
<td>K</td>
<td>G</td>
<td>G</td>
<td>K</td>
<td>B</td>
</tr>
<tr>
<td>G</td>
<td>G</td>
<td>G</td>
<td>G</td>
<td>B</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
<sec id="s5_1_3">
<label>5.1.3</label>
<title>Optical Blue Tiny Adder (OBTA)</title>
<p>OBTA is another type of OTA that can only make PLUS operation on 3 blue beams as input values and the output may be blue or red or both. Let <inline-formula id="ieqn-160"><alternatives><inline-graphic xlink:href="ieqn-160.png"/><tex-math id="tex-ieqn-160"><![CDATA[$L = \{K, R, G, Y, B, M, C, W\}$]]></tex-math><mml:math id="mml-ieqn-160"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>,</mml:mo><mml:mi>Y</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>M</mml:mi><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mo>,</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>L</italic><sub>1</sub>, <inline-formula id="ieqn-161"><alternatives><inline-graphic xlink:href="ieqn-161.png"/><tex-math id="tex-ieqn-161"><![CDATA[${L_{2}\subset L}$]]></tex-math><mml:math id="mml-ieqn-161"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2282;</mml:mo><mml:mi>L</mml:mi></mml:math></alternatives></inline-formula> where <inline-formula id="ieqn-162"><alternatives><inline-graphic xlink:href="ieqn-162.png"/><tex-math id="tex-ieqn-162"><![CDATA[$L_{1}= \{K, B\}$]]></tex-math><mml:math id="mml-ieqn-162"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <inline-formula id="ieqn-163"><alternatives><inline-graphic xlink:href="ieqn-163.png"/><tex-math id="tex-ieqn-163"><![CDATA[$L_{2}= \{K, B, R\}$]]></tex-math><mml:math id="mml-ieqn-163"><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:math></alternatives></inline-formula>, and <italic>l</italic><sub>1</sub>, <italic>l</italic><sub>2</sub>, <inline-formula id="ieqn-164"><alternatives><inline-graphic xlink:href="ieqn-164.png"/><tex-math id="tex-ieqn-164"><![CDATA[$l_{3}\in L_{1}$]]></tex-math><mml:math id="mml-ieqn-164"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula>, Then, OBTA can be modelled as the function <inline-formula id="ieqn-165"><alternatives><inline-graphic xlink:href="ieqn-165.png"/><tex-math id="tex-ieqn-165"><![CDATA[$f\colon L_{1}\times L_{1}\times L_{1}\rightarrow L_{2}\times L_{2}$]]></tex-math><mml:math id="mml-ieqn-165"><mml:mi>f</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x2192;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> where <italic>f</italic> is defined as given in <xref ref-type="disp-formula" rid="eqn-8">Eq. (8)</xref>. <xref ref-type="fig" rid="fig-16">Fig. 16</xref> shows the simple circuit design of OBTA given inputs: <italic>L</italic><sub>1</sub>, <italic>L</italic><sub>2</sub> and <inline-formula id="ieqn-166"><alternatives><inline-graphic xlink:href="ieqn-166.png"/><tex-math id="tex-ieqn-166"><![CDATA[$C_{\mathit{in}}$]]></tex-math><mml:math id="mml-ieqn-166"><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mstyle></mml:mrow></mml:msub></mml:math></alternatives></inline-formula> where <xref ref-type="table" rid="table-10">Tab. 10</xref> illustrates its truth table.</p>
<p><disp-formula id="eqn-8">
<label>(8)</label>
<alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-8.png"/>
<tex-math id="tex-eqn-8"><![CDATA[$$\begin{equation}
f(l_{1},\,l_{2},\,l_{3})= \left\{\begin{array}{l@{\quad}l}
(K,K) & l_{1},\,l_{2},\,l_{3}=K. \\
(B,K) & l_{1}=B,\,l_{2},\,l_{3}=K, \textit{ or }l_{2}=B,\,l_{1},\,l_{3}=K, \textit{ or }l_{3}=B,\,l_{1},\,l_{2}=K. \\
(K,R) & l_{1},\,l_{2}=B,\,l_{3}=K, \textit{ or }l_{1},\,l_{3}=B,\,l_{2}=K, \textit{ or }l_{2},\,l_{3}=B,\,l_{1}=K. \\
(B,R) & l_{1},\,l_{2},\,l_{3}=B. \end{array}\right.
\label{eqn-8}
\end{equation}$$]]></tex-math>
<mml:math id="mml-eqn-8" display="block"><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable equalrows="false" columnlines="none" equalcolumns="false"><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>K</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>,</mml:mo><mml:mstyle><mml:mtext mathvariant="italic">&#x00A0;or&#x00A0;</mml:mtext></mml:mstyle><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>K</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="left"><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>B</mml:mi><mml:mo>,</mml:mo><mml:mi>R</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mspace width="1em"/></mml:mtd><mml:mtd columnalign="left"><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.3em"/><mml:msub><mml:mrow><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr> </mml:mtable></mml:mrow><mml:mo></mml:mo></mml:mrow></mml:math></alternatives></disp-formula></p>
<fig id="fig-16">
<label>Figure 16</label> 
<caption>
<title>OBTA circuit design</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-16.png"/>
</fig>
 
<table-wrap id="table-10">
<label>Table 10</label>
<caption>
<title>Truth table of optical blue tiny adder, OBTA</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><inline-formula id="ieqn-167"><alternatives><inline-graphic xlink:href="ieqn-167.png"/><tex-math id="tex-ieqn-167"><![CDATA[$C_{\mathit{in}}$]]></tex-math><mml:math id="mml-ieqn-167"><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mstyle mathvariant="italic"><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mstyle></mml:mrow></mml:msub></mml:math></alternatives></inline-formula></th>
<th><italic>Output 1</italic></th>
<th><italic>Output 2</italic></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
</tr>
<tr>
<td>B</td>
<td>K</td>
<td>K</td>
<td>B</td>
<td>K</td>
</tr>
<tr>
<td>K</td>
<td>B</td>
<td>K</td>
<td>B</td>
<td>K</td>
</tr>
<tr>
<td>B</td>
<td>B</td>
<td>K</td>
<td>K</td>
<td>R</td>
</tr>
<tr>
<td>K</td>
<td>K</td>
<td>B</td>
<td>B</td>
<td>K</td>
</tr>
<tr>
<td>B</td>
<td>K</td>
<td>B</td>
<td>K</td>
<td>R</td>
</tr>
<tr>
<td>K</td>
<td>B</td>
<td>B</td>
<td>K</td>
<td>R</td>
</tr>
<tr>
<td>B</td>
<td>B</td>
<td>B</td>
<td>B</td>
<td>R</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Optical Full Adder (OFA) Design</title>
<p>Optical Full Adder (OFA) is an optical device that implements the PLUS operation of two octal values. It consists of the three types of the tiny adders; ORTA, OGTA, and OBTA. OFA has three input values: L1, L2, and empty value of Cin and generate Z as a summation result of the PLUS operation and <italic>C<sub>O</sub></italic> as the resultant carry. <xref ref-type="table" rid="table-11">Tab. 11</xref> illustrates the truth table of OFA.</p>
<table-wrap id="table-11">
<label>Table 11</label>
<caption>
<title>Truth table of optical full adder, OFA</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
<th></th>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th><italic>C<sub>O</sub></italic></th>
<th><italic>Z</italic></th>
</tr>
</thead>
<tbody>
<tr>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td/>
<td>R</td>
<td>K</td>
<td>K</td>
<td>R</td>
<td/>
<td>G</td>
<td>K</td>
<td>K</td>
<td>G</td>
<td/>
<td>Y</td>
<td>K</td>
<td>K</td>
<td>Y</td>
<td/>
<td>B</td>
<td>K</td>
<td>K</td>
<td>B</td>
<td/>
<td>M</td>
<td>K</td>
<td>K</td>
<td>M</td>
<td/>
<td>C</td>
<td>K</td>
<td>K</td>
<td>C</td>
<td/>
<td>W</td>
<td>K</td>
<td>W</td>
<td>W</td>
</tr>
<tr>
<td>K</td>
<td>R</td>
<td>K</td>
<td>R</td>
<td/>
<td>R</td>
<td>R</td>
<td>K</td>
<td>G</td>
<td/>
<td>G</td>
<td>R</td>
<td>K</td>
<td>Y</td>
<td/>
<td>Y</td>
<td>R</td>
<td>K</td>
<td>B</td>
<td/>
<td>B</td>
<td>R</td>
<td>K</td>
<td>M</td>
<td/>
<td>M</td>
<td>R</td>
<td>K</td>
<td>C</td>
<td/>
<td>C</td>
<td>R</td>
<td>K</td>
<td>W</td>
<td/>
<td>W</td>
<td>R</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>K</td>
<td>G</td>
<td>K</td>
<td>G</td>
<td/>
<td>R</td>
<td>G</td>
<td>K</td>
<td>Y</td>
<td/>
<td>G</td>
<td>G</td>
<td>K</td>
<td>B</td>
<td/>
<td>Y</td>
<td>G</td>
<td>K</td>
<td>M</td>
<td/>
<td>B</td>
<td>G</td>
<td>K</td>
<td>C</td>
<td/>
<td>M</td>
<td>G</td>
<td>K</td>
<td>W</td>
<td/>
<td>C</td>
<td>G</td>
<td>R</td>
<td>K</td>
<td/>
<td>W</td>
<td>G</td>
<td>R</td>
<td>R</td>
</tr>
<tr>
<td>K</td>
<td>Y</td>
<td>K</td>
<td>Y</td>
<td/>
<td>R</td>
<td>Y</td>
<td>K</td>
<td>B</td>
<td/>
<td>G</td>
<td>Y</td>
<td>K</td>
<td>M</td>
<td/>
<td>Y</td>
<td>Y</td>
<td>K</td>
<td>C</td>
<td/>
<td>B</td>
<td>Y</td>
<td>K</td>
<td>W</td>
<td/>
<td>M</td>
<td>Y</td>
<td>R</td>
<td>K</td>
<td/>
<td>C</td>
<td>Y</td>
<td>R</td>
<td>R</td>
<td/>
<td>W</td>
<td>Y</td>
<td>R</td>
<td>G</td>
</tr>
<tr>
<td>K</td>
<td>B</td>
<td>K</td>
<td>B</td>
<td/>
<td>R</td>
<td>B</td>
<td>K</td>
<td>M</td>
<td/>
<td>G</td>
<td>B</td>
<td>K</td>
<td>C</td>
<td/>
<td>Y</td>
<td>B</td>
<td>K</td>
<td>W</td>
<td/>
<td>B</td>
<td>B</td>
<td>R</td>
<td>K</td>
<td/>
<td>M</td>
<td>B</td>
<td>R</td>
<td>R</td>
<td/>
<td>C</td>
<td>B</td>
<td>R</td>
<td>G</td>
<td/>
<td>W</td>
<td>B</td>
<td>R</td>
<td>Y</td>
</tr>
<tr>
<td>K</td>
<td>M</td>
<td>K</td>
<td>M</td>
<td/>
<td>R</td>
<td>M</td>
<td>K</td>
<td>C</td>
<td/>
<td>G</td>
<td>M</td>
<td>K</td>
<td>W</td>
<td/>
<td>Y</td>
<td>M</td>
<td>R</td>
<td>K</td>
<td/>
<td>B</td>
<td>M</td>
<td>R</td>
<td>R</td>
<td/>
<td>M</td>
<td>M</td>
<td>R</td>
<td>G</td>
<td/>
<td>C</td>
<td>M</td>
<td>R</td>
<td>Y</td>
<td/>
<td>W</td>
<td>M</td>
<td>R</td>
<td>B</td>
</tr>
<tr>
<td>K</td>
<td>C</td>
<td>K</td>
<td>C</td>
<td/>
<td>R</td>
<td>C</td>
<td>K</td>
<td>W</td>
<td/>
<td>G</td>
<td>C</td>
<td>R</td>
<td>K</td>
<td/>
<td>Y</td>
<td>C</td>
<td>R</td>
<td>R</td>
<td/>
<td>B</td>
<td>C</td>
<td>R</td>
<td>G</td>
<td/>
<td>M</td>
<td>C</td>
<td>R</td>
<td>Y</td>
<td/>
<td>C</td>
<td>C</td>
<td>R</td>
<td>B</td>
<td/>
<td>W</td>
<td>C</td>
<td>R</td>
<td>M</td>
</tr>
<tr>
<td>K</td>
<td>W</td>
<td>K</td>
<td>W</td>
<td/>
<td>R</td>
<td>W</td>
<td>R</td>
<td>K</td>
<td/>
<td>G</td>
<td>W</td>
<td>R</td>
<td>R</td>
<td/>
<td>Y</td>
<td>W</td>
<td>R</td>
<td>G</td>
<td/>
<td>B</td>
<td>W</td>
<td>R</td>
<td>Y</td>
<td/>
<td>M</td>
<td>W</td>
<td>R</td>
<td>B</td>
<td/>
<td>C</td>
<td>W</td>
<td>R</td>
<td>M</td>
<td/>
<td>W</td>
<td>W</td>
<td>R</td>
<td>C</td>
</tr>
</tbody>
</table></table-wrap>
<p>The design of OFA is consisting of two optical 3-dispersion gates followed by three optical tiny adders; ORTA, OGTA, OBTA and then an optical binary OR gate as shown in <xref ref-type="fig" rid="fig-13">Fig. 13</xref>. The projected light colors <italic>L</italic><sub>1</sub> and <italic>L</italic><sub>2</sub> are dispersed to their basic constituent colors using the first and the second optical 3-dispersion gates respectively. The dispersed lights are propagated to their related optical tiny adders. The resultant values of the three tiny adders are passed through the optical binary OR gate to produce <italic>Z</italic> as the result of the PLUS operations. The carry <italic>C<sub>O</sub></italic> is emitted at the end from OBTA as a red value as illustrated above in <xref ref-type="table" rid="table-11">Tab. 11</xref>. The resultant carry value is connected as a carry input to another OFA in the chain of computation as shown in <xref ref-type="fig" rid="fig-17">Fig. 17</xref>.</p>
<fig id="fig-17">
<label>Figure 17</label>
<caption>
<title>OFA circuit design</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-17.png"/>
</fig>
</sec>
<sec id="s5_3">
<label>5.3</label>
<title>Validation of the Proposed Models</title>
<p>In order to assure the validity of the defined mathematical model of the PLUS operation and hence the proposed optical full adder model, four case studies are used according to the description illustrated in <xref ref-type="table" rid="table-12">Tab. 12</xref>.</p>
<table-wrap id="table-12">
<label>Table 12</label>
<caption>
<title>Input&#x2013;Output mapping of case studies</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>Case</italic></th>
<th colspan="2"><italic>Input</italic></th>
<th colspan="2"><italic>Output</italic></th>
</tr>
<tr>
<th></th>
<th><inline-formula id="ieqn-168"><alternatives><inline-graphic xlink:href="ieqn-168.png"/><tex-math id="tex-ieqn-168"><![CDATA[$\mathrm{L}_{1}$]]></tex-math><mml:math id="mml-ieqn-168"><mml:msub><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>L</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula></th>
<th><inline-formula id="ieqn-169"><alternatives><inline-graphic xlink:href="ieqn-169.png"/><tex-math id="tex-ieqn-169"><![CDATA[$\mathrm{L}_{2}$]]></tex-math><mml:math id="mml-ieqn-169"><mml:msub><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>L</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></alternatives></inline-formula></th>
<th>C</th>
<th>Z</th>
</tr>
</thead>
<tbody>
<tr>
<td>I</td>
<td>G</td>
<td>B</td>
<td>K</td>
<td>C</td>
</tr>
<tr>
<td>II</td>
<td>Y</td>
<td>M</td>
<td>R</td>
<td>K</td>
</tr>
<tr>
<td>III</td>
<td>W</td>
<td>W</td>
<td>R</td>
<td>C</td>
</tr>
<tr>
<td>IV</td>
<td>C</td>
<td>M</td>
<td>R</td>
<td>Y</td>
</tr>
</tbody>
</table></table-wrap>
<p>In Case study (I), the inputs values are <italic>G</italic> and <italic>B</italic> as <italic>L</italic><sub>1</sub> and <italic>L</italic><sub>2</sub> inputs to optical 3-dispersion gates (3DG1) and (3DG2) respectively, the output of (3DG1) will be G, that will connected as first input of OGTA, and the output of (3DG2) will be <italic>B</italic> connected as a second input of OBTA, the output of OGTA is <italic>G</italic>, and the output of OBTA is <italic>B</italic>, the output values <italic>G</italic> and <italic>B</italic> will be inputs to binary OR Gate and the output will be <italic>C</italic>. In Case study IV, the inputs values are <italic>C</italic> and <italic>M</italic> as <italic>L</italic><sub>1</sub> and <italic>L</italic><sub>2</sub> inputs to (3DG1) and (3DG2) respectively the output of (3DG1) will be <italic>G</italic> and <italic>B</italic> that will connected as first inputs of OGTA and OBTA respectively, the output of (3DG2) will be <italic>R</italic> and <italic>B</italic> connected as a second inputs of ORTA and OBTA respectively, the output of ORTA is <italic>R</italic> and output of OGTA is <italic>G</italic>, the output of OBTA is <italic>R</italic>, the output values <italic>R</italic> and <italic>G</italic> will be inputs to the binary OR Gate and the output will be <italic>Y</italic> and the carry value is <italic>R</italic>. <xref ref-type="table" rid="table-13">Tab. 13</xref> display the inputs and outputs of each case for all components in OFA.</p>
<table-wrap id="table-13">
<label>Table 13</label>
<caption>
<title>Input&#x2013;Output trace of the case study</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th><italic>L</italic><sub>1</sub></th>
<th><italic>L</italic><sub>2</sub></th>
<th colspan="3"><italic>3DG1</italic></th>
<th colspan="3"><italic>3DG2</italic></th>
<th colspan="5"><italic>ORTA</italic></th>
<th colspan="5"><italic>OGTA</italic></th>
<th colspan="5"><italic>OBTA</italic></th>
<th colspan="4"><italic>OR Gate</italic></th>
<th><italic>C</italic></th>
</tr>
<tr>
<th></th>
<th></th>
<th colspan="3"><italic>Out</italic></th>
<th colspan="3"><italic>Out</italic></th>
<th colspan="3"><italic>In</italic></th>
<th colspan="2"><italic>Out</italic></th>
<th colspan="3"><italic>In</italic></th>
<th colspan="2"><italic>Out</italic></th>
<th colspan="3"><italic>In</italic></th>
<th colspan="2"><italic>Out</italic></th>
<th colspan="3"><italic>In</italic></th>
<th><italic>Z</italic></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>G</td>
<td>B</td>
<td>K</td>
<td>G</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>B</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>G</td>
<td>K</td>
<td>G</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>B</td>
<td>B</td>
<td>K</td>
<td>K</td>
<td>G</td>
<td>B</td>
<td>C</td>
<td>K</td>
</tr>
<tr>
<td>Y</td>
<td>M</td>
<td>R</td>
<td>G</td>
<td>K</td>
<td>R</td>
<td>K</td>
<td>B</td>
<td>K</td>
<td>R</td>
<td>R</td>
<td>K</td>
<td>G</td>
<td>G</td>
<td>G</td>
<td>K</td>
<td>K</td>
<td>B</td>
<td>B</td>
<td>K</td>
<td>B</td>
<td>K</td>
<td>R</td>
<td>R</td>
<td>K</td>
<td>K</td>
<td>K</td>
<td>R</td>
</tr>
<tr>
<td>W</td>
<td>W</td>
<td>R</td>
<td>G</td>
<td>B</td>
<td>R</td>
<td>G</td>
<td>B</td>
<td>K</td>
<td>R</td>
<td>R</td>
<td>K</td>
<td>G</td>
<td>G</td>
<td>G</td>
<td>G</td>
<td>G</td>
<td>B</td>
<td>B</td>
<td>B</td>
<td>B</td>
<td>B</td>
<td>R</td>
<td>R</td>
<td>G</td>
<td>B</td>
<td>C</td>
<td>R</td>
</tr>
<tr>
<td>C</td>
<td>M</td>
<td>K</td>
<td>G</td>
<td>B</td>
<td>R</td>
<td>K</td>
<td>B</td>
<td>K</td>
<td>K</td>
<td>R</td>
<td>R</td>
<td>K</td>
<td>K</td>
<td>G</td>
<td>K</td>
<td>G</td>
<td>K</td>
<td>K</td>
<td>B</td>
<td>B</td>
<td>K</td>
<td>R</td>
<td>R</td>
<td>G</td>
<td>K</td>
<td>Y</td>
<td>R</td>
</tr>
</tbody>
</table></table-wrap>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Conclusion</title>
<p>In this paper, a new optical 8-VL model was proposed to provide an efficient approach for handling the computational speed and complexity issues in the classical logic. CLSM was defined as a numerical color representation model for describing the optical logical states. The proposed optical gates in 8-VL were constructed and their truth table were defined. The optical binary OR gate mimics the behavior of the additive light property. The optical binary AND gate mimics the behavior of the of the absorption filter. The optical binary NOT gate mimics the behavior of the of the interference filter. The optical dispersion gate mimics the behavior of the of the dispersion light property filter. We introduced a new definition for the binary OR function that led us to establish a new mathematical representation for the PLUS operation in MVL. Also, a novel construction for the full adder that sum octal numbers in optical MVL is proposed. Four case studies were used and proved the validity of the proposed models.</p>
</sec>
</body>
<back>
<fn-group><fn fn-type="other"><p><bold>Funding Statement:</bold> The authors received no specific funding for this study.</p></fn>
<fn fn-type="conflict"><p><bold>Conflicts of Interest:</bold> The authors declare that they have no conflicts of interest to report regarding the present study.</p></fn></fn-group>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>A. E.</given-names> <surname>Willner</surname></string-name></person-group>, &#x201C;<article-title>Optical signal processing</article-title>,&#x201D; in <conf-name>Optical Fiber Communication Conf.</conf-name>, Anaheim, California, United States, p. <fpage>OM2G.5</fpage>: <publisher-name>Optical Society of America</publisher-name>, <year>2013</year>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. T.</given-names> <surname>Hill</surname></string-name>, <string-name><given-names>H. J.</given-names> <surname>Dorren</surname></string-name>, <string-name><given-names>T.</given-names> <surname>de Vries</surname></string-name>, <string-name><given-names>X. J.</given-names> <surname>Leijtens</surname></string-name>, <string-name><given-names>H. J.</given-names> <surname>den Besten</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>A fast low-power optical memory based on coupled micro-ring lasers</article-title>,&#x201D; <source>Nature</source>, vol. <volume>432</volume>, no. <issue>7014</issue>, pp. <fpage>206</fpage>&#x2013;<lpage>209</lpage>, <year>2004</year>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Nozaki</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Shinya</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Matsuo</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Suzaki</surname></string-name>, <string-name><given-names>T.</given-names> <surname>Segawa</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Ultralow-power all-optical RAM based on nanocavities</article-title>,&#x201D; <source>Nature Photonics</source>, vol. <volume>6</volume>, no. <issue>4</issue>, pp. <fpage>248</fpage>&#x2013;<lpage>252</lpage>, <year>2012</year>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Capmany</surname></string-name> and <string-name><given-names>D.</given-names> <surname>Novak</surname></string-name></person-group>, &#x201C;<article-title>Microwave photonics combines two worlds</article-title>,&#x201D; <source>Nature Photonics</source>, vol. <volume>1</volume>, no. <issue>6</issue>, pp. <fpage>319</fpage>&#x2013;<lpage>330</lpage>, <year>2007</year>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Yao</surname></string-name></person-group>, &#x201C;<article-title>Microwave photonics</article-title>,&#x201D; <source>Journal of Lightwave Technology</source>, vol. <volume>27</volume>, no. <issue>3</issue>, pp. <fpage>314</fpage>&#x2013;<lpage>335</lpage>, <year>2009</year>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Porzi</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Scaffardi</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Pot&#x00EC;</surname></string-name> and <string-name><given-names>A.</given-names> <surname>Bogoni</surname></string-name></person-group>, &#x201C;<article-title>Optical digital signal processing in a single SOA without assist probe light</article-title>,&#x201D; <source>IEEE Journal of Selected Topics in Quantum Electronics</source>, vol. <volume>16</volume>, no. <issue>5</issue>, pp. <fpage>1469</fpage>&#x2013;<lpage>1475</lpage>, <year>2010</year>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>R.</given-names> <surname>Cunha</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Boudinov</surname></string-name> and <string-name><given-names>L.</given-names> <surname>Carro</surname></string-name></person-group>, &#x201C;<article-title>Quaternary look-up tables using voltage-mode CMOS logic design</article-title>,&#x201D; in <conf-name>37th Int. Symp. on Multiple-Valued Logic</conf-name>, Oslo, Norway, <publisher-name>IEEE</publisher-name>, pp. <fpage>56</fpage>, <year>2007</year>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Chattopadhyay</surname></string-name> and <string-name><given-names>J. N.</given-names> <surname>Roy</surname></string-name></person-group>, &#x201C;<article-title>All-optical multi-valued computing: The future challenges and opportunities</article-title>,&#x201D; in <conf-name>Int. Conf. on Convergence of Optics and Electronics</conf-name>, Kolkata, pp. <fpage>94</fpage>&#x2013;<lpage>101</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Gayen</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Bhattacharyya</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Pal</surname></string-name> and <string-name><given-names>J. N.</given-names> <surname>Roy</surname></string-name></person-group>, &#x201C;<article-title>All-optical binary-coded decimal adder with a terahertz optical asymmetric demultiplexer</article-title>,&#x201D; <source>Computing in Science &#x0026; Engineering</source>, vol. <volume>13</volume>, no. <issue>1</issue>, pp. <fpage>50</fpage>&#x2013;<lpage>57</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>P. C.</given-names> <surname>Balla</surname></string-name> and <string-name><given-names>A.</given-names> <surname>Antoniou</surname></string-name></person-group>, &#x201C;<article-title>Low power dissipation MOS ternary logic family</article-title>,&#x201D; <source>Journal of Solid-State Circuits</source>, vol. <volume>19</volume>, no. <issue>5</issue>, pp. <fpage>739</fpage>&#x2013;<lpage>749</lpage>, <year>1984</year>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><given-names>B. K.</given-names> <surname>Bhoi</surname></string-name>, <string-name><given-names>N. K.</given-names> <surname>Misra</surname></string-name>, <string-name><given-names>I.</given-names> <surname>Dash</surname></string-name> and <string-name><given-names>A.</given-names> <surname>Patra</surname></string-name></person-group>, &#x201C;<chapter-title>A redundant adder architecture in ternary quantum-dot cellular automata</chapter-title>,&#x201D; in <source>Smart Intelligent Computing and Applications</source>, <publisher-loc>Berlin, Germany</publisher-loc>: <publisher-name>Springer</publisher-name>, pp. <fpage>375</fpage>&#x2013;<lpage>384</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Kim</surname></string-name>, <string-name><given-names>S. Y.</given-names> <surname>Lee</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Park</surname></string-name>, <string-name><given-names>K. R.</given-names> <surname>Kim</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Kang</surname></string-name></person-group>, &#x201C;<article-title>A logic synthesis methodology for low-power ternary logic circuits</article-title>,&#x201D; <source>IEEE Transactions on Circuits and Systems I: Regular Papers</source>, vol. <volume>67</volume>, no. <issue>9</issue>, pp. <fpage>3138</fpage>&#x2013;<lpage>3151</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Li</surname></string-name> and <string-name><given-names>J.</given-names> <surname>Yan</surname></string-name></person-group>, &#x201C;<article-title>Design method and implementation of ternary logic optical calculator</article-title>,&#x201D; in <conf-name>Int. Conf. on Computer and Computing Technologies in Agriculture</conf-name>, Berlin, Germany, <publisher-name>Springer</publisher-name>, pp. <fpage>147</fpage>&#x2013;<lpage>166</lpage>, <year>2010</year>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. L.</given-names> <surname>Merlin</surname></string-name>, <string-name><given-names>T. A.</given-names> <surname>Khan</surname></string-name> and <string-name><given-names>T. S.</given-names> <surname>Hameed</surname></string-name></person-group>, &#x201C;<article-title>Design of a low power three bit ternary prefix adder using CNTFET technology</article-title>,&#x201D; <source>AIP Conf. Proc.</source>, vol. <volume>2222</volume>, no. <issue>1</issue>, pp. <fpage>20005</fpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. A.</given-names> <surname>Obiniyi</surname></string-name>, <string-name><given-names>E. E.</given-names> <surname>Absalom</surname></string-name> and <string-name><given-names>K.</given-names> <surname>Adako</surname></string-name></person-group>, &#x201C;<article-title>Arithmetic logic design with color-coded ternary for ternary computing</article-title>,&#x201D; <source>International Journal of Computer Applications</source>, vol. <volume>26</volume>, no. <issue>11</issue>, pp. <fpage>31</fpage>&#x2013;<lpage>37</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. N.</given-names> <surname>Roy</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Bhowmik</surname></string-name> and <string-name><given-names>T.</given-names> <surname>Chattopadhyay</surname></string-name></person-group>, &#x201C;<article-title>Design of all optical ternary logic based half adder circuit and it&#x2019;s applications</article-title>,&#x201D; <source>Journal of Optics</source>, vol. <volume>44</volume>, no. <issue>4</issue>, pp. <fpage>322</fpage>&#x2013;<lpage>329</lpage>, <year>2015</year>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Stakhov</surname></string-name></person-group>, &#x201C;<article-title>Brousentsov&#x2019;s ternary principle, Bergman&#x2019;s number system and ternary mirror-symmetrical arithmetic</article-title>,&#x201D; <source>Computer Journal</source>, vol. <volume>45</volume>, no. <issue>2</issue>, pp. <fpage>221</fpage>&#x2013;<lpage>236</lpage>, <year>2002</year>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Yi</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Huacan</surname></string-name> and <string-name><given-names>L.</given-names> <surname>Yangtian</surname></string-name></person-group>, &#x201C;<article-title>Ternary optical computer architecture</article-title>,&#x201D; <source>Physica Scripta</source>, vol. <volume>2005</volume>, no. <issue>T118</issue>, pp. <fpage>98</fpage>, <year>2005</year>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. A.</given-names> <surname>Hosseini</surname></string-name> and <string-name><given-names>E.</given-names> <surname>Roosta</surname></string-name></person-group>, &#x201C;<article-title>A novel low complexity and energy-efficient method to implement quaternary logic function in nanoelectronics</article-title>,&#x201D; <source>Microelectronics Journal</source>, vol. <volume>102</volume>, no. <issue>2</issue>, pp. <fpage>104821</fpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Raja</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Mukherjee</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Roy</surname></string-name> and <string-name><given-names>K.</given-names> <surname>Maji</surname></string-name></person-group>, &#x201C;<article-title>Analysis of new all-optical polarization-encoded quaternary Galois field adder processing soliton pulses</article-title>,&#x201D; <source>Journal of Optics</source>, vol. <volume>49</volume>, no. <issue>1</issue>, pp. <fpage>83</fpage>&#x2013;<lpage>93</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Datta</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Es</surname></string-name></person-group>, &#x201C;<article-title>Design of an optical full adder based on electro-optic effect in mach-zehnder interferometers</article-title>,&#x201D; in <conf-name>National Conf. on Emerging Trends on Sustainable Technology and Engineering Applications</conf-name>, Durgapur, Burdwan, India, <publisher-name>IEEE</publisher-name>, pp. <fpage>1</fpage>&#x2013;<lpage>5</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><given-names>V.</given-names> <surname>Patel</surname></string-name> and <string-name><given-names>K.</given-names> <surname>Gurumurthy</surname></string-name></person-group>, &#x201C;<article-title>Arithmetic operations in multi-valued logic</article-title>,&#x201D; <source>International Journal of VLSI Design &#x0026; Communication Systems</source>, vol. <volume>1</volume>, no. <issue>1</issue>, pp. <fpage>21</fpage>&#x2013;<lpage>32</lpage>, <year>2010</year>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Taghinejad</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Xu</surname></string-name>, <string-name><given-names>K. T.</given-names> <surname>Lee</surname></string-name>, <string-name><given-names>T.</given-names> <surname>Lian</surname></string-name> and <string-name><given-names>W.</given-names> <surname>Cai</surname></string-name></person-group>, &#x201C;<article-title>Transient second-order nonlinear media: Breaking the spatial symmetry in the time domain via hot-electron transfer</article-title>,&#x201D; <source>Physical Review Letters</source>, vol. <volume>124</volume>, no. <issue>1</issue>, pp. <fpage>13901</fpage>, <year>2020</year>.</mixed-citation></ref>
</ref-list>
</back>
</article>