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

Theorem iss 2599
Description: A subclass of the identity function is the identity function restricted to its domain.
Assertion
Ref Expression
iss (AIA = (I ↾ dom A))

Proof of Theorem iss
StepHypRef Expression
1 ssel 1502 . . . . . . . 8 (AI → (⟨x, y⟩ ∈ A → ⟨x, y⟩ ∈ I))
2 df-br 2063 . . . . . . . . 9 (xIy ↔ ⟨x, y⟩ ∈ I)
3 visset 1350 . . . . . . . . . 10 xV
4 visset 1350 . . . . . . . . . 10 yV
53, 4ideq 2127 . . . . . . . . 9 (xIyx = y)
62, 5bitr3 153 . . . . . . . 8 (⟨x, y⟩ ∈ Ix = y)
71, 6syl6ib 185 . . . . . . 7 (AI → (⟨x, y⟩ ∈ Ax = y))
8 pm4.71r 482 . . . . . . 7 ((⟨x, y⟩ ∈ Ax = y) ↔ (⟨x, y⟩ ∈ A ↔ (x = y ∧ ⟨x, y⟩ ∈ A)))
97, 8sylib 173 . . . . . 6 (AI → (⟨x, y⟩ ∈ A ↔ (x = y ∧ ⟨x, y⟩ ∈ A)))
10 cleqcom 1103 . . . . . . . . . . . . 13 (x = yy = x)
1110anbi1i 368 . . . . . . . . . . . 12 ((x = y ∧ ⟨x, y⟩ ∈ A) ↔ (y = x ∧ ⟨x, y⟩ ∈ A))
129, 11syl6bb 414 . . . . . . . . . . 11 (AI → (⟨x, y⟩ ∈ A ↔ (y = x ∧ ⟨x, y⟩ ∈ A)))
1312biexdv 936 . . . . . . . . . 10 (AI → (∃yx, y⟩ ∈ A ↔ ∃y(y = x ∧ ⟨x, y⟩ ∈ A)))
14 opeq2 1877 . . . . . . . . . . . 12 (y = x → ⟨x, y⟩ = ⟨x, x⟩)
1514eleq1d 1155 . . . . . . . . . . 11 (y = x → (⟨x, y⟩ ∈ A ↔ ⟨x, x⟩ ∈ A))
163, 15ceqsexv 1371 . . . . . . . . . 10 (∃y(y = x ∧ ⟨x, y⟩ ∈ A) ↔ ⟨x, x⟩ ∈ A)
1713, 16syl6bb 414 . . . . . . . . 9 (AI → (∃yx, y⟩ ∈ A ↔ ⟨x, x⟩ ∈ A))
183eldm2 2528 . . . . . . . . 9 (x ∈ dom A ↔ ∃yx, y⟩ ∈ A)
1917, 18syl5bb 410 . . . . . . . 8 (AI → (x ∈ dom A ↔ ⟨x, x⟩ ∈ A))
2019anbi2d 468 . . . . . . 7 (AI → ((x = yx ∈ dom A) ↔ (x = y ∧ ⟨x, x⟩ ∈ A)))
21 opeq2 1877 . . . . . . . . 9 (x = y → ⟨x, x⟩ = ⟨x, y⟩)
2221eleq1d 1155 . . . . . . . 8 (x = y → (⟨x, x⟩ ∈ A ↔ ⟨x, y⟩ ∈ A))
2322pm5.32i 489 . . . . . . 7 ((x = y ∧ ⟨x, x⟩ ∈ A) ↔ (x = y ∧ ⟨x, y⟩ ∈ A))
2420, 23syl6bb 414 . . . . . 6 (AI → ((x = yx ∈ dom A) ↔ (x = y ∧ ⟨x, y⟩ ∈ A)))
259, 24bitr4d 409 . . . . 5 (AI → (⟨x, y⟩ ∈ A ↔ (x = yx ∈ dom A)))
264opelres 2579 . . . . . 6 (⟨x, y⟩ ∈ (I ↾ dom A) ↔ (⟨x, y⟩ ∈ Ix ∈ dom A))
276anbi1i 368 . . . . . 6 ((⟨x, y⟩ ∈ Ix ∈ dom A) ↔ (x = yx ∈ dom A))
2826, 27bitr2 152 . . . . 5 ((x = yx ∈ dom A) ↔ ⟨x, y⟩ ∈ (I ↾ dom A))
2925, 28syl6bb 414 . . . 4 (AI → (⟨x, y⟩ ∈ A ↔ ⟨x, y⟩ ∈ (I ↾ dom A)))
302919.21aivv 944 . . 3 (AI → ∀xy(⟨x, y⟩ ∈ A ↔ ⟨x, y⟩ ∈ (I ↾ dom A)))
31 reli 2500 . . . . 5 Rel I
32 ssrel 2479 . . . . 5 (AI → (Rel I → Rel A))
3331, 32mpi 44 . . . 4 (AI → Rel A)
34 relres 2591 . . . . 5 Rel (I ↾ dom A)
35 cleqrel 2483 . . . . 5 ((Rel A ∧ Rel (I ↾ dom A)) → (A = (I ↾ dom A) ↔ ∀xy(⟨x, y⟩ ∈ A ↔ ⟨x, y⟩ ∈ (I ↾ dom A))))
3634, 35mpan2 519 . . . 4 (Rel A → (A = (I ↾ dom A) ↔ ∀xy(⟨x, y⟩ ∈ A ↔ ⟨x, y⟩ ∈ (I ↾ dom A))))
3733, 36syl 12 . . 3 (AI → (A = (I ↾ dom A) ↔ ∀xy(⟨x, y⟩ ∈ A ↔ ⟨x, y⟩ ∈ (I ↾ dom A))))
3830, 37mpbird 171 . 2 (AIA = (I ↾ dom A))
39 resss 2587 . . 3 (I ↾ dom A) ⊆ I
40 sseq1 1521 . . 3 (A = (I ↾ dom A) → (AI ↔ (I ↾ dom A) ⊆ I))
4139, 40mpbiri 169 . 2 (A = (I ↾ dom A) → AI)
4238, 41impbi 139 1 (AIA = (I ↾ dom A))
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127   ∧ wa 196  ∀wal 672  ∃wex 678   = weq 797   = wceq 1091   ∈ wcel 1092   ⊆ wss 1487  ⟨cop 1810   class class class wbr 2054  Icid 2057  dom cdm 2410   ↾ cres 2412  Rel wrel 2415
This theorem is referenced by:  f1ococnv2 2817
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-clab 1093  df-cleq 1097  df-clel 1099  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-br 2063  df-opab 2098  df-id 2125  df-xp 2424  df-rel 2425  df-dm 2428  df-res 2430
metamath.org