HomeHome Intuitionistic Logic Explorer
Theorem List (p. 131 of 165)
< Previous  Next >
Bad symbols? Try the
GIF version.

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

Theorem List for Intuitionistic Logic Explorer - 13001-13100   *Has distinct variable group(s)
TypeLabelDescription
Statement
 
Theoremennnfonelemnn0 13001* Lemma for ennnfone 13004. A version of ennnfonelemen 13000 expressed in terms of 0 instead of ω. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ℕ0onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝐹𝑘) ≠ (𝐹𝑗))    &   𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)       (𝜑𝐴 ≈ ℕ)
 
Theoremennnfonelemr 13002* Lemma for ennnfone 13004. The interesting direction, expressed in deduction form. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑𝐹:ℕ0onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝐹𝑘) ≠ (𝐹𝑗))       (𝜑𝐴 ≈ ℕ)
 
Theoremennnfonelemim 13003* Lemma for ennnfone 13004. The trivial direction. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝐴 ≈ ℕ → (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓(𝑓:ℕ0onto𝐴 ∧ ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝑓𝑘) ≠ (𝑓𝑗))))
 
Theoremennnfone 13004* A condition for a set being countably infinite. Corollary 8.1.13 of [AczelRathjen], p. 73. Roughly speaking, the condition says that 𝐴 is countable (that's the 𝑓:ℕ0onto𝐴 part, as seen in theorems like ctm 7284), infinite (that's the part about being able to find an element of 𝐴 distinct from any mapping of a natural number via 𝑓), and has decidable equality. (Contributed by Jim Kingdon, 27-Oct-2022.)
(𝐴 ≈ ℕ ↔ (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓(𝑓:ℕ0onto𝐴 ∧ ∀𝑛 ∈ ℕ0𝑘 ∈ ℕ0𝑗 ∈ (0...𝑛)(𝑓𝑘) ≠ (𝑓𝑗))))
 
Theoremexmidunben 13005* If any unbounded set of positive integers is equinumerous to , then the Limited Principle of Omniscience (LPO) implies excluded middle. (Contributed by Jim Kingdon, 29-Jul-2023.)
((∀𝑥((𝑥 ⊆ ℕ ∧ ∀𝑚 ∈ ℕ ∃𝑛𝑥 𝑚 < 𝑛) → 𝑥 ≈ ℕ) ∧ ω ∈ Omni) → EXMID)
 
Theoremctinfomlemom 13006* Lemma for ctinfom 13007. Converting between ω and 0. (Contributed by Jim Kingdon, 10-Aug-2023.)
𝑁 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 0)    &   𝐺 = (𝐹𝑁)    &   (𝜑𝐹:ω–onto𝐴)    &   (𝜑 → ∀𝑛 ∈ ω ∃𝑘 ∈ ω ¬ (𝐹𝑘) ∈ (𝐹𝑛))       (𝜑 → (𝐺:ℕ0onto𝐴 ∧ ∀𝑚 ∈ ℕ0𝑗 ∈ ℕ0𝑖 ∈ (0...𝑚)(𝐺𝑗) ≠ (𝐺𝑖)))
 
Theoremctinfom 13007* A condition for a set being countably infinite. Restates ennnfone 13004 in terms of ω and function image. Like ennnfone 13004 the condition can be summarized as 𝐴 being countable, infinite, and having decidable equality. (Contributed by Jim Kingdon, 7-Aug-2023.)
(𝐴 ≈ ℕ ↔ (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓(𝑓:ω–onto𝐴 ∧ ∀𝑛 ∈ ω ∃𝑘 ∈ ω ¬ (𝑓𝑘) ∈ (𝑓𝑛))))
 
Theoreminffinp1 13008* An infinite set contains an element not contained in a given finite subset. (Contributed by Jim Kingdon, 7-Aug-2023.)
(𝜑 → ∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦)    &   (𝜑 → ω ≼ 𝐴)    &   (𝜑𝐵𝐴)    &   (𝜑𝐵 ∈ Fin)       (𝜑 → ∃𝑥𝐴 ¬ 𝑥𝐵)
 
Theoremctinf 13009* A set is countably infinite if and only if it has decidable equality, is countable, and is infinite. (Contributed by Jim Kingdon, 7-Aug-2023.)
(𝐴 ≈ ℕ ↔ (∀𝑥𝐴𝑦𝐴 DECID 𝑥 = 𝑦 ∧ ∃𝑓 𝑓:ω–onto𝐴 ∧ ω ≼ 𝐴))
 
Theoremqnnen 13010 The rational numbers are countably infinite. Corollary 8.1.23 of [AczelRathjen], p. 75. This is Metamath 100 proof #3. (Contributed by Jim Kingdon, 11-Aug-2023.)
ℚ ≈ ℕ
 
Theoremenctlem 13011* Lemma for enct 13012. One direction of the biconditional. (Contributed by Jim Kingdon, 23-Dec-2023.)
(𝐴𝐵 → (∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) → ∃𝑔 𝑔:ω–onto→(𝐵 ⊔ 1o)))
 
Theoremenct 13012* Countability is invariant relative to equinumerosity. (Contributed by Jim Kingdon, 23-Dec-2023.)
(𝐴𝐵 → (∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) ↔ ∃𝑔 𝑔:ω–onto→(𝐵 ⊔ 1o)))
 
Theoremctiunctlemu1st 13013* Lemma for ctiunct 13019. (Contributed by Jim Kingdon, 28-Oct-2023.)
(𝜑𝑆 ⊆ ω)    &   (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)    &   (𝜑𝐹:𝑆onto𝐴)    &   ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)    &   ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)    &   ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)    &   (𝜑𝐽:ω–1-1-onto→(ω × ω))    &   𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}    &   (𝜑𝑁𝑈)       (𝜑 → (1st ‘(𝐽𝑁)) ∈ 𝑆)
 
