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

Theorem fodjum 7122
Description: Lemma for fodjuomni 7125 and fodjumkv 7136. A condition which shows that 𝐴 is inhabited. (Contributed by Jim Kingdon, 27-Jul-2022.) (Revised by Jim Kingdon, 25-Mar-2023.)
Hypotheses
Ref Expression
fodjuf.fo (𝜑𝐹:𝑂onto→(𝐴𝐵))
fodjuf.p 𝑃 = (𝑦𝑂 ↦ if(∃𝑧𝐴 (𝐹𝑦) = (inl‘𝑧), ∅, 1o))
fodjum.z (𝜑 → ∃𝑤𝑂 (𝑃𝑤) = ∅)
Assertion
Ref Expression
fodjum (𝜑 → ∃𝑥 𝑥𝐴)
Distinct variable groups:   𝜑,𝑦,𝑧   𝑦,𝑂,𝑧   𝑧,𝐴   𝑧,𝐵   𝑧,𝐹   𝑤,𝐴,𝑥,𝑧   𝑦,𝐴,𝑤   𝑦,𝐹   𝜑,𝑤
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥,𝑦,𝑤)   𝑃(𝑥,𝑦,𝑧,𝑤)   𝐹(𝑥,𝑤)   𝑂(𝑥,𝑤)

Proof of Theorem fodjum
StepHypRef Expression
1 fodjum.z . 2 (𝜑 → ∃𝑤𝑂 (𝑃𝑤) = ∅)
2 1n0 6411 . . . . . . . . 9 1o ≠ ∅
32nesymi 2386 . . . . . . . 8 ¬ ∅ = 1o
43intnan 924 . . . . . . 7 ¬ (¬ ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = 1o)
54a1i 9 . . . . . 6 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ¬ (¬ ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = 1o))
6 simprr 527 . . . . . . . 8 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → (𝑃𝑤) = ∅)
7 fodjuf.p . . . . . . . . 9 𝑃 = (𝑦𝑂 ↦ if(∃𝑧𝐴 (𝐹𝑦) = (inl‘𝑧), ∅, 1o))
8 fveqeq2 5505 . . . . . . . . . . 11 (𝑦 = 𝑤 → ((𝐹𝑦) = (inl‘𝑧) ↔ (𝐹𝑤) = (inl‘𝑧)))
98rexbidv 2471 . . . . . . . . . 10 (𝑦 = 𝑤 → (∃𝑧𝐴 (𝐹𝑦) = (inl‘𝑧) ↔ ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧)))
109ifbid 3547 . . . . . . . . 9 (𝑦 = 𝑤 → if(∃𝑧𝐴 (𝐹𝑦) = (inl‘𝑧), ∅, 1o) = if(∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧), ∅, 1o))
11 simprl 526 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → 𝑤𝑂)
12 peano1 4578 . . . . . . . . . . 11 ∅ ∈ ω
1312a1i 9 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ∅ ∈ ω)
14 1onn 6499 . . . . . . . . . . 11 1o ∈ ω
1514a1i 9 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → 1o ∈ ω)
16 fodjuf.fo . . . . . . . . . . . 12 (𝜑𝐹:𝑂onto→(𝐴𝐵))
1716fodjuomnilemdc 7120 . . . . . . . . . . 11 ((𝜑𝑤𝑂) → DECID𝑧𝐴 (𝐹𝑤) = (inl‘𝑧))
1817adantrr 476 . . . . . . . . . 10 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → DECID𝑧𝐴 (𝐹𝑤) = (inl‘𝑧))
1913, 15, 18ifcldcd 3561 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → if(∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧), ∅, 1o) ∈ ω)
207, 10, 11, 19fvmptd3 5589 . . . . . . . 8 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → (𝑃𝑤) = if(∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧), ∅, 1o))
216, 20eqtr3d 2205 . . . . . . 7 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ∅ = if(∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧), ∅, 1o))
22 eqifdc 3560 . . . . . . . 8 (DECID𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) → (∅ = if(∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧), ∅, 1o) ↔ ((∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = ∅) ∨ (¬ ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = 1o))))
2318, 22syl 14 . . . . . . 7 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → (∅ = if(∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧), ∅, 1o) ↔ ((∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = ∅) ∨ (¬ ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = 1o))))
2421, 23mpbid 146 . . . . . 6 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ((∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = ∅) ∨ (¬ ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = 1o)))
255, 24ecased 1344 . . . . 5 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → (∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) ∧ ∅ = ∅))
2625simpld 111 . . . 4 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧))
27 rexm 3514 . . . 4 (∃𝑧𝐴 (𝐹𝑤) = (inl‘𝑧) → ∃𝑧 𝑧𝐴)
2826, 27syl 14 . . 3 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ∃𝑧 𝑧𝐴)
29 eleq1w 2231 . . . 4 (𝑧 = 𝑥 → (𝑧𝐴𝑥𝐴))
3029cbvexv 1911 . . 3 (∃𝑧 𝑧𝐴 ↔ ∃𝑥 𝑥𝐴)
3128, 30sylib 121 . 2 ((𝜑 ∧ (𝑤𝑂 ∧ (𝑃𝑤) = ∅)) → ∃𝑥 𝑥𝐴)
321, 31rexlimddv 2592 1 (𝜑 → ∃𝑥 𝑥𝐴)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  DECID wdc 829   = wceq 1348  wex 1485  wcel 2141  wrex 2449  c0 3414  ifcif 3526  cmpt 4050  ωcom 4574  ontowfo 5196  cfv 5198  1oc1o 6388  cdju 7014  inlcinl 7022
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-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-1st 6119  df-2nd 6120  df-1o 6395  df-dju 7015  df-inl 7024  df-inr 7025
This theorem is referenced by:  fodjuomnilemres  7124  fodjumkvlemres  7135
  Copyright terms: Public domain W3C validator