Zulip Chat Archive
Stream: lean4
Topic: Find out where sorryAx is coming from?
Malvin Gattinger (Jan 31 2024 at 09:07):
Can I get the information that the sorryAx
comes from catchMe
in an automated way?
def isNice : Nat → Bool := fun n => decide (n > 5)
@[simp]
theorem catchMe : isNice 23 := sorry
theorem complicated : n = 23 → isNice n := fun hyp => by rw [hyp]; simp
#print axioms complicated
-- 'complicated' depends on axioms: [sorryAx, propext]
Eric Rodriguez (Jan 31 2024 at 09:35):
I think Mario made such a thing, maybe in lean3
Riccardo Brasca (Jan 31 2024 at 09:51):
@Floris van Doorn wrote this for Lean3
Floris van Doorn (Jan 31 2024 at 10:04):
Yes, here: mathlib#16911. Feel free to port/rewrite.
Last updated: May 02 2025 at 03:31 UTC