Theoremctiunctlemu2nd 13014* Lemma for ctiunct 13019. (Contributed by Jim Kingdon, 28-Oct-2023.)
(𝜑𝑆 ⊆ ω)    &   (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)    &   (𝜑𝐹:𝑆onto𝐴)    &   ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)    &   ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)    &   ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)    &   (𝜑𝐽:ω–1-1-onto→(ω × ω))    &   𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}    &   (𝜑𝑁𝑈)       (𝜑 → (2nd ‘(𝐽𝑁)) ∈ (𝐹‘(1st ‘(𝐽𝑁))) / 𝑥𝑇)
 
Theoremctiunctlemuom 13015 Lemma for ctiunct 13019. (Contributed by Jim Kingdon, 28-Oct-2023.)
(𝜑𝑆 ⊆ ω)    &   (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)    &   (𝜑𝐹:𝑆onto𝐴)    &   ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)    &   ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)    &   ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)    &   (𝜑𝐽:ω–1-1-onto→(ω × ω))    &   𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}       (𝜑𝑈 ⊆ ω)
 
Theoremctiunctlemudc 13016* Lemma for ctiunct 13019. (Contributed by Jim Kingdon, 28-Oct-2023.)
(𝜑𝑆 ⊆ ω)    &   (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)    &   (𝜑𝐹:𝑆onto𝐴)    &   ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)    &   ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)    &   ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)    &   (𝜑𝐽:ω–1-1-onto→(ω × ω))    &   𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}       (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑈)
 
Theoremctiunctlemf 13017* Lemma for ctiunct 13019. (Contributed by Jim Kingdon, 28-Oct-2023.)
(𝜑𝑆 ⊆ ω)    &   (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)    &   (𝜑𝐹:𝑆onto𝐴)    &   ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)    &   ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)    &   ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)    &   (𝜑𝐽:ω–1-1-onto→(ω × ω))    &   𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}    &   𝐻 = (𝑛𝑈 ↦ ((𝐹‘(1st ‘(𝐽𝑛))) / 𝑥𝐺‘(2nd ‘(𝐽𝑛))))       (𝜑𝐻:𝑈 𝑥𝐴 𝐵)
 
Theoremctiunctlemfo 13018* Lemma for ctiunct 13019. (Contributed by Jim Kingdon, 28-Oct-2023.)
(𝜑𝑆 ⊆ ω)    &   (𝜑 → ∀𝑛 ∈ ω DECID 𝑛𝑆)    &   (𝜑𝐹:𝑆onto𝐴)    &   ((𝜑𝑥𝐴) → 𝑇 ⊆ ω)    &   ((𝜑𝑥𝐴) → ∀𝑛 ∈ ω DECID 𝑛𝑇)    &   ((𝜑𝑥𝐴) → 𝐺:𝑇onto𝐵)    &   (𝜑𝐽:ω–1-1-onto→(ω × ω))    &   𝑈 = {𝑧 ∈ ω ∣ ((1st ‘(𝐽𝑧)) ∈ 𝑆 ∧ (2nd ‘(𝐽𝑧)) ∈ (𝐹‘(1st ‘(𝐽𝑧))) / 𝑥𝑇)}    &   𝐻 = (𝑛𝑈 ↦ ((𝐹‘(1st ‘(𝐽𝑛))) / 𝑥𝐺‘(2nd ‘(𝐽𝑛))))    &   𝑥𝐻    &   𝑥𝑈       (𝜑𝐻:𝑈onto 𝑥𝐴 𝐵)
 
Theoremctiunct 13019* A sequence of enumerations gives an enumeration of the union. We refer to "sequence of enumerations" rather than "countably many countable sets" because the hypothesis provides more than countability for each 𝐵(𝑥): it refers to 𝐵(𝑥) together with the 𝐺(𝑥) which enumerates it. Theorem 8.1.19 of [AczelRathjen], p. 74.

For "countably many countable sets" the key hypothesis would be (𝜑𝑥𝐴) → ∃𝑔𝑔:ω–onto→(𝐵 ⊔ 1o). This is almost omiunct 13023 (which uses countable choice) although that is for a countably infinite collection not any countable collection.

Compare with the case of two sets instead of countably many, as seen at unct 13021, which says that the union of two countable sets is countable .

The proof proceeds by mapping a natural number to a pair of natural numbers (by xpomen 12974) and using the first number to map to an element 𝑥 of 𝐴 and the second number to map to an element of B(x) . In this way we are able to map to every element of 𝑥𝐴𝐵. Although it would be possible to work directly with countability expressed as 𝐹:ω–onto→(𝐴 ⊔ 1o), we instead use functions from subsets of the natural numbers via ctssdccl 7286 and ctssdc 7288.

(Contributed by Jim Kingdon, 31-Oct-2023.)

(𝜑𝐹:ω–onto→(𝐴 ⊔ 1o))    &   ((𝜑𝑥𝐴) → 𝐺:ω–onto→(𝐵 ⊔ 1o))       (𝜑 → ∃ :ω–onto→( 𝑥𝐴 𝐵 ⊔ 1o))
 
Theoremctiunctal 13020* Variation of ctiunct 13019 which allows 𝑥 to be present in 𝜑. (Contributed by Jim Kingdon, 5-May-2024.)
(𝜑𝐹:ω–onto→(𝐴 ⊔ 1o))    &   (𝜑 → ∀𝑥𝐴 𝐺:ω–onto→(𝐵 ⊔ 1o))       (𝜑 → ∃ :ω–onto→( 𝑥𝐴 𝐵 ⊔ 1o))
 
Theoremunct 13021* The union of two countable sets is countable. Corollary 8.1.20 of [AczelRathjen], p. 75. (Contributed by Jim Kingdon, 1-Nov-2023.)
((∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o) ∧ ∃𝑔 𝑔:ω–onto→(𝐵 ⊔ 1o)) → ∃ :ω–onto→((𝐴𝐵) ⊔ 1o))
 
Theoremomctfn 13022* Using countable choice to find a sequence of enumerations for a collection of countable sets. Lemma 8.1.27 of [AczelRathjen], p. 77. (Contributed by Jim Kingdon, 19-Apr-2024.)
(𝜑CCHOICE)    &   ((𝜑𝑥 ∈ ω) → ∃𝑔 𝑔:ω–onto→(𝐵 ⊔ 1o))       (𝜑 → ∃𝑓(𝑓 Fn ω ∧ ∀𝑥 ∈ ω (𝑓𝑥):ω–onto→(𝐵 ⊔ 1o)))
 
Theoremomiunct 13023* The union of a countably infinite collection of countable sets is countable. Theorem 8.1.28 of [AczelRathjen], p. 78. Compare with ctiunct 13019 which has a stronger hypothesis but does not require countable choice. (Contributed by Jim Kingdon, 5-May-2024.)
(𝜑CCHOICE)    &   ((𝜑𝑥 ∈ ω) → ∃𝑔 𝑔:ω–onto→(𝐵 ⊔ 1o))       (𝜑 → ∃ :ω–onto→( 𝑥 ∈ ω 𝐵 ⊔ 1o))
 
Theoremssomct 13024* A decidable subset of ω is countable. (Contributed by Jim Kingdon, 19-Sep-2024.)
((𝐴 ⊆ ω ∧ ∀𝑥 ∈ ω DECID 𝑥𝐴) → ∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o))
 
Theoremssnnctlemct 13025* Lemma for ssnnct 13026. The result. (Contributed by Jim Kingdon, 29-Sep-2024.)
𝐺 = frec((𝑥 ∈ ℤ ↦ (𝑥 + 1)), 1)       ((𝐴 ⊆ ℕ ∧ ∀𝑥 ∈ ℕ DECID 𝑥𝐴) → ∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o))
 
Theoremssnnct 13026* A decidable subset of is countable. (Contributed by Jim Kingdon, 29-Sep-2024.)
((𝐴 ⊆ ℕ ∧ ∀𝑥 ∈ ℕ DECID 𝑥𝐴) → ∃𝑓 𝑓:ω–onto→(𝐴 ⊔ 1o))
 
Theoremnninfdclemcl 13027* Lemma for nninfdc 13032. (Contributed by Jim Kingdon, 25-Sep-2024.)
(𝜑𝐴 ⊆ ℕ)    &   (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥𝐴)    &   (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛)    &   (𝜑𝑃𝐴)    &   (𝜑𝑄𝐴)       (𝜑 → (𝑃(𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ‘(𝑦 + 1))), ℝ, < ))𝑄) ∈ 𝐴)
 
Theoremnninfdclemf 13028* Lemma for nninfdc 13032. A function from the natural numbers into 𝐴. (Contributed by Jim Kingdon, 23-Sep-2024.)
(𝜑𝐴 ⊆ ℕ)    &   (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥𝐴)    &   (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛)    &   (𝜑 → (𝐽𝐴 ∧ 1 < 𝐽))    &   𝐹 = seq1((𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ‘(𝑦 + 1))), ℝ, < )), (𝑖 ∈ ℕ ↦ 𝐽))       (𝜑𝐹:ℕ⟶𝐴)
 
Theoremnninfdclemp1 13029* Lemma for nninfdc 13032. Each element of the sequence 𝐹 is greater than the previous element. (Contributed by Jim Kingdon, 26-Sep-2024.)
(𝜑𝐴 ⊆ ℕ)    &   (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥𝐴)    &   (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛)    &   (𝜑 → (𝐽𝐴 ∧ 1 < 𝐽))    &   𝐹 = seq1((𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ‘(𝑦 + 1))), ℝ, < )), (𝑖 ∈ ℕ ↦ 𝐽))    &   (𝜑𝑈 ∈ ℕ)       (𝜑 → (𝐹𝑈) < (𝐹‘(𝑈 + 1)))
 
Theoremnninfdclemlt 13030* Lemma for nninfdc 13032. The function from nninfdclemf 13028 is strictly monotonic. (Contributed by Jim Kingdon, 24-Sep-2024.)
(𝜑𝐴 ⊆ ℕ)    &   (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥𝐴)    &   (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛)    &   (𝜑 → (𝐽𝐴 ∧ 1 < 𝐽))    &   𝐹 = seq1((𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ‘(𝑦 + 1))), ℝ, < )), (𝑖 ∈ ℕ ↦ 𝐽))    &   (𝜑𝑈 ∈ ℕ)    &   (𝜑𝑉 ∈ ℕ)    &   (𝜑𝑈 < 𝑉)       (𝜑 → (𝐹𝑈) < (𝐹𝑉))
 
Theoremnninfdclemf1 13031* Lemma for nninfdc 13032. The function from nninfdclemf 13028 is one-to-one. (Contributed by Jim Kingdon, 23-Sep-2024.)
(𝜑𝐴 ⊆ ℕ)    &   (𝜑 → ∀𝑥 ∈ ℕ DECID 𝑥𝐴)    &   (𝜑 → ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛)    &   (𝜑 → (𝐽𝐴 ∧ 1 < 𝐽))    &   𝐹 = seq1((𝑦 ∈ ℕ, 𝑧 ∈ ℕ ↦ inf((𝐴 ∩ (ℤ‘(𝑦 + 1))), ℝ, < )), (𝑖 ∈ ℕ ↦ 𝐽))       (𝜑𝐹:ℕ–1-1𝐴)
 
Theoremnninfdc 13032* An unbounded decidable set of positive integers is infinite. (Contributed by Jim Kingdon, 23-Sep-2024.)
((𝐴 ⊆ ℕ ∧ ∀𝑥 ∈ ℕ DECID 𝑥𝐴 ∧ ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛) → ω ≼ 𝐴)
 
