HomeHome Intuitionistic Logic Explorer
Theorem List (p. 154 of 157)
< Previous  Next >
Browser slow? Try the
Unicode version.

Mirrors  >  Metamath Home Page  >  ILE Home Page  >  Theorem List Contents  >  Recent Proofs       This page: Page List

Theorem List for Intuitionistic Logic Explorer - 15301-15400   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
13.2.1.1  Stable formulas

Some of the following theorems, like bj-sttru 15302 or bj-stfal 15304 could be deduced from their analogues for decidability, but stability is not provable from decidability in minimal calculus, so direct proofs have their interest.

 
Theorembj-trst 15301 A provable formula is stable. (Contributed by BJ, 24-Nov-2023.)
 |-  ( ph  -> STAB  ph )
 
Theorembj-sttru 15302 The true truth value is stable. (Contributed by BJ, 5-Aug-2024.)
 |- STAB T.
 
Theorembj-fast 15303 A refutable formula is stable. (Contributed by BJ, 24-Nov-2023.)
 |-  ( -.  ph  -> STAB  ph )
 
Theorembj-stfal 15304 The false truth value is stable. (Contributed by BJ, 5-Aug-2024.)
 |- STAB F.
 
Theorembj-nnst 15305 Double negation of stability of a formula. Intuitionistic logic refutes unstability (but does not prove stability) of any formula. This theorem can also be proved in classical refutability calculus (see https://us.metamath.org/mpeuni/bj-peircestab.html) but not in minimal calculus (see https://us.metamath.org/mpeuni/bj-stabpeirce.html). See nnnotnotr 15552 for the version not using the definition of stability. (Contributed by BJ, 9-Oct-2019.) Prove it in  (  ->  ,  -.  ) -intuitionistic calculus with definitions (uses of ax-ia1 106, ax-ia2 107, ax-ia3 108 are via sylibr 134, necessary for definition unpackaging), and in  (  ->  ,  <->  ,  -.  )-intuitionistic calculus, following a discussion with Jim Kingdon. (Revised by BJ, 27-Oct-2024.)
 |-  -.  -. STAB  ph
 
Theorembj-nnbist 15306 If a formula is not refutable, then it is stable if and only if it is provable. By double-negation translation, if  ph is a classical tautology, then  -.  -.  ph is an intuitionistic tautology. Therefore, if  ph is a classical tautology, then  ph is intuitionistically equivalent to its stability (and to its decidability, see bj-nnbidc 15319). (Contributed by BJ, 24-Nov-2023.)
 |-  ( -.  -.  ph  ->  (STAB  ph  <->  ph ) )
 
Theorembj-stst 15307 Stability of a proposition is stable if and only if that proposition is stable. STAB is idempotent. (Contributed by BJ, 9-Oct-2019.)
 |-  (STAB STAB  ph  <-> STAB  ph )
 
Theorembj-stim 15308 A conjunction with a stable consequent is stable. See stabnot 834 for negation , bj-stan 15309 for conjunction , and bj-stal 15311 for universal quantification. (Contributed by BJ, 24-Nov-2023.)
 |-  (STAB  ps  -> STAB  (
 ph  ->  ps ) )
 
Theorembj-stan 15309 The conjunction of two stable formulas is stable. See bj-stim 15308 for implication, stabnot 834 for negation, and bj-stal 15311 for universal quantification. (Contributed by BJ, 24-Nov-2023.)
 |-  (
 (STAB  ph  /\ STAB 
 ps )  -> STAB  ( ph  /\  ps ) )
 
Theorembj-stand 15310 The conjunction of two stable formulas is stable. Deduction form of bj-stan 15309. Its proof is shorter (when counting all steps, including syntactic steps), so one could prove it first and then bj-stan 15309 from it, the usual way. (Contributed by BJ, 24-Nov-2023.) (Proof modification is discouraged.)
 |-  ( ph  -> STAB  ps )   &    |-  ( ph  -> STAB  ch )   =>    |-  ( ph  -> STAB 
 ( ps  /\  ch ) )
 
Theorembj-stal 15311 The universal quantification of a stable formula is stable. See bj-stim 15308 for implication, stabnot 834 for negation, and bj-stan 15309 for conjunction. (Contributed by BJ, 24-Nov-2023.)
 |-  ( A. xSTAB 
 ph  -> STAB  A. x ph )
 
Theorembj-pm2.18st 15312 Clavius law for stable formulas. See pm2.18dc 856. (Contributed by BJ, 4-Dec-2023.)
 |-  (STAB  ph  ->  ( ( -.  ph  ->  ph )  ->  ph ) )
 
Theorembj-con1st 15313 Contraposition when the antecedent is a negated stable proposition. See con1dc 857. (Contributed by BJ, 11-Nov-2024.)
 |-  (STAB  ph  ->  ( ( -.  ph  ->  ps )  ->  ( -.  ps 
 ->  ph ) ) )
 
13.2.1.2  Decidable formulas
 
Theorembj-trdc 15314 A provable formula is decidable. (Contributed by BJ, 24-Nov-2023.)
 |-  ( ph  -> DECID  ph )
 
Theorembj-dctru 15315 The true truth value is decidable. (Contributed by BJ, 5-Aug-2024.)
 |- DECID T.
 
Theorembj-fadc 15316 A refutable formula is decidable. (Contributed by BJ, 24-Nov-2023.)
 |-  ( -.  ph  -> DECID  ph )
 
Theorembj-dcfal 15317 The false truth value is decidable. (Contributed by BJ, 5-Aug-2024.)
 |- DECID F.
 
Theorembj-dcstab 15318 A decidable formula is stable. (Contributed by BJ, 24-Nov-2023.) (Proof modification is discouraged.)
 |-  (DECID  ph  -> STAB  ph )
 
Theorembj-nnbidc 15319 If a formula is not refutable, then it is decidable if and only if it is provable. See also comment of bj-nnbist 15306. (Contributed by BJ, 24-Nov-2023.)
 |-  ( -.  -.  ph  ->  (DECID  ph  <->  ph ) )
 
Theorembj-nndcALT 15320 Alternate proof of nndc 852. (Proof modification is discouraged.) (New usage is discouraged.) (Contributed by BJ, 9-Oct-2019.)
 |-  -.  -. DECID  ph
 
Theorembj-dcdc 15321 Decidability of a proposition is decidable if and only if that proposition is decidable. DECID is idempotent. (Contributed by BJ, 9-Oct-2019.)
 |-  (DECID DECID  ph  <-> DECID  ph )
 
Theorembj-stdc 15322 Decidability of a proposition is stable if and only if that proposition is decidable. In particular, the assumption that every formula is stable implies that every formula is decidable, hence classical logic. (Contributed by BJ, 9-Oct-2019.)
 |-  (STAB DECID  ph  <-> DECID  ph )
 
Theorembj-dcst 15323 Stability of a proposition is decidable if and only if that proposition is stable. (Contributed by BJ, 24-Nov-2023.)
 |-  (DECID STAB  ph  <-> STAB  ph )
 
13.2.2  Predicate calculus
 
Theorembj-ex 15324* Existential generalization. (Contributed by BJ, 8-Dec-2019.) Proof modification is discouraged because there are shorter proofs, but using less basic results (like exlimiv 1609 and 19.9ht 1652 or 19.23ht 1508). (Proof modification is discouraged.)
 |-  ( E. x ph  ->  ph )
 
Theorembj-hbalt 15325 Closed form of hbal 1488 (copied from set.mm). (Contributed by BJ, 2-May-2019.)
 |-  ( A. y ( ph  ->  A. x ph )  ->  ( A. y ph  ->  A. x A. y ph ) )
 
Theorembj-nfalt 15326 Closed form of nfal 1587 (copied from set.mm). (Contributed by BJ, 2-May-2019.) (Proof modification is discouraged.)
 |-  ( A. x F/ y ph  ->  F/ y A. x ph )
 
Theoremspimd 15327 Deduction form of spim 1749. (Contributed by BJ, 17-Oct-2019.)
 |-  ( ph  ->  F/ x ch )   &    |-  ( ph  ->  A. x ( x  =  y  ->  ( ps  ->  ch )
 ) )   =>    |-  ( ph  ->  ( A. x ps  ->  ch )
 )
 
Theorem2spim 15328* Double substitution, as in spim 1749. (Contributed by BJ, 17-Oct-2019.)
 |-  F/ x ch   &    |-  F/ z ch   &    |-  ( ( x  =  y  /\  z  =  t )  ->  ( ps  ->  ch ) )   =>    |-  ( A. z A. x ps  ->  ch )
 
Theoremch2var 15329* Implicit substitution of  y for  x and  t for  z into a theorem. (Contributed by BJ, 17-Oct-2019.)
 |-  F/ x ps   &    |-  F/ z ps   &    |-  ( ( x  =  y  /\  z  =  t )  ->  ( ph 
 <->  ps ) )   &    |-  ph   =>    |- 
 ps
 
Theoremch2varv 15330* Version of ch2var 15329 with nonfreeness hypotheses replaced with disjoint variable conditions. (Contributed by BJ, 17-Oct-2019.)
 |-  (
 ( x  =  y 
 /\  z  =  t )  ->  ( ph  <->  ps ) )   &    |-  ph   =>    |- 
 ps
 
Theorembj-exlimmp 15331 Lemma for bj-vtoclgf 15338. (Contributed by BJ, 21-Nov-2019.) (Proof modification is discouraged.)
 |-  F/ x ps   &    |-  ( ch  ->  ph )   =>    |-  ( A. x ( ch  ->  ( ph  ->  ps ) )  ->  ( E. x ch  ->  ps ) )
 
Theorembj-exlimmpi 15332 Lemma for bj-vtoclgf 15338. (Contributed by BJ, 21-Nov-2019.) (Proof modification is discouraged.)
 |-  F/ x ps   &    |-  ( ch  ->  ph )   &    |-  ( ch  ->  (
 ph  ->  ps ) )   =>    |-  ( E. x ch  ->  ps )
 
Theorembj-sbimedh 15333 A strengthening of sbiedh 1798 (same proof). (Contributed by BJ, 16-Dec-2019.)
 |-  ( ph  ->  A. x ph )   &    |-  ( ph  ->  ( ch  ->  A. x ch ) )   &    |-  ( ph  ->  ( x  =  y  ->  ( ps 
 ->  ch ) ) )   =>    |-  ( ph  ->  ( [
 y  /  x ] ps  ->  ch ) )
 
Theorembj-sbimeh 15334 A strengthening of sbieh 1801 (same proof). (Contributed by BJ, 16-Dec-2019.)
 |-  ( ps  ->  A. x ps )   &    |-  ( x  =  y  ->  (
 ph  ->  ps ) )   =>    |-  ( [ y  /  x ] ph  ->  ps )
 
Theorembj-sbime 15335 A strengthening of sbie 1802 (same proof). (Contributed by BJ, 16-Dec-2019.)
 |-  F/ x ps   &    |-  ( x  =  y  ->  ( ph  ->  ps ) )   =>    |-  ( [ y  /  x ] ph  ->  ps )
 
13.2.3  Set theorey miscellaneous
 
Theorembj-el2oss1o 15336 Shorter proof of el2oss1o 6498 using more axioms. (Contributed by BJ, 21-Jan-2024.) (Proof modification is discouraged.) (New usage is discouraged.)
 |-  ( A  e.  2o  ->  A 
 C_  1o )
 
13.2.4  Extensionality

Various utility theorems using FOL and extensionality.

 
Theorembj-vtoclgft 15337 Weakening two hypotheses of vtoclgf 2819. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |- 
 F/ x ps   &    |-  ( x  =  A  ->  ph )   =>    |-  ( A. x ( x  =  A  ->  (
 ph  ->  ps ) )  ->  ( A  e.  V  ->  ps ) )
 
Theorembj-vtoclgf 15338 Weakening two hypotheses of vtoclgf 2819. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |- 
 F/ x ps   &    |-  ( x  =  A  ->  ph )   &    |-  ( x  =  A  ->  ( ph  ->  ps ) )   =>    |-  ( A  e.  V  ->  ps )
 
Theoremelabgf0 15339 Lemma for elabgf 2903. (Contributed by BJ, 21-Nov-2019.)
 |-  ( x  =  A  ->  ( A  e.  { x  |  ph }  <->  ph ) )
 
Theoremelabgft1 15340 One implication of elabgf 2903, in closed form. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |- 
 F/ x ps   =>    |-  ( A. x ( x  =  A  ->  ( ph  ->  ps )
 )  ->  ( A  e.  { x  |  ph } 
 ->  ps ) )
 
Theoremelabgf1 15341 One implication of elabgf 2903. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |- 
 F/ x ps   &    |-  ( x  =  A  ->  (
 ph  ->  ps ) )   =>    |-  ( A  e.  { x  |  ph }  ->  ps )
 
Theoremelabgf2 15342 One implication of elabgf 2903. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |- 
 F/ x ps   &    |-  ( x  =  A  ->  ( ps  ->  ph ) )   =>    |-  ( A  e.  B  ->  ( ps  ->  A  e.  { x  |  ph } ) )
 
Theoremelabf1 15343* One implication of elabf 2904. (Contributed by BJ, 21-Nov-2019.)
 |-  F/ x ps   &    |-  ( x  =  A  ->  ( ph  ->  ps ) )   =>    |-  ( A  e.  { x  |  ph }  ->  ps )
 
Theoremelabf2 15344* One implication of elabf 2904. (Contributed by BJ, 21-Nov-2019.)
 |-  F/ x ps   &    |-  A  e.  _V   &    |-  ( x  =  A  ->  ( ps  ->  ph ) )   =>    |-  ( ps  ->  A  e.  { x  |  ph } )
 
Theoremelab1 15345* One implication of elab 2905. (Contributed by BJ, 21-Nov-2019.)
 |-  ( x  =  A  ->  (
 ph  ->  ps ) )   =>    |-  ( A  e.  { x  |  ph }  ->  ps )
 
Theoremelab2a 15346* One implication of elab 2905. (Contributed by BJ, 21-Nov-2019.)
 |-  A  e.  _V   &    |-  ( x  =  A  ->  ( ps  -> 
 ph ) )   =>    |-  ( ps  ->  A  e.  { x  |  ph
 } )
 
Theoremelabg2 15347* One implication of elabg 2907. (Contributed by BJ, 21-Nov-2019.)
 |-  ( x  =  A  ->  ( ps  ->  ph ) )   =>    |-  ( A  e.  V  ->  ( ps  ->  A  e.  { x  |  ph } ) )
 
Theorembj-rspgt 15348 Restricted specialization, generalized. Weakens a hypothesis of rspccv 2862 and seems to have a shorter proof. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |-  F/_ x B   &    |-  F/ x ps   =>    |-  ( A. x ( x  =  A  ->  ( ph  ->  ps ) )  ->  ( A. x  e.  B  ph 
 ->  ( A  e.  B  ->  ps ) ) )
 
Theorembj-rspg 15349 Restricted specialization, generalized. Weakens a hypothesis of rspccv 2862 and seems to have a shorter proof. (Contributed by BJ, 21-Nov-2019.)
 |-  F/_ x A   &    |-  F/_ x B   &    |-  F/ x ps   &    |-  ( x  =  A  ->  (
 ph  ->  ps ) )   =>    |-  ( A. x  e.  B  ph  ->  ( A  e.  B  ->  ps )
 )
 
Theoremcbvrald 15350* Rule used to change bound variables, using implicit substitution. (Contributed by BJ, 22-Nov-2019.)
 |-  F/ x ph   &    |-  F/ y ph   &    |-  ( ph  ->  F/ y ps )   &    |-  ( ph  ->  F/ x ch )   &    |-  ( ph  ->  ( x  =  y  ->  ( ps  <->  ch ) ) )   =>    |-  ( ph  ->  (
 A. x  e.  A  ps 
 <-> 
 A. y  e.  A  ch ) )
 
Theorembj-intabssel 15351 Version of intss1 3886 using a class abstraction and explicit substitution. (Contributed by BJ, 29-Nov-2019.)
 |-  F/_ x A   =>    |-  ( A  e.  V  ->  ( [. A  /  x ]. ph  ->  |^| { x  |  ph }  C_  A ) )
 
Theorembj-intabssel1 15352 Version of intss1 3886 using a class abstraction and implicit substitution. Closed form of intmin3 3898. (Contributed by BJ, 29-Nov-2019.)
 |-  F/_ x A   &    |- 
 F/ x ps   &    |-  ( x  =  A  ->  ( ps  ->  ph ) )   =>    |-  ( A  e.  V  ->  ( ps  ->  |^| { x  |  ph }  C_  A ) )
 
Theorembj-elssuniab 15353 Version of elssuni 3864 using a class abstraction and explicit substitution. (Contributed by BJ, 29-Nov-2019.)
 |-  F/_ x A   =>    |-  ( A  e.  V  ->  ( [. A  /  x ]. ph  ->  A  C_  U.
 { x  |  ph } ) )
 
Theorembj-sseq 15354 If two converse inclusions are characterized each by a formula, then equality is characterized by the conjunction of these formulas. (Contributed by BJ, 30-Nov-2019.)
 |-  ( ph  ->  ( ps  <->  A  C_  B ) )   &    |-  ( ph  ->  ( ch  <->  B  C_  A ) )   =>    |-  ( ph  ->  (
 ( ps  /\  ch ) 
 <->  A  =  B ) )
 
13.2.5  Decidability of classes

The question of decidability is essential in intuitionistic logic. In intuitionistic set theories, it is natural to define decidability of a set (or class) as decidability of membership in it. One can parameterize this notion with another set (or class) since it is often important to assess decidability of membership in one class among elements of another class. Namely, one will say that "
A is decidable in  B " if  A. x  e.  BDECID  x  e.  A (see df-dcin 15356).

Note the similarity with the definition of a bounded class as a class for which membership in it is a bounded proposition (df-bdc 15403).

 
Syntaxwdcin 15355 Syntax for decidability of a class in another.
 wff  A DECIDin  B
 
Definitiondf-dcin 15356* Define decidability of a class in another. (Contributed by BJ, 19-Feb-2022.)
 |-  ( A DECIDin  B  <->  A. x  e.  B DECID  x  e.  A )
 
Theoremdecidi 15357 Property of being decidable in another class. (Contributed by BJ, 19-Feb-2022.)
 |-  ( A DECIDin  B  ->  ( X  e.  B  ->  ( X  e.  A  \/  -.  X  e.  A ) ) )
 
Theoremdecidr 15358* Sufficient condition for being decidable in another class. (Contributed by BJ, 19-Feb-2022.)
 |-  ( ph  ->  ( x  e.  B  ->  ( x  e.  A  \/  -.  x  e.  A ) ) )   =>    |-  ( ph  ->  A DECIDin  B )
 
Theoremdecidin 15359 If A is a decidable subclass of B (meaning: it is a subclass of B and it is decidable in B), and B is decidable in C, then A is decidable in C. (Contributed by BJ, 19-Feb-2022.)
 |-  ( ph  ->  A  C_  B )   &    |-  ( ph  ->  A DECIDin  B )   &    |-  ( ph  ->  B DECIDin  C )   =>    |-  ( ph  ->  A DECIDin  C )
 
Theoremuzdcinzz 15360 An upperset of integers is decidable in the integers. Reformulation of eluzdc 9678. (Contributed by Jim Kingdon, 18-Apr-2020.) (Revised by BJ, 19-Feb-2022.)
 |-  ( M  e.  ZZ  ->  (
 ZZ>= `  M ) DECIDin  ZZ )
 
Theoremsumdc2 15361* Alternate proof of sumdc 11504, without disjoint variable condition on  N ,  x (longer because the statement is taylored to the proof sumdc 11504). (Contributed by BJ, 19-Feb-2022.)
 |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  A  C_  ( ZZ>= `  M )
 )   &    |-  ( ph  ->  A. x  e.  ( ZZ>= `  M )DECID  x  e.  A )   &    |-  ( ph  ->  N  e.  ZZ )   =>    |-  ( ph  -> DECID  N  e.  A )
 
13.2.6  Disjoint union
 
Theoremdjucllem 15362* Lemma for djulcl 7112 and djurcl 7113. (Contributed by BJ, 4-Jul-2022.)
 |-  X  e.  _V   &    |-  F  =  ( x  e.  _V  |->  <. X ,  x >. )   =>    |-  ( A  e.  B  ->  ( ( F  |`  B ) `
  A )  e.  ( { X }  X.  B ) )
 
TheoremdjulclALT 15363 Shortening of djulcl 7112 using djucllem 15362. (Contributed by BJ, 4-Jul-2022.) (Proof modification is discouraged.) (New usage is discouraged.)
 |-  ( C  e.  A  ->  ( (inl  |`  A ) `  C )  e.  ( A B ) )
 
TheoremdjurclALT 15364 Shortening of djurcl 7113 using djucllem 15362. (Contributed by BJ, 4-Jul-2022.) (Proof modification is discouraged.) (New usage is discouraged.)
 |-  ( C  e.  B  ->  ( (inr  |`  B ) `  C )  e.  ( A B ) )
 
13.2.7  Miscellaneous
 
Theoremfunmptd 15365 The maps-to notation defines a function (deduction form).

Note: one should similarly prove a deduction form of funopab4 5292, then prove funmptd 15365 from it, and then prove funmpt 5293 from that: this would reduce global proof length. (Contributed by BJ, 5-Aug-2024.)

 |-  ( ph  ->  F  =  ( x  e.  A  |->  B ) )   =>    |-  ( ph  ->  Fun  F )
 
Theoremfnmptd 15366* The maps-to notation defines a function with domain (deduction form). (Contributed by BJ, 5-Aug-2024.)
 |-  ( ph  ->  F  =  ( x  e.  A  |->  B ) )   &    |-  ( ( ph  /\  x  e.  A ) 
 ->  B  e.  V )   =>    |-  ( ph  ->  F  Fn  A )
 
Theoremif0ab 15367* Expression of a conditional class as a class abstraction when the False alternative is the empty class: in that case, the conditional class is the extension, in the True alternative, of the condition.

Remark: a consequence which could be formalized is the inclusion  |-  if (
ph ,  A ,  (/) )  C_  A and therefore, using elpwg 3610,  |-  ( A  e.  V  ->  if ( ph ,  A ,  (/) )  e.  ~P A
), from which fmelpw1o 15368 could be derived, yielding an alternative proof. (Contributed by BJ, 16-Aug-2024.)

 |-  if ( ph ,  A ,  (/) )  =  { x  e.  A  |  ph }
 
Theoremfmelpw1o 15368 With a formula  ph one can associate an element of 
~P 1o, which can therefore be thought of as the set of "truth values" (but recall that there are no other genuine truth values than T. and F., by nndc 852, which translate to  1o and  (/) respectively by iftrue 3563 and iffalse 3566, giving pwtrufal 15558).

As proved in if0ab 15367, the associated element of  ~P 1o is the extension, in  ~P 1o, of the formula  ph. (Contributed by BJ, 15-Aug-2024.)

 |-  if ( ph ,  1o ,  (/) )  e.  ~P 1o
 
Theorembj-charfun 15369* Properties of the characteristic function on the class  X of the class  A. (Contributed by BJ, 15-Aug-2024.)
 |-  ( ph  ->  F  =  ( x  e.  X  |->  if ( x  e.  A ,  1o ,  (/) ) ) )   =>    |-  ( ph  ->  (
 ( F : X --> ~P 1o  /\  ( F  |`  ( ( X  i^i  A )  u.  ( X 
 \  A ) ) ) : ( ( X  i^i  A )  u.  ( X  \  A ) ) --> 2o )  /\  ( A. x  e.  ( X  i^i  A ) ( F `  x )  =  1o  /\ 
 A. x  e.  ( X  \  A ) ( F `  x )  =  (/) ) ) )
 
