[isabelle-dev] map/rel/set for lift_bnf
traytel at inf.ethz.ch
Wed Jul 12 08:02:56 CEST 2017
thanks for the reminder. Cf. c6714a9562ae and a5a24e1a6d6f.
Note that this still doesn’t provide the interface to Lifting and Transfer via transfer rules for the BNF constants (which is more complicated since lift_bnf doesn’t know about Lifting, in particular about the correspondence relations).
> On 11 Jul 2017, at 16:18, Lars Hupel <hupel at in.tum.de> wrote:
> Dear BNF experts,
> a while ago  I posted some comments on the "lift_bnf" command. I'm
> currently in the process of cleaning up the "Finite_Map" theory and
> found out that now, "lift_bnf" exports the definitional theorems for
> In this case, the theorem looks like this:
> fmmap ≡ λf. Abs_fmap ∘ Finite_Map.fmap.fun.map_fun f ∘ fmlookup
> But if I look at "BNF_Def.map_def_of_bnf", the theorem looks like this:
> fmmap ≡ λf. Abs_fmap ∘ op ∘ (map_option f) ∘ fmlookup
> I couldn't find any way to unfold "Finite_Map.fmap.fun.map_fun" (which
> is presumably some internal constant), which means I still have to use
> the workaround of manually registering the lemmas I want.
> This is not urgent, but it would be cool if I could get rid of the
> workaround for Isabelle2017.
> isabelle-dev mailing list
> isabelle-dev at in.tum.de
More information about the isabelle-dev