Theoremunbendc 13033* An unbounded decidable set of positive integers is infinite. (Contributed by NM, 5-May-2005.) (Revised by Jim Kingdon, 30-Sep-2024.)
((𝐴 ⊆ ℕ ∧ ∀𝑥 ∈ ℕ DECID 𝑥𝐴 ∧ ∀𝑚 ∈ ℕ ∃𝑛𝐴 𝑚 < 𝑛) → 𝐴 ≈ ℕ)
 
Theoremprminf 13034 There are an infinite number of primes. Theorem 1.7 in [ApostolNT] p. 16. (Contributed by Paul Chapman, 28-Nov-2012.)
ℙ ≈ ℕ
 
Theoreminfpn2 13035* There exist infinitely many prime numbers: the set of all primes 𝑆 is unbounded by infpn 12892, so by unbendc 13033 it is infinite. This is Metamath 100 proof #11. (Contributed by NM, 5-May-2005.)
𝑆 = {𝑛 ∈ ℕ ∣ (1 < 𝑛 ∧ ∀𝑚 ∈ ℕ ((𝑛 / 𝑚) ∈ ℕ → (𝑚 = 1 ∨ 𝑚 = 𝑛)))}       𝑆 ≈ ℕ
 
PART 6  BASIC STRUCTURES
 
6.1  Extensible structures
 
6.1.1  Basic definitions

An "extensible structure" (or "structure" in short, at least in this section) is used to define a specific group, ring, poset, and so on. An extensible structure can contain many components. For example, a group will have at least two components (base set and operation), although it can be further specialized by adding other components such as a multiplicative operation for rings (and still remain a group per our definition). Thus, every ring is also a group. This extensible structure approach allows theorems from more general structures (such as groups) to be reused for more specialized structures (such as rings) without having to reprove anything. Structures are common in mathematics, but in informal (natural language) proofs the details are assumed in ways that we must make explicit.

An extensible structure is implemented as a function (a set of ordered pairs) on a finite (and not necessarily sequential) subset of . The function's argument is the index of a structure component (such as 1 for the base set of a group), and its value is the component (such as the base set). By convention, we normally avoid direct reference to the hard-coded numeric index and instead use structure component extractors such as ndxid 13064 and strslfv 13085. Using extractors makes it easier to change numeric indices and also makes the components' purpose clearer. See the comment of basendx 13095 for more details on numeric indices versus the structure component extractors.

There are many other possible ways to handle structures. We chose this extensible structure approach because this approach (1) results in simpler notation than other approaches we are aware of, and (2) is easier to do proofs with. We cannot use an approach that uses "hidden" arguments; Metamath does not support hidden arguments, and in any case we want nothing hidden. It would be possible to use a categorical approach (e.g., something vaguely similar to Lean's mathlib). However, instances (the chain of proofs that an 𝑋 is a 𝑌 via a bunch of forgetful functors) can cause serious performance problems for automated tooling, and the resulting proofs would be painful to look at directly (in the case of Lean, they are long past the level where people would find it acceptable to look at them directly). Metamath is working under much stricter conditions than this, and it has still managed to achieve about the same level of flexibility through this "extensible structure" approach.

To create a substructure of a given extensible structure, you can simply use the multifunction restriction operator for extensible structures s as defined in df-iress 13048. This can be used to turn statements about rings into statements about subrings, modules into submodules, etc. This definition knows nothing about individual structures and merely truncates the Base set while leaving operators alone. Individual kinds of structures will need to handle this behavior by ignoring operators' values outside the range, defining a function using the base set and applying that, or explicitly truncating the slot before use.

Extensible structures only work well when they represent concrete categories, where there is a "base set", morphisms are functions, and subobjects are subsets with induced operations. In short, they primarily work well for "sets with (some) extra structure". Extensible structures may not suffice for more complicated situations. For example, in manifolds, s would not work. That said, extensible structures are sufficient for many of the structures that set.mm currently considers, and offer a good compromise for a goal-oriented formalization.

 
Syntaxcstr 13036 Extend class notation with the class of structures with components numbered below 𝐴.
class Struct
 
Syntaxcnx 13037 Extend class notation with the structure component index extractor.
class ndx
 
Syntaxcsts 13038 Set components of a structure.
class sSet
 
Syntaxcslot 13039 Extend class notation with the slot function.
class Slot 𝐴
 
Syntaxcbs 13040 Extend class notation with the class of all base set extractors.
class Base
 
Syntaxcress 13041 Extend class notation with the extensible structure builder restriction operator.
class s
 
Definitiondf-struct 13042* Define a structure with components in 𝑀...𝑁. This is not a requirement for groups, posets, etc., but it is a useful assumption for component extraction theorems.

As mentioned in the section header, an "extensible structure should be implemented as a function (a set of ordered pairs)". The current definition, however, is less restrictive: it allows for classes which contain the empty set to be extensible structures. Because of 0nelfun 5336, such classes cannot be functions. Without the empty set, however, a structure must be a function, see structn0fun 13053: 𝐹 Struct 𝑋 → Fun (𝐹 ∖ {∅}).

Allowing an extensible structure to contain the empty set ensures that expressions like {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} are structures without asserting or implying that 𝐴, 𝐵, 𝐶 and 𝐷 are sets (if 𝐴 or 𝐵 is a proper class, then 𝐴, 𝐵⟩ = ∅, see opprc 3878). (Contributed by Mario Carneiro, 29-Aug-2015.)

Struct = {⟨𝑓, 𝑥⟩ ∣ (𝑥 ∈ ( ≤ ∩ (ℕ × ℕ)) ∧ Fun (𝑓 ∖ {∅}) ∧ dom 𝑓 ⊆ (...‘𝑥))}
 
Definitiondf-ndx 13043 Define the structure component index extractor. See Theorem ndxarg 13063 to understand its purpose. The restriction to ensures that ndx is a set. The restriction to some set is necessary since I is a proper class. In principle, we could have chosen or (if we revise all structure component definitions such as df-base 13046) another set such as the set of finite ordinals ω (df-iom 4683). (Contributed by NM, 4-Sep-2011.)
ndx = ( I ↾ ℕ)
 
Definitiondf-slot 13044* Define the slot extractor for extensible structures. The class Slot 𝐴 is a function whose argument can be any set, although it is meaningful only if that set is a member of an extensible structure (such as a partially ordered set or a group).

Note that Slot 𝐴 is implemented as "evaluation at 𝐴". That is, (Slot 𝐴𝑆) is defined to be (𝑆𝐴), where 𝐴 will typically be a small nonzero natural number. Each extensible structure 𝑆 is a function defined on specific natural number "slots", and this function extracts the value at a particular slot.

The special "structure" ndx, defined as the identity function restricted to , can be used to extract the number 𝐴 from a slot, since (Slot 𝐴‘ndx) = 𝐴 (see ndxarg 13063). This is typically used to refer to the number of a slot when defining structures without having to expose the detail of what that number is (for instance, we use the expression (Base‘ndx) in theorems and proofs instead of its value 1).

The class Slot cannot be defined as (𝑥 ∈ V ↦ (𝑓 ∈ V ↦ (𝑓𝑥))) because each Slot 𝐴 is a function on the proper class V so is itself a proper class, and the values of functions are sets (fvex 5649). It is necessary to allow proper classes as values of Slot 𝐴 since for instance the class of all (base sets of) groups is proper. (Contributed by Mario Carneiro, 22-Sep-2015.)

Slot 𝐴 = (𝑥 ∈ V ↦ (𝑥𝐴))
 
Theoremsloteq 13045 Equality theorem for the Slot construction. The converse holds if 𝐴 (or 𝐵) is a set. (Contributed by BJ, 27-Dec-2021.)
(𝐴 = 𝐵 → Slot 𝐴 = Slot 𝐵)
 
Definitiondf-base 13046 Define the base set (also called underlying set, ground set, carrier set, or carrier) extractor for extensible structures. (Contributed by NM, 4-Sep-2011.) (Revised by Mario Carneiro, 14-Aug-2015.)
Base = Slot 1
 
Definitiondf-sets 13047* Set a component of an extensible structure. This function is useful for taking an existing structure and "overriding" one of its components. For example, df-iress 13048 adjusts the base set to match its second argument, which has the effect of making subgroups, subspaces, subrings etc. from the original structures. (Contributed by Mario Carneiro, 1-Dec-2014.)
sSet = (𝑠 ∈ V, 𝑒 ∈ V ↦ ((𝑠 ↾ (V ∖ dom {𝑒})) ∪ {𝑒}))
 
Definitiondf-iress 13048* Define a multifunction restriction operator for extensible structures, which can be used to turn statements about rings into statements about subrings, modules into submodules, etc. This definition knows nothing about individual structures and merely truncates the Base set while leaving operators alone; individual kinds of structures will need to handle this behavior, by ignoring operators' values outside the range, defining a function using the base set and applying that, or explicitly truncating the slot before use.

(Credit for this operator, as well as the 2023 modification for iset.mm, goes to Mario Carneiro.)

(Contributed by Stefan O'Rear, 29-Nov-2014.) (Revised by Jim Kingdon, 7-Oct-2023.)

s = (𝑤 ∈ V, 𝑥 ∈ V ↦ (𝑤 sSet ⟨(Base‘ndx), (𝑥 ∩ (Base‘𝑤))⟩))
 
Theorembrstruct 13049 The structure relation is a relation. (Contributed by Mario Carneiro, 29-Aug-2015.)
Rel Struct
 
Theoremisstruct2im 13050 The property of being a structure with components in (1st𝑋)...(2nd𝑋). (Contributed by Mario Carneiro, 29-Aug-2015.) (Revised by Jim Kingdon, 18-Jan-2023.)
(𝐹 Struct 𝑋 → (𝑋 ∈ ( ≤ ∩ (ℕ × ℕ)) ∧ Fun (𝐹 ∖ {∅}) ∧ dom 𝐹 ⊆ (...‘𝑋)))
 
Theoremisstruct2r 13051 The property of being a structure with components in (1st𝑋)...(2nd𝑋). (Contributed by Mario Carneiro, 29-Aug-2015.) (Revised by Jim Kingdon, 18-Jan-2023.)
(((𝑋 ∈ ( ≤ ∩ (ℕ × ℕ)) ∧ Fun (𝐹 ∖ {∅})) ∧ (𝐹𝑉 ∧ dom 𝐹 ⊆ (...‘𝑋))) → 𝐹 Struct 𝑋)
 
Theoremstructex 13052 A structure is a set. (Contributed by AV, 10-Nov-2021.)
(𝐺 Struct 𝑋𝐺 ∈ V)
 
Theoremstructn0fun 13053 A structure without the empty set is a function. (Contributed by AV, 13-Nov-2021.)
(𝐹 Struct 𝑋 → Fun (𝐹 ∖ {∅}))
 
Theoremisstructim 13054 The property of being a structure with components in 𝑀...𝑁. (Contributed by Mario Carneiro, 29-Aug-2015.) (Revised by Jim Kingdon, 18-Jan-2023.)
(𝐹 Struct ⟨𝑀, 𝑁⟩ → ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑀𝑁) ∧ Fun (𝐹 ∖ {∅}) ∧ dom 𝐹 ⊆ (𝑀...𝑁)))
 
Theoremisstructr 13055 The property of being a structure with components in 𝑀...𝑁. (Contributed by Mario Carneiro, 29-Aug-2015.) (Revised by Jim Kingdon, 18-Jan-2023.)
(((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑀𝑁) ∧ (Fun (𝐹 ∖ {∅}) ∧ 𝐹𝑉 ∧ dom 𝐹 ⊆ (𝑀...𝑁))) → 𝐹 Struct ⟨𝑀, 𝑁⟩)
 
