Is it possible to define a syntax for using a subscribed identifier var with record accessors? E.g.
record Obj =
valid :: bool
lemma ‹valid\<^sub>G›
instead of
lemma ‹valid G›
You could use bsub and esub:
notation valid ("valid⇘_⇙")
term "valid⇘G⇙"
Robert Soeldner has marked this topic as resolved.
Last updated: Dec 21 2024 at 16:20 UTC