X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fhelp%2FC%2Fsec_gettingstarted.xml;h=b0c0a863e55e1a8c9a69602730f360fa48d3bf30;hb=c78a913e4e45c1128b59ca8be9d53fc0c36fc9e0;hp=f7d435e70733439a4230046d57cee1ae42fe256f;hpb=c52baa34c7363fa58f81aea95bb0d72e10afdaf1;p=helm.git diff --git a/helm/software/matita/help/C/sec_gettingstarted.xml b/helm/software/matita/help/C/sec_gettingstarted.xml index f7d435e70..b0c0a863e 100644 --- a/helm/software/matita/help/C/sec_gettingstarted.xml +++ b/helm/software/matita/help/C/sec_gettingstarted.xml @@ -3,7 +3,7 @@ Getting started - If you are already familiar with the Calculus of (co)Inductive + If you are already familiar with the Calculus of (Co)Inductive Constructions (CIC) and with interactive theorem provers with procedural proof languages (expecially Coq), getting started with Matita is relatively easy. You just need to learn how to type Unicode symbols, how to browse @@ -11,23 +11,22 @@ How to type Unicode symbols - Unicode characters can be typed in several ways: + Unicode characters can be typed in several ways: - Using the "Shift+Ctrl+Unicode code" standard - Gnome shortcut. E.g. Shift+Ctrl+3a9 generates "Ω". + Using the "Ctrl+Shift+Unicode code" standard Gnome shortcut. E.g. Ctrl+Shift+3a9 generates "Ω". - Typing the ligature "\name" where "name" + Typing the ligature "\name" where "name" is a standard Unicode or LaTeX name for the character. Pressing "Alt+L" just after the last character of the name converts the ligature to the Unicode symbol. This operation is not required since Matita understands also the "\name" sequences. E.g. "\Omega" followed by Alt+L generates - "Ω". + "Ω". - Typing one of the following ligatures (and opzionally converting - the ligature to the Unicode character has described before): - ":=" (which stands for ≝); "->" (which stands for "→"); - "->" (which stands for "⇒"). + Typing one of the following ligatures (and optionally + converting the ligature to the Unicode character has described before): + ":=" (which stands for ≝); "->" (which stands for + "→"); "=>" (which stands for "⇒"). @@ -67,29 +66,88 @@ an action in the drop down menu right of it. Searching by name - &TODO; - + &TODO; + List of lemmas that can be applied - &TODO; - + &TODO; + Searching by exact match - &TODO; - + &TODO; + List of elimination principles for a given type - &TODO; - + &TODO; + Searching by instantiation - &TODO; - + &TODO; + Authoring - &TODO; - + + How to compile a script + + Scripts are compiled to base URIs. Base URIs are of the form + "cic:/matita/path" and are given once for all for a set + of scripts using the "root" file. + + + A "root" file has to be placed in the root of a script set, + for example, consider the following files and directories, and + assume you keep files in "list" separated from files + in "sort" (for example the former directory may contain + functions and proofs about lists, while latter sorting algorithms + for lists): + + To be able to compile properly the contents of "list" + a file called root has to be placed in it. The file should be like + the following snippet. + + This file tells &appname; that objects generated by + "list.ma" have to be placed in + "cic:/matita/mydatastructures/list" while + objects generated by + "swap.ma" have to be placed in + "cic:/matita/mydatastructures/utils/swap". + + + Once you created the root file, you must generate a depend file. + Enter the "list" directory (the root of yuor file set) + and type "matitadep". Remember to regenerate the depend file + every time you alter the dependencies of your files (for example + including other scripts). + You can now compile you files typing "matitac". + + + To compile the "sort" directory, create a root file + in "sort/" like the following one and then run + "matitadep". + + The include_paths field can declare a list of paths separated by space. + Please omit any "/" from the end of base URIs or paths. + + + + The authoring interface + &TODO; + + +