Theoremstructcnvcnv 13056 Two ways to express the relational part of a structure. (Contributed by Mario Carneiro, 29-Aug-2015.)
(𝐹 Struct 𝑋𝐹 = (𝐹 ∖ {∅}))
 
Theoremstructfung 13057 The converse of the converse of a structure is a function. Closed form of structfun 13058. (Contributed by AV, 12-Nov-2021.)
(𝐹 Struct 𝑋 → Fun 𝐹)
 
Theoremstructfun 13058 Convert between two kinds of structure closure. (Contributed by Mario Carneiro, 29-Aug-2015.) (Proof shortened by AV, 12-Nov-2021.)
𝐹 Struct 𝑋       Fun 𝐹
 
Theoremstructfn 13059 Convert between two kinds of structure closure. (Contributed by Mario Carneiro, 29-Aug-2015.)
𝐹 Struct ⟨𝑀, 𝑁       (Fun 𝐹 ∧ dom 𝐹 ⊆ (1...𝑁))
 
Theoremstrnfvnd 13060 Deduction version of strnfvn 13061. (Contributed by Mario Carneiro, 15-Nov-2014.) (Revised by Jim Kingdon, 19-Jan-2023.)
𝐸 = Slot 𝑁    &   (𝜑𝑆𝑉)    &   (𝜑𝑁 ∈ ℕ)       (𝜑 → (𝐸𝑆) = (𝑆𝑁))
 
Theoremstrnfvn 13061 Value of a structure component extractor 𝐸. Normally, 𝐸 is a defined constant symbol such as Base (df-base 13046) and 𝑁 is a fixed integer such as 1. 𝑆 is a structure, i.e. a specific member of a class of structures.

Note: Normally, this theorem shouldn't be used outside of this section, because it requires hard-coded index values. Instead, use strslfv 13085. (Contributed by NM, 9-Sep-2011.) (Revised by Jim Kingdon, 19-Jan-2023.) (New usage is discouraged.)

𝑆 ∈ V    &   𝐸 = Slot 𝑁    &   𝑁 ∈ ℕ       (𝐸𝑆) = (𝑆𝑁)
 
Theoremstrfvssn 13062 A structure component extractor produces a value which is contained in a set dependent on 𝑆, but not 𝐸. This is sometimes useful for showing sethood. (Contributed by Mario Carneiro, 15-Aug-2015.) (Revised by Jim Kingdon, 19-Jan-2023.)
𝐸 = Slot 𝑁    &   (𝜑𝑆𝑉)    &   (𝜑𝑁 ∈ ℕ)       (𝜑 → (𝐸𝑆) ⊆ ran 𝑆)
 
Theoremndxarg 13063 Get the numeric argument from a defined structure component extractor such as df-base 13046. (Contributed by Mario Carneiro, 6-Oct-2013.)
𝐸 = Slot 𝑁    &   𝑁 ∈ ℕ       (𝐸‘ndx) = 𝑁
 
Theoremndxid 13064 A structure component extractor is defined by its own index. This theorem, together with strslfv 13085 below, is useful for avoiding direct reference to the hard-coded numeric index in component extractor definitions, such as the 1 in df-base 13046, making it easier to change should the need arise.

(Contributed by NM, 19-Oct-2012.) (Revised by Mario Carneiro, 6-Oct-2013.) (Proof shortened by BJ, 27-Dec-2021.)

𝐸 = Slot 𝑁    &   𝑁 ∈ ℕ       𝐸 = Slot (𝐸‘ndx)
 
Theoremndxslid 13065 A structure component extractor is defined by its own index. That the index is a natural number will also be needed in quite a few contexts so it is included in the conclusion of this theorem which can be used as a hypothesis of theorems like strslfv 13085. (Contributed by Jim Kingdon, 29-Jan-2023.)
𝐸 = Slot 𝑁    &   𝑁 ∈ ℕ       (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)
 
Theoremslotslfn 13066 A slot is a function on sets, treated as structures. (Contributed by Mario Carneiro, 22-Sep-2015.) (Revised by Jim Kingdon, 10-Feb-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)       𝐸 Fn V
 
Theoremslotex 13067 Existence of slot value. A corollary of slotslfn 13066. (Contributed by Jim Kingdon, 12-Feb-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)       (𝐴𝑉 → (𝐸𝐴) ∈ V)
 
Theoremstrndxid 13068 The value of a structure component extractor is the value of the corresponding slot of the structure. (Contributed by AV, 13-Mar-2020.)
(𝜑𝑆𝑉)    &   𝐸 = Slot 𝑁    &   𝑁 ∈ ℕ       (𝜑 → (𝑆‘(𝐸‘ndx)) = (𝐸𝑆))
 
Theoremreldmsets 13069 The structure override operator is a proper operator. (Contributed by Stefan O'Rear, 29-Jan-2015.)
Rel dom sSet
 
Theoremsetsvalg 13070 Value of the structure replacement function. (Contributed by Mario Carneiro, 30-Apr-2015.)
((𝑆𝑉𝐴𝑊) → (𝑆 sSet 𝐴) = ((𝑆 ↾ (V ∖ dom {𝐴})) ∪ {𝐴}))
 
Theoremsetsvala 13071 Value of the structure replacement function. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 20-Jan-2023.)
((𝑆𝑉𝐴𝑋𝐵𝑊) → (𝑆 sSet ⟨𝐴, 𝐵⟩) = ((𝑆 ↾ (V ∖ {𝐴})) ∪ {⟨𝐴, 𝐵⟩}))
 
Theoremsetsex 13072 Applying the structure replacement function yields a set. (Contributed by Jim Kingdon, 22-Jan-2023.)
((𝑆𝑉𝐴𝑋𝐵𝑊) → (𝑆 sSet ⟨𝐴, 𝐵⟩) ∈ V)
 
Theoremstrsetsid 13073 Value of the structure replacement function. (Contributed by AV, 14-Mar-2020.) (Revised by Jim Kingdon, 30-Jan-2023.)
𝐸 = Slot (𝐸‘ndx)    &   (𝜑𝑆 Struct ⟨𝑀, 𝑁⟩)    &   (𝜑 → Fun 𝑆)    &   (𝜑 → (𝐸‘ndx) ∈ dom 𝑆)       (𝜑𝑆 = (𝑆 sSet ⟨(𝐸‘ndx), (𝐸𝑆)⟩))
 
Theoremfvsetsid 13074 The value of the structure replacement function for its first argument is its second argument. (Contributed by SO, 12-Jul-2018.)
((𝐹𝑉𝑋𝑊𝑌𝑈) → ((𝐹 sSet ⟨𝑋, 𝑌⟩)‘𝑋) = 𝑌)
 
Theoremsetsfun 13075 A structure with replacement is a function if the original structure is a function. (Contributed by AV, 7-Jun-2021.)
(((𝐺𝑉 ∧ Fun 𝐺) ∧ (𝐼𝑈𝐸𝑊)) → Fun (𝐺 sSet ⟨𝐼, 𝐸⟩))
 
Theoremsetsfun0 13076 A structure with replacement without the empty set is a function if the original structure without the empty set is a function. This variant of setsfun 13075 is useful for proofs based on isstruct2r 13051 which requires Fun (𝐹 ∖ {∅}) for 𝐹 to be an extensible structure. (Contributed by AV, 7-Jun-2021.)
(((𝐺𝑉 ∧ Fun (𝐺 ∖ {∅})) ∧ (𝐼𝑈𝐸𝑊)) → Fun ((𝐺 sSet ⟨𝐼, 𝐸⟩) ∖ {∅}))
 
Theoremsetsn0fun 13077 The value of the structure replacement function (without the empty set) is a function if the structure (without the empty set) is a function. (Contributed by AV, 7-Jun-2021.) (Revised by AV, 16-Nov-2021.)
(𝜑𝑆 Struct 𝑋)    &   (𝜑𝐼𝑈)    &   (𝜑𝐸𝑊)       (𝜑 → Fun ((𝑆 sSet ⟨𝐼, 𝐸⟩) ∖ {∅}))
 
Theoremsetsresg 13078 The structure replacement function does not affect the value of 𝑆 away from 𝐴. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 22-Jan-2023.)
((𝑆𝑉𝐴𝑊𝐵𝑋) → ((𝑆 sSet ⟨𝐴, 𝐵⟩) ↾ (V ∖ {𝐴})) = (𝑆 ↾ (V ∖ {𝐴})))
 
Theoremsetsabsd 13079 Replacing the same components twice yields the same as the second setting only. (Contributed by Mario Carneiro, 2-Dec-2014.) (Revised by Jim Kingdon, 22-Jan-2023.)
(𝜑𝑆𝑉)    &   (𝜑𝐴𝑊)    &   (𝜑𝐵𝑋)    &   (𝜑𝐶𝑈)       (𝜑 → ((𝑆 sSet ⟨𝐴, 𝐵⟩) sSet ⟨𝐴, 𝐶⟩) = (𝑆 sSet ⟨𝐴, 𝐶⟩))
 
Theoremsetscom 13080 Different components can be set in any order. (Contributed by Mario Carneiro, 5-Dec-2014.) (Revised by Mario Carneiro, 30-Apr-2015.)
𝐴 ∈ V    &   𝐵 ∈ V       (((𝑆𝑉𝐴𝐵) ∧ (𝐶𝑊𝐷𝑋)) → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))
 
Theoremsetscomd 13081 Different components can be set in any order. (Contributed by Jim Kingdon, 20-Feb-2025.)
(𝜑𝐴𝑌)    &   (𝜑𝐵𝑍)    &   (𝜑𝑆𝑉)    &   (𝜑𝐴𝐵)    &   (𝜑𝐶𝑊)    &   (𝜑𝐷𝑋)       (𝜑 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))
 
