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

Theorem tglnfn 29037
Description: Lines as functions. (Contributed by Thierry Arnoux, 25-May-2019.)
Hypotheses
Ref Expression
tglng.p 𝑃 = (Base‘𝐺)
tglng.l 𝐿 = (LineG‘𝐺)
tglng.i 𝐼 = (Itv‘𝐺)
Assertion
Ref Expression
tglnfn (𝐺 ∈ TarskiG → 𝐿 Fn ((𝑃 × 𝑃) ∖ I ))

Proof of Theorem tglnfn
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tglng.p . . . . . . . 8 𝑃 = (Base‘𝐺)
21fvexi 6919 . . . . . . 7 𝑃 ∈ V
32rabex 5304 . . . . . 6 {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∈ V
43rgen2w 3085 . . . . 5 ∀𝑥 ∈ 𝑃 ∀𝑦 ∈ (𝑃 ∖ {𝑥}){𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∈ V
5 eqid 2763 . . . . . 6 (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
65fmpox 8100 . . . . 5 (∀𝑥 ∈ 𝑃 ∀𝑦 ∈ (𝑃 ∖ {𝑥}){𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∈ V ↔ (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}):∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))⟶V)
74, 6mpbi 233 . . . 4 (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}):∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))⟶V
8 ffn 6728 . . . 4 ((𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}):∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))⟶V → (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥})))
97, 8ax-mp 5 . . 3 (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))
10 xpdifid 6170 . . . 4 ∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥})) = ((𝑃 × 𝑃) ∖ I )
1110fneq2i 6656 . . 3 ((𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ∪ 𝑥 ∈ 𝑃 ({𝑥} × (𝑃 ∖ {𝑥})) ↔ (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ((𝑃 × 𝑃) ∖ I ))
129, 11mpbi 233 . 2 (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ((𝑃 × 𝑃) ∖ I )
13 tglng.l . . . 4 𝐿 = (LineG‘𝐺)
14 tglng.i . . . 4 𝐼 = (Itv‘𝐺)
151, 13, 14tglng 29036 . . 3 (𝐺 ∈ TarskiG → 𝐿 = (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
1615fneq1d 6651 . 2 (𝐺 ∈ TarskiG → (𝐿 Fn ((𝑃 × 𝑃) ∖ I ) ↔ (𝑥 ∈ 𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧 ∈ 𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ((𝑃 × 𝑃) ∖ I )))
1712, 16mpbiri 261 1 (𝐺 ∈ TarskiG → 𝐿 Fn ((𝑃 × 𝑃) ∖ I ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∨ w3o 1102   = wceq 1570   ∈ wcel 2147  ∀wral 3080  {crab 3416  Vcvv 3454   ∖ cdif 4048  {csn 4588  ∪ ciun 4954   I cid 5549   × cxp 5653   Fn wfn 6550  ⟶wf 6551  ‘cfv 6555  (class class class)co 7440   ∈ cmpo 7442  Basecbs 17413  TarskiGcstrkg 28916  Itvcitv 28922  LineGclng 28923
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7772
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-1st 8022  df-2nd 8023  df-trkg 28942
This theorem is used by:  tglngne  29040  tgelrnln  29125
  Copyright terms: Public domain W3C validator