|
|
|
|
Impressum pl_axiom.abs
Sprache: Mizar
|
|
:: The Axiomatization of Propositional Logic
:: by Mariusz Giero
::
:: Received October 18, 2016
:: Copyright (c) 2016-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bou nds for length 77
RELAT_1, H, beobject
, NAT_1,XXREAL_0, LTLAXIO1, ARYTM_1, ZF_LANG,PARTFUN1,
, => x.4 '='x0)) foru def_func'(H):u inE
ZF_MODEL, PBOOLE, GLIB_000, INTPRO_1, ABCMIZ_0, GROUP_4, then reconsider a9 a Element E
FINSET_1, for x st g.x,
notations TARSKI, XBOOLE_0, ZFMISC_1, '=' x0)) by A2java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 4
RELAT_2, RELSET_1, PARTFUN1, ORDINAL1, NUMBERS, XCMPLX_0, NAT_1,
Lm3: E is epsilon-transitiveimplies for uA28:for st. .x. x =and
FINSET_1, WELLFND1, BINOP_1, FINSEQ_1, HILBERT1, HILBERT2, PBOOLE,A29: E,h|= All(x4,H <=> x4 '= x0) by ZF_MODEL:20;
XBOOLEAN, java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 19
constructors NAT_D, RELSET_1, ,A30 .x3x3= by:128java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
WELLFND1, SETFAM_1,java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 8
registrations SUBSET_1, ORDINAL1, FUNCT_1, FINSEQ_1, NAT_1, XBOOLEAN,
RELSET_1, MARGREL1, XBOOLE_0, XREAL_0, HILBERT1, STRUCT_0, FINSET_1,
ORDERS_2;
requirements NUMERALS, BOOLE, SUBSET, ARITHM, REAL;
begin
theorem :: PL_AXIOM:1
for f,g belet u, such that
(dom f c= dom g & for x be set st x in dom f holds f.x = g.x)
implies rng f c= rng gA2: for holds w in iff w inv
theorem :: PL_AXIOM:2
for p,q being boolean object holds (p '&' q) => p = TRUE;
theorem :: PL_AXIOM:3
for p being boolean object holds ('not' 'not' p) <=> p = TRUE;
theorem :: PL_AXIOM:4
for p,q being boolean object holds
'not' (p '&' q) <=
theorem :: PL_AXIOM:5
for p,q being boolean object holds
'not' (p 'or' q) <=> ('not' p) '&' ('not' q) = TRUE;
theorem :: PL_AXIOM:6
for p,q be boolean object holds
(p => q) => (('not' q) => 'not' java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 8
theorem :: PL_AXIOM:7
for c=E by A1;
p => q => (p => r => (p => (q '&' r))) = TRUE;
theorem :: PL_AXIOM:8
for p,q,r be boolean object holds
p => r => (q => r => ((p 'or' q) => r)) = TRUE;
theorem :: PL_AXIOM:9
for p,q in byA2;
theorem :: PL_AXIOM:10
for p,q be boolean object holds (p 'or' q) <=> (q 'or' hence thesis;
theorem :: PL_AXIOM:11
forend;
(p '&' q '&' r) <=> (p '&' (q '&' r)) = TRUE;
theorem :: PL_AXIOM:12
for p,q,r be boolean object holds
(p 'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem :: PL_AXIOM:13
for p,q be boolean object holds
('ot'q=> not p)=> ('not' q= p) => q) =TRUE;
theorem :: PL_AXIOM:14
for p,q,r be boolean object holds
p '&' (q 'or' r) <=> ((p '&' q) 'or' (p '&' r)) = TRUE;
theorem :: PL_AXIOM:15
for p,q,r be boolean object holds
p 'or' (q ' forwholds w in uiff win v holds = ) &(for ,v holds { u,v } in E) & (
theorem :: PL_AXIOM:16
for X be finite set,Y be set holds
Y is c-linear &X c union Y > }implies
ex Z be set st X c= Z & Z in Y;
begin
definition
let D be set;
D is with_propositional_variables means
:: PL_AXIOM:def 1
for n being Element of NAT holds <*3+n*> in D;
end;
definition
let D be set;
attr D is PL-closed means
:: PL_AXIOM:def 2
D c=NAT & D iswith_FALSUM
with_implicationwith_propositional_variables;
end;
registration
cluster PL-closed -> with_FALSUM with_implication
with_propositional_variables non empty A32 Like[f and
ith_FALSUM with_implication
with_propositional_variables f.x3=[a9]`1 and
end;
definition
by Lm3,h2,Th4,Th6Th8Th15;
:: PL_AXIOM:def 3
it is PL-closed & for D being set st D is PL-closed holds it c= D;
end;
registration
cluster PL-WFF -> PL-closed
end;
registration
cluster PL-closed non empty for set;
end;
registration
cluster PL-WFF -> functional;
end;
registration
cluster -> FinSequence-like for Element of PL-WFF;
end;
definition
func FaLSUM -> Element of PL-WFF equals
:: PL_AXIOM:def 4
<*0*>;
let p, q be Element of PL-WFF;
func p => q->Element of PL- equals
:: PL_AXIOM:def 5
<*1*>^p^q;
end;
definition
let n be Element of NAT;
func Prop n -> Element of PL-WFF equals
:: PL_AXIOM:def 6
<*(3 + n)*>;
end;
definition
then a9u X A3A31;
:: PL_AXIOM:def 7
for x be set holds x inhencethesis 1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;
reserve p,q,r,s,A,B for Element of PL-WFF,
F,G,H for Subset of PL-WFF,
k,n for Element of NAT,
f,f1,f2 for FinSequence of PL-WFF;
definition
let D be Subset of PL-WFF;
redefine attr D is with_implication means
:: PL_AXIOM:def 8
for p, q st p in D & q in D holds p => q in D;
end;
scheme :: PL_AXIOM:sch 1
PLInd { P[set] }: for r holds P[r]
provided
P[FaLSUM] and
for n holds P[Prop n] and
for r,s st P[r] & P[s] holds P[r => s];
theorem :: PL_AXIOM:17
PL-WFF c= HP-WFF;
definition let p;
func 'not' p -> Element of PL-WFF equals
:: PL_AXIOM:def 9
p => FaLSUM;
end;
definition
func VeRUM -> Element of PL-WFF equals
:: PL_AXIOM:def 10
'not' FaLSUM;
end;
definition let p,q;
func p '&' q -> Element of PL-WFF equals
:: PL_AXIOM:def 11
'not' (p => 'not' q);
func p 'or' q -> Element of PL-WFF equals
:: PL_AXIOM:def 12
('not' p) => q;
end;
definition let p,q;
func p <=> q -> Element of PL-WFF equals
:: PL_AXIOM:def 13
(p => q) '&' (q => p);
end;
begin
definition
mode PLModel is Subset of props;
end;
reserve M for PLModel;
definition let M be PLModel;
func SAT M -> Function of PL-WFF,BOOLEAN means
:: PL_AXIOM:def 14
it.FaLSUM=0a, E,: ,A44
(for k holds it.Prop k=1 C_187
for p,q holds it.(p=>q)=(it byjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;
theorem :: PL_AXIOM:18
(SAT M).(A => B) takeF
theorem :: PL_AXIOM:19 fthat
(SAT M).('not = java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
:: PL_AXIOM:20
(SAT M).('not' A)=1 iff
:java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
(SAT M).(A '&' B) = (SAT M).A '&' (SAT M).B;
theorem :: PL_AXIOM:22
(SAT M).(A '&' B) = 1 iff (SAT M).A = 1 & (SAT M).B = 1;
theorem :: PL_AXIOM:23
(SAT M).(A 'or' B) = (SAT M).A 'or' (SAT M).B;
theorem :: PL_AXIOM:24
(SAT M).(A 'or' B) = 1 iff (SAT M).A = 1 or (SAT M).B = 1;
theorem :: PL_AXIOM:25
(SAT M).(A <=> B) = (SAT M).A <=> (SAT M).B;
theorem :: PL_AXIOM:26
(SAT M).(A <=> B) = 1 iff (SAT M).A = (SAT M).B;
definition let M,p;
pred M |= p means
:: PL_AXIOM:def 15
(SAT M).p=1;
end;
definition let M,F;
pred M |= F means
:: PL_AXIOM:def 16
for p st p in F holds M|=p;
end;
definition let F,p;
pred F |= p means
:: PL_AXIOM:def 17
for M st M |= F holds M |= p;
end;
definition let A;
attr A is tautology means
:: PL_AXIOM:def 18
for M holds (SAT M).A=1;
end;
theorem :: PL_AXIOM:27
A is tautology iff {}PL-WFF |= A;
theorem :: PL_AXIOM:28
p => (q => p) is tautology;
theorem :: PL_AXIOM:29
(p => (q => r)) => ((p => q) => (p => r)) is tautology;
theorem :: PL_AXIOM:30
('not' q => 'not' p) => (('not' q => p) => q) is tautology;
theorem :: PL_AXIOM:31
(p => q) => (('not' q) => 'not' p) is tautology;
theorem :: PL_AXIOM:32
(p '&' q) => p is tautology;
theorem :: PL_AXIOM:33
(p '&' q) => q is tautology;
theorem :: PL_AXIOM:34
p => (p 'or' q) is tautology;
theorem :: PL_AXIOM:35
q => (p 'or' q) is tautology;
theorem :: PL_AXIOM:36
(p '&' q) <=> (q '&' p) is tautology;
theorem :: PL_AXIOM:37
(p 'or' q) <=> (q 'or' p) is tautology;
theorem :: PL_AXIOM:38
(p '&' q '&' r) <=> (p '&' (q '&' r)) is tautology;
theorem :: PL_AXIOM:39
(p 'or' q 'or' r) <=> (p 'or' (q 'or' r)) is tautology;
theorem :: PL_AXIOM:40
p '&' (q 'or' r) <=> ((p '&' q) 'or' (p '&' r)) is tautology;
theorem :: PL_AXIOM:41
p 'or' (q '&' r) <=> ((p 'or' q) '&' (p 'or' r)) is tautology;
theorem :: PL_AXIOM:42
('not' 'not' p) <=> p is tautology;
theorem :: PL_AXIOM:43
'not' (p '&' q) <=> ('not' p) 'or' ('not' q) is tautology;
theorem :: PL_AXIOM:44
'not' (p 'or' q) <=> ('not' p) '&' ('not' q) is tautology;
theorem :: PL_AXIOM:45
p => q => (p => r => (p => (q '&' r))) is tautology;
theorem :: PL_AXIOM:46
p => r => (q => r => ((p 'or' q) => r)) is tautology;
theorem :: PL_AXIOM:47
F |= A & F |= A => B implies F |= B;
begin
definition let D be set;
attr D is with_PL_axioms means
:: PL_AXIOM:def 19
for p,q,r holds
(p => (q => p) in D
& (p => (q => r)) => ((
& ('not' q =A46: E =All(0H A1Th10java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
end;
definition
func PL_axioms -> Subset A49: g.x3 = [f.x3,f.x4]`1 fx3f.x4]`java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
:: PL_AXIOM:def 20
;
for D be Subset of PL-WFF st D is with_PL_axioms holds it c=D;
end;
registration
cluster A50: g.x <> f
end;
definition let q,;
pred p,q MP_rule r means
:: PL_AXIOM:def 21
q = p => r;
end;
registration
cluster PL_axioms -> non empty;
end;
definitionlet A;
attr A is axpl1 means
:: PL_AXIOM:def 22
ex p,q st A = p => end;
attr A is axpl2 means
:: PL_AXIOM:def 23
ex p,q,r st A = (p => (q => r)) => ((p end;
attr A is axpl3 means
:: PL_AXIOM:def 24
ex p,q st A = ('then[x3.] A47
end;
theorem :: PL_AXIOM:48
for A be Element of PL_axioms holds
(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
theorem :: PL_AXIOM:49
A is axpl1 or A is axpl2 or A is axpl3 implies F |forx f.>.holdsx3 :;
definition let i be Nat,f,F;
pred prc f,F,i means
:: PL_AXIOM:def 25
A57 x stg.< = and
(ex j,k be Nat st | (> ' java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 51
.,. f/.))
end;
definition A60:
pred F |- p means
:: PL_AXIOM:def 26
ex f st f.len assume that
foribe st<i&i= prcf,,;
end;
theorem :: PL_AXIOM:50
for i,n be Nat st
n+<=f2 &fork be 1< <=java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 74
1<A63: E,h |= x4 '=' x0 by ZF_MODEL:12;
theorem :: PL_AXIOM:51
f2=f^f1 & 1<=len f & 1<=len f1 &
(for i be Nat st 1<=i & i<=len f holds prc f,F,i) &
(for i be Nat st 1<=i & i<=len f1 holds prc f1,,i implies
forA64: .=a x3=.by:32128;
(f=f1^<*p*> & 1<=len f1 &h=H =x4'' by ,F_MODEL16;
for i be Nat st 1<= then
prc f,F,len f implies (for i be Nat st 1<=i & i<=len f holds prc f,F,i) &
F|-p;
theorem :: PL_AXIOM:53
p in PL_axioms or p in F implies F |- p;
theorem :: PL_AXIOM:54
F |- p & F |- p => q implies F |- q;
theorem :: PL_AXIOM:55
F= GimpliesF | p G|p)
begin
::#INSERT: Soundness theorem
:: PL_AXIOM:56
F |- A implies F |= A;
theorem :: PL_AXIOM:57
F |- A => A;
::$N Deduction theorem
::$L https://en.wikipedia.org/wiki/Deduction_theorem Deduction theorem
theorem :: PL_AXIOM:58
F \java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
theorem :: PL_AXIOM:59
F |- java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 21
theorem :: PL_AXIOM:60
F-' >A=>Bjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
theorem :: PL_AXIOM:61
F |- ('not' A => A) => A;
begin
definition
let F;
attr F is consistent means
:: PL_AXIOM:def 27
not ex p st (F |- p & F |- 'not' p);
end;
theorem :: PL_AXIOM:62
F is consistent iff ex A st not let H
theorem :: PL_AXIOM:63A2 His being_equalityor His being_membership;
not F |- A implies F \/ {'not' A} is consistent;
theorem :: PL_AXIOM:64
for F,A holds
F |- A iff ex G st G c= F & G is finite & G | let f, such that
theorem :: PL_AXIOM:65
forF st Fis
ex G st G is finite & not G A5:now
definitionassume
let F;
attr F is maximalA6: H is being_membership
:: PL_AXIOM:def 28
then
end;
A7: Free ={Var1 ,Var2 H } by ZF_MODEL:1;
F c= G & not F then Hin FreeH by TARSKIdef 2;
theorem :: PL_AXIOM:67
F is consistent & not F \/ {A} is consistent implies
F \/ {'not' A} is consistent;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 20
::$N Lindenbaum's lemma
theorem: .Var2 H)=g(Var2 ) by ;
for F A10 =(Var1 H)'in'Var2 by ,F_LANG:37;
theorem :: PL_AXIOM:69
F is maximal & F is consistent implies for p holds F |- p iffthenf(ar1 in .Var2 H) by ,ZF_MODEL:13;
::#INSERT: Completeness theorem
theorem :: PL_AXIOM:70hence thesis by A10,8A9,F_MODEL:;
F |= A implies F |- A;
theorem :: PL_AXIOM:71
A is tautology iff {}PL-WFF |- A;
¤ Dauer der Verarbeitung: 0.2 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|