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

Theorem frind 4282
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 2508 . . . . . . 7 (𝜒 → ∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑))
3 nfv 1509 . . . . . . . 8 𝑧(∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑)
4 nfv 1509 . . . . . . . . 9 𝑥𝑦𝐴 (𝑦𝑅𝑧𝜓)
5 nfs1v 1913 . . . . . . . . 9 𝑥[𝑧 / 𝑥]𝜑
64, 5nfim 1552 . . . . . . . 8 𝑥(∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)
7 breq2 3941 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑦𝑅𝑥𝑦𝑅𝑧))
87imbi1d 230 . . . . . . . . . 10 (𝑥 = 𝑧 → ((𝑦𝑅𝑥𝜓) ↔ (𝑦𝑅𝑧𝜓)))
98ralbidv 2438 . . . . . . . . 9 (𝑥 = 𝑧 → (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
10 sbequ12 1745 . . . . . . . . 9 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
119, 10imbi12d 233 . . . . . . . 8 (𝑥 = 𝑧 → ((∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
123, 6, 11cbvral 2653 . . . . . . 7 (∀𝑥𝐴 (∀𝑦𝐴 (𝑦𝑅𝑥𝜓) → 𝜑) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
132, 12sylib 121 . . . . . 6 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
14 frind.sb . . . . . . . . . . . 12 (𝑥 = 𝑦 → (𝜑𝜓))
1514elrab3 2845 . . . . . . . . . . 11 (𝑦𝐴 → (𝑦 ∈ {𝑥𝐴𝜑} ↔ 𝜓))
1615imbi2d 229 . . . . . . . . . 10 (𝑦𝐴 → ((𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ (𝑦𝑅𝑧𝜓)))
1716ralbiia 2452 . . . . . . . . 9 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓))
1817a1i 9 . . . . . . . 8 (𝑧𝐴 → (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑦𝐴 (𝑦𝑅𝑧𝜓)))
19 nfcv 2282 . . . . . . . . . 10 𝑥𝑧
20 nfcv 2282 . . . . . . . . . 10 𝑥𝐴
2119, 20, 5, 10elrabf 2842 . . . . . . . . 9 (𝑧 ∈ {𝑥𝐴𝜑} ↔ (𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑))
2221baib 905 . . . . . . . 8 (𝑧𝐴 → (𝑧 ∈ {𝑥𝐴𝜑} ↔ [𝑧 / 𝑥]𝜑))
2318, 22imbi12d 233 . . . . . . 7 (𝑧𝐴 → ((∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑)))
2423ralbiia 2452 . . . . . 6 (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) ↔ ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝜓) → [𝑧 / 𝑥]𝜑))
2513, 24sylibr 133 . . . . 5 (𝜒 → ∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}))
26 frind.fr . . . . . . . 8 (𝜒𝑅 Fr 𝐴)
27 df-frind 4262 . . . . . . . 8 (𝑅 Fr 𝐴 ↔ ∀𝑠 FrFor 𝑅𝐴𝑠)
2826, 27sylib 121 . . . . . . 7 (𝜒 → ∀𝑠 FrFor 𝑅𝐴𝑠)
29 frind.a . . . . . . . 8 (𝜒𝐴𝑉)
30 rabexg 4079 . . . . . . . 8 (𝐴𝑉 → {𝑥𝐴𝜑} ∈ V)
31 frforeq3 4277 . . . . . . . . 9 (𝑠 = {𝑥𝐴𝜑} → ( FrFor 𝑅𝐴𝑠 ↔ FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3231spcgv 2776 . . . . . . . 8 ({𝑥𝐴𝜑} ∈ V → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3329, 30, 323syl 17 . . . . . . 7 (𝜒 → (∀𝑠 FrFor 𝑅𝐴𝑠 → FrFor 𝑅𝐴{𝑥𝐴𝜑}))
3428, 33mpd 13 . . . . . 6 (𝜒 → FrFor 𝑅𝐴{𝑥𝐴𝜑})
35 df-frfor 4261 . . . . . 6 ( FrFor 𝑅𝐴{𝑥𝐴𝜑} ↔ (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3634, 35sylib 121 . . . . 5 (𝜒 → (∀𝑧𝐴 (∀𝑦𝐴 (𝑦𝑅𝑧𝑦 ∈ {𝑥𝐴𝜑}) → 𝑧 ∈ {𝑥𝐴𝜑}) → 𝐴 ⊆ {𝑥𝐴𝜑}))
3725, 36mpd 13 . . . 4 (𝜒𝐴 ⊆ {𝑥𝐴𝜑})
38 ssrab 3180 . . . 4 (𝐴 ⊆ {𝑥𝐴𝜑} ↔ (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
3937, 38sylib 121 . . 3 (𝜒 → (𝐴𝐴 ∧ ∀𝑥𝐴 𝜑))
4039simprd 113 . 2 (𝜒 → ∀𝑥𝐴 𝜑)
4140r19.21bi 2523 1 ((𝜒𝑥𝐴) → 𝜑)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1330  wcel 1481  [wsb 1736  wral 2417  {crab 2421  Vcvv 2689  wss 3076   class class class wbr 3937   FrFor wfrfor 4257   Fr wfr 4258
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 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rab 2426  df-v 2691  df-un 3080  df-in 3082  df-ss 3089  df-sn 3538  df-pr 3539  df-op 3541  df-br 3938  df-frfor 4261  df-frind 4262
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator