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

Theorem frind 4269
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 2503 . . . . . . 7 (𝜒 → ∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑))
3 nfv 1508 . . . . . . . 8 𝑧(∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑)
4 nfv 1508 . . . . . . . . 9 𝑥𝑦𝐴 (𝑦𝑅𝑧𝜓)
5 nfs1v 1910 . . . . . . . . 9 𝑥[𝑧 / 𝑥]𝜑
64, 5nfim 1551 . . . . . . . 8 𝑥(∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)
7 breq2 3928 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝑅𝑥𝑦𝑅𝑧))
87imbi1d 230 . . . . . . . . . 10 (𝑥 = 𝑧 → ((𝑦𝑅𝑥𝜓) ↔ (𝑦𝑅𝑧𝜓)))
98ralbidv 2435 . . . . . . . . 9 (𝑥 = 𝑧 → (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
10 sbequ12 1744 . . . . . . . . 9 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
119, 10imbi12d 233 . . . . . . . 8 (𝑥 = 𝑧 → ((∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
123, 6, 11cbvral 2648 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
132, 12sylib 121 . . . . . 6 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
14 frind.sb . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝜑𝜓))
1514elrab3 2836 . . . . . . . . . . 11 (𝑦𝐴 → (𝑦 ∈ {𝑥𝐴𝜑} ↔ 𝜓))
1615imbi2d 229 . . . . . . . . . 10 (𝑦𝐴 → ((𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ (𝑦𝑅𝑧𝜓)))
1716ralbiia 2447 . . . . . . . . 9 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓))
1817a1i 9 . . . . . . . 8 (𝑧𝐴 → (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
19 nfcv 2279 . . . . . . . . . 10 𝑥𝑧
20 nfcv 2279 . . . . . . . . . 10 𝑥𝐴
2119, 20, 5, 10elrabf 2833 . . . . . . . . 9 (𝑧 ∈ {𝑥𝐴𝜑} ↔ (𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑))
2221baib 904 . . . . . . . 8 (𝑧𝐴 → (𝑧 ∈ {𝑥𝐴𝜑} ↔ [𝑧 / 𝑥]𝜑))
2318, 22imbi12d 233 . . . . . . 7 (𝑧𝐴 → ((∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
2423ralbiia 2447 . . . . . 6 (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
2513, 24sylibr 133 . . . . 5 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}))
26 frind.fr . . . . . . . 8 (𝜒𝑅 Fr 𝐴)
27 df-frind 4249 . . . . . . . 8 (𝑅 Fr 𝐴 ↔ ∀𝑠 FrFor 𝑅𝐴𝑠)
2826, 27sylib 121 . . . . . . 7 (𝜒 → ∀𝑠 FrFor 𝑅𝐴𝑠)
29 frind.a . . . . . . . 8 (𝜒𝐴𝑉)
30 rabexg 4066 . . . . . . . 8 (𝐴𝑉 → {𝑥𝐴𝜑} ∈ V)
31 frforeq3 4264 . . . . . . . . 9 (𝑠 = {𝑥𝐴𝜑} → ( FrFor 𝑅𝐴𝑠 ↔ FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3231spcgv 2768 . . . . . . . 8 ({𝑥𝐴𝜑} ∈ V → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3329, 30, 323syl 17 . . . . . . 7 (𝜒 → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3428, 33mpd 13 . . . . . 6 (𝜒 → FrFor 𝑅𝐴{𝑥𝐴𝜑})
35 df-frfor 4248 . . . . . 6 ( FrFor 𝑅𝐴{𝑥𝐴𝜑} ↔ (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3634, 35sylib 121 . . . . 5 (𝜒 → (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3725, 36mpd 13 . . . 4 (𝜒𝐴 ⊆ {𝑥𝐴𝜑})
38 ssrab 3170 . . . 4 (𝐴 ⊆ {𝑥𝐴𝜑} ↔ (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
3937, 38sylib 121 . . 3 (𝜒 → (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
4039simprd 113 . 2 (𝜒 → ∀𝑥𝐴 𝜑)
4140r19.21bi 2518 1 ((𝜒𝑥𝐴) → 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1329  wcel 1480  [wsb 1735  wral 2414  {crab 2418  Vcvv 2681  wss 3066   class class class wbr 3924   FrFor wfrfor 4244   Fr wfr 4245
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 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rab 2423  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-sn 3528  df-pr 3529  df-op 3531  df-br 3925  df-frfor 4248  df-frind 4249
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator