| Step | Hyp | Ref
| Expression |
| 1 | | eqid 2761 |
. . . . . 6
⊢
(Base‘𝐶) =
(Base‘𝐶) |
| 2 | | eqid 2761 |
. . . . . 6
⊢ (Hom
‘𝐶) = (Hom
‘𝐶) |
| 3 | | eqid 2761 |
. . . . . 6
⊢
(comp‘𝐶) =
(comp‘𝐶) |
| 4 | | setcepi.h |
. . . . . 6
⊢ 𝐸 = (Epi‘𝐶) |
| 5 | | setcmon.u |
. . . . . . 7
⊢ (𝜑 → 𝑈 ∈ 𝑉) |
| 6 | | setcmon.c |
. . . . . . . 8
⊢ 𝐶 = (SetCat‘𝑈) |
| 7 | 6 | setccat 18141 |
. . . . . . 7
⊢ (𝑈 ∈ 𝑉 → 𝐶 ∈ Cat) |
| 8 | 5, 7 | syl 18 |
. . . . . 6
⊢ (𝜑 → 𝐶 ∈ Cat) |
| 9 | | setcmon.x |
. . . . . . 7
⊢ (𝜑 → 𝑋 ∈ 𝑈) |
| 10 | 6, 5 | setcbas 18134 |
. . . . . . 7
⊢ (𝜑 → 𝑈 = (Base‘𝐶)) |
| 11 | 9, 10 | eleqtrd 2863 |
. . . . . 6
⊢ (𝜑 → 𝑋 ∈ (Base‘𝐶)) |
| 12 | | setcmon.y |
. . . . . . 7
⊢ (𝜑 → 𝑌 ∈ 𝑈) |
| 13 | 12, 10 | eleqtrd 2863 |
. . . . . 6
⊢ (𝜑 → 𝑌 ∈ (Base‘𝐶)) |
| 14 | 1, 2, 3, 4, 8, 11,
13 | epihom 17798 |
. . . . 5
⊢ (𝜑 → (𝑋𝐸𝑌) ⊆ (𝑋(Hom ‘𝐶)𝑌)) |
| 15 | 14 | sselda 3936 |
. . . 4
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌)) |
| 16 | 6, 5, 2, 9, 12 | elsetchom 18137 |
. . . . 5
⊢ (𝜑 → (𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌) ↔ 𝐹:𝑋⟶𝑌)) |
| 17 | 16 | biimpa 481 |
. . . 4
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌)) → 𝐹:𝑋⟶𝑌) |
| 18 | 15, 17 | syldan 602 |
. . 3
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐹:𝑋⟶𝑌) |
| 19 | 18 | frnd 6714 |
. . . 4
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ran 𝐹 ⊆ 𝑌) |
| 20 | 18 | ffnd 6706 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐹 Fn 𝑋) |
| 21 | | fnfvelrn 7075 |
. . . . . . . . . . . . . 14
⊢ ((𝐹 Fn 𝑋 ∧ 𝑥 ∈ 𝑋) → (𝐹‘𝑥) ∈ ran 𝐹) |
| 22 | 20, 21 | sylan 591 |
. . . . . . . . . . . . 13
⊢ (((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) ∧ 𝑥 ∈ 𝑋) → (𝐹‘𝑥) ∈ ran 𝐹) |
| 23 | 22 | iftrued 4494 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) ∧ 𝑥 ∈ 𝑋) → if((𝐹‘𝑥) ∈ ran 𝐹, 1o, ∅) =
1o) |
| 24 | 23 | mpteq2dva 5203 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑥 ∈ 𝑋 ↦ if((𝐹‘𝑥) ∈ ran 𝐹, 1o, ∅)) = (𝑥 ∈ 𝑋 ↦ 1o)) |
| 25 | 18 | ffvelcdmda 7079 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) ∧ 𝑥 ∈ 𝑋) → (𝐹‘𝑥) ∈ 𝑌) |
| 26 | 18 | feqmptd 6949 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐹 = (𝑥 ∈ 𝑋 ↦ (𝐹‘𝑥))) |
| 27 | | eqidd 2762 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅))) |
| 28 | | eleq1 2849 |
. . . . . . . . . . . . 13
⊢ (𝑎 = (𝐹‘𝑥) → (𝑎 ∈ ran 𝐹 ↔ (𝐹‘𝑥) ∈ ran 𝐹)) |
| 29 | 28 | ifbid 4510 |
. . . . . . . . . . . 12
⊢ (𝑎 = (𝐹‘𝑥) → if(𝑎 ∈ ran 𝐹, 1o, ∅) = if((𝐹‘𝑥) ∈ ran 𝐹, 1o, ∅)) |
| 30 | 25, 26, 27, 29 | fmptco 7125 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) ∘ 𝐹) = (𝑥 ∈ 𝑋 ↦ if((𝐹‘𝑥) ∈ ran 𝐹, 1o, ∅))) |
| 31 | | fconstmpt 5723 |
. . . . . . . . . . . . 13
⊢ (𝑌 × {1o}) =
(𝑎 ∈ 𝑌 ↦ 1o) |
| 32 | 31 | a1i 11 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑌 × {1o}) = (𝑎 ∈ 𝑌 ↦ 1o)) |
| 33 | | eqidd 2762 |
. . . . . . . . . . . 12
⊢ (𝑎 = (𝐹‘𝑥) → 1o =
1o) |
| 34 | 25, 26, 32, 33 | fmptco 7125 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑌 × {1o}) ∘ 𝐹) = (𝑥 ∈ 𝑋 ↦ 1o)) |
| 35 | 24, 30, 34 | 3eqtr4d 2806 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) ∘ 𝐹) = ((𝑌 × {1o}) ∘ 𝐹)) |
| 36 | 5 | adantr 485 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝑈 ∈ 𝑉) |
| 37 | 9 | adantr 485 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝑋 ∈ 𝑈) |
| 38 | 12 | adantr 485 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝑌 ∈ 𝑈) |
| 39 | | setcepi.2 |
. . . . . . . . . . . 12
⊢ (𝜑 → 2o ∈ 𝑈) |
| 40 | 39 | adantr 485 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 2o ∈ 𝑈) |
| 41 | | eqid 2761 |
. . . . . . . . . . . . 13
⊢ (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) |
| 42 | | 1oelpr 8463 |
. . . . . . . . . . . . . . . 16
⊢
1o ∈ {∅, 1o} |
| 43 | | df2o3 8460 |
. . . . . . . . . . . . . . . 16
⊢
2o = {∅, 1o} |
| 44 | 42, 43 | eleqtrri 2860 |
. . . . . . . . . . . . . . 15
⊢
1o ∈ 2o |
| 45 | | 0ex 5269 |
. . . . . . . . . . . . . . . . 17
⊢ ∅
∈ V |
| 46 | 45 | prid1 4727 |
. . . . . . . . . . . . . . . 16
⊢ ∅
∈ {∅, 1o} |
| 47 | 46, 43 | eleqtrri 2860 |
. . . . . . . . . . . . . . 15
⊢ ∅
∈ 2o |
| 48 | 44, 47 | ifcli 4534 |
. . . . . . . . . . . . . 14
⊢ if(𝑎 ∈ ran 𝐹, 1o, ∅) ∈
2o |
| 49 | 48 | a1i 11 |
. . . . . . . . . . . . 13
⊢ (𝑎 ∈ 𝑌 → if(𝑎 ∈ ran 𝐹, 1o, ∅) ∈
2o) |
| 50 | 41, 49 | fmpti 7107 |
. . . . . . . . . . . 12
⊢ (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)):𝑌⟶2o |
| 51 | 50 | a1i 11 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)):𝑌⟶2o) |
| 52 | 6, 36, 3, 37, 38, 40, 18, 51 | setcco 18139 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅))(〈𝑋, 𝑌〉(comp‘𝐶)2o)𝐹) = ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) ∘ 𝐹)) |
| 53 | | fconst6g 6767 |
. . . . . . . . . . . 12
⊢
(1o ∈ 2o → (𝑌 × {1o}):𝑌⟶2o) |
| 54 | 44, 53 | mp1i 14 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑌 × {1o}):𝑌⟶2o) |
| 55 | 6, 36, 3, 37, 38, 40, 18, 54 | setcco 18139 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑌 × {1o})(〈𝑋, 𝑌〉(comp‘𝐶)2o)𝐹) = ((𝑌 × {1o}) ∘ 𝐹)) |
| 56 | 35, 52, 55 | 3eqtr4d 2806 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅))(〈𝑋, 𝑌〉(comp‘𝐶)2o)𝐹) = ((𝑌 × {1o})(〈𝑋, 𝑌〉(comp‘𝐶)2o)𝐹)) |
| 57 | 8 | adantr 485 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐶 ∈ Cat) |
| 58 | 11 | adantr 485 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝑋 ∈ (Base‘𝐶)) |
| 59 | 13 | adantr 485 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝑌 ∈ (Base‘𝐶)) |
| 60 | 39, 10 | eleqtrd 2863 |
. . . . . . . . . . 11
⊢ (𝜑 → 2o ∈
(Base‘𝐶)) |
| 61 | 60 | adantr 485 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 2o ∈
(Base‘𝐶)) |
| 62 | | simpr 489 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐹 ∈ (𝑋𝐸𝑌)) |
| 63 | 6, 36, 2, 38, 40 | elsetchom 18137 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) ∈ (𝑌(Hom ‘𝐶)2o) ↔ (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)):𝑌⟶2o)) |
| 64 | 51, 63 | mpbird 260 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) ∈ (𝑌(Hom ‘𝐶)2o)) |
| 65 | 6, 36, 2, 38, 40 | elsetchom 18137 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ((𝑌 × {1o}) ∈ (𝑌(Hom ‘𝐶)2o) ↔ (𝑌 × {1o}):𝑌⟶2o)) |
| 66 | 54, 65 | mpbird 260 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑌 × {1o}) ∈ (𝑌(Hom ‘𝐶)2o)) |
| 67 | 1, 2, 3, 4, 57, 58, 59, 61, 62, 64, 66 | epii 17799 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅))(〈𝑋, 𝑌〉(comp‘𝐶)2o)𝐹) = ((𝑌 × {1o})(〈𝑋, 𝑌〉(comp‘𝐶)2o)𝐹) ↔ (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑌 ×
{1o}))) |
| 68 | 56, 67 | mpbid 235 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑌 ×
{1o})) |
| 69 | 68, 31 | eqtrdi 2812 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → (𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑎 ∈ 𝑌 ↦ 1o)) |
| 70 | 48 | rgenw 3081 |
. . . . . . . 8
⊢
∀𝑎 ∈
𝑌 if(𝑎 ∈ ran 𝐹, 1o, ∅) ∈
2o |
| 71 | | mpteqb 7009 |
. . . . . . . 8
⊢
(∀𝑎 ∈
𝑌 if(𝑎 ∈ ran 𝐹, 1o, ∅) ∈
2o → ((𝑎
∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑎 ∈ 𝑌 ↦ 1o) ↔ ∀𝑎 ∈ 𝑌 if(𝑎 ∈ ran 𝐹, 1o, ∅) =
1o)) |
| 72 | 70, 71 | ax-mp 5 |
. . . . . . 7
⊢ ((𝑎 ∈ 𝑌 ↦ if(𝑎 ∈ ran 𝐹, 1o, ∅)) = (𝑎 ∈ 𝑌 ↦ 1o) ↔ ∀𝑎 ∈ 𝑌 if(𝑎 ∈ ran 𝐹, 1o, ∅) =
1o) |
| 73 | 69, 72 | sylib 221 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ∀𝑎 ∈ 𝑌 if(𝑎 ∈ ran 𝐹, 1o, ∅) =
1o) |
| 74 | | 1n0 8471 |
. . . . . . . . . 10
⊢
1o ≠ ∅ |
| 75 | 74 | nesymi 3013 |
. . . . . . . . 9
⊢ ¬
∅ = 1o |
| 76 | | iffalse 4495 |
. . . . . . . . . 10
⊢ (¬
𝑎 ∈ ran 𝐹 → if(𝑎 ∈ ran 𝐹, 1o, ∅) =
∅) |
| 77 | 76 | eqeq1d 2763 |
. . . . . . . . 9
⊢ (¬
𝑎 ∈ ran 𝐹 → (if(𝑎 ∈ ran 𝐹, 1o, ∅) = 1o
↔ ∅ = 1o)) |
| 78 | 75, 77 | mtbiri 330 |
. . . . . . . 8
⊢ (¬
𝑎 ∈ ran 𝐹 → ¬ if(𝑎 ∈ ran 𝐹, 1o, ∅) =
1o) |
| 79 | 78 | con4i 115 |
. . . . . . 7
⊢ (if(𝑎 ∈ ran 𝐹, 1o, ∅) = 1o
→ 𝑎 ∈ ran 𝐹) |
| 80 | 79 | ralimi 3100 |
. . . . . 6
⊢
(∀𝑎 ∈
𝑌 if(𝑎 ∈ ran 𝐹, 1o, ∅) = 1o
→ ∀𝑎 ∈
𝑌 𝑎 ∈ ran 𝐹) |
| 81 | 73, 80 | syl 18 |
. . . . 5
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ∀𝑎 ∈ 𝑌 𝑎 ∈ ran 𝐹) |
| 82 | | dfss3 3925 |
. . . . 5
⊢ (𝑌 ⊆ ran 𝐹 ↔ ∀𝑎 ∈ 𝑌 𝑎 ∈ ran 𝐹) |
| 83 | 81, 82 | sylibr 237 |
. . . 4
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝑌 ⊆ ran 𝐹) |
| 84 | 19, 83 | eqssd 3953 |
. . 3
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → ran 𝐹 = 𝑌) |
| 85 | | dffo2 6796 |
. . 3
⊢ (𝐹:𝑋–onto→𝑌 ↔ (𝐹:𝑋⟶𝑌 ∧ ran 𝐹 = 𝑌)) |
| 86 | 18, 84, 85 | sylanbrc 594 |
. 2
⊢ ((𝜑 ∧ 𝐹 ∈ (𝑋𝐸𝑌)) → 𝐹:𝑋–onto→𝑌) |
| 87 | | fof 6792 |
. . . . 5
⊢ (𝐹:𝑋–onto→𝑌 → 𝐹:𝑋⟶𝑌) |
| 88 | 87 | adantl 486 |
. . . 4
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → 𝐹:𝑋⟶𝑌) |
| 89 | 16 | biimpar 482 |
. . . 4
⊢ ((𝜑 ∧ 𝐹:𝑋⟶𝑌) → 𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌)) |
| 90 | 88, 89 | syldan 602 |
. . 3
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → 𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌)) |
| 91 | 10 | adantr 485 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → 𝑈 = (Base‘𝐶)) |
| 92 | 91 | eleq2d 2847 |
. . . . 5
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → (𝑧 ∈ 𝑈 ↔ 𝑧 ∈ (Base‘𝐶))) |
| 93 | 5 | ad2antrr 738 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑈 ∈ 𝑉) |
| 94 | 9 | ad2antrr 738 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑋 ∈ 𝑈) |
| 95 | 12 | ad2antrr 738 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑌 ∈ 𝑈) |
| 96 | | simprl 782 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑧 ∈ 𝑈) |
| 97 | 88 | adantr 485 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝐹:𝑋⟶𝑌) |
| 98 | | simprrl 792 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)) |
| 99 | 6, 93, 2, 95, 96 | elsetchom 18137 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ↔ 𝑔:𝑌⟶𝑧)) |
| 100 | 98, 99 | mpbid 235 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑔:𝑌⟶𝑧) |
| 101 | 6, 93, 3, 94, 95, 96, 97, 100 | setcco 18139 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → (𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (𝑔 ∘ 𝐹)) |
| 102 | | simprrr 793 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)) |
| 103 | 6, 93, 2, 95, 96 | elsetchom 18137 |
. . . . . . . . . . . 12
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → (ℎ ∈ (𝑌(Hom ‘𝐶)𝑧) ↔ ℎ:𝑌⟶𝑧)) |
| 104 | 102, 103 | mpbid 235 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ℎ:𝑌⟶𝑧) |
| 105 | 6, 93, 3, 94, 95, 96, 97, 104 | setcco 18139 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ ∘ 𝐹)) |
| 106 | 101, 105 | eqeq12d 2777 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) ↔ (𝑔 ∘ 𝐹) = (ℎ ∘ 𝐹))) |
| 107 | | simplr 780 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝐹:𝑋–onto→𝑌) |
| 108 | 100 | ffnd 6706 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → 𝑔 Fn 𝑌) |
| 109 | 104 | ffnd 6706 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ℎ Fn 𝑌) |
| 110 | | cocan2 7290 |
. . . . . . . . . . 11
⊢ ((𝐹:𝑋–onto→𝑌 ∧ 𝑔 Fn 𝑌 ∧ ℎ Fn 𝑌) → ((𝑔 ∘ 𝐹) = (ℎ ∘ 𝐹) ↔ 𝑔 = ℎ)) |
| 111 | 107, 108,
109, 110 | syl3anc 1396 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ((𝑔 ∘ 𝐹) = (ℎ ∘ 𝐹) ↔ 𝑔 = ℎ)) |
| 112 | 111 | biimpd 232 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ((𝑔 ∘ 𝐹) = (ℎ ∘ 𝐹) → 𝑔 = ℎ)) |
| 113 | 106, 112 | sylbid 243 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ (𝑧 ∈ 𝑈 ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)))) → ((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ)) |
| 114 | 113 | anassrs 472 |
. . . . . . 7
⊢ ((((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ 𝑧 ∈ 𝑈) ∧ (𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧) ∧ ℎ ∈ (𝑌(Hom ‘𝐶)𝑧))) → ((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ)) |
| 115 | 114 | ralrimivva 3206 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐹:𝑋–onto→𝑌) ∧ 𝑧 ∈ 𝑈) → ∀𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)∀ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ)) |
| 116 | 115 | ex 417 |
. . . . 5
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → (𝑧 ∈ 𝑈 → ∀𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)∀ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ))) |
| 117 | 92, 116 | sylbird 263 |
. . . 4
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → (𝑧 ∈ (Base‘𝐶) → ∀𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)∀ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ))) |
| 118 | 117 | ralrimiv 3154 |
. . 3
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → ∀𝑧 ∈ (Base‘𝐶)∀𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)∀ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ)) |
| 119 | 1, 2, 3, 4, 8, 11,
13 | isepi2 17797 |
. . . 4
⊢ (𝜑 → (𝐹 ∈ (𝑋𝐸𝑌) ↔ (𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌) ∧ ∀𝑧 ∈ (Base‘𝐶)∀𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)∀ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ)))) |
| 120 | 119 | adantr 485 |
. . 3
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → (𝐹 ∈ (𝑋𝐸𝑌) ↔ (𝐹 ∈ (𝑋(Hom ‘𝐶)𝑌) ∧ ∀𝑧 ∈ (Base‘𝐶)∀𝑔 ∈ (𝑌(Hom ‘𝐶)𝑧)∀ℎ ∈ (𝑌(Hom ‘𝐶)𝑧)((𝑔(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) = (ℎ(〈𝑋, 𝑌〉(comp‘𝐶)𝑧)𝐹) → 𝑔 = ℎ)))) |
| 121 | 90, 118, 120 | mpbir2and 725 |
. 2
⊢ ((𝜑 ∧ 𝐹:𝑋–onto→𝑌) → 𝐹 ∈ (𝑋𝐸𝑌)) |
| 122 | 86, 121 | impbida 812 |
1
⊢ (𝜑 → (𝐹 ∈ (𝑋𝐸𝑌) ↔ 𝐹:𝑋–onto→𝑌)) |