Zulip Chat Archive

Stream: general

Topic: which subterm needs an axiom


Yury G. Kudryashov (Sep 18 2021 at 17:10):

Is there an easy way to find out which part(s) of a proof depend on classical.choice?

Bryan Gin-ge Chen (Sep 18 2021 at 19:01):

The closest thing I know of is @Mario Carneiro's snippet here which gets the axioms used by a declaration. Maybe you could use that to inspect the terms generated at various points in the proof?

Bryan Gin-ge Chen (Sep 18 2021 at 19:03):

(It'd be nice to have something like this in mathlib, though I suspect that adding more Lean 3 meta code probably isn't a high priority at the moment.)


Last updated: Dec 20 2023 at 11:08 UTC