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

Theorem tglnfn 25663
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‘𝐺)
2 fvex 6342 . . . . . . . 8 (Base‘𝐺) ∈ V
31, 2eqeltri 2846 . . . . . . 7 𝑃 ∈ V
43rabex 4946 . . . . . 6 {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∈ V
54rgen2w 3074 . . . . 5 𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥}){𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∈ V
6 eqid 2771 . . . . . 6 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
76fmpt2x 7386 . . . . 5 (∀𝑥𝑃𝑦 ∈ (𝑃 ∖ {𝑥}){𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∈ V ↔ (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}): 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))⟶V)
85, 7mpbi 220 . . . 4 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}): 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))⟶V
9 ffn 6185 . . . 4 ((𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}): 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))⟶V → (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥})))
108, 9ax-mp 5 . . 3 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥}))
11 xpdifid 5703 . . . 4 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥})) = ((𝑃 × 𝑃) ∖ I )
1211fneq2i 6126 . . 3 ((𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn 𝑥𝑃 ({𝑥} × (𝑃 ∖ {𝑥})) ↔ (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ((𝑃 × 𝑃) ∖ I ))
1310, 12mpbi 220 . 2 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ((𝑃 × 𝑃) ∖ I )
14 tglng.l . . . 4 𝐿 = (LineG‘𝐺)
15 tglng.i . . . 4 𝐼 = (Itv‘𝐺)
161, 14, 15tglng 25662 . . 3 (𝐺 ∈ TarskiG → 𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
1716fneq1d 6121 . 2 (𝐺 ∈ TarskiG → (𝐿 Fn ((𝑃 × 𝑃) ∖ I ) ↔ (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) Fn ((𝑃 × 𝑃) ∖ I )))
1813, 17mpbiri 248 1 (𝐺 ∈ TarskiG → 𝐿 Fn ((𝑃 × 𝑃) ∖ I ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3o 1070   = wceq 1631  wcel 2145  wral 3061  {crab 3065  Vcvv 3351  cdif 3720  {csn 4316   ciun 4654   I cid 5156   × cxp 5247   Fn wfn 6026  wf 6027  cfv 6031  (class class class)co 6793  cmpt2 6795  Basecbs 16064  TarskiGcstrkg 25550  Itvcitv 25556  LineGclng 25557
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323  df-uni 4575  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-fv 6039  df-ov 6796  df-oprab 6797  df-mpt2 6798  df-1st 7315  df-2nd 7316  df-trkg 25573
This theorem is referenced by:  tglngne  25666  tgelrnln  25746
  Copyright terms: Public domain W3C validator