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

Theorem lrrecfr 27956
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 5587 . 2 (𝑅 Fr No ↔ ∀𝑎((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑎𝑞𝑎 ¬ 𝑞𝑅𝑝))
2 bdayfun 27761 . . . . 5 Fun bday
3 imassrn 6040 . . . . . . 7 ( bday 𝑎) ⊆ ran bday
4 bdayrn 27764 . . . . . . 7 ran bday = On
53, 4sseqtri 3984 . . . . . 6 ( bday 𝑎) ⊆ On
6 fvex 6857 . . . . . . . . . . . . 13 ( bday 𝑞) ∈ V
76jctr 524 . . . . . . . . . . . 12 (𝑞𝑎 → (𝑞𝑎 ∧ ( bday 𝑞) ∈ V))
87eximi 1837 . . . . . . . . . . 11 (∃𝑞 𝑞𝑎 → ∃𝑞(𝑞𝑎 ∧ ( bday 𝑞) ∈ V))
9 n0 4307 . . . . . . . . . . 11 (𝑎 ≠ ∅ ↔ ∃𝑞 𝑞𝑎)
10 df-rex 3063 . . . . . . . . . . 11 (∃𝑞𝑎 ( bday 𝑞) ∈ V ↔ ∃𝑞(𝑞𝑎 ∧ ( bday 𝑞) ∈ V))
118, 9, 103imtr4i 292 . . . . . . . . . 10 (𝑎 ≠ ∅ → ∃𝑞𝑎 ( bday 𝑞) ∈ V)
12 isset 3456 . . . . . . . . . . . . 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 27762 . . . . . . . . . . 11 bday Fn No
22 fvelimab 6916 . . . . . . . . . . 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 4307 . . . . . . 7 (( bday 𝑎) ≠ ∅ ↔ ∃𝑝 𝑝 ∈ ( bday 𝑎))
2826, 27sylibr 234 . . . . . 6 ((𝑎 No 𝑎 ≠ ∅) → ( bday 𝑎) ≠ ∅)
29 onint 7747 . . . . . 6 ((( bday 𝑎) ⊆ On ∧ ( bday 𝑎) ≠ ∅) → ( bday 𝑎) ∈ ( bday 𝑎))
305, 28, 29sylancr 588 . . . . 5 ((𝑎 No 𝑎 ≠ ∅) → ( bday 𝑎) ∈ ( bday 𝑎))
31 fvelima 6909 . . . . 5 ((Fun bday ( bday 𝑎) ∈ ( bday 𝑎)) → ∃𝑝𝑎 ( bday 𝑝) = ( bday 𝑎))
322, 30, 31sylancr 588 . . . 4 ((𝑎 No 𝑎 ≠ ∅) → ∃𝑝𝑎 ( bday 𝑝) = ( bday 𝑎))
33 fnfvima 7191 . . . . . . . . . 10 (( bday Fn No 𝑎 No 𝑞𝑎) → ( bday 𝑞) ∈ ( bday 𝑎))
3421, 33mp3an1 1451 . . . . . . . . 9 ((𝑎 No 𝑞𝑎) → ( bday 𝑞) ∈ ( bday 𝑎))
3534adantlr 716 . . . . . . . 8 (((𝑎 No 𝑎 ≠ ∅) ∧ 𝑞𝑎) → ( bday 𝑞) ∈ ( bday 𝑎))
36 onnmin 7755 . . . . . . . 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 3936 . . . . . . . 8 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑞 No )
48 simprl 771 . . . . . . . . 9 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑝𝑎)
4945, 48sseldd 3936 . . . . . . . 8 (((𝑎 No 𝑎 ≠ ∅) ∧ (𝑝𝑎𝑞𝑎)) → 𝑝 No )
50 lrrec.1 . . . . . . . . 9 𝑅 = {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ (( L ‘𝑦) ∪ ( R ‘𝑦))}
5150lrrecval2 27953 . . . . . . . 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 3442  cun 3901  wss 3903  c0 4287   cint 4904   class class class wbr 5100  {copab 5162   Fr wfr 5584  ran crn 5635  cima 5637  Oncon0 6327  Fun wfun 6496   Fn wfn 6497  cfv 6502   No csur 27624   bday cbday 27626   L cleft 27838   R cright 27839
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 5226  ax-sep 5245  ax-nul 5255  ax-pow 5314  ax-pr 5381  ax-un 7692
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 3352  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4288  df-if 4482  df-pw 4558  df-sn 4583  df-pr 4585  df-tp 4587  df-op 4589  df-uni 4866  df-int 4905  df-iun 4950  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5529  df-eprel 5534  df-po 5542  df-so 5543  df-fr 5587  df-we 5589  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-pred 6269  df-ord 6330  df-on 6331  df-suc 6333  df-iota 6458  df-fun 6504  df-fn 6505  df-f 6506  df-f1 6507  df-fo 6508  df-f1o 6509  df-fv 6510  df-riota 7327  df-ov 7373  df-oprab 7374  df-mpo 7375  df-2nd 7946  df-frecs 8235  df-wrecs 8266  df-recs 8315  df-1o 8409  df-2o 8410  df-no 27627  df-lts 27628  df-bday 27629  df-slts 27771  df-cuts 27773  df-made 27840  df-old 27841  df-left 27843  df-right 27844
This theorem is referenced by:  noinds  27958  norecfn  27959  norecov  27960  noxpordfr  27964  no2indlesm  27967  no3inds  27971
  Copyright terms: Public domain W3C validator