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

Theorem 2goelgoanfmla1 33386
Description: Two Godel-sets of membership combined with a Godel-set for NAND is a Godel formula of height 1. (Contributed by AV, 17-Nov-2023.)
Hypothesis
Ref Expression
satfv1fvfmla1.x 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))
Assertion
Ref Expression
2goelgoanfmla1 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 ∈ (Fmla‘1o))

Proof of Theorem 2goelgoanfmla1
Dummy variables 𝑖 𝑗 𝑘 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpll 764 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝐼 ∈ ω)
2 simplr 766 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝐽 ∈ ω)
3 simprl 768 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝐾 ∈ ω)
4 simprr 770 . . . . . . . 8 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝐿 ∈ ω)
5 oveq2 7283 . . . . . . . . . . 11 (𝑛 = 𝐿 → (𝐾𝑔𝑛) = (𝐾𝑔𝐿))
65oveq2d 7291 . . . . . . . . . 10 (𝑛 = 𝐿 → ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿)))
76eqeq2d 2749 . . . . . . . . 9 (𝑛 = 𝐿 → (𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))))
87adantl 482 . . . . . . . 8 ((((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) ∧ 𝑛 = 𝐿) → (𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))))
9 satfv1fvfmla1.x . . . . . . . . 9 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))
109a1i 11 . . . . . . . 8 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿)))
114, 8, 10rspcedvd 3563 . . . . . . 7 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)))
1211orcd 870 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽)))
13 oveq1 7282 . . . . . . . . . . 11 (𝑖 = 𝐼 → (𝑖𝑔𝑗) = (𝐼𝑔𝑗))
1413oveq1d 7290 . . . . . . . . . 10 (𝑖 = 𝐼 → ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)))
1514eqeq2d 2749 . . . . . . . . 9 (𝑖 = 𝐼 → (𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
1615rexbidv 3226 . . . . . . . 8 (𝑖 = 𝐼 → (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
17 eqidd 2739 . . . . . . . . . 10 (𝑖 = 𝐼𝑘 = 𝑘)
1817, 13goaleq12d 33313 . . . . . . . . 9 (𝑖 = 𝐼 → ∀𝑔𝑘(𝑖𝑔𝑗) = ∀𝑔𝑘(𝐼𝑔𝑗))
1918eqeq2d 2749 . . . . . . . 8 (𝑖 = 𝐼 → (𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗) ↔ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗)))
2016, 19orbi12d 916 . . . . . . 7 (𝑖 = 𝐼 → ((∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗))))
21 oveq2 7283 . . . . . . . . . . 11 (𝑗 = 𝐽 → (𝐼𝑔𝑗) = (𝐼𝑔𝐽))
2221oveq1d 7290 . . . . . . . . . 10 (𝑗 = 𝐽 → ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)))
2322eqeq2d 2749 . . . . . . . . 9 (𝑗 = 𝐽 → (𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛))))
2423rexbidv 3226 . . . . . . . 8 (𝑗 = 𝐽 → (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛))))
25 eqidd 2739 . . . . . . . . . 10 (𝑗 = 𝐽𝑘 = 𝑘)
2625, 21goaleq12d 33313 . . . . . . . . 9 (𝑗 = 𝐽 → ∀𝑔𝑘(𝐼𝑔𝑗) = ∀𝑔𝑘(𝐼𝑔𝐽))
2726eqeq2d 2749 . . . . . . . 8 (𝑗 = 𝐽 → (𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗) ↔ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽)))
2824, 27orbi12d 916 . . . . . . 7 (𝑗 = 𝐽 → ((∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽))))
29 oveq1 7282 . . . . . . . . . . 11 (𝑘 = 𝐾 → (𝑘𝑔𝑛) = (𝐾𝑔𝑛))
3029oveq2d 7291 . . . . . . . . . 10 (𝑘 = 𝐾 → ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)))
3130eqeq2d 2749 . . . . . . . . 9 (𝑘 = 𝐾 → (𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛))))
3231rexbidv 3226 . . . . . . . 8 (𝑘 = 𝐾 → (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛))))
33 id 22 . . . . . . . . . 10 (𝑘 = 𝐾𝑘 = 𝐾)
34 eqidd 2739 . . . . . . . . . 10 (𝑘 = 𝐾 → (𝐼𝑔𝐽) = (𝐼𝑔𝐽))
3533, 34goaleq12d 33313 . . . . . . . . 9 (𝑘 = 𝐾 → ∀𝑔𝑘(𝐼𝑔𝐽) = ∀𝑔𝐾(𝐼𝑔𝐽))
3635eqeq2d 2749 . . . . . . . 8 (𝑘 = 𝐾 → (𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽) ↔ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽)))
3732, 36orbi12d 916 . . . . . . 7 (𝑘 = 𝐾 → ((∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽))))
3820, 28, 37rspc3ev 3574 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω ∧ 𝐾 ∈ ω) ∧ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽))) → ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
391, 2, 3, 12, 38syl31anc 1372 . . . . 5 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
409ovexi 7309 . . . . . 6 𝑋 ∈ V
41 eqeq1 2742 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
4241rexbidv 3226 . . . . . . . . 9 (𝑥 = 𝑋 → (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
43 eqeq1 2742 . . . . . . . . 9 (𝑥 = 𝑋 → (𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗) ↔ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
4442, 43orbi12d 916 . . . . . . . 8 (𝑥 = 𝑋 → ((∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗))))
4544rexbidv 3226 . . . . . . 7 (𝑥 = 𝑋 → (∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗))))
46452rexbidv 3229 . . . . . 6 (𝑥 = 𝑋 → (∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗))))
4740, 46elab 3609 . . . . 5 (𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))} ↔ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
4839, 47sylibr 233 . . . 4 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))})
4948olcd 871 . . 3 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → (𝑋 ∈ ({∅} × (ω × ω)) ∨ 𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}))
50 elun 4083 . . 3 (𝑋 ∈ (({∅} × (ω × ω)) ∪ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}) ↔ (𝑋 ∈ ({∅} × (ω × ω)) ∨ 𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}))
5149, 50sylibr 233 . 2 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 ∈ (({∅} × (ω × ω)) ∪ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}))
52 fmla1 33349 . 2 (Fmla‘1o) = (({∅} × (ω × ω)) ∪ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))})
5351, 52eleqtrrdi 2850 1 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 ∈ (Fmla‘1o))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  {cab 2715  wrex 3065  cun 3885  c0 4256  {csn 4561   × cxp 5587  cfv 6433  (class class class)co 7275  ωcom 7712  1oc1o 8290  𝑔cgoe 33295  𝑔cgna 33296  𝑔cgol 33297  Fmlacfmla 33299
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-map 8617  df-goel 33302  df-goal 33304  df-sat 33305  df-fmla 33307
This theorem is referenced by:  satefvfmla1  33387
  Copyright terms: Public domain W3C validator