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 33372
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 7276 . . . . . . . . . . 11 (𝑛 = 𝐿 → (𝐾𝑔𝑛) = (𝐾𝑔𝐿))
65oveq2d 7284 . . . . . . . . . 10 (𝑛 = 𝐿 → ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿)))
76eqeq2d 2749 . . . . . . . . 9 (𝑛 = 𝐿 → (𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))))
87adantl 482 . . . . . . . 8 ((((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) ∧ 𝑛 = 𝐿) → (𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))))
9 satfv1fvfmla1.x . . . . . . . . 9 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿))
109a1i 11 . . . . . . . 8 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝐿)))
114, 8, 10rspcedvd 3563 . . . . . . 7 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)))
1211orcd 870 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽)))
13 oveq1 7275 . . . . . . . . . . 11 (𝑖 = 𝐼 → (𝑖𝑔𝑗) = (𝐼𝑔𝑗))
1413oveq1d 7283 . . . . . . . . . 10 (𝑖 = 𝐼 → ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)))
1514eqeq2d 2749 . . . . . . . . 9 (𝑖 = 𝐼 → (𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
1615rexbidv 3224 . . . . . . . 8 (𝑖 = 𝐼 → (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
17 eqidd 2739 . . . . . . . . . 10 (𝑖 = 𝐼𝑘 = 𝑘)
1817, 13goaleq12d 33299 . . . . . . . . 9 (𝑖 = 𝐼 → ∀𝑔𝑘(𝑖𝑔𝑗) = ∀𝑔𝑘(𝐼𝑔𝑗))
1918eqeq2d 2749 . . . . . . . 8 (𝑖 = 𝐼 → (𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗) ↔ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗)))
2016, 19orbi12d 916 . . . . . . 7 (𝑖 = 𝐼 → ((∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗))))
21 oveq2 7276 . . . . . . . . . . 11 (𝑗 = 𝐽 → (𝐼𝑔𝑗) = (𝐼𝑔𝐽))
2221oveq1d 7283 . . . . . . . . . 10 (𝑗 = 𝐽 → ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)))
2322eqeq2d 2749 . . . . . . . . 9 (𝑗 = 𝐽 → (𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛))))
2423rexbidv 3224 . . . . . . . 8 (𝑗 = 𝐽 → (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛))))
25 eqidd 2739 . . . . . . . . . 10 (𝑗 = 𝐽𝑘 = 𝑘)
2625, 21goaleq12d 33299 . . . . . . . . 9 (𝑗 = 𝐽 → ∀𝑔𝑘(𝐼𝑔𝑗) = ∀𝑔𝑘(𝐼𝑔𝐽))
2726eqeq2d 2749 . . . . . . . 8 (𝑗 = 𝐽 → (𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗) ↔ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽)))
2824, 27orbi12d 916 . . . . . . 7 (𝑗 = 𝐽 → ((∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝑗)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽))))
29 oveq1 7275 . . . . . . . . . . 11 (𝑘 = 𝐾 → (𝑘𝑔𝑛) = (𝐾𝑔𝑛))
3029oveq2d 7284 . . . . . . . . . 10 (𝑘 = 𝐾 → ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)))
3130eqeq2d 2749 . . . . . . . . 9 (𝑘 = 𝐾 → (𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛))))
3231rexbidv 3224 . . . . . . . 8 (𝑘 = 𝐾 → (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛))))
33 id 22 . . . . . . . . . 10 (𝑘 = 𝐾𝑘 = 𝐾)
34 eqidd 2739 . . . . . . . . . 10 (𝑘 = 𝐾 → (𝐼𝑔𝐽) = (𝐼𝑔𝐽))
3533, 34goaleq12d 33299 . . . . . . . . 9 (𝑘 = 𝐾 → ∀𝑔𝑘(𝐼𝑔𝐽) = ∀𝑔𝐾(𝐼𝑔𝐽))
3635eqeq2d 2749 . . . . . . . 8 (𝑘 = 𝐾 → (𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽) ↔ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽)))
3732, 36orbi12d 916 . . . . . . 7 (𝑘 = 𝐾 → ((∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝐼𝑔𝐽)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽))))
3820, 28, 37rspc3ev 3574 . . . . . 6 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω ∧ 𝐾 ∈ ω) ∧ (∃𝑛 ∈ ω 𝑋 = ((𝐼𝑔𝐽)⊼𝑔(𝐾𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝐾(𝐼𝑔𝐽))) → ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
391, 2, 3, 12, 38syl31anc 1372 . . . . 5 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
409ovexi 7302 . . . . . 6 𝑋 ∈ V
41 eqeq1 2742 . . . . . . . . . 10 (𝑥 = 𝑋 → (𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
4241rexbidv 3224 . . . . . . . . 9 (𝑥 = 𝑋 → (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ↔ ∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛))))
43 eqeq1 2742 . . . . . . . . 9 (𝑥 = 𝑋 → (𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗) ↔ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
4442, 43orbi12d 916 . . . . . . . 8 (𝑥 = 𝑋 → ((∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗))))
4544rexbidv 3224 . . . . . . 7 (𝑥 = 𝑋 → (∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗))))
46452rexbidv 3227 . . . . . 6 (𝑥 = 𝑋 → (∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗)) ↔ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗))))
4740, 46elab 3609 . . . . 5 (𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))} ↔ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑋 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑋 = ∀𝑔𝑘(𝑖𝑔𝑗)))
4839, 47sylibr 233 . . . 4 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))})
4948olcd 871 . . 3 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → (𝑋 ∈ ({∅} × (ω × ω)) ∨ 𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}))
50 elun 4083 . . 3 (𝑋 ∈ (({∅} × (ω × ω)) ∪ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}) ↔ (𝑋 ∈ ({∅} × (ω × ω)) ∨ 𝑋 ∈ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}))
5149, 50sylibr 233 . 2 (((𝐼 ∈ ω ∧ 𝐽 ∈ ω) ∧ (𝐾 ∈ ω ∧ 𝐿 ∈ ω)) → 𝑋 ∈ (({∅} × (ω × ω)) ∪ {𝑥 ∣ ∃𝑖 ∈ ω ∃𝑗 ∈ ω ∃𝑘 ∈ ω (∃𝑛 ∈ ω 𝑥 = ((𝑖𝑔𝑗)⊼𝑔(𝑘𝑔𝑛)) ∨ 𝑥 = ∀𝑔𝑘(𝑖𝑔𝑗))}))
52 fmla1 33335 . 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 4257  {csn 4562   × cxp 5583  cfv 6427  (class class class)co 7268  ωcom 7703  1oc1o 8278  𝑔cgoe 33281  𝑔cgna 33282  𝑔cgol 33283  Fmlacfmla 33285
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 5222  ax-nul 5229  ax-pow 5287  ax-pr 5351  ax-un 7579  ax-inf2 9387
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 3071  df-rab 3073  df-v 3432  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-iun 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5485  df-eprel 5491  df-po 5499  df-so 5500  df-fr 5540  df-we 5542  df-xp 5591  df-rel 5592  df-cnv 5593  df-co 5594  df-dm 5595  df-rn 5596  df-res 5597  df-ima 5598  df-pred 6196  df-ord 6263  df-on 6264  df-lim 6265  df-suc 6266  df-iota 6385  df-fun 6429  df-fn 6430  df-f 6431  df-f1 6432  df-fo 6433  df-f1o 6434  df-fv 6435  df-ov 7271  df-oprab 7272  df-mpo 7273  df-om 7704  df-1st 7821  df-2nd 7822  df-frecs 8085  df-wrecs 8116  df-recs 8190  df-rdg 8229  df-1o 8285  df-map 8605  df-goel 33288  df-goal 33290  df-sat 33291  df-fmla 33293
This theorem is referenced by:  satefvfmla1  33373
  Copyright terms: Public domain W3C validator