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

Theorem prod1dc 11465
Description: Any product of one over a valid set is one. (Contributed by Scott Fenton, 7-Dec-2017.) (Revised by Jim Kingdon, 5-Aug-2024.)
Assertion
Ref Expression
prod1dc (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∨ 𝐴 ∈ Fin) → ∏𝑘𝐴 1 = 1)
Distinct variable groups:   𝐴,𝑗,𝑘   𝑗,𝑀,𝑘

Proof of Theorem prod1dc
Dummy variables 𝑎 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2157 . . 3 (ℤ𝑀) = (ℤ𝑀)
2 simp1 982 . . 3 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → 𝑀 ∈ ℤ)
3 1ap0 8448 . . . 4 1 # 0
43a1i 9 . . 3 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → 1 # 0)
51prodfclim1 11423 . . . 4 (𝑀 ∈ ℤ → seq𝑀( · , ((ℤ𝑀) × {1})) ⇝ 1)
62, 5syl 14 . . 3 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → seq𝑀( · , ((ℤ𝑀) × {1})) ⇝ 1)
7 simp3 984 . . . 4 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴)
8 eleq1w 2218 . . . . . 6 (𝑗 = 𝑎 → (𝑗𝐴𝑎𝐴))
98dcbid 824 . . . . 5 (𝑗 = 𝑎 → (DECID 𝑗𝐴DECID 𝑎𝐴))
109cbvralv 2680 . . . 4 (∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴 ↔ ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
117, 10sylib 121 . . 3 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
12 simp2 983 . . 3 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → 𝐴 ⊆ (ℤ𝑀))
13 1ex 7856 . . . . . 6 1 ∈ V
1413fvconst2 5680 . . . . 5 (𝑘 ∈ (ℤ𝑀) → (((ℤ𝑀) × {1})‘𝑘) = 1)
1514adantl 275 . . . 4 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘 ∈ (ℤ𝑀)) → (((ℤ𝑀) × {1})‘𝑘) = 1)
16 eleq1w 2218 . . . . . . 7 (𝑎 = 𝑘 → (𝑎𝐴𝑘𝐴))
1716dcbid 824 . . . . . 6 (𝑎 = 𝑘 → (DECID 𝑎𝐴DECID 𝑘𝐴))
1811adantr 274 . . . . . 6 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘 ∈ (ℤ𝑀)) → ∀𝑎 ∈ (ℤ𝑀)DECID 𝑎𝐴)
19 simpr 109 . . . . . 6 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘 ∈ (ℤ𝑀)) → 𝑘 ∈ (ℤ𝑀))
2017, 18, 19rspcdva 2821 . . . . 5 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘 ∈ (ℤ𝑀)) → DECID 𝑘𝐴)
21 ifiddc 3538 . . . . 5 (DECID 𝑘𝐴 → if(𝑘𝐴, 1, 1) = 1)
2220, 21syl 14 . . . 4 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘 ∈ (ℤ𝑀)) → if(𝑘𝐴, 1, 1) = 1)
2315, 22eqtr4d 2193 . . 3 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘 ∈ (ℤ𝑀)) → (((ℤ𝑀) × {1})‘𝑘) = if(𝑘𝐴, 1, 1))
24 1cnd 7877 . . 3 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∧ 𝑘𝐴) → 1 ∈ ℂ)
251, 2, 4, 6, 11, 12, 23, 24zprodap0 11460 . 2 ((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) → ∏𝑘𝐴 1 = 1)
26 fz1f1o 11254 . . 3 (𝐴 ∈ Fin → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)))
27 prodeq1 11432 . . . . 5 (𝐴 = ∅ → ∏𝑘𝐴 1 = ∏𝑘 ∈ ∅ 1)
28 prod0 11464 . . . . 5 𝑘 ∈ ∅ 1 = 1
2927, 28eqtrdi 2206 . . . 4 (𝐴 = ∅ → ∏𝑘𝐴 1 = 1)
30 eqidd 2158 . . . . . . . . . 10 (𝑘 = (𝑓𝑗) → 1 = 1)
31 simpl 108 . . . . . . . . . 10 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → (♯‘𝐴) ∈ ℕ)
32 simpr 109 . . . . . . . . . 10 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)
33 1cnd 7877 . . . . . . . . . 10 ((((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) ∧ 𝑘𝐴) → 1 ∈ ℂ)
34 elfznn 9938 . . . . . . . . . . . 12 (𝑗 ∈ (1...(♯‘𝐴)) → 𝑗 ∈ ℕ)
3513fvconst2 5680 . . . . . . . . . . . 12 (𝑗 ∈ ℕ → ((ℕ × {1})‘𝑗) = 1)
3634, 35syl 14 . . . . . . . . . . 11 (𝑗 ∈ (1...(♯‘𝐴)) → ((ℕ × {1})‘𝑗) = 1)
3736adantl 275 . . . . . . . . . 10 ((((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) ∧ 𝑗 ∈ (1...(♯‘𝐴))) → ((ℕ × {1})‘𝑗) = 1)
3830, 31, 32, 33, 37fprodseq 11462 . . . . . . . . 9 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → ∏𝑘𝐴 1 = (seq1( · , (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1)))‘(♯‘𝐴)))
39 simpr 109 . . . . . . . . . . . . . . . . 17 ((((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ 𝑗 ≤ (♯‘𝐴)) → 𝑗 ≤ (♯‘𝐴))
4039iftrued 3512 . . . . . . . . . . . . . . . 16 ((((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ 𝑗 ≤ (♯‘𝐴)) → if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1) = ((ℕ × {1})‘𝑗))
4135ad2antlr 481 . . . . . . . . . . . . . . . 16 ((((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ 𝑗 ≤ (♯‘𝐴)) → ((ℕ × {1})‘𝑗) = 1)
4240, 41eqtrd 2190 . . . . . . . . . . . . . . 15 ((((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ 𝑗 ≤ (♯‘𝐴)) → if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1) = 1)
43 simpr 109 . . . . . . . . . . . . . . . 16 ((((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ ¬ 𝑗 ≤ (♯‘𝐴)) → ¬ 𝑗 ≤ (♯‘𝐴))
4443iffalsed 3515 . . . . . . . . . . . . . . 15 ((((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) ∧ ¬ 𝑗 ≤ (♯‘𝐴)) → if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1) = 1)
45 nnz 9169 . . . . . . . . . . . . . . . . 17 (𝑗 ∈ ℕ → 𝑗 ∈ ℤ)
46 nnz 9169 . . . . . . . . . . . . . . . . 17 ((♯‘𝐴) ∈ ℕ → (♯‘𝐴) ∈ ℤ)
47 zdcle 9223 . . . . . . . . . . . . . . . . 17 ((𝑗 ∈ ℤ ∧ (♯‘𝐴) ∈ ℤ) → DECID 𝑗 ≤ (♯‘𝐴))
4845, 46, 47syl2anr 288 . . . . . . . . . . . . . . . 16 (((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) → DECID 𝑗 ≤ (♯‘𝐴))
49 exmiddc 822 . . . . . . . . . . . . . . . 16 (DECID 𝑗 ≤ (♯‘𝐴) → (𝑗 ≤ (♯‘𝐴) ∨ ¬ 𝑗 ≤ (♯‘𝐴)))
5048, 49syl 14 . . . . . . . . . . . . . . 15 (((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝑗 ≤ (♯‘𝐴) ∨ ¬ 𝑗 ≤ (♯‘𝐴)))
5142, 44, 50mpjaodan 788 . . . . . . . . . . . . . 14 (((♯‘𝐴) ∈ ℕ ∧ 𝑗 ∈ ℕ) → if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1) = 1)
5251mpteq2dva 4054 . . . . . . . . . . . . 13 ((♯‘𝐴) ∈ ℕ → (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1)) = (𝑗 ∈ ℕ ↦ 1))
53 fconstmpt 4630 . . . . . . . . . . . . 13 (ℕ × {1}) = (𝑗 ∈ ℕ ↦ 1)
5452, 53eqtr4di 2208 . . . . . . . . . . . 12 ((♯‘𝐴) ∈ ℕ → (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1)) = (ℕ × {1}))
5554seqeq3d 10334 . . . . . . . . . . 11 ((♯‘𝐴) ∈ ℕ → seq1( · , (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1))) = seq1( · , (ℕ × {1})))
5655adantr 274 . . . . . . . . . 10 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → seq1( · , (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1))) = seq1( · , (ℕ × {1})))
5756fveq1d 5467 . . . . . . . . 9 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → (seq1( · , (𝑗 ∈ ℕ ↦ if(𝑗 ≤ (♯‘𝐴), ((ℕ × {1})‘𝑗), 1)))‘(♯‘𝐴)) = (seq1( · , (ℕ × {1}))‘(♯‘𝐴)))
5838, 57eqtrd 2190 . . . . . . . 8 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → ∏𝑘𝐴 1 = (seq1( · , (ℕ × {1}))‘(♯‘𝐴)))
59 nnuz 9457 . . . . . . . . . 10 ℕ = (ℤ‘1)
6059prodf1 11421 . . . . . . . . 9 ((♯‘𝐴) ∈ ℕ → (seq1( · , (ℕ × {1}))‘(♯‘𝐴)) = 1)
6160adantr 274 . . . . . . . 8 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → (seq1( · , (ℕ × {1}))‘(♯‘𝐴)) = 1)
6258, 61eqtrd 2190 . . . . . . 7 (((♯‘𝐴) ∈ ℕ ∧ 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → ∏𝑘𝐴 1 = 1)
6362ex 114 . . . . . 6 ((♯‘𝐴) ∈ ℕ → (𝑓:(1...(♯‘𝐴))–1-1-onto𝐴 → ∏𝑘𝐴 1 = 1))
6463exlimdv 1799 . . . . 5 ((♯‘𝐴) ∈ ℕ → (∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴 → ∏𝑘𝐴 1 = 1))
6564imp 123 . . . 4 (((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴) → ∏𝑘𝐴 1 = 1)
6629, 65jaoi 706 . . 3 ((𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)) → ∏𝑘𝐴 1 = 1)
6726, 66syl 14 . 2 (𝐴 ∈ Fin → ∏𝑘𝐴 1 = 1)
6825, 67jaoi 706 1 (((𝑀 ∈ ℤ ∧ 𝐴 ⊆ (ℤ𝑀) ∧ ∀𝑗 ∈ (ℤ𝑀)DECID 𝑗𝐴) ∨ 𝐴 ∈ Fin) → ∏𝑘𝐴 1 = 1)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  DECID wdc 820  w3a 963   = wceq 1335  wex 1472  wcel 2128  wral 2435  wss 3102  c0 3394  ifcif 3505  {csn 3560   class class class wbr 3965  cmpt 4025   × cxp 4581  1-1-ontowf1o 5166  cfv 5167  (class class class)co 5818  Fincfn 6678  0cc0 7715  1c1 7716   · cmul 7720  cle 7896   # cap 8439  cn 8816  cz 9150  cuz 9422  ...cfz 9894  seqcseq 10326  chash 10631  cli 11157  cprod 11429
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 604  ax-in2 605  ax-io 699  ax-5 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-coll 4079  ax-sep 4082  ax-nul 4090  ax-pow 4134  ax-pr 4168  ax-un 4392  ax-setind 4494  ax-iinf 4545  ax-cnex 7806  ax-resscn 7807  ax-1cn 7808  ax-1re 7809  ax-icn 7810  ax-addcl 7811  ax-addrcl 7812  ax-mulcl 7813  ax-mulrcl 7814  ax-addcom 7815  ax-mulcom 7816  ax-addass 7817  ax-mulass 7818  ax-distr 7819  ax-i2m1 7820  ax-0lt1 7821  ax-1rid 7822  ax-0id 7823  ax-rnegex 7824  ax-precex 7825  ax-cnre 7826  ax-pre-ltirr 7827  ax-pre-ltwlin 7828  ax-pre-lttrn 7829  ax-pre-apti 7830  ax-pre-ltadd 7831  ax-pre-mulgt0 7832  ax-pre-mulext 7833  ax-arch 7834  ax-caucvg 7835
This theorem depends on definitions:  df-bi 116  df-dc 821  df-3or 964  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ne 2328  df-nel 2423  df-ral 2440  df-rex 2441  df-reu 2442  df-rmo 2443  df-rab 2444  df-v 2714  df-sbc 2938  df-csb 3032  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3395  df-if 3506  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-int 3808  df-iun 3851  df-br 3966  df-opab 4026  df-mpt 4027  df-tr 4063  df-id 4252  df-po 4255  df-iso 4256  df-iord 4325  df-on 4327  df-ilim 4328  df-suc 4330  df-iom 4548  df-xp 4589  df-rel 4590  df-cnv 4591  df-co 4592  df-dm 4593  df-rn 4594  df-res 4595  df-ima 4596  df-iota 5132  df-fun 5169  df-fn 5170  df-f 5171  df-f1 5172  df-fo 5173  df-f1o 5174  df-fv 5175  df-isom 5176  df-riota 5774  df-ov 5821  df-oprab 5822  df-mpo 5823  df-1st 6082  df-2nd 6083  df-recs 6246  df-irdg 6311  df-frec 6332  df-1o 6357  df-oadd 6361  df-er 6473  df-en 6679  df-dom 6680  df-fin 6681  df-pnf 7897  df-mnf 7898  df-xr 7899  df-ltxr 7900  df-le 7901  df-sub 8031  df-neg 8032  df-reap 8433  df-ap 8440  df-div 8529  df-inn 8817  df-2 8875  df-3 8876  df-4 8877  df-n0 9074  df-z 9151  df-uz 9423  df-q 9511  df-rp 9543  df-fz 9895  df-fzo 10024  df-seqfrec 10327  df-exp 10401  df-ihash 10632  df-cj 10724  df-re 10725  df-im 10726  df-rsqrt 10880  df-abs 10881  df-clim 11158  df-proddc 11430
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator