ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  djuinj GIF version

Theorem djuinj 7071
Description: The "domain-disjoint-union" of two injective relations with disjoint ranges is an injective relation. (Contributed by BJ, 10-Jul-2022.)
Hypotheses
Ref Expression
djuinj.r (𝜑 → Fun 𝑅)
djuinj.s (𝜑 → Fun 𝑆)
djuinj.disj (𝜑 → (ran 𝑅 ∩ ran 𝑆) = ∅)
Assertion
Ref Expression
djuinj (𝜑 → Fun (𝑅d 𝑆))

Proof of Theorem djuinj
StepHypRef Expression
1 inlresf1 7026 . . . . . . 7 (inl ↾ dom 𝑅):dom 𝑅1-1→(dom 𝑅𝐴)
2 f1fun 5396 . . . . . . 7 ((inl ↾ dom 𝑅):dom 𝑅1-1→(dom 𝑅𝐴) → Fun (inl ↾ dom 𝑅))
31, 2ax-mp 5 . . . . . 6 Fun (inl ↾ dom 𝑅)
4 funcnvcnv 5247 . . . . . 6 (Fun (inl ↾ dom 𝑅) → Fun (inl ↾ dom 𝑅))
53, 4ax-mp 5 . . . . 5 Fun (inl ↾ dom 𝑅)
6 djuinj.r . . . . 5 (𝜑 → Fun 𝑅)
7 funco 5228 . . . . 5 ((Fun (inl ↾ dom 𝑅) ∧ Fun 𝑅) → Fun ((inl ↾ dom 𝑅) ∘ 𝑅))
85, 6, 7sylancr 411 . . . 4 (𝜑 → Fun ((inl ↾ dom 𝑅) ∘ 𝑅))
9 cnvco 4789 . . . . 5 (𝑅(inl ↾ dom 𝑅)) = ((inl ↾ dom 𝑅) ∘ 𝑅)
109funeqi 5209 . . . 4 (Fun (𝑅(inl ↾ dom 𝑅)) ↔ Fun ((inl ↾ dom 𝑅) ∘ 𝑅))
118, 10sylibr 133 . . 3 (𝜑 → Fun (𝑅(inl ↾ dom 𝑅)))
12 inrresf1 7027 . . . . . . 7 (inr ↾ dom 𝑆):dom 𝑆1-1→(𝐴 ⊔ dom 𝑆)
13 f1fun 5396 . . . . . . 7 ((inr ↾ dom 𝑆):dom 𝑆1-1→(𝐴 ⊔ dom 𝑆) → Fun (inr ↾ dom 𝑆))
1412, 13ax-mp 5 . . . . . 6 Fun (inr ↾ dom 𝑆)
15 funcnvcnv 5247 . . . . . 6 (Fun (inr ↾ dom 𝑆) → Fun (inr ↾ dom 𝑆))
1614, 15ax-mp 5 . . . . 5 Fun (inr ↾ dom 𝑆)
17 djuinj.s . . . . 5 (𝜑 → Fun 𝑆)
18 funco 5228 . . . . 5 ((Fun (inr ↾ dom 𝑆) ∧ Fun 𝑆) → Fun ((inr ↾ dom 𝑆) ∘ 𝑆))
1916, 17, 18sylancr 411 . . . 4 (𝜑 → Fun ((inr ↾ dom 𝑆) ∘ 𝑆))
20 cnvco 4789 . . . . 5 (𝑆(inr ↾ dom 𝑆)) = ((inr ↾ dom 𝑆) ∘ 𝑆)
2120funeqi 5209 . . . 4 (Fun (𝑆(inr ↾ dom 𝑆)) ↔ Fun ((inr ↾ dom 𝑆) ∘ 𝑆))
2219, 21sylibr 133 . . 3 (𝜑 → Fun (𝑆(inr ↾ dom 𝑆)))
23 df-rn 4615 . . . . . . 7 ran (𝑅(inl ↾ dom 𝑅)) = dom (𝑅(inl ↾ dom 𝑅))
24 rncoss 4874 . . . . . . 7 ran (𝑅(inl ↾ dom 𝑅)) ⊆ ran 𝑅
2523, 24eqsstrri 3175 . . . . . 6 dom (𝑅(inl ↾ dom 𝑅)) ⊆ ran 𝑅
26 df-rn 4615 . . . . . . 7 ran (𝑆(inr ↾ dom 𝑆)) = dom (𝑆(inr ↾ dom 𝑆))
27 rncoss 4874 . . . . . . 7 ran (𝑆(inr ↾ dom 𝑆)) ⊆ ran 𝑆
2826, 27eqsstrri 3175 . . . . . 6 dom (𝑆(inr ↾ dom 𝑆)) ⊆ ran 𝑆
29 ss2in 3350 . . . . . 6 ((dom (𝑅(inl ↾ dom 𝑅)) ⊆ ran 𝑅 ∧ dom (𝑆(inr ↾ dom 𝑆)) ⊆ ran 𝑆) → (dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) ⊆ (ran 𝑅 ∩ ran 𝑆))
3025, 28, 29mp2an 423 . . . . 5 (dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) ⊆ (ran 𝑅 ∩ ran 𝑆)
31 djuinj.disj . . . . 5 (𝜑 → (ran 𝑅 ∩ ran 𝑆) = ∅)
3230, 31sseqtrid 3192 . . . 4 (𝜑 → (dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) ⊆ ∅)
33 ss0 3449 . . . 4 ((dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) ⊆ ∅ → (dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) = ∅)
3432, 33syl 14 . . 3 (𝜑 → (dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) = ∅)
35 funun 5232 . . 3 (((Fun (𝑅(inl ↾ dom 𝑅)) ∧ Fun (𝑆(inr ↾ dom 𝑆))) ∧ (dom (𝑅(inl ↾ dom 𝑅)) ∩ dom (𝑆(inr ↾ dom 𝑆))) = ∅) → Fun ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆))))
3611, 22, 34, 35syl21anc 1227 . 2 (𝜑 → Fun ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆))))
37 df-djud 7068 . . . . 5 (𝑅d 𝑆) = ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆)))
3837cnveqi 4779 . . . 4 (𝑅d 𝑆) = ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆)))
39 cnvun 5009 . . . 4 ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆))) = ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆)))
4038, 39eqtri 2186 . . 3 (𝑅d 𝑆) = ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆)))
4140funeqi 5209 . 2 (Fun (𝑅d 𝑆) ↔ Fun ((𝑅(inl ↾ dom 𝑅)) ∪ (𝑆(inr ↾ dom 𝑆))))
4236, 41sylibr 133 1 (𝜑 → Fun (𝑅d 𝑆))
Colors of variables: wff set class
Syntax hints:  wi 4   = wceq 1343  cun 3114  cin 3115  wss 3116  c0 3409  ccnv 4603  dom cdm 4604  ran crn 4605  cres 4606  ccom 4608  Fun wfun 5182  1-1wf1 5185  cdju 7002  inlcinl 7010  inrcinr 7011  d cdjud 7067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-iord 4344  df-on 4346  df-suc 4349  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1st 6108  df-2nd 6109  df-1o 6384  df-dju 7003  df-inl 7012  df-inr 7013  df-djud 7068
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator