From: Joachim Breitner <breitner@kit.edu>
Hi,
sorry for the noise, Andreas told me that the syntax which I would have
wished for this actually works:
locale C =
fixes n :: nat
begin
(* ... *)
sublocale A "n = 0".
(* ... *)
lemma n: "n = 0" sorry
sublocale B "n = 0" by (unfold_locales, simp add: n)
(* ... *)
end
I guess I should be more optimistic.
Greetings,
Joachim
signature.asc
Last updated: Nov 21 2024 at 12:39 UTC