MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  naddov2 Structured version   Visualization version   GIF version

Theorem naddov2 8702
Description: Alternate expression for natural addition. (Contributed by Scott Fenton, 26-Aug-2024.)
Assertion
Ref Expression
naddov2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +no 𝐵) = ∩ {𝑥 ∈ On ∣ (∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥 ∧ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥)})
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑦,𝐴   𝑧,𝐴   𝑦,𝐵   𝑧,𝐵   𝑥,𝑦   𝑥,𝑧

Proof of Theorem naddov2
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 naddov 8701 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +no 𝐵) = ∩ {𝑥 ∈ On ∣ (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ∧ ( +no “ (𝐴 × {𝐵})) ⊆ 𝑥)})
2 snssi 4746 . . . . . . . . 9 (𝐴 ∈ On → {𝐴} ⊆ On)
3 onss 7809 . . . . . . . . 9 (𝐵 ∈ On → 𝐵 ⊆ On)
4 xpss12 5670 . . . . . . . . 9 (({𝐴} ⊆ On ∧ 𝐵 ⊆ On) → ({𝐴} × 𝐵) ⊆ (On × On))
52, 3, 4syl2an 608 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ({𝐴} × 𝐵) ⊆ (On × On))
6 naddfn 8698 . . . . . . . . 9 +no Fn (On × On)
76fndmi 6654 . . . . . . . 8 dom +no = (On × On)
85, 7sseqtrrdi 3954 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ({𝐴} × 𝐵) ⊆ dom +no )
9 fnfun 6650 . . . . . . . . 9 ( +no Fn (On × On) → Fun +no )
106, 9ax-mp 5 . . . . . . . 8 Fun +no
11 funimassov 7608 . . . . . . . 8 ((Fun +no ∧ ({𝐴} × 𝐵) ⊆ dom +no ) → (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ↔ ∀𝑡 ∈ {𝐴}∀𝑦 ∈ 𝐵 (𝑡 +no 𝑦) ∈ 𝑥))
1210, 11mpan 703 . . . . . . 7 (({𝐴} × 𝐵) ⊆ dom +no → (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ↔ ∀𝑡 ∈ {𝐴}∀𝑦 ∈ 𝐵 (𝑡 +no 𝑦) ∈ 𝑥))
138, 12syl 18 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ↔ ∀𝑡 ∈ {𝐴}∀𝑦 ∈ 𝐵 (𝑡 +no 𝑦) ∈ 𝑥))
14 oveq1 7437 . . . . . . . . . 10 (𝑡 = 𝐴 → (𝑡 +no 𝑦) = (𝐴 +no 𝑦))
1514eleq1d 2849 . . . . . . . . 9 (𝑡 = 𝐴 → ((𝑡 +no 𝑦) ∈ 𝑥 ↔ (𝐴 +no 𝑦) ∈ 𝑥))
1615ralbidv 3189 . . . . . . . 8 (𝑡 = 𝐴 → (∀𝑦 ∈ 𝐵 (𝑡 +no 𝑦) ∈ 𝑥 ↔ ∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥))
1716ralsng 4636 . . . . . . 7 (𝐴 ∈ On → (∀𝑡 ∈ {𝐴}∀𝑦 ∈ 𝐵 (𝑡 +no 𝑦) ∈ 𝑥 ↔ ∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥))
1817adantr 486 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (∀𝑡 ∈ {𝐴}∀𝑦 ∈ 𝐵 (𝑡 +no 𝑦) ∈ 𝑥 ↔ ∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥))
1913, 18bitrd 282 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ↔ ∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥))
20 onss 7809 . . . . . . . . 9 (𝐴 ∈ On → 𝐴 ⊆ On)
21 snssi 4746 . . . . . . . . 9 (𝐵 ∈ On → {𝐵} ⊆ On)
22 xpss12 5670 . . . . . . . . 9 ((𝐴 ⊆ On ∧ {𝐵} ⊆ On) → (𝐴 × {𝐵}) ⊆ (On × On))
2320, 21, 22syl2an 608 . . . . . . . 8 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 × {𝐵}) ⊆ (On × On))
2423, 7sseqtrrdi 3954 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 × {𝐵}) ⊆ dom +no )
25 funimassov 7608 . . . . . . . 8 ((Fun +no ∧ (𝐴 × {𝐵}) ⊆ dom +no ) → (( +no “ (𝐴 × {𝐵})) ⊆ 𝑥 ↔ ∀𝑧 ∈ 𝐴 ∀𝑡 ∈ {𝐵} (𝑧 +no 𝑡) ∈ 𝑥))
2610, 25mpan 703 . . . . . . 7 ((𝐴 × {𝐵}) ⊆ dom +no → (( +no “ (𝐴 × {𝐵})) ⊆ 𝑥 ↔ ∀𝑧 ∈ 𝐴 ∀𝑡 ∈ {𝐵} (𝑧 +no 𝑡) ∈ 𝑥))
2724, 26syl 18 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (( +no “ (𝐴 × {𝐵})) ⊆ 𝑥 ↔ ∀𝑧 ∈ 𝐴 ∀𝑡 ∈ {𝐵} (𝑧 +no 𝑡) ∈ 𝑥))
28 oveq2 7438 . . . . . . . . . 10 (𝑡 = 𝐵 → (𝑧 +no 𝑡) = (𝑧 +no 𝐵))
2928eleq1d 2849 . . . . . . . . 9 (𝑡 = 𝐵 → ((𝑧 +no 𝑡) ∈ 𝑥 ↔ (𝑧 +no 𝐵) ∈ 𝑥))
3029ralsng 4636 . . . . . . . 8 (𝐵 ∈ On → (∀𝑡 ∈ {𝐵} (𝑧 +no 𝑡) ∈ 𝑥 ↔ (𝑧 +no 𝐵) ∈ 𝑥))
3130ralbidv 3189 . . . . . . 7 (𝐵 ∈ On → (∀𝑧 ∈ 𝐴 ∀𝑡 ∈ {𝐵} (𝑧 +no 𝑡) ∈ 𝑥 ↔ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥))
3231adantl 487 . . . . . 6 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (∀𝑧 ∈ 𝐴 ∀𝑡 ∈ {𝐵} (𝑧 +no 𝑡) ∈ 𝑥 ↔ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥))
3327, 32bitrd 282 . . . . 5 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (( +no “ (𝐴 × {𝐵})) ⊆ 𝑥 ↔ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥))
3419, 33anbi12d 644 . . . 4 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ((( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ∧ ( +no “ (𝐴 × {𝐵})) ⊆ 𝑥) ↔ (∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥 ∧ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥)))
3534rabbidv 3423 . . 3 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → {𝑥 ∈ On ∣ (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ∧ ( +no “ (𝐴 × {𝐵})) ⊆ 𝑥)} = {𝑥 ∈ On ∣ (∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥 ∧ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥)})
3635inteqd 4915 . 2 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → ∩ {𝑥 ∈ On ∣ (( +no “ ({𝐴} × 𝐵)) ⊆ 𝑥 ∧ ( +no “ (𝐴 × {𝐵})) ⊆ 𝑥)} = ∩ {𝑥 ∈ On ∣ (∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥 ∧ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥)})
371, 36eqtrd 2798 1 ((𝐴 ∈ On ∧ 𝐵 ∈ On) → (𝐴 +no 𝐵) = ∩ {𝑥 ∈ On ∣ (∀𝑦 ∈ 𝐵 (𝐴 +no 𝑦) ∈ 𝑥 ∧ ∀𝑧 ∈ 𝐴 (𝑧 +no 𝐵) ∈ 𝑥)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  ∀wral 3080  {crab 3416   ⊆ wss 3900  {csn 4588  ∩ cint 4910   × cxp 5653  dom cdm 5655   “ cima 5658  Oncon0 6369  Fun wfun 6541   Fn wfn 6542  (class class class)co 7430   +no cnadd 8688
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6311  df-ord 6372  df-on 6373  df-suc 6375  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-oprab 7434  df-mpo 7435  df-1st 8011  df-2nd 8012  df-frecs 8313  df-nadd 8689
This theorem is used by:  naddcom  8706  naddrid  8707  naddssim  8709  naddelim  8710  naddsuc2  8725  addonbday  28680  ltnadd  37097  naddov4  44528  nadd1suc  44537
  Copyright terms: Public domain W3C validator