• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
        • Aleobft
        • Aleovm
        • Leo
          • Grammar
          • Early-version
            • Json2ast
            • Testing
            • Definition
              • Flattening
              • Abstract-syntax
                • Expression
                • Syntax-abstraction
                • Statement
                • Files
                • Input-files
                • Identifiers
                • Types
                • Struct-init
                • Branch
                • Statements
                • Format-strings
                • Input-syntax-abstraction
                • Expressions
                • Output-files
                • Addresses
                • Literals
                  • Literal
                  • Coordinate
                    • Coordinate-case
                    • Coordinate-fix
                    • Coordinate-equiv
                    • Coordinatep
                    • Coordinate-explicit
                    • Coordinate-sign-low
                    • Coordinate-sign-high
                    • Coordinate-kind
                    • Coordinate-inferred
                  • Group-literal
                  • Literal-result
                  • Group-literal-result
                  • Coordinate-result
                  • Literal-evaluation
                • Characters
                • Expression-list
                • Statement-list
                • Output-syntax-abstraction
                • Struct-init-list
                • Branch-list
                • Annotations
                • Abstract-syntax-trees
                • Symbols
                • Keywords
                • Programs
                • Packages
                • Bit-sizes
              • Dynamic-semantics
              • Compilation
              • Static-semantics
              • Concrete-syntax
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Literals

Coordinate

Fixtype of Leo group literal coordinates.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:explicit → coordinate-explicit
:sign-high → coordinate-sign-high
:sign-low → coordinate-sign-low
:inferred → coordinate-inferred

Leo supports a notation for affine group literals (<x>, <y>)group, where each of <x> and <y> can be either an integer that specifies the coordinate, or an indication that the coordinate should be derived from the other coordinate so that the point is on the curve. The latter indication is of three possible kinds: sign high (i.e. take the value with the high sign), sign low (i.e. take the value with the low sign), or inferred (i.e. try sign high and sign low).

Subtopics

Coordinate-case
Case macro for the different kinds of coordinate structures.
Coordinate-fix
Fixing function for coordinate structures.
Coordinate-equiv
Basic equivalence relation for coordinate structures.
Coordinatep
Recognizer for coordinate structures.
Coordinate-explicit
Coordinate-sign-low
Coordinate-sign-high
Coordinate-kind
Get the kind (tag) of a coordinate structure.
Coordinate-inferred