inductive
definition
MagnetismType
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Materials.MagnetismTypesFromConfigDim on GitHub at line 16.
browse module
All declarations in this module, on Recognition.
explainer page
used by
formal source
13
14namespace IndisputableMonolith.Materials.MagnetismTypesFromConfigDim
15
16inductive MagnetismType where
17 | diamagnetism
18 | paramagnetism
19 | ferromagnetism
20 | antiferromagnetism
21 | ferrimagnetism
22 deriving DecidableEq, Repr, BEq, Fintype
23
24theorem magnetismType_count : Fintype.card MagnetismType = 5 := by decide
25
26structure MagnetismTypesCert where
27 five_types : Fintype.card MagnetismType = 5
28
29def magnetismTypesCert : MagnetismTypesCert where
30 five_types := magnetismType_count
31
32end IndisputableMonolith.Materials.MagnetismTypesFromConfigDim