Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  genpcl Structured version   Visualization version   GIF version

Theorem genpcl 9782
 Description: Closure of an operation on reals. (Contributed by NM, 13-Mar-1996.) (Revised by Mario Carneiro, 17-Nov-2014.) (New usage is discouraged.)
Hypotheses
Ref Expression
genp.1 𝐹 = (𝑤P, 𝑣P ↦ {𝑥 ∣ ∃𝑦𝑤𝑧𝑣 𝑥 = (𝑦𝐺𝑧)})
genp.2 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
genpcl.3 (Q → (𝑓 <Q 𝑔 ↔ (𝐺𝑓) <Q (𝐺𝑔)))
genpcl.4 (𝑥𝐺𝑦) = (𝑦𝐺𝑥)
genpcl.5 ((((𝐴P𝑔𝐴) ∧ (𝐵P𝐵)) ∧ 𝑥Q) → (𝑥 <Q (𝑔𝐺) → 𝑥 ∈ (𝐴𝐹𝐵)))
Assertion
Ref Expression
genpcl ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
Distinct variable groups:   𝑥,𝑦,𝑧,𝑓,𝑔,,𝐴   𝑥,𝐵,𝑦,𝑧,𝑓,𝑔,,𝑤,𝑣   𝑥,𝐺   𝑦,𝑤,𝑣,𝐺,𝑧,𝑓,𝑔,   𝑓,𝐹,𝑔   𝑤,𝐴,𝑣   𝑤,𝐵,𝑣   𝑥,𝐹,𝑦,𝑤,𝑣,
Allowed substitution hint:   𝐹(𝑧)

Proof of Theorem genpcl
StepHypRef Expression
1 genp.1 . . . 4 𝐹 = (𝑤P, 𝑣P ↦ {𝑥 ∣ ∃𝑦𝑤𝑧𝑣 𝑥 = (𝑦𝐺𝑧)})
2 genp.2 . . . 4 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
31, 2genpn0 9777 . . 3 ((𝐴P𝐵P) → ∅ ⊊ (𝐴𝐹𝐵))
41, 2genpss 9778 . . . 4 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ⊆ Q)
5 vex 3192 . . . . . 6 𝑥 ∈ V
6 vex 3192 . . . . . 6 𝑦 ∈ V
7 genpcl.3 . . . . . 6 (Q → (𝑓 <Q 𝑔 ↔ (𝐺𝑓) <Q (𝐺𝑔)))
85, 6, 7caovord 6805 . . . . 5 (𝑧Q → (𝑥 <Q 𝑦 ↔ (𝑧𝐺𝑥) <Q (𝑧𝐺𝑦)))
9 genpcl.4 . . . . 5 (𝑥𝐺𝑦) = (𝑦𝐺𝑥)
101, 2, 8, 9genpnnp 9779 . . . 4 ((𝐴P𝐵P) → ¬ (𝐴𝐹𝐵) = Q)
11 dfpss2 3675 . . . 4 ((𝐴𝐹𝐵) ⊊ Q ↔ ((𝐴𝐹𝐵) ⊆ Q ∧ ¬ (𝐴𝐹𝐵) = Q))
124, 10, 11sylanbrc 697 . . 3 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ⊊ Q)
13 genpcl.5 . . . . . . 7 ((((𝐴P𝑔𝐴) ∧ (𝐵P𝐵)) ∧ 𝑥Q) → (𝑥 <Q (𝑔𝐺) → 𝑥 ∈ (𝐴𝐹𝐵)))
141, 2, 13genpcd 9780 . . . . . 6 ((𝐴P𝐵P) → (𝑓 ∈ (𝐴𝐹𝐵) → (𝑥 <Q 𝑓𝑥 ∈ (𝐴𝐹𝐵))))
1514alrimdv 1854 . . . . 5 ((𝐴P𝐵P) → (𝑓 ∈ (𝐴𝐹𝐵) → ∀𝑥(𝑥 <Q 𝑓𝑥 ∈ (𝐴𝐹𝐵))))
16 vex 3192 . . . . . . 7 𝑧 ∈ V
17 vex 3192 . . . . . . 7 𝑤 ∈ V
1816, 17, 7caovord 6805 . . . . . 6 (𝑣Q → (𝑧 <Q 𝑤 ↔ (𝑣𝐺𝑧) <Q (𝑣𝐺𝑤)))
1916, 17, 9caovcom 6791 . . . . . 6 (𝑧𝐺𝑤) = (𝑤𝐺𝑧)
201, 2, 18, 19genpnmax 9781 . . . . 5 ((𝐴P𝐵P) → (𝑓 ∈ (𝐴𝐹𝐵) → ∃𝑥 ∈ (𝐴𝐹𝐵)𝑓 <Q 𝑥))
2115, 20jcad 555 . . . 4 ((𝐴P𝐵P) → (𝑓 ∈ (𝐴𝐹𝐵) → (∀𝑥(𝑥 <Q 𝑓𝑥 ∈ (𝐴𝐹𝐵)) ∧ ∃𝑥 ∈ (𝐴𝐹𝐵)𝑓 <Q 𝑥)))
2221ralrimiv 2960 . . 3 ((𝐴P𝐵P) → ∀𝑓 ∈ (𝐴𝐹𝐵)(∀𝑥(𝑥 <Q 𝑓𝑥 ∈ (𝐴𝐹𝐵)) ∧ ∃𝑥 ∈ (𝐴𝐹𝐵)𝑓 <Q 𝑥))
233, 12, 22jca31 556 . 2 ((𝐴P𝐵P) → ((∅ ⊊ (𝐴𝐹𝐵) ∧ (𝐴𝐹𝐵) ⊊ Q) ∧ ∀𝑓 ∈ (𝐴𝐹𝐵)(∀𝑥(𝑥 <Q 𝑓𝑥 ∈ (𝐴𝐹𝐵)) ∧ ∃𝑥 ∈ (𝐴𝐹𝐵)𝑓 <Q 𝑥)))
24 elnp 9761 . 2 ((𝐴𝐹𝐵) ∈ P ↔ ((∅ ⊊ (𝐴𝐹𝐵) ∧ (𝐴𝐹𝐵) ⊊ Q) ∧ ∀𝑓 ∈ (𝐴𝐹𝐵)(∀𝑥(𝑥 <Q 𝑓𝑥 ∈ (𝐴𝐹𝐵)) ∧ ∃𝑥 ∈ (𝐴𝐹𝐵)𝑓 <Q 𝑥)))
2523, 24sylibr 224 1 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 196   ∧ wa 384  ∀wal 1478   = wceq 1480   ∈ wcel 1987  {cab 2607  ∀wral 2907  ∃wrex 2908   ⊆ wss 3559   ⊊ wpss 3560  ∅c0 3896   class class class wbr 4618  (class class class)co 6610   ↦ cmpt2 6612  Qcnq 9626
 Copyright terms: Public domain W3C validator