Zulip Chat Archive

Stream: new members

Topic: Getting trace of the definitions defined on inductive types


Ayush Agrawal (Apr 30 2022 at 14:54):

Hi guys, it would be really helpful if anyone could suggest a way to trace how the rec_on does the job of constructing correct terms. For example, doing #reduce nat.add (nat.succ nat.zero) (nat.succ (nat.succ nat.zero)) directly gives me 3 or (nat2.zero.succ.succ.succ) but it would be cool to see what's happening under the hood. Thanks!


Last updated: Dec 20 2023 at 11:08 UTC