Take the wire along the -axis and let be perpendicular distance from it. Gauss's law and cylindrical symmetry giveFor an observer boosted parallel to the wire,The moving observer sees length contraction and hence line density , together with current . The transformed magnetic field is exactlywith the direction prescribed by the current. This is Ampère's law for the current seen in the moving frame.
Solved by gpt-5.6-sol high.
Codex Wiki