Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explode is incorrectly spaced when namespaces are open-ed #14484

Open
advayDev1 opened this issue Jul 7, 2024 · 0 comments
Open

Explode is incorrectly spaced when namespaces are open-ed #14484

advayDev1 opened this issue Jul 7, 2024 · 0 comments

Comments

@advayDev1
Copy link

In a context where a namespace has been open-ed, it appears the column width for the theorem row is based on a fully qualified name for the theorem (even though such name is not displayed), which throws off the spacing for the whole table. See below.

Minimal example:

import Mathlib.Tactic.Explode

namespace LongNamedNamespace
axiom TheTheorem (x: Type): x = x
end LongNamedNamespace

section
open LongNamedNamespace
theorem Theorem2 (x: Type) : x = x := by
  apply TheTheorem;
/-
Theorem2 : ∀ (x : Type), x = x

0│   │ x                             ├ Type
1│   │ TheTheorem │ x = x
2│0,1│ ∀I                            │ ∀ (x : Type), x = x


-/
#explode Theorem2
end


/-
Theorem2 : ∀ (x : Type), x = x

0│   │ x                             ├ Type
1│   │ LongNamedNamespace.TheTheorem │ x = x
2│0,1│ ∀I                            │ ∀ (x : Type), x = x


-/
#explode Theorem2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant