Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  extvfval Structured version   Visualization version   GIF version

Theorem extvfval 33708
Description: The "variable extension" function evaluated for adding a variable with index 𝐴. (Contributed by Thierry Arnoux, 25-Jan-2026.)
Hypotheses
Ref Expression
extvval.d 𝐷 = { ∈ (ℕ0m 𝐼) ∣ finSupp 0}
extvval.1 0 = (0g𝑅)
extvval.i (𝜑𝐼𝑉)
extvval.r (𝜑𝑅𝑊)
extvfval.a (𝜑𝐴𝐼)
extvfval.j 𝐽 = (𝐼 ∖ {𝐴})
extvfval.m 𝑀 = (Base‘(𝐽 mPoly 𝑅))
Assertion
Ref Expression
extvfval (𝜑 → ((𝐼extendVars𝑅)‘𝐴) = (𝑓𝑀 ↦ (𝑥𝐷 ↦ if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 ))))
Distinct variable groups:   𝑓,𝐼,,𝑥   𝑅,𝑓,𝑥   𝐴,𝑓,𝑥   𝑓,𝑀
Allowed substitution hints:   𝜑(𝑥,𝑓,)   𝐴()   𝐷(𝑥,𝑓,)   𝑅()   𝐽(𝑥,𝑓,)   𝑀(𝑥,)   𝑉(𝑥,𝑓,)   𝑊(𝑥,𝑓,)   0 (𝑥,𝑓,)

Proof of Theorem extvfval
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 sneq 4592 . . . . . . 7 (𝑎 = 𝐴 → {𝑎} = {𝐴})
21difeq2d 4080 . . . . . 6 (𝑎 = 𝐴 → (𝐼 ∖ {𝑎}) = (𝐼 ∖ {𝐴}))
3 extvfval.j . . . . . 6 𝐽 = (𝐼 ∖ {𝐴})
42, 3eqtr4di 2790 . . . . 5 (𝑎 = 𝐴 → (𝐼 ∖ {𝑎}) = 𝐽)
54fvoveq1d 7390 . . . 4 (𝑎 = 𝐴 → (Base‘((𝐼 ∖ {𝑎}) mPoly 𝑅)) = (Base‘(𝐽 mPoly 𝑅)))
6 extvfval.m . . . 4 𝑀 = (Base‘(𝐽 mPoly 𝑅))
75, 6eqtr4di 2790 . . 3 (𝑎 = 𝐴 → (Base‘((𝐼 ∖ {𝑎}) mPoly 𝑅)) = 𝑀)
8 fveqeq2 6851 . . . . 5 (𝑎 = 𝐴 → ((𝑥𝑎) = 0 ↔ (𝑥𝐴) = 0))
94reseq2d 5946 . . . . . 6 (𝑎 = 𝐴 → (𝑥 ↾ (𝐼 ∖ {𝑎})) = (𝑥𝐽))
109fveq2d 6846 . . . . 5 (𝑎 = 𝐴 → (𝑓‘(𝑥 ↾ (𝐼 ∖ {𝑎}))) = (𝑓‘(𝑥𝐽)))
118, 10ifbieq1d 4506 . . . 4 (𝑎 = 𝐴 → if((𝑥𝑎) = 0, (𝑓‘(𝑥 ↾ (𝐼 ∖ {𝑎}))), 0 ) = if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 ))
1211mpteq2dv 5194 . . 3 (𝑎 = 𝐴 → (𝑥𝐷 ↦ if((𝑥𝑎) = 0, (𝑓‘(𝑥 ↾ (𝐼 ∖ {𝑎}))), 0 )) = (𝑥𝐷 ↦ if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 )))
137, 12mpteq12dv 5187 . 2 (𝑎 = 𝐴 → (𝑓 ∈ (Base‘((𝐼 ∖ {𝑎}) mPoly 𝑅)) ↦ (𝑥𝐷 ↦ if((𝑥𝑎) = 0, (𝑓‘(𝑥 ↾ (𝐼 ∖ {𝑎}))), 0 ))) = (𝑓𝑀 ↦ (𝑥𝐷 ↦ if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 ))))
14 extvval.d . . 3 𝐷 = { ∈ (ℕ0m 𝐼) ∣ finSupp 0}
15 extvval.1 . . 3 0 = (0g𝑅)
16 extvval.i . . 3 (𝜑𝐼𝑉)
17 extvval.r . . 3 (𝜑𝑅𝑊)
18 eqid 2737 . . 3 (𝐼 ∖ {𝑎}) = (𝐼 ∖ {𝑎})
19 eqid 2737 . . 3 (Base‘((𝐼 ∖ {𝑎}) mPoly 𝑅)) = (Base‘((𝐼 ∖ {𝑎}) mPoly 𝑅))
2014, 15, 16, 17, 18, 19extvval 33707 . 2 (𝜑 → (𝐼extendVars𝑅) = (𝑎𝐼 ↦ (𝑓 ∈ (Base‘((𝐼 ∖ {𝑎}) mPoly 𝑅)) ↦ (𝑥𝐷 ↦ if((𝑥𝑎) = 0, (𝑓‘(𝑥 ↾ (𝐼 ∖ {𝑎}))), 0 )))))
21 extvfval.a . 2 (𝜑𝐴𝐼)
226fvexi 6856 . . . 4 𝑀 ∈ V
2322mptex 7179 . . 3 (𝑓𝑀 ↦ (𝑥𝐷 ↦ if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 ))) ∈ V
2423a1i 11 . 2 (𝜑 → (𝑓𝑀 ↦ (𝑥𝐷 ↦ if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 ))) ∈ V)
2513, 20, 21, 24fvmptd4 6974 1 (𝜑 → ((𝐼extendVars𝑅)‘𝐴) = (𝑓𝑀 ↦ (𝑥𝐷 ↦ if((𝑥𝐴) = 0, (𝑓‘(𝑥𝐽)), 0 ))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1542  wcel 2114  {crab 3401  Vcvv 3442  cdif 3900  ifcif 4481  {csn 4582   class class class wbr 5100  cmpt 5181  cres 5634  cfv 6500  (class class class)co 7368  m cmap 8775   finSupp cfsupp 9276  0cc0 11038  0cn0 12413  Basecbs 17148  0gc0g 17371   mPoly cmpl 21874  extendVarscextv 33705
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5226  ax-sep 5243  ax-nul 5253  ax-pr 5379
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-iun 4950  df-br 5101  df-opab 5163  df-mpt 5182  df-id 5527  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-ov 7371  df-oprab 7372  df-mpo 7373  df-extv 33706
This theorem is referenced by:  extvfv  33709  extvfvalf  33713
  Copyright terms: Public domain W3C validator