You asked

Panasonic lumix s 40mm f 2 vs sigma 40mm f 1 4 dg hsm art?

Here is what the site says about that.

From Sigma 40mm f/1.4 DG HSM Art: Sigma 40mm f/1.4 DG HSM Art: A prime lens by Sigma for Full frame cameras, 40mm f/1.4. Specs - Maker: Sigma - Focal length: 40mm (prime) - Maximum aperture: f/1.4 - Made for: Full frame sensors - Mounts: Canon EF, Nikon F, Sony E, L-Mount - Stabilised: no - Autofocus: yes What it frames like - On full frame (Canon EF, Nikon F, Sony E, L-Mount): as marked, 40mm. - On APS-C (Nikon F, Sony E, ...

From Panasonic Lumix S 40mm f/2: Panasonic Lumix S 40mm f/2: A prime lens by Panasonic for Full frame cameras, 40mm f/2. A small, light standard prime. Specs - Maker: Panasonic - Focal length: 40mm (prime) - Maximum aperture: f/2 - Made for: Full frame sensors - Mounts: L-Mount - Stabilised: no - Autofocus: yes What it frames like - On full frame (L-Mount): as marked, 40mm. - On APS-C (L-Mount): like 60mm on full frame; f/2 gives about the depth ...

Quoted from this site's pages.

From these pages