aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/math/logic/continuous.lux
blob: 0a982c8109697a00c1d9310eb0e97168b981adb6 (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
31
32
33
... This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(.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)))
        ))