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

Theorem qliftfun 6595
Description: The function 𝐹 is the unique function defined by 𝐹‘[𝑥] = 𝐴, provided that the well-definedness condition holds. (Contributed by Mario Carneiro, 23-Dec-2016.)
Hypotheses
Ref Expression
qlift.1 𝐹 = ran (𝑥𝑋 ↦ ⟨[𝑥]𝑅, 𝐴⟩)
qlift.2 ((𝜑𝑥𝑋) → 𝐴𝑌)
qlift.3 (𝜑𝑅 Er 𝑋)
qlift.4 (𝜑𝑋 ∈ V)
qliftfun.4 (𝑥 = 𝑦𝐴 = 𝐵)
Assertion
Ref Expression
qliftfun (𝜑 → (Fun 𝐹 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝐴 = 𝐵)))
Distinct variable groups:   𝑦,𝐴   𝑥,𝐵   𝑥,𝑦,𝜑   𝑥,𝑅,𝑦   𝑦,𝐹   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑦)   𝐹(𝑥)

Proof of Theorem qliftfun
StepHypRef Expression
1 qlift.1 . . 3 𝐹 = ran (𝑥𝑋 ↦ ⟨[𝑥]𝑅, 𝐴⟩)
2 qlift.2 . . . 4 ((𝜑𝑥𝑋) → 𝐴𝑌)
3 qlift.3 . . . 4 (𝜑𝑅 Er 𝑋)
4 qlift.4 . . . 4 (𝜑𝑋 ∈ V)
51, 2, 3, 4qliftlem 6591 . . 3 ((𝜑𝑥𝑋) → [𝑥]𝑅 ∈ (𝑋 / 𝑅))
6 eceq1 6548 . . 3 (𝑥 = 𝑦 → [𝑥]𝑅 = [𝑦]𝑅)
7 qliftfun.4 . . 3 (𝑥 = 𝑦𝐴 = 𝐵)
81, 5, 2, 6, 7fliftfun 5775 . 2 (𝜑 → (Fun 𝐹 ↔ ∀𝑥𝑋𝑦𝑋 ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵)))
93adantr 274 . . . . . . . . . . 11 ((𝜑𝑥𝑅𝑦) → 𝑅 Er 𝑋)
10 simpr 109 . . . . . . . . . . 11 ((𝜑𝑥𝑅𝑦) → 𝑥𝑅𝑦)
119, 10ercl 6524 . . . . . . . . . 10 ((𝜑𝑥𝑅𝑦) → 𝑥𝑋)
129, 10ercl2 6526 . . . . . . . . . 10 ((𝜑𝑥𝑅𝑦) → 𝑦𝑋)
1311, 12jca 304 . . . . . . . . 9 ((𝜑𝑥𝑅𝑦) → (𝑥𝑋𝑦𝑋))
1413ex 114 . . . . . . . 8 (𝜑 → (𝑥𝑅𝑦 → (𝑥𝑋𝑦𝑋)))
1514pm4.71rd 392 . . . . . . 7 (𝜑 → (𝑥𝑅𝑦 ↔ ((𝑥𝑋𝑦𝑋) ∧ 𝑥𝑅𝑦)))
163adantr 274 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝑋𝑦𝑋)) → 𝑅 Er 𝑋)
17 simprl 526 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝑋𝑦𝑋)) → 𝑥𝑋)
1816, 17erth 6557 . . . . . . . 8 ((𝜑 ∧ (𝑥𝑋𝑦𝑋)) → (𝑥𝑅𝑦 ↔ [𝑥]𝑅 = [𝑦]𝑅))
1918pm5.32da 449 . . . . . . 7 (𝜑 → (((𝑥𝑋𝑦𝑋) ∧ 𝑥𝑅𝑦) ↔ ((𝑥𝑋𝑦𝑋) ∧ [𝑥]𝑅 = [𝑦]𝑅)))
2015, 19bitrd 187 . . . . . 6 (𝜑 → (𝑥𝑅𝑦 ↔ ((𝑥𝑋𝑦𝑋) ∧ [𝑥]𝑅 = [𝑦]𝑅)))
2120imbi1d 230 . . . . 5 (𝜑 → ((𝑥𝑅𝑦𝐴 = 𝐵) ↔ (((𝑥𝑋𝑦𝑋) ∧ [𝑥]𝑅 = [𝑦]𝑅) → 𝐴 = 𝐵)))
22 impexp 261 . . . . 5 ((((𝑥𝑋𝑦𝑋) ∧ [𝑥]𝑅 = [𝑦]𝑅) → 𝐴 = 𝐵) ↔ ((𝑥𝑋𝑦𝑋) → ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵)))
2321, 22bitrdi 195 . . . 4 (𝜑 → ((𝑥𝑅𝑦𝐴 = 𝐵) ↔ ((𝑥𝑋𝑦𝑋) → ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵))))
24232albidv 1860 . . 3 (𝜑 → (∀𝑥𝑦(𝑥𝑅𝑦𝐴 = 𝐵) ↔ ∀𝑥𝑦((𝑥𝑋𝑦𝑋) → ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵))))
25 r2al 2489 . . 3 (∀𝑥𝑋𝑦𝑋 ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵) ↔ ∀𝑥𝑦((𝑥𝑋𝑦𝑋) → ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵)))
2624, 25bitr4di 197 . 2 (𝜑 → (∀𝑥𝑦(𝑥𝑅𝑦𝐴 = 𝐵) ↔ ∀𝑥𝑋𝑦𝑋 ([𝑥]𝑅 = [𝑦]𝑅𝐴 = 𝐵)))
278, 26bitr4d 190 1 (𝜑 → (Fun 𝐹 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝐴 = 𝐵)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1346   = wceq 1348  wcel 2141  wral 2448  Vcvv 2730  cop 3586   class class class wbr 3989  cmpt 4050  ran crn 4612  Fun wfun 5192   Er wer 6510  [cec 6511   / cqs 6512
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-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-fv 5206  df-er 6513  df-ec 6515  df-qs 6519
This theorem is referenced by:  qliftfund  6596  qliftfuns  6597
  Copyright terms: Public domain W3C validator