Theorembj-charfundc 15370* Properties of the characteristic function on the class  X of the class  A, provided membership in  A is decidable in  X. (Contributed by BJ, 6-Aug-2024.)
 |-  ( ph  ->  F  =  ( x  e.  X  |->  if ( x  e.  A ,  1o ,  (/) ) ) )   &    |-  ( ph  ->  A. x  e.  X DECID  x  e.  A )   =>    |-  ( ph  ->  ( F : X --> 2o  /\  ( A. x  e.  ( X  i^i  A ) ( F `  x )  =  1o  /\  A. x  e.  ( X  \  A ) ( F `
  x )  =  (/) ) ) )
 
Theorembj-charfundcALT 15371* Alternate proof of bj-charfundc 15370. It was expected to be much shorter since it uses bj-charfun 15369 for the main part of the proof and the rest is basic computations, but these turn out to be lengthy, maybe because of the limited library of available lemmas. (Contributed by BJ, 15-Aug-2024.) (Proof modification is discouraged.) (New usage is discouraged.)
 |-  ( ph  ->  F  =  ( x  e.  X  |->  if ( x  e.  A ,  1o ,  (/) ) ) )   &    |-  ( ph  ->  A. x  e.  X DECID  x  e.  A )   =>    |-  ( ph  ->  ( F : X --> 2o  /\  ( A. x  e.  ( X  i^i  A ) ( F `  x )  =  1o  /\  A. x  e.  ( X  \  A ) ( F `
  x )  =  (/) ) ) )
 