Theoremstrslfvd 13082 Deduction version of strslfv 13085. (Contributed by Mario Carneiro, 15-Nov-2014.) (Revised by Jim Kingdon, 30-Jan-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   (𝜑𝑆𝑉)    &   (𝜑 → Fun 𝑆)    &   (𝜑 → ⟨(𝐸‘ndx), 𝐶⟩ ∈ 𝑆)       (𝜑𝐶 = (𝐸𝑆))
 
Theoremstrslfv2d 13083 Deduction version of strslfv 13085. (Contributed by Mario Carneiro, 30-Apr-2015.) (Revised by Jim Kingdon, 30-Jan-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   (𝜑𝑆𝑉)    &   (𝜑 → Fun 𝑆)    &   (𝜑 → ⟨(𝐸‘ndx), 𝐶⟩ ∈ 𝑆)    &   (𝜑𝐶𝑊)       (𝜑𝐶 = (𝐸𝑆))
 
Theoremstrslfv2 13084 A variation on strslfv 13085 to avoid asserting that 𝑆 itself is a function, which involves sethood of all the ordered pair components of 𝑆. (Contributed by Mario Carneiro, 30-Apr-2015.) (Revised by Jim Kingdon, 30-Jan-2023.)
𝑆 ∈ V    &   Fun 𝑆    &   (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   ⟨(𝐸‘ndx), 𝐶⟩ ∈ 𝑆       (𝐶𝑉𝐶 = (𝐸𝑆))
 
Theoremstrslfv 13085 Extract a structure component 𝐶 (such as the base set) from a structure 𝑆 with a component extractor 𝐸 (such as the base set extractor df-base 13046). By virtue of ndxslid 13065, this can be done without having to refer to the hard-coded numeric index of 𝐸. (Contributed by Mario Carneiro, 6-Oct-2013.) (Revised by Jim Kingdon, 30-Jan-2023.)
𝑆 Struct 𝑋    &   (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   {⟨(𝐸‘ndx), 𝐶⟩} ⊆ 𝑆       (𝐶𝑉𝐶 = (𝐸𝑆))
 
Theoremstrslfv3 13086 Variant on strslfv 13085 for large structures. (Contributed by Mario Carneiro, 10-Jan-2017.) (Revised by Jim Kingdon, 30-Jan-2023.)
(𝜑𝑈 = 𝑆)    &   (𝜑𝑆 Struct 𝑋)    &   (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   (𝜑 → {⟨(𝐸‘ndx), 𝐶⟩} ⊆ 𝑆)    &   (𝜑𝐶𝑉)    &   𝐴 = (𝐸𝑈)       (𝜑𝐴 = 𝐶)
 
Theoremstrslssd 13087 Deduction version of strslss 13088. (Contributed by Mario Carneiro, 15-Nov-2014.) (Revised by Mario Carneiro, 30-Apr-2015.) (Revised by Jim Kingdon, 31-Jan-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   (𝜑𝑇𝑉)    &   (𝜑 → Fun 𝑇)    &   (𝜑𝑆𝑇)    &   (𝜑 → ⟨(𝐸‘ndx), 𝐶⟩ ∈ 𝑆)       (𝜑 → (𝐸𝑇) = (𝐸𝑆))
 
Theoremstrslss 13088 Propagate component extraction to a structure 𝑇 from a subset structure 𝑆. (Contributed by Mario Carneiro, 11-Oct-2013.) (Revised by Jim Kingdon, 31-Jan-2023.)
𝑇 ∈ V    &   Fun 𝑇    &   𝑆𝑇    &   (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   ⟨(𝐸‘ndx), 𝐶⟩ ∈ 𝑆       (𝐸𝑇) = (𝐸𝑆)
 
Theoremstrsl0 13089 All components of the empty set are empty sets. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Jim Kingdon, 31-Jan-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)       ∅ = (𝐸‘∅)
 
Theorembase0 13090 The base set of the empty structure. (Contributed by David A. Wheeler, 7-Jul-2016.)
∅ = (Base‘∅)
 
Theoremsetsslid 13091 Value of the structure replacement function at a replaced index. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 24-Jan-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)       ((𝑊𝐴𝐶𝑉) → 𝐶 = (𝐸‘(𝑊 sSet ⟨(𝐸‘ndx), 𝐶⟩)))
 
Theoremsetsslnid 13092 Value of the structure replacement function at an untouched index. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 24-Jan-2023.)
(𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)    &   (𝐸‘ndx) ≠ 𝐷    &   𝐷 ∈ ℕ       ((𝑊𝐴𝐶𝑉) → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
 
Theorembaseval 13093 Value of the base set extractor. (Normally it is preferred to work with (Base‘ndx) rather than the hard-coded 1 in order to make structure theorems portable. This is an example of how to obtain it when needed.) (New usage is discouraged.) (Contributed by NM, 4-Sep-2011.)
𝐾 ∈ V       (Base‘𝐾) = (𝐾‘1)
 
Theorembaseid 13094 Utility theorem: index-independent form of df-base 13046. (Contributed by NM, 20-Oct-2012.)
Base = Slot (Base‘ndx)
 
Theorembasendx 13095 Index value of the base set extractor.

Use of this theorem is discouraged since the particular value 1 for the index is an implementation detail. It is generally sufficient to work with (Base‘ndx) and use theorems such as baseid 13094 and basendxnn 13096.

The main circumstance in which it is necessary to look at indices directly is when showing that a set of indices are disjoint, in proofs such as lmodstrd 13205. Although we have a few theorems such as basendxnplusgndx 13166, we do not intend to add such theorems for every pair of indices (which would be quadradically many in the number of indices).

(New usage is discouraged.) (Contributed by Mario Carneiro, 2-Aug-2013.)

(Base‘ndx) = 1
 
Theorembasendxnn 13096 The index value of the base set extractor is a positive integer. This property should be ensured for every concrete coding because otherwise it could not be used in an extensible structure (slots must be positive integers). (Contributed by AV, 23-Sep-2020.)
(Base‘ndx) ∈ ℕ
 
Theorembassetsnn 13097 The pair of the base index and another index is a subset of the domain of the structure obtained by replacing/adding a slot at the other index in a structure having a base slot. (Contributed by AV, 7-Jun-2021.) (Revised by AV, 16-Nov-2021.)
(𝜑𝑆 Struct 𝑋)    &   (𝜑𝐼 ∈ ℕ)    &   (𝜑𝐸𝑊)    &   (𝜑 → (Base‘ndx) ∈ dom 𝑆)       (𝜑 → {(Base‘ndx), 𝐼} ⊆ dom (𝑆 sSet ⟨𝐼, 𝐸⟩))
 
Theorembaseslid 13098 The base set extractor is a slot. (Contributed by Jim Kingdon, 31-Jan-2023.)
(Base = Slot (Base‘ndx) ∧ (Base‘ndx) ∈ ℕ)
 
Theorembasfn 13099 The base set extractor is a function on V. (Contributed by Stefan O'Rear, 8-Jul-2015.)
Base Fn V
 
Theorembasmex 13100 A structure whose base is inhabited is a set. (Contributed by Jim Kingdon, 18-Nov-2024.)
𝐵 = (Base‘𝐺)       (𝐴𝐵𝐺 ∈ V)
    < 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-15700 158 15701-15800 159 15801-15900 160 15901-16000 161 16001-16100 162 16101-16200 163 16201-16300 164 16301-16400 165 16401-16482
  Copyright terms: Public domain < Previous  Next >