ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  frind GIF version

Theorem frind 4107
Description: Induction over a well-founded set. (Contributed by Jim Kingdon, 28-Sep-2021.)
Hypotheses
Ref Expression
frind.sb (𝑥 = 𝑦 → (𝜑𝜓))
frind.ind ((𝜒𝑥𝐴) → (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑))
frind.fr (𝜒𝑅 Fr 𝐴)
frind.a (𝜒𝐴𝑉)
Assertion
Ref Expression
frind ((𝜒𝑥𝐴) → 𝜑)
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝑅,𝑦   𝜒,𝑥   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem frind
Dummy variables 𝑠 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frind.ind . . . . . . . 8 ((𝜒𝑥𝐴) → (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑))
21ralrimiva 2434 . . . . . . 7 (𝜒 → ∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑))
3 nfv 1461 . . . . . . . 8 𝑧(∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑)
4 nfv 1461 . . . . . . . . 9 𝑥𝑦𝐴 (𝑦𝑅𝑧𝜓)
5 nfs1v 1856 . . . . . . . . 9 𝑥[𝑧 / 𝑥]𝜑
64, 5nfim 1504 . . . . . . . 8 𝑥(∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)
7 breq2 3789 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝑅𝑥𝑦𝑅𝑧))
87imbi1d 229 . . . . . . . . . 10 (𝑥 = 𝑧 → ((𝑦𝑅𝑥𝜓) ↔ (𝑦𝑅𝑧𝜓)))
98ralbidv 2368 . . . . . . . . 9 (𝑥 = 𝑧 → (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
10 sbequ12 1694 . . . . . . . . 9 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
119, 10imbi12d 232 . . . . . . . 8 (𝑥 = 𝑧 → ((∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
123, 6, 11cbvral 2573 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
132, 12sylib 120 . . . . . 6 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
14 frind.sb . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝜑𝜓))
1514elrab3 2750 . . . . . . . . . . 11 (𝑦𝐴 → (𝑦 ∈ {𝑥𝐴𝜑} ↔ 𝜓))
1615imbi2d 228 . . . . . . . . . 10 (𝑦𝐴 → ((𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ (𝑦𝑅𝑧𝜓)))
1716ralbiia 2380 . . . . . . . . 9 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓))
1817a1i 9 . . . . . . . 8 (𝑧𝐴 → (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
19 nfcv 2219 . . . . . . . . . 10 𝑥𝑧
20 nfcv 2219 . . . . . . . . . 10 𝑥𝐴
2119, 20, 5, 10elrabf 2747 . . . . . . . . 9 (𝑧 ∈ {𝑥𝐴𝜑} ↔ (𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑))
2221baib 861 . . . . . . . 8 (𝑧𝐴 → (𝑧 ∈ {𝑥𝐴𝜑} ↔ [𝑧 / 𝑥]𝜑))
2318, 22imbi12d 232 . . . . . . 7 (𝑧𝐴 → ((∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
2423ralbiia 2380 . . . . . 6 (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
2513, 24sylibr 132 . . . . 5 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}))
26 frind.fr . . . . . . . 8 (𝜒𝑅 Fr 𝐴)
27 df-frind 4087 . . . . . . . 8 (𝑅 Fr 𝐴 ↔ ∀𝑠 FrFor 𝑅𝐴𝑠)
2826, 27sylib 120 . . . . . . 7 (𝜒 → ∀𝑠 FrFor 𝑅𝐴𝑠)
29 frind.a . . . . . . . 8 (𝜒𝐴𝑉)
30 rabexg 3921 . . . . . . . 8 (𝐴𝑉 → {𝑥𝐴𝜑} ∈ V)
31 frforeq3 4102 . . . . . . . . 9 (𝑠 = {𝑥𝐴𝜑} → ( FrFor 𝑅𝐴𝑠 ↔ FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3231spcgv 2685 . . . . . . . 8 ({𝑥𝐴𝜑} ∈ V → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3329, 30, 323syl 17 . . . . . . 7 (𝜒 → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3428, 33mpd 13 . . . . . 6 (𝜒 → FrFor 𝑅𝐴{𝑥𝐴𝜑})
35 df-frfor 4086 . . . . . 6 ( FrFor 𝑅𝐴{𝑥𝐴𝜑} ↔ (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3634, 35sylib 120 . . . . 5 (𝜒 → (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3725, 36mpd 13 . . . 4 (𝜒𝐴 ⊆ {𝑥𝐴𝜑})
38 ssrab 3072 . . . 4 (𝐴 ⊆ {𝑥𝐴𝜑} ↔ (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
3937, 38sylib 120 . . 3 (𝜒 → (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
4039simprd 112 . 2 (𝜒 → ∀𝑥𝐴 𝜑)
4140r19.21bi 2449 1 ((𝜒𝑥𝐴) → 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  wal 1282  wcel 1433  [wsb 1685  wral 2348  {crab 2352  Vcvv 2601  wss 2973   class class class wbr 3785   FrFor wfrfor 4082   Fr wfr 4083
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rab 2357  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-sn 3404  df-pr 3405  df-op 3407  df-br 3786  df-frfor 4086  df-frind 4087
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator