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

Theorem lrrecfr 27954
Description: Now we show that 𝑅 is founded over No . (Contributed by Scott Fenton, 19-Aug-2024.)
Hypothesis
Ref Expression
lrrec.1 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ (( L ‘𝑦) ∪ ( R ‘𝑦))}
Assertion
Ref Expression
lrrecfr 𝑅 Fr No
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝑅(𝑥,𝑦)

Proof of Theorem lrrecfr
Dummy variables 𝑎 𝑝 𝑞 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-fr 5575 . 2 (𝑅 Fr No ↔ ∀𝑎((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑎𝑞𝑎 ¬ 𝑞𝑅𝑝))
2 bdayfun 27759 . . . . 5 Fun bday
3 imassrn 6028 . . . . . . 7 ( bday 𝑎) ⊆ ran bday
4 bdayrn 27762 . . . . . . 7 ran bday = On
53, 4sseqtri 3971 . . . . . 6 ( bday 𝑎) ⊆ On
6 fvex 6845 . . . . . . . . . . . . 13 ( bday 𝑞) ∈ V
76jctr 524 . . . . . . . . . . . 12 (𝑞𝑎 → (𝑞𝑎 ∧ ( bday 𝑞) ∈ V))
87eximi 1837 . . . . . . . . . . 11 (∃𝑞 𝑞𝑎 → ∃𝑞(𝑞𝑎 ∧ ( bday 𝑞) ∈ V))
9 n0 4294 . . . . . . . . . . 11 (𝑎 ≠ ∅ ↔ ∃𝑞 𝑞𝑎)
10 df-rex 3063 . . . . . . . . . . 11 (∃𝑞𝑎 ( bday 𝑞) ∈ V ↔ ∃𝑞(𝑞𝑎 ∧ ( bday 𝑞) ∈ V))
118, 9, 103imtr4i 292 . . . . . . . . . 10 (𝑎 ≠ ∅ → ∃𝑞𝑎 ( bday 𝑞) ∈ V)
12 isset 3444 . . . . . . . . . . . . 13 (( bday 𝑞) ∈ V ↔ ∃𝑝 𝑝 = ( bday 𝑞))
13 eqcom 2744 . . . . . . . . . . . . . 14 (𝑝 = ( bday 𝑞) ↔ ( bday 𝑞) = 𝑝)
1413exbii 1850 . . . . . . . . . . . . 13 (∃𝑝 𝑝 = ( bday 𝑞) ↔ ∃𝑝( bday 𝑞) = 𝑝)
1512, 14bitri 275 . . . . . . . . . . . 12 (( bday 𝑞) ∈ V ↔ ∃𝑝( bday 𝑞) = 𝑝)
1615rexbii 3085 . . . . . . . . . . 11 (∃𝑞𝑎 ( bday 𝑞) ∈ V ↔ ∃𝑞𝑎𝑝( bday 𝑞) = 𝑝)
17 rexcom4 3265 . . . . . . . . . . 11 (∃𝑞𝑎𝑝( bday 𝑞) = 𝑝 ↔ ∃𝑝𝑞𝑎 ( bday 𝑞) = 𝑝)
1816, 17bitri 275 . . . . . . . . . 10 (∃𝑞𝑎 ( bday 𝑞) ∈ V ↔ ∃𝑝𝑞𝑎 ( bday 𝑞) = 𝑝)
1911, 18sylib 218 . . . . . . . . 9 (𝑎 ≠ ∅ → ∃𝑝𝑞𝑎 ( bday 𝑞) = 𝑝)
2019adantl 481 . . . . . . . 8 ((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑞𝑎 ( bday 𝑞) = 𝑝)
21 bdayfn 27760 . . . . . . . . . . 11 bday Fn No
22 fvelimab 6904 . . . . . . . . . . 11 (( bday Fn No 𝑎 No ) → (𝑝 ∈ ( bday 𝑎) ↔ ∃𝑞𝑎 ( bday 𝑞) = 𝑝))
2321, 22mpan 691 . . . . . . . . . 10 (𝑎 No → (𝑝 ∈ ( bday 𝑎) ↔ ∃𝑞𝑎 ( bday 𝑞) = 𝑝))
2423adantr 480 . . . . . . . . 9 ((𝑎 No 𝑎 ≠ ∅) → (𝑝 ∈ ( bday 𝑎) ↔ ∃𝑞𝑎 ( bday 𝑞) = 𝑝))
2524exbidv 1923 . . . . . . . 8 ((𝑎 No 𝑎 ≠ ∅) → (∃𝑝 𝑝 ∈ ( bday 𝑎) ↔ ∃𝑝𝑞𝑎 ( bday 𝑞) = 𝑝))
2620, 25mpbird 257 . . . . . . 7 ((𝑎 No 𝑎 ≠ ∅) → ∃𝑝 𝑝 ∈ ( bday 𝑎))
27 n0 4294 . . . . . . 7 (( bday 𝑎) ≠ ∅ ↔ ∃𝑝 𝑝 ∈ ( bday 𝑎))
2826, 27sylibr 234 . . . . . 6 ((𝑎 No 𝑎 ≠ ∅) → ( bday 𝑎) ≠ ∅)
29 onint 7735 . . . . . 6 ((( bday 𝑎) ⊆ On ∧ ( bday 𝑎) ≠ ∅) → ( bday 𝑎) ∈ ( bday 𝑎))
305, 28, 29sylancr 588 . . . . 5 ((𝑎 No 𝑎 ≠ ∅) → ( bday 𝑎) ∈ ( bday 𝑎))
31 fvelima 6897 . . . . 5 ((Fun bday ( bday 𝑎) ∈ ( bday 𝑎)) → ∃𝑝𝑎 ( bday 𝑝) = ( bday 𝑎))
322, 30, 31sylancr 588 . . . 4 ((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑎 ( bday 𝑝) = ( bday 𝑎))
33 fnfvima 7179 . . . . . . . . . 10 (( bday Fn No 𝑎 No 𝑞𝑎) → ( bday 𝑞) ∈ ( bday 𝑎))
3421, 33mp3an1 1451 . . . . . . . . 9 ((𝑎 No 𝑞𝑎) → ( bday 𝑞) ∈ ( bday 𝑎))
3534adantlr 716 . . . . . . . 8 (((𝑎 No 𝑎 ≠ ∅) ∧ 𝑞𝑎) → ( bday 𝑞) ∈ ( bday 𝑎))
36 onnmin 7743 . . . . . . . 8 ((( bday 𝑎) ⊆ On ∧ ( bday 𝑞) ∈ ( bday 𝑎)) → ¬ ( bday 𝑞) ∈ ( bday 𝑎))
375, 35, 36sylancr 588 . . . . . . 7 (((𝑎 No 𝑎 ≠ ∅) ∧ 𝑞𝑎) → ¬ ( bday 𝑞) ∈ ( bday 𝑎))
3837ralrimiva 3130 . . . . . 6 ((𝑎 No 𝑎 ≠ ∅) → ∀𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑎))
39 eleq2 2826 . . . . . . . 8 (( bday 𝑝) = ( bday 𝑎) → (( bday 𝑞) ∈ ( bday 𝑝) ↔ ( bday 𝑞) ∈ ( bday 𝑎)))
4039notbid 318 . . . . . . 7 (( bday 𝑝) = ( bday 𝑎) → (¬ ( bday 𝑞) ∈ ( bday 𝑝) ↔ ¬ ( bday 𝑞) ∈ ( bday 𝑎)))
4140ralbidv 3161 . . . . . 6 (( bday 𝑝) = ( bday 𝑎) → (∀𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑝) ↔ ∀𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑎)))
4238, 41syl5ibrcom 247 . . . . 5 ((𝑎 No 𝑎 ≠ ∅) → (( bday 𝑝) = ( bday 𝑎) → ∀𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑝)))
4342reximdv 3153 . . . 4 ((𝑎 No 𝑎 ≠ ∅) → (∃𝑝𝑎 ( bday 𝑝) = ( bday 𝑎) → ∃𝑝𝑎𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑝)))
4432, 43mpd 15 . . 3 ((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑎𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑝))
45 simpll 767 . . . . . . . . 9 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑎 No )
46 simprr 773 . . . . . . . . 9 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑞𝑎)
4745, 46sseldd 3923 . . . . . . . 8 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑞 No )
48 simprl 771 . . . . . . . . 9 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑝𝑎)
4945, 48sseldd 3923 . . . . . . . 8 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑝 No )
50 lrrec.1 . . . . . . . . 9 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ (( L ‘𝑦) ∪ ( R ‘𝑦))}
5150lrrecval2 27951 . . . . . . . 8 ((𝑞 No 𝑝 No ) → (𝑞𝑅𝑝 ↔ ( bday 𝑞) ∈ ( bday 𝑝)))
5247, 49, 51syl2anc 585 . . . . . . 7 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → (𝑞𝑅𝑝 ↔ ( bday 𝑞) ∈ ( bday 𝑝)))
5352notbid 318 . . . . . 6 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → (¬ 𝑞𝑅𝑝 ↔ ¬ ( bday 𝑞) ∈ ( bday 𝑝)))
5453anassrs 467 . . . . 5 ((((𝑎 No 𝑎 ≠ ∅) ∧ 𝑝𝑎) ∧ 𝑞𝑎) → (¬ 𝑞𝑅𝑝 ↔ ¬ ( bday 𝑞) ∈ ( bday 𝑝)))
5554ralbidva 3159 . . . 4 (((𝑎 No 𝑎 ≠ ∅) ∧ 𝑝𝑎) → (∀𝑞𝑎 ¬ 𝑞𝑅𝑝 ↔ ∀𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑝)))
5655rexbidva 3160 . . 3 ((𝑎 No 𝑎 ≠ ∅) → (∃𝑝𝑎𝑞𝑎 ¬ 𝑞𝑅𝑝 ↔ ∃𝑝𝑎𝑞𝑎 ¬ ( bday 𝑞) ∈ ( bday 𝑝)))
5744, 56mpbird 257 . 2 ((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑎𝑞𝑎 ¬ 𝑞𝑅𝑝)
581, 57mpgbir 1801 1 𝑅 Fr No
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1542  wex 1781  wcel 2114  wne 2933  wral 3052  wrex 3062  Vcvv 3430  cun 3888  wss 3890  c0 4274   cint 4890   class class class wbr 5086  {copab 5148   Fr wfr 5572  ran crn 5623  cima 5625  Oncon0 6315  Fun wfun 6484   Fn wfn 6485  cfv 6490   No csur 27622   bday cbday 27624   L cleft 27836   R cright 27837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5212  ax-sep 5231  ax-nul 5241  ax-pow 5300  ax-pr 5368  ax-un 7680
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-rmo 3343  df-reu 3344  df-rab 3391  df-v 3432  df-sbc 3730  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-pss 3910  df-nul 4275  df-if 4468  df-pw 4544  df-sn 4569  df-pr 4571  df-tp 4573  df-op 4575  df-uni 4852  df-int 4891  df-iun 4936  df-br 5087  df-opab 5149  df-mpt 5168  df-tr 5194  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-riota 7315  df-ov 7361  df-oprab 7362  df-mpo 7363  df-2nd 7934  df-frecs 8222  df-wrecs 8253  df-recs 8302  df-1o 8396  df-2o 8397  df-no 27625  df-lts 27626  df-bday 27627  df-slts 27769  df-cuts 27771  df-made 27838  df-old 27839  df-left 27841  df-right 27842
This theorem is referenced by:  noinds  27956  norecfn  27957  norecov  27958  noxpordfr  27962  no2indlesm  27965  no3inds  27969
  Copyright terms: Public domain W3C validator