HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem ndmoprcl 3058
Description: The closure of an operation outside its domain, when the domain includes the empty set. This technical lemma can make the operation more convenient to work in some cases.
Hypotheses
Ref Expression
ndmoprcl.1 dom F = (S × S)
ndmoprcl.2 ((ASxS) → (AFx) ∈ S)
ndmoprcl.3 ∅ ∈ S
Assertion
Ref Expression
ndmoprcl (AFB) ∈ S
Distinct variable group(s):   x,A   x,B   x,F   x,S

Proof of Theorem ndmoprcl
StepHypRef Expression
1 oprprc2 3020 . . . . . 6 BV → (AFB) = (AFA))
21eleq1d 1155 . . . . 5 BV → ((AFB) ∈ S ↔ (AFA) ∈ S))
3 ndmoprcl.3 . . . . . . . 8 ∅ ∈ S
4 ndmoprcl.1 . . . . . . . . . 10 dom F = (S × S)
54ndmoprg 3057 . . . . . . . . 9 ((AV ∧ ¬ (ASAS)) → (AFA) = ∅)
65eleq1d 1155 . . . . . . . 8 ((AV ∧ ¬ (ASAS)) → ((AFA) ∈ S ↔ ∅ ∈ S))
73, 6mpbiri 169 . . . . . . 7 ((AV ∧ ¬ (ASAS)) → (AFA) ∈ S)
87exp 291 . . . . . 6 (AV → (¬ (ASAS) → (AFA) ∈ S))
9 opreq2 3007 . . . . . . . . . 10 (x = A → (AFx) = (AFA))
109eleq1d 1155 . . . . . . . . 9 (x = A → ((AFx) ∈ S ↔ (AFA) ∈ S))
1110imbi2d 464 . . . . . . . 8 (x = A → ((AS → (AFx) ∈ S) ↔ (AS → (AFA) ∈ S)))
12 ndmoprcl.2 . . . . . . . . . 10 ((ASxS) → (AFx) ∈ S)
1312exp 291 . . . . . . . . 9 (AS → (xS → (AFx) ∈ S))
1413com12 13 . . . . . . . 8 (xS → (AS → (AFx) ∈ S))
1511, 14vtoclga 1387 . . . . . . 7 (AS → (AS → (AFA) ∈ S))
1615imp 277 . . . . . 6 ((ASAS) → (AFA) ∈ S)
178, 16pm2.61d2 111 . . . . 5 (AV → (AFA) ∈ S)
182, 17syl5bir 184 . . . 4 BV → (AV → (AFB) ∈ S))
1918com12 13 . . 3 (AV → (¬ BV → (AFB) ∈ S))
204ndmoprg 3057 . . . . . . 7 ((BV ∧ ¬ (ASBS)) → (AFB) = ∅)
2120eleq1d 1155 . . . . . 6 ((BV ∧ ¬ (ASBS)) → ((AFB) ∈ S ↔ ∅ ∈ S))
223, 21mpbiri 169 . . . . 5 ((BV ∧ ¬ (ASBS)) → (AFB) ∈ S)
2322exp 291 . . . 4 (BV → (¬ (ASBS) → (AFB) ∈ S))
24 opreq2 3007 . . . . . . . . 9 (x = B → (AFx) = (AFB))
2524eleq1d 1155 . . . . . . . 8 (x = B → ((AFx) ∈ S ↔ (AFB) ∈ S))
2625imbi2d 464 . . . . . . 7 (x = B → ((AS → (AFx) ∈ S) ↔ (AS → (AFB) ∈ S)))
2726, 14vtoclga 1387 . . . . . 6 (BS → (AS → (AFB) ∈ S))
2827com12 13 . . . . 5 (AS → (BS → (AFB) ∈ S))
2928imp 277 . . . 4 ((ASBS) → (AFB) ∈ S)
3023, 29pm2.61d2 111 . . 3 (BV → (AFB) ∈ S)
3119, 30pm2.61d2 111 . 2 (AV → (AFB) ∈ S)
32 relxp 2486 . . . . . 6 Rel (S × S)
33 releq 2477 . . . . . . 7 (dom F = (S × S) → (Rel dom F ↔ Rel (S × S)))
344, 33ax-mp 6 . . . . . 6 (Rel dom F ↔ Rel (S × S))
3532, 34mpbir 165 . . . . 5 Rel dom F
3635oprprc1 3019 . . . 4 AV → (AFB) = ∅)
3736eleq1d 1155 . . 3 AV → ((AFB) ∈ S ↔ ∅ ∈ S))
383, 37mpbiri 169 . 2 AV → (AFB) ∈ S)
3931, 38pm2.61i 110 1 (AFB) ∈ S
Colors of variables: wff set class
Syntax hints:  ¬ wn 1   → wi 2   ↔ wb 127   ∧ wa 196   = wceq 1091   ∈ wcel 1092  Vcvv 1348  ∅c0 1707   × cxp 2408  dom cdm 2410  Rel wrel 2415  (class class class)co 3001
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-pow 1077
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-eu 1009  df-clab 1093  df-cleq 1097  df-clel 1099  df-rex 1206  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708  df-pw 1799  df-sn 1811  df-pr 1812  df-op 1815  df-uni 1920  df-br 2063  df-opab 2098  df-xp 2424  df-rel 2425  df-cnv 2426  df-dm 2428  df-rn 2429  df-res 2430  df-ima 2431  df-fv 2438  df-opr 3003
metamath.org