feat: make informal_definition and informal_lemma commands (#300)

* make informal_definition and informal_lemma commands
* drop the fields "math", "physics", and "proof" from InformalDefinition/InformalLemma and use docstrings instead
* render informal docstring in dependency graph
This commit is contained in:
KUO-TSAN HSU (Gordon) 2025-02-02 03:17:17 +08:00 committed by GitHub
parent 6aab0ba3cd
commit f8f94979ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 666 additions and 1089 deletions

View file

@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith
-/
import HepLean.Lorentz.Group.Orthochronous
import HepLean.Meta.Informal.Basic
/-!
# The Restricted Lorentz Group
@ -16,17 +17,10 @@ TODO "Prove that every member of the restricted Lorentz group is
TODO "Prove restricted Lorentz group equivalent to connected component of identity
of the Lorentz group."
noncomputable section
open Matrix
open Complex
open ComplexConjugate
namespace LorentzGroup
/-- The subgroup of the Lorentz group consisting of elements which are proper and orthochronous. -/
informal_definition Restricted where
math :≈ "The subgroup of the Lorentz group consisting of elements which
are proper and orthochronous."
deps :≈ [``LorentzGroup, ``IsProper, ``IsOrthochronous]
deps := [``LorentzGroup, ``IsProper, ``IsOrthochronous]
end LorentzGroup