aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/math/logic/continuous.lux
blob: b25fa3cf00b29a6f8657294235f26451a1e4110b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(.require
 [library
  [lux (.except)
   ["$" documentation]
   [data
    ["[0]" text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(def .public documentation
  (.List $.Documentation)
  (list ($.module /._
                  (format "Continuous logic using Rev values."
                          \n "Continuous logic is logic in the interval [0,1] instead of just the binary #0 and #1 options."
                          \n "Because Rev is being used, the interval is actual [0,1)."))

        ($.definition /.false)
        ($.definition /.true)
        ($.definition /.or)
        ($.definition /.disjunction)
        ($.definition /.and)
        ($.definition /.conjunction)
        ($.definition /.not)
        ($.definition /.=)

        ($.definition /.implies
          ""
          ($.example (implies consequent antecedent)))
        ))