1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "o-basic_pairs.ma".
16 include "o-basic_topologies.ma".
18 alias symbol "eq" = "setoid1 eq".
20 (* Qui, per fare le cose per bene, ci serve la nozione di funtore categorico *)
21 definition o_basic_topology_of_o_basic_pair: OBP → BTop.
25 | apply (□_t ∘ Ext⎽t);
26 | apply (◊_t ∘ Rest⎽t);
27 | intros 2; split; intro;
28 [ change with ((⊩) \sup ⎻* ((⊩) \sup ⎻ U) ≤ (⊩) \sup ⎻* ((⊩) \sup ⎻ V));
29 apply (. (#‡(lemma_10_4_a ?? (⊩) V)^-1));
30 apply f_minus_star_image_monotone;
31 apply f_minus_image_monotone;
36 | change with (U ≤ (⊩)⎻* ((⊩)⎻ U));
37 apply (. (or_prop2 : ?) ^ -1);
39 | intros 2; split; intro;
40 [ change with (◊_t ((⊩) \sup * U) ≤ ◊_t ((⊩) \sup * V));
41 apply (. ((lemma_10_4_b ?? (⊩) U)^-1)‡#);
42 apply (f_image_monotone ?? (⊩) ? ((⊩)* V));
43 apply f_star_image_monotone;
48 | change with ((⊩) ((⊩)* V) ≤ V);
49 apply (. (or_prop1 : ?));
52 apply (.= (oa_overlap_sym' : ?));
53 change with ((◊_t ((⊩)* V) >< (⊩)⎻* ((⊩)⎻ U)) = (U >< (◊_t ((⊩)* V))));
54 apply (.= (or_prop3 ?? (⊩) ((⊩)* V) ?));
55 apply (.= #‡(lemma_10_3_a : ?));
56 apply (.= (or_prop3 : ?)^-1);
57 apply (oa_overlap_sym' ? ((⊩) ((⊩)* V)) U); ]
60 definition o_continuous_relation_of_o_relation_pair:
61 ∀BP1,BP2.arrows2 OBP BP1 BP2 →
62 arrows2 BTop (o_basic_topology_of_o_basic_pair BP1) (o_basic_topology_of_o_basic_pair BP2).
66 | unfold o_basic_topology_of_o_basic_pair; simplify; intros;
69 change in ⊢ (? ? ? (? ? ? ? %) ?) with ((t \sub \f ∘ (⊩)) ((⊩)* U));
70 cut ((t \sub \f ∘ (⊩)) ((⊩)* U) = ((⊩) ∘ t \sub \c) ((⊩)* U)) as COM;[2:
71 cases (Ocommute ?? t); apply (e3 ^ -1 ((⊩)* U));]
73 change in ⊢ (? ? ? % ?) with (((⊩) ∘ (⊩)* ) (((⊩) ∘ t \sub \c ∘ (⊩)* ) U));
74 apply (.= (lemma_10_3_c ?? (⊩) (t \sub \c ((⊩)* U))));
76 change in ⊢ (? ? ? % ?) with (t \sub \f (((⊩) ∘ (⊩)* ) U));
77 change in e with (U=((⊩)∘(⊩ \sub BP1) \sup * ) U);
79 | unfold o_basic_topology_of_o_basic_pair; simplify; intros;
82 change in ⊢ (? ? ? (? ? ? ? %) ?) with ((t \sub \f⎻* ∘ (⊩)⎻* ) ((⊩)⎻ U));
83 cut ((t \sub \f⎻* ∘ (⊩)⎻* ) ((⊩)⎻ U) = ((⊩)⎻* ∘ t \sub \c⎻* ) ((⊩)⎻ U)) as COM;[2:
84 cases (Ocommute ?? t); apply (e1 ^ -1 ((⊩)⎻ U));]
86 change in ⊢ (? ? ? % ?) with (((⊩)⎻* ∘ (⊩)⎻ ) (((⊩)⎻* ∘ t \sub \c⎻* ∘ (⊩)⎻ ) U));
87 apply (.= (lemma_10_3_d ?? (⊩) (t \sub \c⎻* ((⊩)⎻ U))));
89 change in ⊢ (? ? ? % ?) with (t \sub \f⎻* (((⊩)⎻* ∘ (⊩)⎻ ) U));
90 change in e with (U=((⊩)⎻* ∘(⊩ \sub BP1)⎻ ) U);
94 (* scrivo gli statement qua cosi' verra' un conflitto :-)
96 1. definire il funtore OR
97 2. dimostrare che ORel e' faithful
99 3. Definire la funzione
101 \forall C1,C2: CAT2. F: arrows3 CAT2 C1 C2 -> CAT2
104 [ gli oggetti sono gli oggetti di C1 mappati da F
105 | i morfismi i morfismi di C1 mappati da F
109 Quindi (Apply C1 C2 F) (che usando da ora in avanti una coercion
110 scrivero' (F C1) ) e' l'immagine di C1 tramite F ed e'
111 una sottocategoria di C2 (qualcosa da dimostare qui??? vedi sotto
114 4. Definire rOBP (le OBP rappresentabili) come (BP_to_OBP BP)
115 [Si puo' fare lo stesso per le OA: rOA := Rel_to_OA REL ]
117 5. Dimostrare che OR (il funtore faithful da OBP a OBTop) e' full
118 quando applicato a rOBP.
119 Nota: puo' darsi che faccia storie ad accettare lo statement.
120 Infatti rOBP e' (BP_to_OBP BP) ed e' "una sottocategoria di OBP"
121 e OR va da OBP a OBTop. Non so se tipa subito o se devi dare
122 una "proiezione" da rOBP a OBP.
124 6. Definire rOBTop come (OBP_to_OBTop rOBP).
126 7. Per composizione si ha un funtore full and faithful da BP a rOBTop:
127 basta prendere (OR \circ BP_to_OBP).
129 8. Dimostrare (banale: quasi tutti i campi sono per conversione) che
130 esiste un funtore da rOBTop a BTop. Dimostrare che tale funtore e'
131 faithful e full (banale: tutta conversione).
133 9. Per composizione si ha un funtore full and faithful da BP a BTop.
135 10. Dimostrare che i seguenti funtori sono anche isomorphism-dense
136 (http://planetmath.org/encyclopedia/DenseFunctor.html):
139 OBP_to_OBTop quando applicato alle rOBP
140 OBTop_to_BTop quando applicato alle rOBTop
142 Concludere per composizione che anche il funtore da BP a BTop e'
145 ====== Da qui in avanti non e' "necessario" nulla:
147 == altre cose mancanti
149 11. Dimostrare che le r* e le * orrizzontali
150 sono isomorfe dando il funtore da r* a * e dimostrando che componendo i
151 due funtori ottengo l'identita'
153 12. La definizione di r* fa schifo: in pratica dici solo come ottieni
154 qualcosa, ma non come lo caratterizzeresti. Ora un teorema carino
155 e' che una a* (e.g. una aOBP) e' sempre una rOBP dove "a" sta per
156 atomic. Dimostrarlo per tutte le r*.
158 == categorish/future works
160 13. definire astrattamente la FG-completion e usare quella per
161 ottenere le BP da Rel e le OBP da OA.
163 14. indebolire le OA, generalizzare le costruzioni, etc. come detto