Theorembj-charfunr 15372* If a class  A has a "weak" characteristic function on a class  X, then negated membership in 
A is decidable (in other words, membership in  A is testable) in  X.

The hypothesis imposes that 
X be a set. As usual, it could be formulated as  |-  ( ph  ->  ( F : X --> om  /\  ... ) ) to deal with general classes, but that extra generality would not make the theorem much more useful.

The theorem would still hold if the codomain of  f were any class with testable equality to the point where  ( X  \  A ) is sent. (Contributed by BJ, 6-Aug-2024.)

 |-  ( ph  ->  E. f  e.  ( om  ^m  X ) (
 A. x  e.  ( X  i^i  A ) ( f `  x )  =/=  (/)  /\  A. x  e.  ( X  \  A ) ( f `  x )  =  (/) ) )   =>    |-  ( ph  ->  A. x  e.  X DECID 
 -.  x  e.  A )
 
Theorembj-charfunbi 15373* In an ambient set  X, if membership in  A is stable, then it is decidable if and only if  A has a characteristic function.

This characterization can be applied to singletons when the set  X has stable equality, which is the case as soon as it has a tight apartness relation. (Contributed by BJ, 6-Aug-2024.)

 |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  A. x  e.  X STAB  x  e.  A )   =>    |-  ( ph  ->  ( A. x  e.  X DECID  x  e.  A 
 <-> 
 E. f  e.  ( 2o  ^m  X ) (
 A. x  e.  ( X  i^i  A ) ( f `  x )  =  1o  /\  A. x  e.  ( X  \  A ) ( f `
  x )  =  (/) ) ) )
 
