Skip to content

Commit 0fb5511

Browse files
committed
Fix invalid references
1 parent 3ea468a commit 0fb5511

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

text/first_order_natural_deduction.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ \section{First-order natural deduction}\label{sec:first_order_natural_deduction}
586586

587587
\item The term \enquote{eigenvariable} comes from \tcite{#2, where #1}{Gentzen1935LogischeSchließen} introduces natural deduction. In the corresponding English translation, \cite[293]{Gentzen1964LogicalDeduction}, eigenvariables are instead called \enquote{proper variables}. Both terms are currently used in English (e.g. \incite[\S 5.1.10]{Mimram2020ProgramEqualsProof} uses \enquote{eigenvariable}, while \incite[38]{TroelstraSchwichtenberg2000BasicProofTheory} uses \enquote{proper variable}).
588588

589-
Gentzen presents only two rules featuring eigenvariables, in which the variables must satisfy slightly differing constraints. We restate Gentzen's rules in \cref{def:fol_natural_deduction} and adapt them for \hyperref[def:higher_order_logic]{higher-order logic} in \cref{def:hol_quantifier_rules/eigenvariables}.
589+
Gentzen presents only two rules featuring eigenvariables, in which the variables must satisfy slightly differing constraints. We formalize Gentzen's rules in \cref{def:fol_natural_deduction} and adapt them for \hyperref[def:higher_order_logic]{higher-order logic} in \cref{def:hol_natural_deduction}.
590590

591591
\item Natural deduction proof trees are implemented in the module \identifier{math.logic.deduction.proof_tree} in \cite{notebook:code}.
592592
\end{comments}
@@ -697,7 +697,7 @@ \section{First-order natural deduction}\label{sec:first_order_natural_deduction}
697697
\begin{prooftree}
698698
\hypo{ \syn\varphi[\synx \synsubst \syn\tau] }
699699
\hypo{ \syn\tau \syneq \syn\sigma }
700-
\infer2[\ref{inf:def:hol_equality_rules/elim}]{ \syn\varphi[\synx \synsubst \syn\sigma] }
700+
\infer2[\ref{inf:def:fol_natural_deduction/equality/elim}]{ \syn\varphi[\synx \synsubst \syn\sigma] }
701701
\end{prooftree}
702702
\end{equation*}
703703
\end{rightcolumn}

text/higher_order_logic.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
330330

331331
So, we must disregard implicit judgmental equality.
332332

333-
\thmitem{rem:mltt_hol/rules} Some \hyperref[con:typing_rule]{typing rules} like \ref{inf:def:dependent_product/intro} transfer directly to their counterpart \ref{inf:def:hol_quantifier_rules/eigenvariables/forall_intro}, while other like \ref{inf:def:dependent_sum/elim} differ from \ref{inf:def:hol_quantifier_rules/eigenvariables/exists_elim} in subtle ways --- see \cref{rem:dependent_products_and_forall_quantifier_rules}.
333+
\thmitem{rem:mltt_hol/rules} Some \hyperref[con:typing_rule]{typing rules} like \ref{inf:def:identity_type/intro} and \ref{inf:def:dependent_product/intro} translate directly to their counterparts \ref{inf:def:hol_natural_deduction/equality/intro} and \ref{inf:def:hol_natural_deduction/forall/intro}, while other like \ref{inf:def:dependent_sum/elim} differ from \ref{inf:def:hol_natural_deduction/exists/elim} in subtle ways --- see \cref{rem:dependent_products_and_forall_quantifier_rules}.
334334

335-
Finally, some logical rules like those in \cref{def:hol_equality_rules} have no type-theoretic counterpart.
335+
Finally, some logical rules like the equality rule \ref{inf:def:hol_natural_deduction/equality/iff} have no type-theoretic counterpart.
336336

337337
This requires us to state new rules rather than reuse those from \fullref{sec:dependent_types}.
338338
\end{thmenum}
@@ -418,7 +418,7 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
418418
\begin{comments}
419419
\item In a standard frame, it is sufficient to specify only the universes of sorts.
420420

421-
\item We adapt Andrew's definition from \cite[238]{Andrews2002Logic} to many-sorted signatures. Unlike Andrews, we refer to the individual sets as \enquote{universes} rather than \enquote{domains}; see \cref{rem:model_theory_universe_terminology}.
421+
\item We adapt Andrew's definition from \cite[238]{Andrews2002Logic} to many-sorted signatures. Unlike Andrews, we refer to the individual sets as \enquote{universes} rather than \enquote{domains}; see \cref{rem:model_theory_structure_terminology}.
422422

423423
Additionally, we distinguish between general and standard frames, while Andrews (and Henkin) only distinguish between general and standard \hyperref[def:hol_structure]{structures}.
424424
\end{comments}
@@ -512,7 +512,7 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
512512
\end{comments}
513513

514514
\begin{remark}\label{rem:hol_definite_description}
515-
Compared to Andrews and Farmer, we not only prefer the explicit typing rules from \cref{inf:def:hol_typing_rules} to the abbreviations from \cref{tab:rem:hol_formula_abbreviations}, but we also avoid the definite description operator \( \syndesc \) discussed in \cref{con:description_operator/iota}.
515+
Compared to Andrews and Farmer, we not only prefer the explicit typing rules from \cref{def:hol_typing_rules} to the abbreviations from \cref{tab:rem:hol_formula_abbreviations}, but we also avoid the definite description operator \( \syndesc \) discussed in \cref{con:description_operator/iota}.
516516

517517
Introducing this operator has some nontrivial consequences:
518518
\begin{thmenum}
@@ -1076,7 +1076,7 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
10761076

10771077
Note that Andrews uses the abbreviations that we discuss in \cref{tab:rem:hol_formula_abbreviations}. Andrews spends considerable effort demonstrating that part of the familiar natural deduction rules from \cref{def:propositional_natural_deduction} are \hyperref[con:inference_rule_admissibility]{admissible}.
10781078

1079-
The axioms of the system are constructed so that they allow deriving many useful proofs. For example, axiom \( 4 \) allow performing \( \beta \)-reduction similarly to \ref{inf:def:hol_equality_rules/intro}. This axiom, along with rule \logic{R'}, allows proving \cref{thm:hol_equality_is_equivalence_relation}.
1079+
The axioms of the system are constructed so that they allow deriving many useful proofs. For example, axiom \( 4 \) allow performing \( \beta \)-reduction similarly to \ref{inf:def:hol_natural_deduction/equality/intro}. This axiom, along with rule \logic{R'}, allows proving \cref{thm:hol_natural_deduction_admissible_rules/equality}.
10801080

10811081
An immediate downside to his system is that hypothesis discharging in rules such as \ref{inf:def:propositional_natural_deduction/imp/intro} requires rewriting the entire proof, akin to \fullref{alg:derivation_conclusion_hypothesis_introduction}, but more complicated.
10821082

@@ -1274,7 +1274,7 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
12741274
First and foremost, a (syntactic or semantic) \term{theory} is, as in \cref{def:general_logic_theory}, a set of sentences closed under logical consequence. For any set of sentences \( \Gamma \), we denote its consequence closure by \( \cat{Th}(\Gamma) \), and say that \( \Gamma \) \term{axiomatizes} \( \cat{Th}(\Gamma) \).
12751275

12761276
\begin{thmenum}
1277-
\thmitem{def:hol_theory/morphism} As in \cref{def:entailment_system_theory/morphism}, we call the \hyperref[def:hol_signature_category/morphisms]{first-order signature morphism} \( t: \Sigma \to \Sigma' \) a \term{theory morphisms} from \( (\Sigma, T) \) to \( (\Sigma', T') \) if the translation of the formulas in \( T \) belong to \( T' \).
1277+
\thmitem{def:hol_theory/morphism} As in \cref{def:entailment_system_theory/morphism}, we call the \hyperref[def:hol_signature_category]{signature morphism} \( t: \Sigma \to \Sigma' \) a \term{theory morphisms} from \( (\Sigma, T) \) to \( (\Sigma', T') \) if the translation of the formulas in \( T \) belong to \( T' \).
12781278

12791279
\thmitem{def:hol_theory/extension} As for first-order theories, we call \( T^+ \) an \term{extension} of \( T \) if \( t \) is an inclusion map that only adds new signature symbols.
12801280

@@ -1454,7 +1454,7 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
14541454
\end{proof}
14551455

14561456
\begin{theorem}[Weak higher-order completeness]\label{thm:hol_weak_completeness}
1457-
The \hyperref[def:fol_natural_deduction]{classical higher-order natural deduction system} is \hyperref[def:general_logic/completeness]{complete} with respect to \hyperref[def:fol_semantics/standard]{general higher-order semantics}.
1457+
The \hyperref[def:fol_natural_deduction]{classical higher-order natural deduction system} is \hyperref[def:general_logic/completeness]{complete} with respect to \hyperref[def:hol_semantics/standard]{general higher-order semantics}.
14581458
\end{theorem}
14591459
\begin{comments}
14601460
\item As discussed by \incite{Henkin1950CompletenessInTheoryOfTypes}, this does not hold for standard semantics.
@@ -1489,7 +1489,7 @@ \section{Higher-order logic}\label{sec:higher_order_logic}
14891489
\item This is one of several compactness theorems presented here --- see \cref{rem:logical_compactness_theorems}.
14901490
\end{comments}
14911491
\begin{proof}
1492-
\Cref{thm:hol_weak_semantic_compactness/relation} Follows from \fullref{thm:hol_compactness} via \cref{thm:completeness_implies_compactness}.
1492+
\Cref{thm:hol_weak_semantic_compactness/relation} Follows from \fullref{thm:hol_weak_compactness} via \cref{thm:completeness_implies_compactness}.
14931493

14941494
The equivalence between the different conditions can be shown as in \fullref{thm:classical_propositional_semantic_compactness}.
14951495
\end{proof}

0 commit comments

Comments
 (0)