![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > tpf | Structured version Visualization version GIF version |
Description: A function into a (proper) triple. (Contributed by AV, 20-Jul-2025.) |
Ref | Expression |
---|---|
tpf1o.f | ⊢ 𝐹 = (𝑥 ∈ (0..^3) ↦ if(𝑥 = 0, 𝐴, if(𝑥 = 1, 𝐵, 𝐶))) |
tpf.t | ⊢ 𝑇 = {𝐴, 𝐵, 𝐶} |
Ref | Expression |
---|---|
tpf | ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → 𝐹:(0..^3)⟶𝑇) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | tpid1g 4794 | . . . . . 6 ⊢ (𝐴 ∈ 𝑉 → 𝐴 ∈ {𝐴, 𝐵, 𝐶}) | |
2 | 1 | 3ad2ant1 1133 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → 𝐴 ∈ {𝐴, 𝐵, 𝐶}) |
3 | tpid2g 4796 | . . . . . . 7 ⊢ (𝐵 ∈ 𝑉 → 𝐵 ∈ {𝐴, 𝐵, 𝐶}) | |
4 | 3 | 3ad2ant2 1134 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → 𝐵 ∈ {𝐴, 𝐵, 𝐶}) |
5 | tpid3g 4797 | . . . . . . 7 ⊢ (𝐶 ∈ 𝑉 → 𝐶 ∈ {𝐴, 𝐵, 𝐶}) | |
6 | 5 | 3ad2ant3 1135 | . . . . . 6 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → 𝐶 ∈ {𝐴, 𝐵, 𝐶}) |
7 | 4, 6 | ifcld 4594 | . . . . 5 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → if(𝑥 = 1, 𝐵, 𝐶) ∈ {𝐴, 𝐵, 𝐶}) |
8 | 2, 7 | ifcld 4594 | . . . 4 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → if(𝑥 = 0, 𝐴, if(𝑥 = 1, 𝐵, 𝐶)) ∈ {𝐴, 𝐵, 𝐶}) |
9 | tpf.t | . . . 4 ⊢ 𝑇 = {𝐴, 𝐵, 𝐶} | |
10 | 8, 9 | eleqtrrdi 2855 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → if(𝑥 = 0, 𝐴, if(𝑥 = 1, 𝐵, 𝐶)) ∈ 𝑇) |
11 | 10 | adantr 480 | . 2 ⊢ (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) ∧ 𝑥 ∈ (0..^3)) → if(𝑥 = 0, 𝐴, if(𝑥 = 1, 𝐵, 𝐶)) ∈ 𝑇) |
12 | tpf1o.f | . 2 ⊢ 𝐹 = (𝑥 ∈ (0..^3) ↦ if(𝑥 = 0, 𝐴, if(𝑥 = 1, 𝐵, 𝐶))) | |
13 | 11, 12 | fmptd 7148 | 1 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) → 𝐹:(0..^3)⟶𝑇) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ w3a 1087 = wceq 1537 ∈ wcel 2108 ifcif 4548 {ctp 4652 ↦ cmpt 5249 ⟶wf 6569 (class class class)co 7448 0cc0 11184 1c1 11185 3c3 12349 ..^cfzo 13711 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2158 ax-12 2178 ax-ext 2711 ax-sep 5317 ax-nul 5324 ax-pr 5447 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 847 df-3or 1088 df-3an 1089 df-tru 1540 df-fal 1550 df-ex 1778 df-nf 1782 df-sb 2065 df-mo 2543 df-eu 2572 df-clab 2718 df-cleq 2732 df-clel 2819 df-nfc 2895 df-ral 3068 df-rex 3077 df-rab 3444 df-v 3490 df-dif 3979 df-un 3981 df-in 3983 df-ss 3993 df-nul 4353 df-if 4549 df-sn 4649 df-pr 4651 df-tp 4653 df-op 4655 df-br 5167 df-opab 5229 df-mpt 5250 df-id 5593 df-xp 5706 df-rel 5707 df-cnv 5708 df-co 5709 df-dm 5710 df-rn 5711 df-res 5712 df-ima 5713 df-fun 6575 df-fn 6576 df-f 6577 |
This theorem is referenced by: tpfo 14549 |
Copyright terms: Public domain | W3C validator |