Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Domain-specific visual representations of structures for proofs

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Domain-specific visual representations of structures for proofs


Chronological Thread 
  • From: Lawrence Dunn <dunnla AT seas.upenn.edu>
  • To: coq-club AT inria.fr
  • Cc: Talia Ringer <tringer AT cs.washington.edu>, cl-isabelle-users AT lists.cam.ac.uk
  • Subject: Re: [Coq-Club] Domain-specific visual representations of structures for proofs
  • Date: Mon, 15 Nov 2021 12:02:59 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=dunnla AT seas.upenn.edu; spf=Pass smtp.mailfrom=dunnla AT seas.upenn.edu; spf=None smtp.helo=postmaster AT mail-ed1-f53.google.com
  • Ironport-hdrordr: A9a23:czqHE6gId1/MXeJoC61AbMtdFnBQXq8ji2hC6mlwRA09TyX2rayTdZgguCMc9gx+ZJhIo7npU5VoKkmyyXca2+MsAYs=
  • Ironport-phdr: A9a23:OfIJJhZDtZhYvkj7n6gqWY7/LTEW14qcDmcuAnoPtbtCf+yZ8oj4OwSHvLMx1gePDNyQtq0MotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+5YHfbx9MiTagbr9/LBe7phjNu8cLhodvNrw/wQbTrHtSfORWy2JoJVaNkBv5+8y94p1t/TlOtvw478JPXrn0cKo+TbxDETQpKHs169HxtRnCVgSA+H0RWXgLnxVSAgjF6Bb6Xortsib/q+Fw1jWWMdHwQLspQjmp8btlRwH0hycGLz458X/YispsjKJAvRmtowVzz5PIbI2JMfZzeKTSc84HRWpaRsZeSTBOAp+yYYsICuoOJ+dYr4/grFcKohazAQygCeXywTFKm3D2x7U33OsvEQ7E3AIuEdEAvmnKotrpL6odS/y5wbPSwDnfc/9b2zHw45XIfBA7pvGMWKp9f8zLxkghDQPKkFOQppD7MDiI2OoNrm6b7+x9Xu+olmEntgdxoj6rxsg2kYTJnZwaxUrf9Slj3YY1PcO3SEh9YdK+DpRfqjyaOpJwT8g/TG5mpDw0xacauZ6nYicK0pInygbBZvGbc4WF/h3tWeiTLDtmmX9oZK+ziRaw/ES91+DxWcm53EhJoydFj9XBqm0A2RzX58WISvZw/Uiv1zaR2w3Q7OxPPE46la3eK5E7w74wkIIesUvCHi/qmEX2kbSZel849eiv7uTrerXmqYWdNoBqjgHyKKMumtawAeggLwgORWyb9vmi273t40L5Rq5KgeMsnqbFt5DaINwXpqG4Aw9J0oYj9g2wAy2n0NQfhXUIMUhKeBSGj4f3P1HOJPH4Deujg1i2jDhrwPXGMqX7AprXKnjDnrXhcaxg5EFCzgc40NNR54pMB70fPP7+XlX9ud/YAxMjLQC43+XqBM99244QX2+EH7WXP7nIsVCS4+IiO+mMa5ERuDb6M/Ul4uThjX49mVMEY6amwIYbZGm2HvlmLUiVe3XsgtAGEWcFugoxUvbmh0GFUT5Wf3qyXqQ86S8nCI++E4vPWoSgjKaC0Sq7BJFaeHxKB1OWHXroeYiIQ/IMZziTIs9lnDwET7+hS4o52B6zqQ/6zbxnLu7O9SADrpLsysJ65/bJmREv7Tx7EcKd02eXQ25qg2wIWic63Lpjrkxl1leDza94juREGtxU/vNFSxs1NZrBz+NhEN3yQQLAftKRSFm8WNmmADcxTsgww9AUeUp9Fc+i3Vj/2H+hBKZQnLiWDrQ19Ljd1j7/PZVT0XHDgY0okEMrRMBCfUG7gKg3owTOAYjNmm2Cmq+xM7kE0SjLsmqP0Dzd7wljTAdsXPCdDjgkbUzMoIG8uxqqp1CGErkuKU1c0cOELO1HZsC71D2uod/4Nd3FJX+plmG2QxuE2+HUBGILU2AU3SGYBURd1g5OpjCJMg8xAirnqGXbXmQGKA==

Hi Talia,

I have some yet unpublished work that uses string diagrams to reason about operations on syntax with variable binding, which is formalized in Coq. The development workflow for many proofs consists of visually manipulating string diagrams and then translating these (rather tediously) to rewrites in Coq. An example of such a string diagram can be found in the git README here: https://github.com/dunnl/tealeaves
Some proofs whose structure is more readily visualized by manipulating string diagrams is found in this file:
https://github.com/dunnl/tealeaves/blob/master/Tealeaves/Singlesorted/Classes/Bimonad.v

Unfortunately I don't have a paper to point to yet, perhaps in the next few months or so. Maybe you will find it relevant anyway.

Warm regards,
Lawrence

On Sun, Nov 14, 2021 at 11:28 AM Cyrus Omar <comar AT umich.edu> wrote:
I don't have a particular idea, but you might want to reach out to Katherine Ye at CMU, whose work on Penrose is all about domain-specific visual representations of mathematical structures.

If you want these visual representations to be interactive, we've been doing some work in that area in the context of functional programming: https://hazel.org/papers/livelits-paper.pdf.

Cyrus

On Sat, Nov 13, 2021 at 10:28 PM Ralf Jung <jung AT mpi-sws.org> wrote:
Hi Talia,

I am not sure if that is what you are looking for, but "Ribbon proofs" is an
interesting way to visualize the structure *of* a proof:
https://johnwickerson.github.io/papers/ribbons_esop13.pdf
The paper formalizes the "syntax" of these visualizations and proves things
about them.

; Ralf

On 13.11.21 20:06, Talia Ringer wrote:
> Hi all!
>
> I had a fun idea today for programmable neurosymbolic proof automation based on
> domain-specific visual representations of structures. By visual representations
> I mean representations like those seen in this blog post:
> https://www.daniellitt.com/blog/2020/12/26/the-geometry-of-the-sylow-theorems
> <https://www.daniellitt.com/blog/2020/12/26/the-geometry-of-the-sylow-theorems>
>
> I'm really curious if people have other domain-specific visualizations of
> structures they reason about in proofs, especially if coupled with formal proof
> developments! I'm extra curious when you use the visualization to reason about
> the proofs by hand, but encode them formally in a proof assistant. I'm extra
> extra curious if the visual representation is of a structure used inside of a
> program, and not "just" a mathematical proof, but I'm very open to both.
>
> If you do, I'd love examples!!! This idea is like a couple of hours old, but I
> want to write it up with some examples so I can get a sense of how tractable it
> is, and probably propose it to some students next year.
>
> Thanks!
>
> Talia

--
Website: https://ralfj.de/research



Archive powered by MHonArc 2.6.19+.

Top of Page