Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isabelle/HOL translation: syntax aliases incorrectly translated #3047

Open
lukaszcz opened this issue Sep 14, 2024 · 0 comments · May be fixed by #3050
Open

Isabelle/HOL translation: syntax aliases incorrectly translated #3047

lukaszcz opened this issue Sep 14, 2024 · 0 comments · May be fixed by #3050

Comments

@lukaszcz
Copy link
Collaborator

Example:

Name : Type := Nat;

syntax alias T := Name;

type RR := mkRR {
  x : T
};

gives

type_synonym Name = nat

record RR =
  x :: nat

fun x :: "RR \<Rightarrow> T" where
  "x (| RR.x = x' |) = x'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants