-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetTheory.sql
More file actions
1812 lines (1446 loc) · 207 KB
/
setTheory.sql
File metadata and controls
1812 lines (1446 loc) · 207 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.23
-- Dumped by pg_dump version 9.6.23
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: userdb; Type: SCHEMA; Schema: -; Owner: postgres
--
CREATE SCHEMA userdb;
ALTER SCHEMA userdb OWNER TO postgres;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
--
-- Name: alias_list; Type: DOMAIN; Schema: userdb; Owner: postgres
--
CREATE DOMAIN userdb.alias_list AS text NOT NULL
CONSTRAINT alias_list_check CHECK (((VALUE ~ '(^(([A-Z][a-z]*:(1|2)*),\s)*([A-Z][a-z]*:(1|2)*))$'::text) OR (VALUE ~~ ''::text)));
ALTER DOMAIN userdb.alias_list OWNER TO postgres;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: categoria; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.categoria (
id integer NOT NULL,
nombre text NOT NULL,
teoriaid integer DEFAULT 1
);
ALTER TABLE userdb.categoria OWNER TO userdb;
--
-- Name: categoria_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.categoria_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.categoria_id_seq OWNER TO userdb;
--
-- Name: categoria_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.categoria_id_seq OWNED BY userdb.categoria.id;
--
-- Name: dispone; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.dispone (
id integer NOT NULL,
numerometateorema text,
resuelto boolean DEFAULT false NOT NULL,
loginusuario text NOT NULL,
metateoremaid integer NOT NULL
);
ALTER TABLE userdb.dispone OWNER TO userdb;
--
-- Name: dispone_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.dispone_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.dispone_id_seq OWNER TO userdb;
--
-- Name: dispone_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.dispone_id_seq OWNED BY userdb.dispone.id;
--
-- Name: hibernate_sequence; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.hibernate_sequence
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.hibernate_sequence OWNER TO userdb;
--
-- Name: incluye; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.incluye (
padreid integer NOT NULL,
hijoid integer NOT NULL
);
ALTER TABLE userdb.incluye OWNER TO userdb;
--
-- Name: materia; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.materia (
id integer NOT NULL,
nombre text NOT NULL
);
ALTER TABLE userdb.materia OWNER TO userdb;
--
-- Name: materia_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.materia_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.materia_id_seq OWNER TO userdb;
--
-- Name: materia_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.materia_id_seq OWNED BY userdb.materia.id;
--
-- Name: metateorema; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.metateorema (
id integer NOT NULL,
enunciado text NOT NULL,
metateoserializado bytea NOT NULL
);
ALTER TABLE userdb.metateorema OWNER TO userdb;
--
-- Name: metateorema_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.metateorema_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.metateorema_id_seq OWNER TO userdb;
--
-- Name: metateorema_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.metateorema_id_seq OWNED BY userdb.metateorema.id;
--
-- Name: mostrarcategoria; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.mostrarcategoria (
categoriaid integer NOT NULL,
usuariologin text NOT NULL
);
ALTER TABLE userdb.mostrarcategoria OWNER TO userdb;
--
-- Name: mostrarcategoria_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.mostrarcategoria_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.mostrarcategoria_id_seq OWNER TO userdb;
--
-- Name: predicado; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.predicado (
predicado text NOT NULL,
alias text NOT NULL,
login text NOT NULL,
argumentos text NOT NULL,
aliases userdb.alias_list NOT NULL,
notacion text NOT NULL
);
ALTER TABLE userdb.predicado OWNER TO userdb;
--
-- Name: proof_template; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.proof_template (
id integer NOT NULL,
template text NOT NULL,
path_to_placeholders text NOT NULL
);
ALTER TABLE userdb.proof_template OWNER TO userdb;
--
-- Name: proof_template_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.proof_template_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.proof_template_id_seq OWNER TO userdb;
--
-- Name: proof_template_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.proof_template_id_seq OWNED BY userdb.proof_template.id;
--
-- Name: publicacion; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.publicacion (
alias text,
login text
);
ALTER TABLE userdb.publicacion OWNER TO userdb;
--
-- Name: resuelve; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.resuelve (
id integer NOT NULL,
nombreteorema text,
numeroteorema text NOT NULL,
resuelto boolean DEFAULT false NOT NULL,
loginusuario text NOT NULL,
teoremaid integer NOT NULL,
categoriaid integer NOT NULL,
variables text,
teoriaid integer DEFAULT 1
);
ALTER TABLE userdb.resuelve OWNER TO userdb;
--
-- Name: resuelve_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.resuelve_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.resuelve_id_seq OWNER TO userdb;
--
-- Name: resuelve_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.resuelve_id_seq OWNED BY userdb.resuelve.id;
--
-- Name: simbolo; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.simbolo (
id integer NOT NULL,
notacion_latex text NOT NULL,
argumentos integer,
esinfijo boolean DEFAULT false NOT NULL,
asociatividad integer,
precedencia integer NOT NULL,
notacion text NOT NULL,
teoriaid integer NOT NULL,
tipo character varying DEFAULT ''::character varying
);
ALTER TABLE userdb.simbolo OWNER TO userdb;
--
-- Name: simbolo_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.simbolo_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.simbolo_id_seq OWNER TO userdb;
--
-- Name: simbolo_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.simbolo_id_seq OWNED BY userdb.simbolo.id;
--
-- Name: solucion; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.solucion (
id integer NOT NULL,
resuelveid integer NOT NULL,
resuelto boolean DEFAULT false NOT NULL,
demostracion text NOT NULL,
metodo text NOT NULL
);
ALTER TABLE userdb.solucion OWNER TO userdb;
--
-- Name: solucion_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.solucion_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.solucion_id_seq OWNER TO userdb;
--
-- Name: solucion_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.solucion_id_seq OWNED BY userdb.solucion.id;
--
-- Name: teorema; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.teorema (
id integer NOT NULL,
enunciado text NOT NULL,
esquema boolean NOT NULL,
aliases userdb.alias_list NOT NULL
);
ALTER TABLE userdb.teorema OWNER TO userdb;
--
-- Name: teorema_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.teorema_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.teorema_id_seq OWNER TO userdb;
--
-- Name: teorema_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.teorema_id_seq OWNED BY userdb.teorema.id;
--
-- Name: teoria; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.teoria (
id integer NOT NULL,
nombre text NOT NULL
);
ALTER TABLE userdb.teoria OWNER TO userdb;
--
-- Name: teoria_id_seq; Type: SEQUENCE; Schema: userdb; Owner: userdb
--
CREATE SEQUENCE userdb.teoria_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE userdb.teoria_id_seq OWNER TO userdb;
--
-- Name: teoria_id_seq; Type: SEQUENCE OWNED BY; Schema: userdb; Owner: userdb
--
ALTER SEQUENCE userdb.teoria_id_seq OWNED BY userdb.teoria.id;
--
-- Name: termino; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.termino (
combinador text NOT NULL,
serializado bytea NOT NULL,
alias text NOT NULL,
login text NOT NULL
);
ALTER TABLE userdb.termino OWNER TO userdb;
--
-- Name: usuario; Type: TABLE; Schema: userdb; Owner: userdb
--
CREATE TABLE userdb.usuario (
login text NOT NULL,
nombre text NOT NULL,
apellido text NOT NULL,
correo text NOT NULL,
password text NOT NULL,
materiaid integer NOT NULL,
admin boolean DEFAULT false NOT NULL,
autosust boolean DEFAULT false NOT NULL,
teoriaid integer DEFAULT 1
);
ALTER TABLE userdb.usuario OWNER TO userdb;
--
-- Name: categoria id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.categoria ALTER COLUMN id SET DEFAULT nextval('userdb.categoria_id_seq'::regclass);
--
-- Name: dispone id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.dispone ALTER COLUMN id SET DEFAULT nextval('userdb.dispone_id_seq'::regclass);
--
-- Name: metateorema id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.metateorema ALTER COLUMN id SET DEFAULT nextval('userdb.metateorema_id_seq'::regclass);
--
-- Name: resuelve id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.resuelve ALTER COLUMN id SET DEFAULT nextval('userdb.resuelve_id_seq'::regclass);
--
-- Name: simbolo id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.simbolo ALTER COLUMN id SET DEFAULT nextval('userdb.simbolo_id_seq'::regclass);
--
-- Name: solucion id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.solucion ALTER COLUMN id SET DEFAULT nextval('userdb.solucion_id_seq'::regclass);
--
-- Name: teorema id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.teorema ALTER COLUMN id SET DEFAULT nextval('userdb.teorema_id_seq'::regclass);
--
-- Name: teoria id; Type: DEFAULT; Schema: userdb; Owner: userdb
--
ALTER TABLE ONLY userdb.teoria ALTER COLUMN id SET DEFAULT nextval('userdb.teoria_id_seq'::regclass);
--
-- Data for Name: categoria; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.categoria (id, nombre, teoriaid) FROM stdin;
1 Equivalence and true 1
2 Negation Inequivalence and false 1
3 Disjunction 1
4 Conjunction 1
5 Implication 1
6 Leibniz as an Axiom 1
7 Universal Quantification 1
8 Existential Quantification 1
9 Axioms 2
10 Theorems 2
11 Otros 2
\.
--
-- Name: categoria_id_seq; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.categoria_id_seq', 11, true);
--
-- Data for Name: dispone; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.dispone (id, numerometateorema, resuelto, loginusuario, metateoremaid) FROM stdin;
\.
--
-- Name: dispone_id_seq; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.dispone_id_seq', 1, false);
--
-- Name: hibernate_sequence; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.hibernate_sequence', 1, false);
--
-- Data for Name: incluye; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.incluye (padreid, hijoid) FROM stdin;
1 2
\.
--
-- Data for Name: materia; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.materia (id, nombre) FROM stdin;
1 LΓö£Γöégica SimbΓö£Γöélica Ene-Mar 2018
\.
--
-- Name: materia_id_seq; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.materia_id_seq', 1, true);
--
-- Data for Name: metateorema; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.metateorema (id, enunciado, metateoserializado) FROM stdin;
\.
--
-- Name: metateorema_id_seq; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.metateorema_id_seq', 1, false);
--
-- Data for Name: mostrarcategoria; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.mostrarcategoria (categoriaid, usuariologin) FROM stdin;
11 AdminTeoremas
1 federico
2 federico
3 federico
4 federico
5 federico
7 federico
1 minender
8 federico
10 AdminTeoremas
9 federico
10 federico
6 federico
9 AdminTeoremas
\.
--
-- Name: mostrarcategoria_id_seq; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.mostrarcategoria_id_seq', 12, true);
--
-- Data for Name: predicado; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.predicado (predicado, alias, login, argumentos, aliases, notacion) FROM stdin;
\.
--
-- Data for Name: proof_template; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.proof_template (id, template, path_to_placeholders) FROM stdin;
1 (I^{[x_{113} := (%T1)]} A^{c_{1} (c_{1} c_{8} x_{113}) x_{113}}) (%T2) T2:q
2 (I^{[x_{112} := c_{8}]} A^{c_{1} (c_{5} x_{112} x_{112}) x_{112}}) (L^{\\lambda x_{122}.c_{5} c_{8} x_{122}} (S (%M1P))) (L^{\\lambda x_{122}.c_{5} x_{122} (%P1)} (S (%M1Q))) A^{c_{8}} M1Q:pqqq;M1P:ppqqq
\.
--
-- Name: proof_template_id_seq; Type: SEQUENCE SET; Schema: userdb; Owner: userdb
--
SELECT pg_catalog.setval('userdb.proof_template_id_seq', 1, false);
--
-- Data for Name: publicacion; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.publicacion (alias, login) FROM stdin;
\.
--
-- Data for Name: resuelve; Type: TABLE DATA; Schema: userdb; Owner: userdb
--
COPY userdb.resuelve (id, nombreteorema, numeroteorema, resuelto, loginusuario, teoremaid, categoriaid, variables, teoriaid) FROM stdin;
210 Distributivity of $\\vee$ over $\\wedge$ 3.45 t federico 49 4 ;p,q,r 1
138 Generalized De Morgan 9.17 t AdminTeoremas 133 8 x,x,x,x;P,R 1
10 Reflexivity of $\\equiv$ 3.5 t AdminTeoremas 10 1 ;q 1
8 Identity of $\\equiv$ 3.3.b t AdminTeoremas 8 1 ;q 1
11 Definition of $false$ 3.8 t AdminTeoremas 11 2 ; 1
12 Distributivity of $\\neg$ over $\\equiv$ 3.9 t AdminTeoremas 12 2 ;p,q 1
13 Definition of $\\not\\equiv$ 3.10 t AdminTeoremas 13 2 ;p,q 1
23 Symmetry of $\\vee$ 3.24 t AdminTeoremas 23 3 ;p,q 1
24 Associativity of $\\vee$ 3.25 t AdminTeoremas 24 3 ;p,q,r 1
25 Idempotency of $\\vee$ 3.26 t AdminTeoremas 25 3 ;p 1
139 Generalized De Morgan 9.18.a f AdminTeoremas 134 8 x,x,x,x;P,R 1
140 Generalized De Morgan 9.18.b f AdminTeoremas 135 8 x,x,x,x;P,R 1
165 21 t AdminTeoremas 160 9 ;A,B 2
122 Trading 9.2 t AdminTeoremas 117 7 x,x,x;P,R 1
123 Trading 9.3.a f AdminTeoremas 118 7 x,x,x;P,R 1
124 Trading 9.3.b f AdminTeoremas 119 7 x,x,x;P,R 1
125 Trading 9.3.c f AdminTeoremas 120 7 x,x,x;P,R 1
126 Trading 9.4.a f AdminTeoremas 121 7 x,x,x,x;P,Q,R 1
127 Trading 9.4.b f AdminTeoremas 122 7 x,x,x,x;P,Q,R 1
128 Trading 9.4.c f AdminTeoremas 123 7 x,x,x,x;P,Q,R 1
129 Trading 9.4.d f AdminTeoremas 124 7 x,x,x,x;P,Q,R 1
141 Generalized De Morgan 9.18.c f AdminTeoremas 136 8 x,x,x,x;P,R 1
7 Identity of $\\equiv$ 3.3.a f AdminTeoremas 7 1 ;q 1
142 Trading 9.19 f AdminTeoremas 137 8 x,x,x;P,R 1
143 Trading 9.20 f AdminTeoremas 138 8 x,x,x,x;P,Q,R 1
144 Distributivity of $\\wedge$ over $\\exists$ 9.21 f AdminTeoremas 139 8 x,x,x,x;P,Q,R 1
145 9.22 f AdminTeoremas 140 8 x,x,x;P,R 1
146 Distributivity of $\\vee$ over $\\exists$ 9.23 f AdminTeoremas 141 8 x,x,x,x,x;P,Q,R 1
14 3.11 f AdminTeoremas 14 2 ;p,q 1
15 Double negation 3.12 f AdminTeoremas 15 2 ;p 1
16 Negation of $false$ 3.13 f AdminTeoremas 16 2 ; 1
17 3.14 f AdminTeoremas 17 2 ;p,q 1
147 9.24.a f AdminTeoremas 142 8 x,x;R 1
19 Symmetry of $\\not\\equiv$ 3.16 f AdminTeoremas 19 2 ;p,q 1
20 Associativity of $\\not\\equiv$ 3.17 f AdminTeoremas 20 2 ;p,q,r 1
21 Mutual associativity 3.18 f AdminTeoremas 21 2 ;p,q,r 1
22 Mutual interchangeability 3.19 f AdminTeoremas 22 2 ;p,q,r 1
148 Range weakening/strengthening 9.25 f AdminTeoremas 143 8 x,x,x,x;P,Q,R 1
149 Body weakening/strengthening 9.26 f AdminTeoremas 144 8 x,x,x,x;P,Q,R 1
130 Distributivity of $\\vee$ over $\\forall$ 9.5 t AdminTeoremas 125 7 x,x,x,x;P,Q,R 1
131 9.6 f AdminTeoremas 126 7 x,x,x;P,R 1
132 Distributivity of $\\wedge$ over $\\forall$ 9.7 f AdminTeoremas 127 7 x,x,x,x,x;P,Q,R 1
133 9.9 f AdminTeoremas 128 7 x,x,x,x,x,x;P,Q,R 1
134 Range weakening/strengthening 9.10 f AdminTeoremas 129 7 x,x,x,x;P,Q,R 1
135 Body weakening/strengthening 9.11 f AdminTeoremas 130 7 x,x,x,x;P,Q,R 1
136 Monotonicity of $\\forall$ 9.12 f AdminTeoremas 131 7 x,x,x,x,x,x;P,Q,R 1
137 Instantiation 9.13 f AdminTeoremas 132 7 x;P,e 1
150 Monotonicity of $\\exists$ 9.27 f AdminTeoremas 145 8 x,x,x,x,x,x;P,Q,R 1
151 $\\exists$-Introduction 9.28 f AdminTeoremas 146 8 x;E,P 1
152 Interchange of quantifications 9.29 f AdminTeoremas 147 8 x,x,y,y,y,y,x,x;P,Q,R 1
161 17 t AdminTeoremas 156 9 x,C,C,x;B 2
107 Extension 1.a t AdminTeoremas 107 9 A,B,x; 2
211 Distributivity of $\\wedge$ over $\\vee$ 3.46 t federico 50 4 ;p,q,r 1
183 Zero of $\\vee$ 3.29 t federico 28 3 ;p 1
182 Identity of $\\wedge$ 3.39 t federico 41 4 ;p 1
184 3.4 t federico 9 1 ; 1
185 Identity of $\\equiv$ 3.3.a t federico 7 1 ;q 1
186 Symmetry of $\\equiv$ 3.2.b t federico 3 1 ;p,q 1
207 Distributivity of $\\wedge$ over $\\wedge$ 3.41 t federico 43 4 ;p,q,r 1
208 Contradiction 3.42 t federico 44 4 ;p 1
209 3.50 t federico 60 4 ;p,q 1
212 Definition of $\\equiv$ 3.52 t federico 62 4 ;p,q 1
215 Replacement 3.51 t federico 61 4 ;p,q,r 1
216 Exclusive or 3.53 t federico 63 4 ;p,q 1
218 Golden rule 3.35.c t federico 35 4 ;p,q 1
219 Golden rule 3.35.d t federico 36 4 ;p,q 1
220 Golden rule 3.35.e t federico 37 4 ;p,q 1
217 Golden rule 3.35.a t federico 33 4 ;p,q 1
221 Absorption 3.43.a t federico 45 4 ;p,q 1
222 Absorption 3.43.b t federico 46 4 ;p,q 1
223 Absorption 3.44.a t federico 47 4 ;p,q 1
224 Absorption 3.44.b t federico 48 4 ;p,q 1
225 De Morgan 3.47.a t federico 51 4 ;p,q 1
226 De Morgan 3.47.b t federico 52 4 ;p,q 1
227 3.48.a t federico 53 4 ;p,q 1
228 3.48.b t federico 54 4 ;p,q 1
213 Definition of Implication 3.59 t federico 66 5 ;p,q 1
229 Definition of Implication 3.60 t federico 67 5 ;p,q 1
230 3.66 t federico 73 5 ;p,q 1
214 Replace by $true$ 3.87 t federico 104 6 ;E,p 1
231 Replace by $false$ 3.88 t federico 105 6 ;E,p 1
232 Shannon 3.89 f federico 106 6 ;E,p 1
18 3.15.a f AdminTeoremas 18 2 ;p 1
1 Associativity of $\\equiv$ 3.1 t AdminTeoremas 1 1 ;p,q,r 1
2 Symmetry of $\\equiv$ 3.2.a t AdminTeoremas 2 1 ;p,q 1
26 Distributivity of $\\vee$ over $\\equiv$ 3.27 t AdminTeoremas 26 3 ;p,q,r 1
27 Excluded Middle 3.28 t AdminTeoremas 27 3 ;p 1
34 Golden rule 3.35.b t AdminTeoremas 34 4 ;p,q 1
64 Definition of Implication 3.57 t AdminTeoremas 64 5 ;p,q 1
65 Consequence 3.58 t AdminTeoremas 65 5 ;p,q 1
171 10.2 f AdminTeoremas 165 10 B,A; 2
111 Pairs 4 t AdminTeoremas 110 9 a,b,A,x; 2
28 Zero of $\\vee$ 3.29 f AdminTeoremas 28 3 ;p 1
29 Identity of $\\vee$ 3.30 f AdminTeoremas 29 3 ;p 1
30 Distributivity of $\\vee$ over $\\vee$ 3.31 f AdminTeoremas 30 3 ;p,q,r 1
31 3.32.a f AdminTeoremas 31 3 ;p,q 1
32 3.32.b f AdminTeoremas 32 3 ;p,q 1
33 Golden rule 3.35.a f AdminTeoremas 33 4 ;p,q 1
35 Golden rule 3.35.c f AdminTeoremas 35 4 ;p,q 1
36 Golden rule 3.35.d f AdminTeoremas 36 4 ;p,q 1
37 Golden rule 3.35.e f AdminTeoremas 37 4 ;p,q 1
38 Symmetry of $\\wedge$ 3.36 f AdminTeoremas 38 4 ;p,q 1
39 Associativity of $\\wedge$ 3.37 f AdminTeoremas 39 4 ;p,q,r 1
40 Idempotency of $\\wedge$ 3.38 f AdminTeoremas 40 4 ;p 1
41 Identity of $\\wedge$ 3.39 f AdminTeoremas 41 4 ;p 1
42 Zero of $\\wedge$ 3.40 f AdminTeoremas 42 4 ;p 1
43 Distributivity of $\\wedge$ over $\\wedge$ 3.41 f AdminTeoremas 43 4 ;p,q,r 1
44 Contradiction 3.42 f AdminTeoremas 44 4 ;p 1
45 Absorption 3.43.a f AdminTeoremas 45 4 ;p,q 1
46 Absorption 3.43.b f AdminTeoremas 46 4 ;p,q 1
47 Absorption 3.44.a f AdminTeoremas 47 4 ;p,q 1
48 Absorption 3.44.b f AdminTeoremas 48 4 ;p,q 1
49 Distributivity of $\\vee$ over $\\wedge$ 3.45 f AdminTeoremas 49 4 ;p,q,r 1
50 Distributivity of $\\wedge$ over $\\vee$ 3.46 f AdminTeoremas 50 4 ;p,q,r 1
51 De Morgan 3.47.a f AdminTeoremas 51 4 ;p,q 1
52 De Morgan 3.47.b f AdminTeoremas 52 4 ;p,q 1
53 3.48.a f AdminTeoremas 53 4 ;p,q 1
54 3.48.b f AdminTeoremas 54 4 ;p,q 1
55 3.49.a f AdminTeoremas 55 4 ;p,q,r 1
56 3.49.b f AdminTeoremas 56 4 ;p,q,r 1
57 3.49.c f AdminTeoremas 57 4 ;p,q,r 1
58 3.49.d f AdminTeoremas 58 4 ;p,q,r 1
59 3.49.e f AdminTeoremas 59 4 ;p,q,r 1
60 3.50 f AdminTeoremas 60 4 ;p,q 1
61 Replacement 3.51 f AdminTeoremas 61 4 ;p,q,r 1
62 Definition of $\\equiv$ 3.52 f AdminTeoremas 62 4 ;p,q 1
63 Exclusive or 3.53 f AdminTeoremas 63 4 ;p,q 1
66 Definition of Implication 3.59 f AdminTeoremas 66 5 ;p,q 1
67 Definition of Implication 3.60 f AdminTeoremas 67 5 ;p,q 1
68 Contrapositive 3.61 f AdminTeoremas 68 5 ;p,q 1
69 3.62 f AdminTeoremas 69 5 ;p,q,r 1
70 Distributivity of $\\Rightarrow$ over $\\equiv$ 3.63 f AdminTeoremas 70 5 ;p,q,r 1
71 3.64 f AdminTeoremas 71 5 ;p,q,r 1
72 Shunting 3.65 f AdminTeoremas 72 5 ;p,q,r 1
73 3.66 f AdminTeoremas 73 5 ;p,q 1
74 3.67 f AdminTeoremas 74 5 ;p,q 1
9 3.4 f AdminTeoremas 9 1 ; 1
3 Symmetry of $\\equiv$ 3.2.b f AdminTeoremas 3 1 ;p,q 1
4 Symmetry of $\\equiv$ 3.2.c f AdminTeoremas 4 1 ;p,q 1
5 Symmetry of $\\equiv$ 3.2.d f AdminTeoremas 5 1 ;p,q 1
6 Symmetry of $\\equiv$ 3.2.e f AdminTeoremas 6 1 ;p,q 1
187 Symmetry of $\\equiv$ 3.2.c t federico 4 1 ;p,q 1
188 Symmetry of $\\equiv$ 3.2.d t federico 5 1 ;p,q 1
189 Symmetry of $\\equiv$ 3.2.e t federico 6 1 ;p,q 1
162 18 t AdminTeoremas 157 9 x,x;A,B 2
173 26 t AdminTeoremas 167 9 x,a,b,x;A,B 2
191 3.11 t federico 14 2 ;p,q 1
192 Double negation 3.12 t federico 15 2 ;p 1
109 Empty set 2 t AdminTeoremas 108 9 A,x; 2
153 10 t AdminTeoremas 148 9 ;A,x 2
154 Empty symbol 11 t AdminTeoremas 149 9 x; 2
193 Negation of $false$ 3.13 t federico 16 2 ; 1
194 3.14 t federico 17 2 ;p,q 1
163 19 t AdminTeoremas 158 9 x;A,B 2
164 20 t AdminTeoremas 159 9 ;A,B 2
166 22 t AdminTeoremas 161 9 ;A,B 2
167 23 t AdminTeoremas 162 9 ;a,b 2
168 25 t AdminTeoremas 163 9 ;A,B 2
169 27 t AdminTeoremas 164 9 ;x 2
195 3.15 t federico 18 2 ;p 1
196 Symmetry of $\\not\\equiv$ 3.16 t federico 19 2 ;p,q 1
197 Associativity of $\\not\\equiv$ 3.17 t federico 20 2 ;p,q,r 1
198 Mutual associativity 3.18 t federico 21 2 ;p,q,r 1
199 Mutual interchangeability 3.19 t federico 22 2 ;p,q,r 1
190 Identity of $\\vee$ 3.30 t federico 29 3 ;p 1
200 Distributivity of $\\vee$ over $\\vee$ 3.31 t federico 30 3 ;p,q,r 1
201 3.32.a t federico 31 3 ;p,q 1
202 3.32.b t federico 32 3 ;p,q 1
203 Symmetry of $\\wedge$ 3.36 t federico 38 4 ;p,q 1
170 Extension 1.b f AdminTeoremas 109 9 A,B,x; 2
174 Extension 1.b f federico 109 9 A,B,x; 2
96 Leibniz 3.83 t AdminTeoremas 96 6 ;E,e,f 1
248 Interchange of dummies 8.19 t AdminTeoremas 175 7 y,x,x,y,x,y,y,x;P,Q,R 1
159 15 t AdminTeoremas 154 9 ;A,B 2
155 12 t AdminTeoremas 150 9 x,x;P,U,y 2
179 4.20 f federico 168 4 ;q 1
98 Substitution 3.84.b t AdminTeoremas 98 6 ;E,e,f 1
91 Mutual implication 3.80 t AdminTeoremas 91 5 ;p,q 1
204 Associativity of $\\wedge$ 3.37 t federico 39 4 ;p,q,r 1
205 Idempotency of $\\wedge$ 3.38 t federico 40 4 ;p 1
249 Distributivity of $\\Rightarrow$ over $\\equiv$ 3.63 t federico 70 5 ;p,q,r 1
206 Zero of $\\wedge$ 3.40 t federico 42 4 ;p 1
233 Substitution 3.84.a t federico 97 6 ;E,e,f 1
235 3.15.b f AdminTeoremas 169 2 ;p 1
236 3.15.b t federico 169 2 ;p 1
250 3.64 t federico 71 5 ;p,q,r 1
113 Union 5 t AdminTeoremas 112 9 B,A,x,C,C; 2
114 Foundation 6 t AdminTeoremas 113 9 A,A,x,x,y,y; 2
115 Infinity 7 t AdminTeoremas 114 9 A,x; 2
116 Parts 8 t AdminTeoremas 115 9 B,A,x; 2
237 Weakening/strengthening 3.76.f f AdminTeoremas 170 5 ;p,q 1
158 14 t AdminTeoremas 153 9 C,C;B,x 2
75 3.68 f AdminTeoremas 75 5 ;p,q 1
76 3.69 f AdminTeoremas 76 5 ;p,q 1
77 3.70 f AdminTeoremas 77 5 ;p,q 1
78 Reflexivity of $\\Rightarrow$ 3.71 f AdminTeoremas 78 5 ;p 1
79 Right zero of $\\Rightarrow$ 3.72 f AdminTeoremas 79 5 ;p 1
80 Left identity of $\\Rightarrow$ 3.73 f AdminTeoremas 80 5 ;p 1
81 3.74 f AdminTeoremas 81 5 ;p 1
82 3.75 f AdminTeoremas 82 5 ;p 1
83 Weakening/strengthening 3.76.a f AdminTeoremas 83 5 ;p,q 1
84 Weakening/strengthening 3.76.b f AdminTeoremas 84 5 ;p,q 1
85 Weakening/strengthening 3.76.c f AdminTeoremas 85 5 ;p,q 1
86 Weakening/strengthening 3.76.d f AdminTeoremas 86 5 ;p,q,r 1
87 Weakening/strengthening 3.76.e f AdminTeoremas 87 5 ;p,q,r 1
88 Modus ponens 3.77 f AdminTeoremas 88 5 ;p,q 1
89 3.78 f AdminTeoremas 89 5 ;p,q,r 1
90 3.79 f AdminTeoremas 90 5 ;p,r 1
251 Shunting 3.65 t federico 72 5 ;p,q,r 1
92 Antisymmetry 3.81 f AdminTeoremas 92 5 ;p,q 1
93 Transitivity 3.82.a f AdminTeoremas 93 5 ;p,q,r 1
94 Transitivity 3.82.b f AdminTeoremas 94 5 ;p,q,r 1
95 Transitivity 3.82.c f AdminTeoremas 95 5 ;p,q,r 1
238 Weakening/strengthening 3.76.f t federico 170 5 ;p,q 1
97 Substitution 3.84.a f AdminTeoremas 97 6 ;E,e,f 1
99 Substitution 3.84.c f AdminTeoremas 99 6 ;E,e,f,q 1
100 Replace by $true$ 3.85.a f AdminTeoremas 100 6 ;E,p 1
101 Replace by $true$ 3.85.b f AdminTeoremas 101 6 ;E,p,q 1
102 Replace by $false$ 3.86.a f AdminTeoremas 102 6 ;E,p 1
103 Replace by $false$ 3.86.b f AdminTeoremas 103 6 ;E,p,q 1
104 Replace by $true$ 3.87 f AdminTeoremas 104 6 ;E,p 1
105 Replace by $false$ 3.88 f AdminTeoremas 105 6 ;E,p 1
106 Shannon 3.89 f AdminTeoremas 106 6 ;E,p 1
239 Replace by $true$ 3.85.a t federico 100 6 ;E,p 1
234 Substitution 3.84.c t federico 99 6 ;E,e,f,q 1
240 Contrapositive 3.61 t federico 68 5 ;p,q 1
241 3.62 t federico 69 5 ;p,q,r 1
112 Separation 3 t AdminTeoremas 111 9 U,A,x;P 2
242 9.6 t federico 126 7 x,x,x;P,R 1
243 9.8 t federico 116 7 x; 1
156 13.a t AdminTeoremas 151 9 ;a,x 2
157 13.b t AdminTeoremas 152 9 ;a,b,x 2
160 16 t AdminTeoremas 155 9 x,x;A,B 2
121 9.8.a f AdminTeoremas 116 7 x; 1
244 9.8.b f AdminTeoremas 171 7 x,x,x;P 1
245 Empty range 9.1 t AdminTeoremas 172 7 x,x;P 1
246 Distributivity 8.15 t AdminTeoremas 173 7 x,x,x,x,x,x;P,Q,R 1
247 Rage split 8.18 t AdminTeoremas 174 7 x,x,x,x,x,x;P,R,S 1
253 Left identity of $\\Rightarrow$ 3.73 t federico 80 5 ;p 1
252 9.8.b t federico 171 7 x,x,x;P 1
254 Trading 9.3.a t federico 118 7 x,x,x;P,R 1
255 3.67 t federico 74 5 ;p,q 1
256 3.68 t federico 75 5 ;p,q 1
257 3.69 t federico 76 5 ;p,q 1
258 3.70 t federico 77 5 ;p,q 1
259 Reflexivity of $\\Rightarrow$ 3.71 t federico 78 5 ;p 1
260 Right zero of $\\Rightarrow$ 3.72 t federico 79 5 ;p 1
261 3.74 t federico 81 5 ;p 1
262 3.75 t federico 82 5 ;p 1
263 Modus ponens 3.77 t federico 88 5 ;p,q 1
264 3.78 t federico 89 5 ;p,q,r 1
265 3.79 t federico 90 5 ;p,r 1
267 Weakening/strengthening 3.76.b t federico 84 5 ;p,q 1
266 Range weakening/strengthening 9.10 t federico 129 7 x,x,x,x;P,Q,R 1
268 Body weakening/strengthening 9.11 t federico 130 7 x,x,x,x;P,Q,R 1
269 Trading 9.3.b t federico 119 7 x,x,x;P,R 1
270 Trading 9.3.c t federico 120 7 x,x,x;P,R 1
271 Distributivity of $\\wedge$ over $\\forall$ 9.7 t federico 127 7 x,x,x,x,x;P,Q,R 1
272 3.4 t minender 9 1 ; 1
273 Identity of $\\equiv$ 3.3.a t minender 7 1 ;q 1
274 Symmetry of $\\equiv$ 3.2.b f minender 3 1 ;p,q 1
275 Antisymmetry 3.81 t federico 92 5 ;p,q 1
276 Weakening/strengthening 3.76.a t federico 83 5 ;p,q 1
277 Weakening/strengthening 3.76.c t federico 85 5 ;p,q 1
278 Weakening/strengthening 3.76.d t federico 86 5 ;p,q,r 1
279 Weakening/strengthening 3.76.e t federico 87 5 ;p,q,r 1