Lean4
@[to_additive]
noncomputable instance : Min (GroupSeminorm E) :=
⟨fun p q =>
{ toFun := fun x => ⨅ y, p y + q (x / y)
map_one' :=
ciInf_eq_of_forall_ge_of_forall_gt_exists_lt (fun _ => by positivity) fun r hr =>
⟨1, by rwa [div_one, map_one_eq_zero p, map_one_eq_zero q, add_zero]⟩
mul_le' := fun x y =>
le_ciInf_add_ciInf fun u v =>
by
refine ciInf_le_of_le mul_bddBelow_range_add (u * v) ?_
rw [mul_div_mul_comm, add_add_add_comm]
exact add_le_add (map_mul_le_add p _ _) (map_mul_le_add q _ _)
inv' := fun x =>
(inv_surjective.iInf_comp _).symm.trans <| by simp_rw [map_inv_eq_map p, ← inv_div', map_inv_eq_map q] }⟩