diff --git a/IsarMathLib/MetricSpace_ZF_1.thy b/IsarMathLib/MetricSpace_ZF_1.thy index e201b94..ff0c617 100644 --- a/IsarMathLib/MetricSpace_ZF_1.thy +++ b/IsarMathLib/MetricSpace_ZF_1.thy @@ -44,8 +44,8 @@ text\ The \reals\ context (locale) defined in the \Real positive numbers, absolute value etc. For metric spaces we reuse the notation defined there.\ text\The \pmetric_space1\ locale extends the \reals\ locale, adding the carrier $X$ - of the metric space and the metric $\mathfrak{d}$ to the context, together with the assumption - that $\mathfrak{d}:X\times X \rightarrow \mathbb{R}$ is a pseudo metric. + of the metric space and the metric $\mathcal{d}$ to the context, together with the assumption + that $\mathcal{d}:X\times X \rightarrow \mathbb{R}^+$ is a pseudo metric. An alternative would be to define the \pmetric_space1\ as an extension of the \pmetric_space1\ context, but that is in turn an extension of the \loop1\ locale that defines notation for left and right division which which do not want in the context of real numbers. \ diff --git a/IsarMathLib/Topology_ZF_examples.thy b/IsarMathLib/Topology_ZF_examples.thy index ce0ffc2..c0e71c1 100644 --- a/IsarMathLib/Topology_ZF_examples.thy +++ b/IsarMathLib/Topology_ZF_examples.thy @@ -224,19 +224,17 @@ proof- ultimately show ?thesis by auto qed -text\ $X$ is a closed set that contains $A$. -This lemma is necessary because we cannot -use the lemmas proven in the \topology0\ context since -\ T\0"} \ is too weak for - \CoCardinal(X,T)\ to be a topology.\ +text\ $X$ is a closed set that contains $A$. + This lemma is necessary because we cannot use the lemmas proven in the + \topology0\ context since $T\0$ is too weak for \CoCardinal(X,T)\ + to be a topology.\ lemma X_closedcov_cocardinal: assumes "T\0" "A\X" - shows "X\ClosedCovers(A,CoCardinal(X,T))" using ClosedCovers_def + shows "X \ ClosedCovers(A,CoCardinal(X,T))" using ClosedCovers_def using union_cocardinal closed_sets_cocardinal assms by auto -text\The closure of a set is itself if it is closed or \X\ if -it isn't closed.\ +text\The closure of a set is itself if it is closed or $X$ if it isn't closed.\ lemma closure_set_cocardinal: assumes "T\0""A\X" diff --git a/isar2html2.0/src/isar2html/IsarSym2Latex.fs b/isar2html2.0/src/isar2html/IsarSym2Latex.fs index 33a8433..e358593 100644 --- a/isar2html2.0/src/isar2html/IsarSym2Latex.fs +++ b/isar2html2.0/src/isar2html/IsarSym2Latex.fs @@ -123,6 +123,7 @@ namespace iml ("\\", "\\mathcal{S} ") ("\\", "\\mathcal{T} ") ("\\", "\\mathcal{X} ") + ("\\", "\\mathcal{d} ") ("\\", " + ") ("\\", "/ ") ("\\", " - ")