13.2.8  Constructive Zermelo--Fraenkel set theory (CZF): Bounded formulas and classes

This section develops constructive Zermelo--Fraenkel set theory (CZF) on top of intuitionistic logic. It is a constructive theory in the sense that its logic is intuitionistic and it is predicative. "Predicative" means that new sets can be constructed only from already constructed sets. In particular, the axiom of separation ax-sep 4148 is not predicative (because we cannot allow all formulas to define a subset) and is replaced in CZF by bounded separation ax-bdsep 15446. Because this axiom is weaker than full separation, the axiom of replacement or collection ax-coll 4145 of ZF and IZF has to be strengthened in CZF to the axiom of strong collection ax-strcoll 15544 (which is a theorem of IZF), and the axiom of infinity needs a more precise version, the von Neumann axiom of infinity ax-infvn 15503. Similarly, the axiom of powerset ax-pow 4204 is not predicative (checking whether a set is included in another requires to universally quantifier over that "not yet constructed" set) and is replaced in CZF by the axiom of fullness or the axiom of subset collection ax-sscoll 15549.

In an intuitionistic context, the axiom of regularity is stated in IZF as well as in CZF as the axiom of set induction ax-setind 4570. It is sometimes interesting to study the weakening of CZF where that axiom is replaced by bounded set induction ax-bdsetind 15530.

