Login
You're viewing the functional.cafe public feed.
  • Nov 24, 2026, 12:37 AM

    lean/rocq users complaining about the lack of elaboration tactics (as distinct from solvers) in mikan reminds me of imperative programmers complaining about the lack of side effects in Haskell, ngl. every time i've tried to use a tactic-based proof assistant i just thought it was a horrible workflow and it should just let me write terms instead.

    💬 2🔄 1⭐ 1

Replies

  • Nov 24, 2026, 2:05 AM

    @ncf it used to be much less accepted that "tactic scripts" were *the* way people thought we should write proofs with a proof assistant. there's a whole world of interface design out there that remains unexplored...

    💬 0🔄 0⭐ 0
  • Nov 24, 2026, 3:58 AM
    @ncf true, most Rocq tactics should probably correspond to editor macros instead. however, I'm not aware of any feature of agda-mode that would let me conveniently write a proof of the shape "rewrite with this lemma at this subterm, then this other lemma at that subterm, and then another of these two lemmas", and the last time i had an itch of "let me try formalizing this in agda for fun", I ended up manually building up =< ? > chains in a way which felt much slower than the equivalent workflow with Rocq's rewrite tactic
    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 24, 2026, 4:14 AM
    @mei @ncf i’m just pointing out that the “rewrite style” proofs can be done in mikan pretty easily while respecting term based proving style instead of just using a `rw [lem1, lem2]` tactic that obscures what’s being done

    you could pretty easily rip this out of the 1lab and make a separate library or use it for your mikan or agda projects. it doesn’t have very many dependent files and could just be a single file thing
    💬 1🔄 0⭐ 0
  • Nov 24, 2026, 4:50 AM
    @pounce @ncf still, there's much more futzing around with the proof terms, even when apd! can generate the call to apd for me. what I would want is editor support which lets me edit a chain of applications of transitivity, written with =< ? >, as easily as i could edit `rw [lem1, lem2]`
    💬 1🔄 0⭐ 0
  • 💬 0🔄 1⭐ 1
  • Nov 24, 2026, 10:13 AM

    @mei @pounce@nyan.network @ncf yes, if you want automation, you need a library that provides it. you can have your choice of: our library

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0