Zulip Chat Archive

Stream: general

Topic: Representing Lean at DeepSpec Summer School


Simon Hudon (Jul 07 2018 at 18:44):

I've been invited to give a talk about Lean tactics at the upcoming DeepSpec summer school. It's a 5-10 minute talk that other participants do as well. I'd like to walk the audience through the writing of a tactic that I can contrast with Coq tactics. I thought of presenting tactics like refine_struct but it plays a lot with the internals and I'm not sure that a non-Lean-user would see the point.

Now I'm thinking of presenting tauto. Yesterday I added the closure over symmetric relations before tauto starts so that when it sees ¬ a = b and b = a in the assumptions, it can finish the goal right away. It would be an interesting contrast to Coq because I use a table of expressions for that closure. I can't begin to imagine how you'd do that in Ltac

Simon Hudon (Jul 07 2018 at 18:45):

What do you guys think? @Mario Carneiro , @Scott Morrison , @Andrew Ashworth , @Johannes Hölzl, @Sean Leather

Patrick Massot (Jul 07 2018 at 18:47):

5-10 minutes talk?!?

Patrick Massot (Jul 07 2018 at 18:47):

It's good that your name is not too long

Simon Hudon (Jul 07 2018 at 18:47):

Hahaha! :D

Simon Hudon (Jul 07 2018 at 18:48):

I'm thinking of shortening it to gain some time. What do you think of Sim-Hud?

Patrick Massot (Jul 07 2018 at 18:49):

Also good that you work with Lean instead of Isabelle, it's much faster to say

Patrick Massot (Jul 07 2018 at 18:49):

CS conferences are really crazy

Simon Hudon (Jul 07 2018 at 18:49):

To be fair, it's a summer school

Johan Commelin (Jul 07 2018 at 19:27):

To be fair, it's a summer school

Which means you get 20-30 minute talks instead of 60 or 90...

Patrick Massot (Jul 07 2018 at 19:45):

There is something even more mysterious: if you can explain how to write Lean tactics in 5-10 minutes, when didn't you teach all of us?

Simon Hudon (Jul 07 2018 at 19:51):

Darn! The cat is out of the bag now!

Simon Hudon (Jul 07 2018 at 19:52):

Of course I can make anyone proficient in 5 minutes. I just don't like you guys :stuck_out_tongue_closed_eyes:

Simon Hudon (Jul 07 2018 at 19:52):

I think in 5 minutes, the best I can do is a sales pitch

Simon Hudon (Jul 07 2018 at 19:53):

In mathematics, do people leave talks understanding the proof or merely wanting to read the paper?

Patrick Massot (Jul 07 2018 at 19:53):

With some luck they won't have time to ask what "disruptive proof assistant" means

Patrick Massot (Jul 07 2018 at 19:53):

They leave talks wanting to have coffee

Patrick Massot (Jul 07 2018 at 19:54):

and cakes if available

Simon Hudon (Jul 07 2018 at 19:58):

Small world

Simon Hudon (Jul 07 2018 at 19:59):

When the participants ask for cake, do they get cake or only a proof that cake exists somewhere?

Patrick Massot (Jul 07 2018 at 20:01):

They get a contradiction if they assume no cake exists. I guess Kenny wouldn't call that a proof.

Simon Hudon (Jul 07 2018 at 20:02):

But Kenny gets handed a recipe to make cake. Sure, it's convincing but it tastes like paper


Last updated: Dec 20 2023 at 11:08 UTC