Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  satfv0fun Structured version   Visualization version   GIF version

Theorem satfv0fun 32626
Description: The value of the satisfaction predicate as function over wff codes at is a function. (Contributed by AV, 15-Oct-2023.)
Assertion
Ref Expression
satfv0fun ((𝑀𝑉𝐸𝑊) → Fun ((𝑀 Sat 𝐸)‘∅))

Proof of Theorem satfv0fun
Dummy variables 𝑓 𝑖 𝑗 𝑘 𝑙 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 funopab 6363 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})} ↔ ∀𝑥∃*𝑦𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}))
2 oveq1 7137 . . . . . . . . . 10 (𝑖 = 𝑘 → (𝑖𝑔𝑗) = (𝑘𝑔𝑗))
32eqeq2d 2832 . . . . . . . . 9 (𝑖 = 𝑘 → (𝑥 = (𝑖𝑔𝑗) ↔ 𝑥 = (𝑘𝑔𝑗)))
4 fveq2 6643 . . . . . . . . . . . 12 (𝑖 = 𝑘 → (𝑓𝑖) = (𝑓𝑘))
54breq1d 5049 . . . . . . . . . . 11 (𝑖 = 𝑘 → ((𝑓𝑖)𝐸(𝑓𝑗) ↔ (𝑓𝑘)𝐸(𝑓𝑗)))
65rabbidv 3457 . . . . . . . . . 10 (𝑖 = 𝑘 → {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑗)})
76eqeq2d 2832 . . . . . . . . 9 (𝑖 = 𝑘 → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} ↔ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑗)}))
83, 7anbi12d 633 . . . . . . . 8 (𝑖 = 𝑘 → ((𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ↔ (𝑥 = (𝑘𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑗)})))
9 oveq2 7138 . . . . . . . . . 10 (𝑗 = 𝑙 → (𝑘𝑔𝑗) = (𝑘𝑔𝑙))
109eqeq2d 2832 . . . . . . . . 9 (𝑗 = 𝑙 → (𝑥 = (𝑘𝑔𝑗) ↔ 𝑥 = (𝑘𝑔𝑙)))
11 fveq2 6643 . . . . . . . . . . . 12 (𝑗 = 𝑙 → (𝑓𝑗) = (𝑓𝑙))
1211breq2d 5051 . . . . . . . . . . 11 (𝑗 = 𝑙 → ((𝑓𝑘)𝐸(𝑓𝑗) ↔ (𝑓𝑘)𝐸(𝑓𝑙)))
1312rabbidv 3457 . . . . . . . . . 10 (𝑗 = 𝑙 → {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑗)} = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)})
1413eqeq2d 2832 . . . . . . . . 9 (𝑗 = 𝑙 → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑗)} ↔ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}))
1510, 14anbi12d 633 . . . . . . . 8 (𝑗 = 𝑙 → ((𝑥 = (𝑘𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑗)}) ↔ (𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)})))
168, 15cbvrex2vw 3439 . . . . . . 7 (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ↔ ∃𝑘 ∈ ω ∃𝑙 ∈ ω (𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}))
17 eqtr2 2842 . . . . . . . . . . . . . . 15 ((𝑥 = (𝑖𝑔𝑗) ∧ 𝑥 = (𝑘𝑔𝑙)) → (𝑖𝑔𝑗) = (𝑘𝑔𝑙))
18 goeleq12bg 32604 . . . . . . . . . . . . . . . 16 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → ((𝑖𝑔𝑗) = (𝑘𝑔𝑙) ↔ (𝑖 = 𝑘𝑗 = 𝑙)))
194adantr 484 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖 = 𝑘𝑗 = 𝑙) → (𝑓𝑖) = (𝑓𝑘))
2019eqcomd 2827 . . . . . . . . . . . . . . . . . . . 20 ((𝑖 = 𝑘𝑗 = 𝑙) → (𝑓𝑘) = (𝑓𝑖))
2111adantl 485 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖 = 𝑘𝑗 = 𝑙) → (𝑓𝑗) = (𝑓𝑙))
2221eqcomd 2827 . . . . . . . . . . . . . . . . . . . 20 ((𝑖 = 𝑘𝑗 = 𝑙) → (𝑓𝑙) = (𝑓𝑗))
2320, 22breq12d 5052 . . . . . . . . . . . . . . . . . . 19 ((𝑖 = 𝑘𝑗 = 𝑙) → ((𝑓𝑘)𝐸(𝑓𝑙) ↔ (𝑓𝑖)𝐸(𝑓𝑗)))
2423rabbidv 3457 . . . . . . . . . . . . . . . . . 18 ((𝑖 = 𝑘𝑗 = 𝑙) → {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})
25 eqeq12 2835 . . . . . . . . . . . . . . . . . 18 ((𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → (𝑦 = 𝑧 ↔ {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}))
2624, 25syl5ibrcom 250 . . . . . . . . . . . . . . . . 17 ((𝑖 = 𝑘𝑗 = 𝑙) → ((𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → 𝑦 = 𝑧))
2726expd 419 . . . . . . . . . . . . . . . 16 ((𝑖 = 𝑘𝑗 = 𝑙) → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} → (𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} → 𝑦 = 𝑧)))
2818, 27syl6bi 256 . . . . . . . . . . . . . . 15 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → ((𝑖𝑔𝑗) = (𝑘𝑔𝑙) → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} → (𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} → 𝑦 = 𝑧))))
2917, 28syl5 34 . . . . . . . . . . . . . 14 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → ((𝑥 = (𝑖𝑔𝑗) ∧ 𝑥 = (𝑘𝑔𝑙)) → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} → (𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} → 𝑦 = 𝑧))))
3029expd 419 . . . . . . . . . . . . 13 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → (𝑥 = (𝑖𝑔𝑗) → (𝑥 = (𝑘𝑔𝑙) → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)} → (𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} → 𝑦 = 𝑧)))))
3130imp4a 426 . . . . . . . . . . . 12 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → (𝑥 = (𝑖𝑔𝑗) → ((𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}) → (𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} → 𝑦 = 𝑧))))
3231com34 91 . . . . . . . . . . 11 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → (𝑥 = (𝑖𝑔𝑗) → (𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} → ((𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}) → 𝑦 = 𝑧))))
3332impd 414 . . . . . . . . . 10 (((𝑘 ∈ ω ∧ 𝑙 ∈ ω) ∧ (𝑖 ∈ ω ∧ 𝑗 ∈ ω)) → ((𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → ((𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}) → 𝑦 = 𝑧)))
3433rexlimdvva 3280 . . . . . . . . 9 ((𝑘 ∈ ω ∧ 𝑙 ∈ ω) → (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → ((𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}) → 𝑦 = 𝑧)))
3534com23 86 . . . . . . . 8 ((𝑘 ∈ ω ∧ 𝑙 ∈ ω) → ((𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}) → (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → 𝑦 = 𝑧)))
3635rexlimivv 3278 . . . . . . 7 (∃𝑘 ∈ ω ∃𝑙 ∈ ω (𝑥 = (𝑘𝑔𝑙) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑘)𝐸(𝑓𝑙)}) → (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → 𝑦 = 𝑧))
3716, 36sylbi 220 . . . . . 6 (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) → 𝑦 = 𝑧))
3837imp 410 . . . . 5 ((∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ∧ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})) → 𝑦 = 𝑧)
3938gen2 1798 . . . 4 𝑦𝑧((∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ∧ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})) → 𝑦 = 𝑧)
40 eqeq1 2825 . . . . . . 7 (𝑦 = 𝑧 → (𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)} ↔ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}))
4140anbi2d 631 . . . . . 6 (𝑦 = 𝑧 → ((𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ↔ (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})))
42412rexbidv 3286 . . . . 5 (𝑦 = 𝑧 → (∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ↔ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})))
4342mo4 2650 . . . 4 (∃*𝑦𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ↔ ∀𝑦𝑧((∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)}) ∧ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑧 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})) → 𝑦 = 𝑧))
4439, 43mpbir 234 . . 3 ∃*𝑦𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})
451, 44mpgbir 1801 . 2 Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})}
46 eqid 2821 . . . 4 (𝑀 Sat 𝐸) = (𝑀 Sat 𝐸)
4746satfv0 32613 . . 3 ((𝑀𝑉𝐸𝑊) → ((𝑀 Sat 𝐸)‘∅) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})})
4847funeqd 6350 . 2 ((𝑀𝑉𝐸𝑊) → (Fun ((𝑀 Sat 𝐸)‘∅) ↔ Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω (𝑥 = (𝑖𝑔𝑗) ∧ 𝑦 = {𝑓 ∈ (𝑀m ω) ∣ (𝑓𝑖)𝐸(𝑓𝑗)})}))
4945, 48mpbiri 261 1 ((𝑀𝑉𝐸𝑊) → Fun ((𝑀 Sat 𝐸)‘∅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wal 1536   = wceq 1538  wcel 2115  ∃*wmo 2621  wrex 3127  {crab 3130  c0 4266   class class class wbr 5039  {copab 5101  Fun wfun 6322  cfv 6328  (class class class)co 7130  ωcom 7555  m cmap 8381  𝑔cgoe 32588   Sat csat 32591
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2178  ax-ext 2793  ax-rep 5163  ax-sep 5176  ax-nul 5183  ax-pow 5239  ax-pr 5303  ax-un 7436  ax-inf2 9080
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2623  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2892  df-nfc 2960  df-ne 3008  df-ral 3131  df-rex 3132  df-reu 3133  df-rab 3135  df-v 3473  df-sbc 3750  df-csb 3858  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-pss 3929  df-nul 4267  df-if 4441  df-pw 4514  df-sn 4541  df-pr 4543  df-tp 4545  df-op 4547  df-uni 4812  df-iun 4894  df-br 5040  df-opab 5102  df-mpt 5120  df-tr 5146  df-id 5433  df-eprel 5438  df-po 5447  df-so 5448  df-fr 5487  df-we 5489  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-res 5540  df-ima 5541  df-pred 6121  df-ord 6167  df-on 6168  df-lim 6169  df-suc 6170  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-ov 7133  df-oprab 7134  df-mpo 7135  df-om 7556  df-wrecs 7922  df-recs 7983  df-rdg 8021  df-goel 32595  df-sat 32598
This theorem is referenced by:  satffunlem1  32662  satffun  32664  satfv0fvfmla0  32668
  Copyright terms: Public domain W3C validator