applications.tex 3.67 KB
Newer Older
Dennis Müller's avatar
Dennis Müller committed
1
\begin{newpart}{DM}
2
We have seen how a view finder can be used for theory \emph{discovery} and finding constants with specific desired properties, but many other potential use cases are imaginable. The main problems to solve with respect to these is less about the algorithm or software design challenges, but user interfaces.
Dennis Müller's avatar
Dennis Müller committed
3

Dennis Müller's avatar
Dennis Müller committed
4
The theory discovery use case described in Sec. \ref{sec:usecase} is mostly desirable in a setting where a user is actively writing or editing a theory, so the integration in jEdit is sensible. However, the across-library use case in Sec. \ref{sec:pvs} already would be a lot more useful in a theory exploration setting, such as when browsing available archives on MathHub~\cite{mathhub} or in the graph viewer integrated in \mmt ~\cite{RupKohMue:fitgv17}. Additional specialized user interfaces would enable or improve the following use cases:
Dennis Müller's avatar
Dennis Müller committed
5
\end{newpart}
Dennis Müller's avatar
Update    
Dennis Müller committed
6
\begin{itemize}
7
	\item \textbf{Model-/Countermodel Finding:} If the codomain of a morphism is a theory representing a specific model, it would tell her that those
Dennis Müller's avatar
Update    
Dennis Müller committed
8
9
		are \emph{examples} of her abstract theory.
		
10
		Furthermore, partial morphisms -- especially those that are total on some included theory -- could
Dennis Müller's avatar
Update    
Dennis Müller committed
11
12
		be insightful \emph{counterexamples}.
	
13
	\item \textbf{Library Refactoring:} Given that the view finder looks for \emph{partial} morphisms, we can use it to find natural
Dennis Müller's avatar
Update    
Dennis Müller committed
14
15
16
17
		extensions of a starting theory. Imagine Jane removing the last of her axioms for ``beautiful sets'' --
		the other axioms (disregarding finitude of her sets) would allow her to find e.g. both Matroids and
		\emph{Ideals}, which would suggest to her to refactor her library accordingly.
		
18
		Additionally, \emph{surjective} partial morphisms would inform her, that her theory would probably better
Dennis Müller's avatar
Update    
Dennis Müller committed
19
20
21
		be refactored as an extension of the codomain, which would allow her to use all theorems and definitions
		therein.
		
22
23
	\item \textbf{Theory Generalization:} If we additionally consider morphisms into and out of the theories found, this can make theory discovery even 
		more attractive. For example, a morphism from a theory of vector spaces intro matroids could inform Jane additionally, 
Dennis Müller's avatar
Update    
Dennis Müller committed
24
25
		that her beautiful sets, being matroids, form a generalization of the notion of linear independence in linear algebra.
		
Dennis Müller's avatar
Dennis Müller committed
26
	\item \textbf{Folklore-based Conjecture:} If we were to keep book on our transfomations during preprocessing and normalization, we could use the found
27
		morphisms for translating both into the codomain as well as back from there into our starting theory.
Dennis Müller's avatar
Update    
Dennis Müller committed
28
29
		
		This would allow for e.g. discovering and importing theorems and useful definitions from some other library -- 
30
		which on the basis of our encodings can be done directly by the view finder.
Dennis Müller's avatar
Update    
Dennis Müller committed
31
		
32
		A useful interface might specifically prioritize morphisms into theories on top of which there are many
Dennis Müller's avatar
Update    
Dennis Müller committed
33
		theorems and definitions that have been discovered.
Michael Kohlhase's avatar
Michael Kohlhase committed
34
\end{itemize}
35
For some of these use cases it would be advantageous to look for morphisms \emph{into} our working theory instead. 
Dennis Müller's avatar
Update    
Dennis Müller committed
36
			
37
Note that even though the algorithm is in principle symmetric, some aspects often depend on the direction -- e.g. how we preprocess the theories,	which constants we use as starting points or how we aggregate and evaluate the resulting (partial) morphisms (see Sections \ref{sec:algparams}, \ref{sec:normalizeintra} and \ref{sec:normalizeinter}).
Michael Kohlhase's avatar
merge    
Michael Kohlhase committed
38

Michael Kohlhase's avatar
Michael Kohlhase committed
39
40
%%% Local Variables:
%%% mode: latex
41
%%% eval: (visual-line-mode) (set-fill-column 5000)
Michael Kohlhase's avatar
Michael Kohlhase committed
42
43
%%% TeX-master: "paper"
%%% End:
44
45

%  LocalWords:  emph specialized generalization transfomations normalization prioritize
Michael Kohlhase's avatar
Michael Kohlhase committed
46
47
%  LocalWords:  sec:usecase newpart sec:pvs mathhub RupKohMue:fitgv17 textbf Countermodel
%  LocalWords:  sec:algparams sec:normalizeintra sec:normalizeinter