[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unification/coercion failure



This may be an artefact of the way we build up the template values. It
looks like we're getting commas inserted into type signatures, which
Isabelle is treating as product types, e.g. '(fst, snd)'. This is
causing the unification error we see.

We're inserting commas in between each entry in our lists, e.g. each set
of defining theorems, each datatype, etc. It's probably caused by
getting a single entry spanning across multiple lines, which we're
therefore treating as multiple entries and comma-separating.

We should tighten this up by using properly-delimited strings, e.g. like
JSON, instead of relying newlines.