Skip to content

Commit af30acc

Browse files
committed
Minor corrections
1 parent 14bf0de commit af30acc

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doc/ordinal-chapter.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ \subsubsection{Building an instance of \texttt{ON}}
924924
There is no interesting arithmetic on finite ordinals, since functions like successor, addition, etc., cannot be represented in \coq{} as \emph{total} functions.
925925
\end{remark}
926926

927-
\section{See also \dots}
927+
\subsubsection{See also \dots}
928928

929929
\gaiasign Finite ordinals are also formalized in \ssreflect/\mathcomp~\cite{MCB}. In Module~\href{../theories/html/gaia_hydras.ON_gfinite.html}{gaia\_hydras.ON\_gfinite}, we build an instance of class \texttt{ON}.
930930

@@ -936,7 +936,7 @@ \section{See also \dots}
936936

937937

938938

939-
See also Adam Chlipala's \emph{CPDT}~\cite{chlipalacpdt2011} for a thorough study of the use of dependent types.
939+
940940

941941

942942

theories/ordinals/OrdinalNotations/ON_Generic.v

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ Delimit Scope ON_scope with on.
2424
Class ON {A:Type} (lt: relation A) (cmp: Compare A) :=
2525
{
2626
ON_comp :> Comparable lt cmp;
27-
ON_wf :> well_founded lt;
27+
ON_wf : well_founded lt;
2828
}.
29+
2930
#[global] Existing Instance ON_comp.
3031
Coercion ON_wf : ON >-> well_founded.
3132

@@ -94,8 +95,8 @@ Class SubON
9495
{
9596
SubON_compare: forall x y : A,
9697
compareB (iota x) (iota y) = compareA x y;
97-
SubON_incl : forall x, ltB (iota x) alpha;
98-
SubON_onto : forall y, ltB y alpha -> exists x:A, iota x = y}.
98+
SubON_incl : forall x, ltB (iota x) alpha;
99+
SubON_onto : forall y, ltB y alpha -> exists x:A, iota x = y}.
99100

100101
(* end snippet SubONDef *)
101102

0 commit comments

Comments
 (0)