inductive
definition
SemanticRelation
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Linguistics.SemanticRelationsFromConfigDim on GitHub at line 15.
browse module
All declarations in this module, on Recognition.
explainer page
used by
formal source
12
13namespace IndisputableMonolith.Linguistics.SemanticRelationsFromConfigDim
14
15inductive SemanticRelation where
16 | synonymy
17 | antonymy
18 | hypernymy
19 | meronymy
20 | polysemy
21 deriving DecidableEq, Repr, BEq, Fintype
22
23theorem semanticRelation_count : Fintype.card SemanticRelation = 5 := by decide
24
25structure SemanticRelationsCert where
26 five_relations : Fintype.card SemanticRelation = 5
27
28def semanticRelationsCert : SemanticRelationsCert where
29 five_relations := semanticRelation_count
30
31end IndisputableMonolith.Linguistics.SemanticRelationsFromConfigDim