For more details on CZF, a useful set of notes is

Peter Aczel and Michael Rathjen, CST Book draft. (available at http://www1.maths.leeds.ac.uk/~rathjen/book.pdf 15530)

and an interesting article is

Michael Shulman, Comparing material and structural set theories, Annals of Pure and Applied Logic, Volume 170, Issue 4 (Apr. 2019), 465--504. https://doi.org/10.48550/arXiv.1808.05204 15530

I also thank Michael Rathjen and Michael Shulman for useful hints in the formulation of some results.

 
13.2.8.1  Bounded formulas

The present definition of bounded formulas emerged from a discussion on GitHub between Jim Kingdon, Mario Carneiro and I, started 23-Sept-2019 (see https://github.com/metamath/set.mm/issues/1173 and links therein).

In order to state certain axiom schemes of Constructive Zermelo–Fraenkel (CZF) set theory, like the axiom scheme of bounded (or restricted, or Δ0) separation, it is necessary to distinguish certain formulas, called bounded (or restricted, or Δ0) formulas. The necessity of considering bounded formulas also arises in several theories of bounded arithmetic, both classical or intuitionistic, for instance to state the axiom scheme of Δ0-induction.

To formalize this in Metamath, there are several choices to make.

A first choice is to either create a new type for bounded formulas, or to create a predicate on formulas that indicates whether they are bounded. In the first case, one creates a new type "wff0" with a new set of metavariables (ph0 ...) and an axiom "$a wff ph0 " ensuring that bounded formulas are formulas, so that one can reuse existing theorems, and then axioms take the form "$a wff0 ( ph0 -> ps0 )", etc. In the second case, one introduces a predicate "BOUNDED " with the intended meaning that "BOUNDED  ph " is a formula meaning that  ph is a bounded formula. We choose the second option, since the first would complicate the grammar, risking to make it ambiguous. (TODO: elaborate.)

A second choice is to view "bounded" either as a syntactic or a semantic property. For instance,  A. x T. is not syntactically bounded since it has an unbounded universal quantifier, but it is semantically bounded since it is equivalent to T. which is bounded. We choose the second option, so that formulas using defined symbols can be proved bounded.

A third choice is in the form of the axioms, either in closed form or in inference form. One cannot state all the axioms in closed form, especially ax-bd0 15375. Indeed, if we posited it in closed form, then we could prove for instance  |-  ( ph  -> BOUNDED  ph ) and  |-  ( -.  ph  -> BOUNDED  ph ) which is problematic (with the law of excluded middle, this would entail that all formulas are bounded, but even without it, too many formulas could be proved bounded...). (TODO: elaborate.)

Having ax-bd0 15375 in inference form ensures that a formula can be proved bounded only if it is equivalent *for all values of the free variables* to a syntactically bounded one. The other axioms (ax-bdim 15376 through ax-bdsb 15384) can be written either in closed or inference form. The fact that ax-bd0 15375 is an inference is enough to ensure that the closed forms cannot be "exploited" to prove that some unbounded formulas are bounded. (TODO: check.) However, we state all the axioms in inference form to make it clear that we do not exploit any over-permissiveness.

Finally, note that our logic has no terms, only variables. Therefore, we cannot prove for instance that  x  e.  om is a bounded formula. However, since  om can be defined as "the  y such that PHI" a proof using the fact that  x  e.  om is bounded can be converted to a proof in iset.mm by replacing  om with  y everywhere and prepending the antecedent PHI, since  x  e.  y is bounded by ax-bdel 15383. For a similar method, see bj-omtrans 15518.

Note that one cannot add an axiom  |- BOUNDED  x  e.  A since by bdph 15412 it would imply that every formula is bounded.

 
Syntaxwbd 15374 Syntax for the predicate BOUNDED.
 wff BOUNDED  ph
 
Axiomax-bd0 15375 If two formulas are equivalent, then boundedness of one implies boundedness of the other. (Contributed by BJ, 3-Oct-2019.)
 |-  ( ph 
 <->  ps )   =>    |-  (BOUNDED  ph  -> BOUNDED  ps )
 
Axiomax-bdim 15376 An implication between two bounded formulas is bounded. (Contributed by BJ, 25-Sep-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   =>    |- BOUNDED  ( ph  ->  ps )
 
Axiomax-bdan 15377 The conjunction of two bounded formulas is bounded. (Contributed by BJ, 25-Sep-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   =>    |- BOUNDED  ( ph  /\  ps )
 
Axiomax-bdor 15378 The disjunction of two bounded formulas is bounded. (Contributed by BJ, 25-Sep-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   =>    |- BOUNDED  ( ph  \/  ps )
 
Axiomax-bdn 15379 The negation of a bounded formula is bounded. (Contributed by BJ, 25-Sep-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED  -.  ph
 
Axiomax-bdal 15380* A bounded universal quantification of a bounded formula is bounded. Note the disjoint variable condition on  x ,  y. (Contributed by BJ, 25-Sep-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED  A. x  e.  y  ph
 
Axiomax-bdex 15381* A bounded existential quantification of a bounded formula is bounded. Note the disjoint variable condition on  x ,  y. (Contributed by BJ, 25-Sep-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED  E. x  e.  y  ph
 
Axiomax-bdeq 15382 An atomic formula is bounded (equality predicate). (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  x  =  y
 
Axiomax-bdel 15383 An atomic formula is bounded (membership predicate). (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  x  e.  y
 
Axiomax-bdsb 15384 A formula resulting from proper substitution in a bounded formula is bounded. This probably cannot be proved from the other axioms, since neither the definiens in df-sb 1774, nor probably any other equivalent formula, is syntactically bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED  [
 y  /  x ] ph
 
Theorembdeq 15385 Equality property for the predicate BOUNDED. (Contributed by BJ, 3-Oct-2019.)
 |-  ( ph 
 <->  ps )   =>    |-  (BOUNDED  ph 
 <-> BOUNDED  ps )
 
Theorembd0 15386 A formula equivalent to a bounded one is bounded. See also bd0r 15387. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   &    |-  ( ph  <->  ps )   =>    |- BOUNDED  ps
 
Theorembd0r 15387 A formula equivalent to a bounded one is bounded. Stated with a commuted (compared with bd0 15386) biconditional in the hypothesis, to work better with definitions (
ps is the definiendum that one wants to prove bounded). (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   &    |-  ( ps  <->  ph )   =>    |- BOUNDED  ps
 
Theorembdbi 15388 A biconditional between two bounded formulas is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   =>    |- BOUNDED  ( ph 
 <->  ps )
 
Theorembdstab 15389 Stability of a bounded formula is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED STAB  ph
 
Theorembddc 15390 Decidability of a bounded formula is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED DECID  ph
 
Theorembd3or 15391 A disjunction of three bounded formulas is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   &    |- BOUNDED  ch   =>    |- BOUNDED  ( ph  \/  ps  \/  ch )
 
Theorembd3an 15392 A conjunction of three bounded formulas is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   &    |- BOUNDED  ch   =>    |- BOUNDED  ( ph  /\  ps  /\ 
 ch )
 
Theorembdth 15393 A truth (a (closed) theorem) is a bounded formula. (Contributed by BJ, 6-Oct-2019.)
 |-  ph   =>    |- BOUNDED  ph
 
Theorembdtru 15394 The truth value T. is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED T.
 
Theorembdfal 15395 The truth value F. is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED F.
 
Theorembdnth 15396 A falsity is a bounded formula. (Contributed by BJ, 6-Oct-2019.)
 |-  -.  ph   =>    |- BOUNDED  ph
 
TheorembdnthALT 15397 Alternate proof of bdnth 15396 not using bdfal 15395. Then, bdfal 15395 can be proved from this theorem, using fal 1371. The total number of proof steps would be 17 (for bdnthALT 15397) + 3 = 20, which is more than 8 (for bdfal 15395) + 9 (for bdnth 15396) = 17. (Contributed by BJ, 6-Oct-2019.) (Proof modification is discouraged.) (New usage is discouraged.)
 |-  -.  ph   =>    |- BOUNDED  ph
 
Theorembdxor 15398 The exclusive disjunction of two bounded formulas is bounded. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   &    |- BOUNDED  ps   =>    |- BOUNDED  ( ph  \/_  ps )
 
Theorembj-bdcel 15399* Boundedness of a membership formula. (Contributed by BJ, 8-Dec-2019.)
 |- BOUNDED  y  =  A   =>    |- BOUNDED  A  e.  x
 
Theorembdab 15400 Membership in a class defined by class abstraction using a bounded formula, is a bounded formula. (Contributed by BJ, 3-Oct-2019.)
 |- BOUNDED  ph   =>    |- BOUNDED  x  e.  { y  |  ph }
    < Previous  Next >

Page List
Jump to page: Contents  1 1-100 2 101-200 3 201-300 4 301-400 5 401-500 6 501-600 7 601-700 8 701-800 9 801-900 10 901-1000 11 1001-1100 12 1101-1200 13 1201-1300 14 1301-1400 15 1401-1500 16 1501-1600 17 1601-1700 18 1701-1800 19 1801-1900 20 1901-2000 21 2001-2100 22 2101-2200 23 2201-2300 24 2301-2400 25 2401-2500 26 2501-2600 27 2601-2700 28 2701-2800 29 2801-2900 30 2901-3000 31 3001-3100 32 3101-3200 33 3201-3300 34 3301-3400 35 3401-3500 36 3501-3600 37 3601-3700 38 3701-3800 39 3801-3900 40 3901-4000 41 4001-4100 42 4101-4200 43 4201-4300 44 4301-4400 45 4401-4500 46 4501-4600 47 4601-4700 48 4701-4800 49 4801-4900 50 4901-5000 51 5001-5100 52 5101-5200 53 5201-5300 54 5301-5400 55 5401-5500 56 5501-5600 57 5601-5700 58 5701-5800 59 5801-5900 60 5901-6000 61 6001-6100 62 6101-6200 63 6201-6300 64 6301-6400 65 6401-6500 66 6501-6600 67 6601-6700 68 6701-6800 69 6801-6900 70 6901-7000 71 7001-7100 72 7101-7200 73 7201-7300 74 7301-7400 75 7401-7500 76 7501-7600 77 7601-7700 78 7701-7800 79 7801-7900 80 7901-8000 81 8001-8100 82 8101-8200 83 8201-8300 84 8301-8400 85 8401-8500 86 8501-8600 87 8601-8700 88 8701-8800 89 8801-8900 90 8901-9000 91 9001-9100 92 9101-9200 93 9201-9300 94 9301-9400 95 9401-9500 96 9501-9600 97 9601-9700 98 9701-9800 99 9801-9900 100 9901-10000 101 10001-10100 102 10101-10200 103 10201-10300 104 10301-10400 105 10401-10500 106 10501-10600 107 10601-10700 108 10701-10800 109 10801-10900 110 10901-11000 111 11001-11100 112 11101-11200 113 11201-11300 114 11301-11400 115 11401-11500 116 11501-11600 117 11601-11700 118 11701-11800 119 11801-11900 120 11901-12000 121 12001-12100 122 12101-12200 123 12201-12300 124 12301-12400 125 12401-12500 126 12501-12600 127 12601-12700 128 12701-12800 129 12801-12900 130 12901-13000 131 13001-13100 132 13101-13200 133 13201-13300 134 13301-13400 135 13401-13500 136 13501-13600 137 13601-13700 138 13701-13800 139 13801-13900 140 13901-14000 141 14001-14100 142 14101-14200 143 14201-14300 144 14301-14400 145 14401-14500 146 14501-14600 147 14601-14700 148 14701-14800 149 14801-14900 150 14901-15000 151 15001-15100 152 15101-15200 153 15201-15300 154 15301-15400 155 15401-15500 156 15501-15600 157 15601-15644
  Copyright terms: Public domain < Previous  Next >