Skip to content

Commit

Permalink
Dinaturality axiom
Browse files Browse the repository at this point in the history
  • Loading branch information
imbrem committed Aug 12, 2024
1 parent 5acede0 commit 4e21dbd
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1309,11 +1309,12 @@ \subsection{Regions}
: \ms{L}}
}
\\
% TODO: maybe derivable?
\prftree[r]{\rle{cfg$_0$}}
{\haslb{\Gamma}{r}{\ms{L}}}
{\lbeq{\Gamma}{\where{r}{}}{r}{\ms{L}}}
\\
% % TODO: derivable, but prove this!
% \prftree[r]{\rle{cfg$_0$}}
% {\haslb{\Gamma}{r}{\ms{L}}}
% {\lbeq{\Gamma}{\where{r}{}}{r}{\ms{L}}}
% \\
% TODO: derivable from dinaturality?
\prftree[r]{\rle{wk-cfg}}
{\haslb{\Gamma}{[\ell_i \mapsto \ell_{\rho\;i}]r}{\ms{L}, (\lhyp{\ell_i}{A_i},)_i}}
{\forall i, \haslb{\Gamma, \bhyp{x_i}{A_i}}
Expand Down Expand Up @@ -1396,6 +1397,18 @@ \subsection{Regions}
{\lwbranch{\kappa}{y}{s}}}}}
{\where{r}{\lwbranch{\ell}{y}{[\ell/\kappa]s}}}
{\ms{L}}}
\\
\prftree[r]{\rle{dinat}}
{\haslb{\Gamma}{r}{\ms{L}, (\lhyp{\ell_i}{A_i},)_i}}
{\forall i, \haslb{\Gamma, \bhyp{x_i}{B_i}}
{t_i}
{\ms{L}, (\lhyp{\ell_j}{A_j},)_j}}
{\lbsubst{\sigma}{(\lhyp{\ell_i}{A_i},)_i}{\ms{L}, (\lhyp{\kappa_i}{B_i},)_i}}
{\lbeq{\Gamma}
{\where{[\sigma]r}
{(\lwbranch{\kappa_i}{x_i}{[\sigma]t_i},)_i}}
{\where{r}{(\lwbranch{\ell_{i}}{x_i}{[(\lwbranch{\kappa_j}{x_j}{t_j},)_j](\sigma_i)})_i}}
{\ms{L}}}
\end{gather*}

\TODO{soundness of region equational theory (diagrams?)}
Expand Down

0 comments on commit 4e21dbd

Please sign in to comment.