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

Theorem frind 4330
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 2539 . . . . . . 7 (𝜒 → ∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑))
3 nfv 1516 . . . . . . . 8 𝑧(∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑)
4 nfv 1516 . . . . . . . . 9 𝑥𝑦𝐴 (𝑦𝑅𝑧𝜓)
5 nfs1v 1927 . . . . . . . . 9 𝑥[𝑧 / 𝑥]𝜑
64, 5nfim 1560 . . . . . . . 8 𝑥(∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)
7 breq2 3986 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝑅𝑥𝑦𝑅𝑧))
87imbi1d 230 . . . . . . . . . 10 (𝑥 = 𝑧 → ((𝑦𝑅𝑥𝜓) ↔ (𝑦𝑅𝑧𝜓)))
98ralbidv 2466 . . . . . . . . 9 (𝑥 = 𝑧 → (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
10 sbequ12 1759 . . . . . . . . 9 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
119, 10imbi12d 233 . . . . . . . 8 (𝑥 = 𝑧 → ((∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
123, 6, 11cbvral 2688 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
132, 12sylib 121 . . . . . 6 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
14 frind.sb . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝜑𝜓))
1514elrab3 2883 . . . . . . . . . . 11 (𝑦𝐴 → (𝑦 ∈ {𝑥𝐴𝜑} ↔ 𝜓))
1615imbi2d 229 . . . . . . . . . 10 (𝑦𝐴 → ((𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ (𝑦𝑅𝑧𝜓)))
1716ralbiia 2480 . . . . . . . . 9 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓))
1817a1i 9 . . . . . . . 8 (𝑧𝐴 → (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
19 nfcv 2308 . . . . . . . . . 10 𝑥𝑧
20 nfcv 2308 . . . . . . . . . 10 𝑥𝐴
2119, 20, 5, 10elrabf 2880 . . . . . . . . 9 (𝑧 ∈ {𝑥𝐴𝜑} ↔ (𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑))
2221baib 909 . . . . . . . 8 (𝑧𝐴 → (𝑧 ∈ {𝑥𝐴𝜑} ↔ [𝑧 / 𝑥]𝜑))
2318, 22imbi12d 233 . . . . . . 7 (𝑧𝐴 → ((∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
2423ralbiia 2480 . . . . . 6 (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
2513, 24sylibr 133 . . . . 5 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}))
26 frind.fr . . . . . . . 8 (𝜒𝑅 Fr 𝐴)
27 df-frind 4310 . . . . . . . 8 (𝑅 Fr 𝐴 ↔ ∀𝑠 FrFor 𝑅𝐴𝑠)
2826, 27sylib 121 . . . . . . 7 (𝜒 → ∀𝑠 FrFor 𝑅𝐴𝑠)
29 frind.a . . . . . . . 8 (𝜒𝐴𝑉)
30 rabexg 4125 . . . . . . . 8 (𝐴𝑉 → {𝑥𝐴𝜑} ∈ V)
31 frforeq3 4325 . . . . . . . . 9 (𝑠 = {𝑥𝐴𝜑} → ( FrFor 𝑅𝐴𝑠 ↔ FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3231spcgv 2813 . . . . . . . 8 ({𝑥𝐴𝜑} ∈ V → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3329, 30, 323syl 17 . . . . . . 7 (𝜒 → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3428, 33mpd 13 . . . . . 6 (𝜒 → FrFor 𝑅𝐴{𝑥𝐴𝜑})
35 df-frfor 4309 . . . . . 6 ( FrFor 𝑅𝐴{𝑥𝐴𝜑} ↔ (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3634, 35sylib 121 . . . . 5 (𝜒 → (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3725, 36mpd 13 . . . 4 (𝜒𝐴 ⊆ {𝑥𝐴𝜑})
38 ssrab 3220 . . . 4 (𝐴 ⊆ {𝑥𝐴𝜑} ↔ (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
3937, 38sylib 121 . . 3 (𝜒 → (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
4039simprd 113 . 2 (𝜒 → ∀𝑥𝐴 𝜑)
4140r19.21bi 2554 1 ((𝜒𝑥𝐴) → 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1341  [wsb 1750  wcel 2136  wral 2444  {crab 2448  Vcvv 2726  wss 3116   class class class wbr 3982   FrFor wfrfor 4305   Fr wfr 4306
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147  ax-sep 4100
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rab 2453  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-frfor 4309  df-frind 4310
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator