Suppose that K is ultrametric. Let G be a finite-dimensional Lie group. Let A, B, C be Lie subgroups of G such that [L(A),L(C)]⊂L(C), [L(B),L(C)]⊂L(C). If [L(A),L(B)]⊂L(C), there exist open subgroups A', B' of A, B such that (A′,B′)⊂C. If [L(A),L(B)]⊂L(C), there exist open subgroups A', B', C' of A, B, C such that (A′,B′)=C′.
Suppose that [L(A),L(B)]⊂L(C). As in the proof of Proposition 4, the problem reduces to the case where L(C) is an ideal of L(G). Then, by replacing G by an open subgroup, it reduces to the case where C is normal in G (§7, no. 1, Proposition 2). Let ϕ be the canonical morphism of G onto G/C. Then
[L(ϕ)(L(A)),L(ϕ)(L(B))]={0}. By the Hausdorff formula, there exist open subgroups A', B' of A, B such that
ϕ(A′) and
ϕ(B′) commute, whence
(A′,B′)⊂C. Suppose further that
[L(A),L(B)]=L(C). By Proposition 3, the Lie subalgebra tangent to
(A′,B′) at
e contains
L(C). Hence
(A′,B′) contains a Lie subgroup germ of G with Lie algebra
L(C). Therefore
(A′,B′) is an open subgroup of C.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.