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

@ -16,37 +16,42 @@ is Spin(10).
namespace Spin10Model
/-- The gauge group of the Spin(10) model, i.e., the group `Spin(10)`. -/
informal_definition GaugeGroupI where
math :≈ "The group `Spin(10)`."
physics :≈ "The gauge group of the Spin(10) model (aka SO(10)-model.)"
deps := []
/-- The inclusion of the Pati-Salam gauge group into Spin(10), i.e., the lift of the embedding
`SO(6) × SO(4) → SO(10)` to universal covers, giving a homomorphism `Spin(6) × Spin(4) → Spin(10)`.
Precomposed with the isomorphism, `PatiSalam.gaugeGroupISpinEquiv`, between `SU(4) × SU(2) × SU(2)`
and `Spin(6) × Spin(4)`.
See page 56 of https://math.ucr.edu/home/baez/guts.pdf
-/
informal_definition inclPatiSalam where
physics :≈ "The inclusion of the Pati-Salam gauge group into Spin(10)."
math :≈ "The lift of the embedding `SO(6) x SO(4) → SO(10)` to universal covers,
giving a homomorphism `Spin(6) x Spin(4) → Spin(10)`. Precomposed with the isomorphism,
``PatiSalam.gaugeGroupISpinEquiv, between `SU(4) x SU(2) x SU(2)` and `Spin(6) x Spin(4)`."
ref :≈ "Page 56 of https://math.ucr.edu/home/baez/guts.pdf"
deps :≈ [``GaugeGroupI, ``PatiSalam.GaugeGroupI, ``PatiSalam.gaugeGroupISpinEquiv]
deps := [``GaugeGroupI, ``PatiSalam.GaugeGroupI, ``PatiSalam.gaugeGroupISpinEquiv]
/-- The inclusion of the Standard Model gauge group into Spin(10), i.e., the compoisiton of
`embedPatiSalam` and `PatiSalam.inclSM`.
See page 56 of https://math.ucr.edu/home/baez/guts.pdf
-/
informal_definition inclSM where
physics :≈ "The inclusion of the Standard Model gauge group into Spin(10)."
math :≈ "The compoisiton of ``embedPatiSalam and ``PatiSalam.inclSM."
ref :≈ "Page 56 of https://math.ucr.edu/home/baez/guts.pdf"
deps :≈ [``inclPatiSalam, ``PatiSalam.inclSM]
deps := [``inclPatiSalam, ``PatiSalam.inclSM]
/-- The inclusion of the Georgi-Glashow gauge group into Spin(10), i.e., the Lie group homomorphism
from `SU(n) → Spin(2n)` discussed on page 46 of https://math.ucr.edu/home/baez/guts.pdf for `n = 5`.
-/
informal_definition inclGeorgiGlashow where
physics :≈ "The inclusion of the Georgi-Glashow gauge group into Spin(10)."
math :≈ "The Lie group homomorphism from SU(n) → Spin(2n) dicussed on page 46 of
https://math.ucr.edu/home/baez/guts.pdf for n = 5."
deps :≈ [``GaugeGroupI, ``GeorgiGlashow.GaugeGroupI]
deps := [``GaugeGroupI, ``GeorgiGlashow.GaugeGroupI]
/-- The inclusion of the Standard Model gauge group into Spin(10), i.e., the composition of
`inclGeorgiGlashow` and `GeorgiGlashow.inclSM`.
-/
informal_definition inclSMThruGeorgiGlashow where
physics :≈ "The inclusion of the Standard Model gauge group into Spin(10)."
math :≈ "The composition of ``inclGeorgiGlashow and ``GeorgiGlashow.inclSM."
deps :≈ [``inclGeorgiGlashow, ``GeorgiGlashow.inclSM]
deps := [``inclGeorgiGlashow, ``GeorgiGlashow.inclSM]
/-- The inclusion `inclSM` is equal to the inclusion `inclSMThruGeorgiGlashow`. -/
informal_lemma inclSM_eq_inclSMThruGeorgiGlashow where
math :≈ "The inclusion ``inclSM is equal to the inclusion ``inclSMThruGeorgiGlashow."
deps :≈ [``inclSM, ``inclSMThruGeorgiGlashow]
deps := [``inclSM, ``inclSMThruGeorgiGlashow]
end Spin10Model