If $\varphi \equiv \bot$, then $\models \delta : \bot$ immediately from the definition.

If $\varphi \equiv \psi \supset \chi$, then let $\models \epsilon : \psi$. We have that $\delta \epsilon$ is neutral, hence $\models \delta \epsilon : \chi$ by the induction hypothesis.

\[lm:neutral-path\] Let $\models M : A$ and $\models N : A$. If $P$ is a neutral path, then $\models P : M =_A N$.

The proof is by induction on $A$.

For $A \equiv \Omega$: we have that $P^+$ and $P^-$ are neutral proofs, and $M$ and $N$ reduce to canonical propositions (by Lemma \[lm:models-canon\]), so $\models P^+ : M \supset N$ and $\models P^- : N \supset M$ by Lemma \[lm:neutral-proof\], as required.

For $A \equiv B \rightarrow C$: let $\models L : B$, $\models L' : B$ and $\models Q : L =_B L'$. Then we have $\models ML : C$, $\models NL' : C$ and $P_{LL'} Q$ is a neutral path, hence $\models P_{L L'} Q : ML =_C NL'$ by the induction hypothesis, as required.

\[lm:ref-compute\] If $\models M : A$ then $\models {\ensuremath{\mathrm{ref} \left( {M} \right)}} : M =_A M$.

If $A \equiv \Omega$, this is just Lemma \[lm:ref-compute-Omega\].

So suppose $A \equiv B \rightarrow C$. Using Lemma \[lm:pre-ref-compute\], Reduction (Lemma \[lm:reduction\]) and Expansion (Lemma \[lm:expansion\]), we may assume that $M$ is a $\lambda$-term. Let $M \equiv \lambda y:D.N$.

Let $\models L : B$ and $\models L' : B$ and $\models P : L =_B L'$. We must show that $$\models {\ensuremath{\mathrm{ref} \left( {\lambda y:D.N} \right)}}_{L L'} P : (\lambda y:D.N)L =_C (\lambda y:D.
If $ \varphi \equiv \bot$, then $ \models \delta: \bot$ immediately from the definition. 

 If $ \varphi \equiv \psi \supset \chi$, then let $ \models \epsilon: \psi$. We have that $ \delta \epsilon$ is neutral, hence $ \models \delta \epsilon: \chi$ by the evocation guess. 

 \[lm: neutral - path\ ] Let $ \models M: A$ and $ \models N: A$. If $ P$ is a achromatic way, then $ \models P: M = _ A N$. 

 The proof is by induction on $ A$. 

 For $ A \equiv \Omega$: we hold that $ P^+$ and $ P^-$ are neutral proofs, and $ M$ and $ N$ reduce to canonic propositions (by Lemma \[lm: models - canon\ ]), indeed $ \models P^+: M \supset N$ and $ \models P^-: N \supset M$ by Lemma \[lm: neutral - proof\ ], as ask. 

 For $ A \equiv bel \rightarrow C$: let $ \models L: B$, $ \models lambert': B$ and $ \models Q: L = _ B L'$. Then we have $ \models ML: C$, $ \models NL': C$ and $ P_{LL' } Q$ is a neutral way, hence $ \models P_{L L' } Q: ML = _ C NL'$ by the induction hypothesis, as ask. 

 \[lm: ref - compute\ ] If $ \models M: A$ then $ \models { \ensuremath{\mathrm{ref } \left ({ M } \right) } }: M = _ A M$. 

 If $ A \equiv \Omega$, this is just Lemma \[lm: ref - compute - Omega\ ]. 

 So think $ A \equiv bacillus \rightarrow C$. Using Lemma \[lm: pre - ref - compute\ ], Reduction (Lemma \[lm: reduction\ ]) and Expansion (Lemma \[lm: expansion\ ]), we may assume that $ M$ is a $ \lambda$-term. Let $ M \equiv \lambda y: D.N$. 

 Let $ \models L: B$ and $ \models L': B$ and $ \models phosphorus: L = _ B L'$. We must show that $ $ \models { \ensuremath{\mathrm{ref } \left ({ \lambda y: D.N } \right)}}_{L L' } P: (\lambda y: D.N)L = _ C (\lambda y: D.
If $\garphi \equiv \bot$, then $\moaels \delta : \bot$ immedietely fdom the aefinition.

If $\varphi \equiv \psm \supset \xhi$, then let $\models \eprilon : \psp$. We have thau $\delta \epsilon$ is neutral, hencs $\modzlw \delta \epsilok : \chi$ by tve induction hfputkesis.

\[lm:neutral-path\] Let $\models M : A$ agd $\modeks N : A$. If $P$ is w neltwal lath, then $\models P : M =_A N$.

The proof is by pnduction on $A$.

For $A \equiv \Omega$: we have thah $P^+$ wnd $P^-$ are neutral oroofs, and $N$ anq $N$ reduce to canonical propositiona (by Lemma \[lm:models-canon\]), so $\moddls P^+ : M \supset N$ anf $\models P^- : I \supsvt M$ by Lemma \[lm:neutrdl-proof\], as required.

Fov $A \exuic B \rightarrow C$: let $\kodels L : B$, $\models L' : B$ and $\mkdels Q : L =_B L'$. Thwn we hdve $\kodeuw MU : D$, $\kosels NP' : R$ and $P_{LL'} Q$ is a neutrql path, hence $\modelx [_{O L'} Q : ML =_C NM'$ by tre induction hypothesis, as required.

\[lm:ref-cmmphte\] If $\models M : A$ then $\models {\ensuremath{\matjrm{ref} \lest( {M} \right)}} : M =_A M$.

If $A \equiv \Omega$, this is just Lekma \[lj:fef-eimputd-Imfga\].

So suppose $A \equiv B \rightarrow C$. Using Leija \[lk:pre-ref-compute\], Reduction (Kelms \[lm:reduction\]) xnd Ex'znaion (Lemma \[lm:expandion\]), we may qssume thwt $M$ is a $\lambda$-term. Let $M \equic \lambda y:D.N$.

Jwt $\models L : B$ and $\models L' : Y$ and $\kodelx P : L =_B L'$. We must show thaf $$\models {\enduremath{\mzghrm{ref} \left( {\lamcda y:G.N} \right)}}_{L L'} P : (\lambda y:D.N)L =_C (\lambda y:D.
If $\varphi \equiv \bot$, then $\models \delta immediately the definition. $\varphi \equiv \psi \epsilon \psi$. We have $\delta \epsilon$ is hence $\models \delta \epsilon : \chi$ the induction hypothesis. \[lm:neutral-path\] Let $\models M : A$ and $\models N : If $P$ is a neutral path, then $\models P : M =_A N$. proof by on For $A \equiv \Omega$: we have that $P^+$ and $P^-$ are neutral proofs, and $M$ and reduce to canonical propositions (by Lemma \[lm:models-canon\]), so P^+ : M \supset and $\models P^- : N M$ Lemma \[lm:neutral-proof\], required. $A B \rightarrow C$: $\models L : B$, $\models L' : B$ and $\models Q : L =_B L'$. Then we $\models ML $\models NL' C$ $P_{LL'} is a neutral $\models P_{L L'} Q : ML the induction hypothesis, as required. \[lm:ref-compute\] If $\models : A$ $\models {\ensuremath{\mathrm{ref} \left( {M} \right)}} : =_A M$. If $A \equiv \Omega$, this is Lemma \[lm:ref-compute-Omega\]. So suppose $A \equiv B \rightarrow C$. Using Lemma \[lm:pre-ref-compute\], Reduction (Lemma \[lm:reduction\]) (Lemma \[lm:expansion\]), we may that $M$ is $\lambda$-term. $M \lambda Let $\models : B$ and $\models L' : B$ and $\models P : =_B L'$. We must show that $$\models {\ensuremath{\mathrm{ref} \left( {\lambda L'} : (\lambda y:D.N)L (\lambda y:D.
If $\varphi \equiv \bot$, then $\modelS \delta : \bot$ iMmediAteLy fRoM the DefiNition.

If $\varphi \EQuiv \Psi \supset \chi$, then let $\modEls \epSiLOn : \psI$. we Have tHat $\deltA \EpSILon$ Is NeUtrAl, HEnCe $\modEls \Delta \epSilon : \chi$ by The InDuction hypotHEsIs.

\[lm:neutraL-paTh\] Let $\models M : a$ anD $\modelS N : a$. If $p$ Is a neUtrAl patH, then $\mODels P : M =_a N$.

The prooF iS By induCTion on $A$.

fOR $A \EquiV \Omega$: we have that $P^+$ ANd $p^-$ Are neutral prooFs, and $M$ AnD $n$ rEDUce To cAnonical prOpOsitiONs (by LemMA \[lM:MODelS-Canon\]), so $\models p^+ : M \supset N$ anD $\ModEls P^- : N \sUpSet m$ By LemmA \[lm:neUtRAl-pRoof\], as requiRed.

FOr $A \equiv B \RightaRRow C$: let $\MOdels L : B$, $\Models l' : B$ aNd $\mOdelS q : L =_b L'$. theN wE HavE $\MoDelS mL : C$, $\Models NL' : c$ aNd $p_{LL'} Q$ iS a neUTRAL patH, heNce $\mOdels p_{L L'} Q : ML =_C NL'$ by thE inDuctIOn hYpothEsis, aS reqUiRed.

\[lm:Ref-comPute\] IF $\mOdels M : A$ then $\modeLs {\enSuremath{\mAthRm{Ref} \LeFt( {M} \riGHt)}} : M =_A M$.

IF $A \eQuiV \Omega$, tHis is juST LeMmA \[LM:ReF-compute-Omega\].

So supPoSE $a \eQuiv B \rigHtarroW c$. USiNG Lemma \[lm:PrE-reF-comPUTe\], RedUctiON (LEmma \[lm:reDuctioN\]) AnD EXpansioN (LEmma \[lm:ExPanSioN\]), we maY AssuMe that $m$ is a $\lambDa$-terM. let $M \equiv \lambdA Y:D.N$.

Let $\models L : b$ AnD $\MOdELs L' : B$ And $\Models P : L =_B L'$. WE musT Show That $$\MOdEls {\ENsureMath{\mAtHRm{REf} \left( {\lambda y:D.N} \righT)}}_{L l'} P : (\lambDa y:D.N)l =_C (\lambda y:D.
If $\varphi \equiv \bot$,then $\mod els \ del ta:\bot $ im mediately from thedefinition.

If $\varp hi \e qu i v \p s i\sups et \chi $ ,t h enle t$\m od e ls  \eps ilo n : \ps i$. We hav e t ha t $\delta \e p si lon$ is ne utr al, hence $\ mod els \d el ta\ epsil on: \ch i$ byt he ind uction hy po t hesis. 
\[lm:n e u tr al-p ath\] Let $\model s  M : A$ and $\mod els N:A $. I f $ P$is a neutr al  path ,  then $ \ mo d e l s P : M =_A N$.
The proof i s  by  induc ti ono n $A$. 

For  $ A  \e quiv \Omega $: w e have th at $P^ + $ and $ P ^-$ are  neutr alpro ofs, an d$M$  a n d $ N $red u ceto canon ic al  prop osit i o n s  (by  Le mma\[lm: models-canon\ ]),  so$ \mo delsP^+ :  M \ su psetN$ and  $\mo de ls P^- : N \sup setM$ by Lem ma\[ lm: ne utral - proof\ ],asrequire d.

For $A\e q u i vB \rightarrow C$:le t $\ models L  : B$, $\ mo d els L' :  B $ a nd $ \ m odels  Q : L=_B L'$.  Thenw eha ve $\mo de ls ML:C$,  $\ model s  NL'  : C$and $P_{ LL'}Q $ is a neutral path, hence $ \ mo d e ls P_{L  L' } Q : ML =_ C NL ' $ by  the in duc t ion h ypoth es i s, as required.

\[lm: re f-comp ute\]  If $\modelsM : A$ the n $ \models{\en s ur e math{\mathrm{r ef} \ left( {M}\ right)}}  : M=_A M$.
If $A \e q u iv \Omeg a$,  th isisj u st  Lemma \[lm:r e f -com pu te-Omeg a\] .

So s upp ose  $A  \e qu iv B \rig htarrowC$ .Us in g L emma\ [lm:pre- re f-c om put e\],R educti on (L emma  \ [l m :re duction \ ]) a nd E xp an sion  (L em ma \[ lm:e x pan sion\]) , we mayass u me t ha t$M$ isa $\lambda$-t er m. Let $M\e qui v \lam b d a y:D.N$ .

Let $\models L : B$a nd $\mo del s L': B$  and $\mo del s P :L = _ B L'$.  We mu st sh ow  th a t  $$\m o d el s { \e nsuremath{ \ m ath rm{re f}  \le ft( {\l ambda y:D.N} \righ t )}} _{L L'} P : ( \la mbda y :D .N) L  = _ C ( \l a mbd a y:D.
If $\varphi_\equiv \bot$,_then $\models \delta :_\bot$ immediately_from_the definition.

If_$\varphi_\equiv \psi \supset_\chi$, then let_$\models \epsilon : \psi$._We have that_$\delta_\epsilon$ is neutral, hence $\models \delta \epsilon : \chi$ by the induction hypothesis.

\[lm:neutral-path\] Let_$\models_M :_A$_and_$\models N : A$. If_$P$ is a neutral path,_then $\models_P : M =_A N$.

The proof is by_induction_on $A$.

For $A_\equiv \Omega$: we have that $P^+$ and $P^-$ are_neutral proofs, and $M$ and $N$_reduce to canonical_propositions_(by_Lemma \[lm:models-canon\]), so $\models_P^+ : M \supset N$ and_$\models P^- : N \supset M$_by Lemma \[lm:neutral-proof\], as required.

For $A \equiv_B \rightarrow C$: let $\models L_: B$, $\models L' :_B$ and_$\models Q : L =_B_L'$. Then we_have $\models_ML : C$,_$\models NL' : C$ and $P_{LL'}_Q$ is a_neutral path, hence $\models P_{L L'}_Q_: ML =_C_NL'$_by_the induction_hypothesis, as required.

\[lm:ref-compute\]_If_$\models M_:_A$ then $\models {\ensuremath{\mathrm{ref} \left( {M}_\right)}}_: M =_A M$.

If $A \equiv \Omega$,_this is just Lemma_\[lm:ref-compute-Omega\].

So_suppose $A \equiv B_\rightarrow C$. Using Lemma \[lm:pre-ref-compute\],_Reduction (Lemma \[lm:reduction\]) and Expansion (Lemma_\[lm:expansion\]), we_may assume_that $M$ is a $\lambda$-term. Let $M \equiv \lambda y:D.N$.

Let $\models_L : B$ and $\models L'_: B$ and $\models_P :_L_=_B L'$. We_must_show that_$$\models {\ensuremath{\mathrm{ref} \left( {\lambda y:D.N} \right)}}_{L L'}_P :_(\lambda y:D.N)L =_C (\lambda y:D.