• 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
                  • Group-literal
                    • Group-literal-fix
                    • Group-literal-case
                    • Group-literal-equiv
                    • Group-literalp
                    • Group-literal-affine
                    • Group-literal-product
                    • Group-literal-kind
                  • 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

Group-literal

Fixtype of Leo group literals.

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

Member Tags → Types
:affine → group-literal-affine
:product → group-literal-product

Leo supports a rich notation for literals representing points of an elliptic curve group. Besides the affine notation described in coordinate, it also supports the product notation <n>group, where <n> is a natural number: this means the point obtained by multiplying the generator point by the natural number <n>; in particular, 0group is the group identity (the point at infinity for certain curves), and 1group is the generator point.

In an affine notation, at least one coordinate must be an explicit integer. We delegate this constraint to the static and dynamic semantics.

Subtopics

Group-literal-fix
Fixing function for group-literal structures.
Group-literal-case
Case macro for the different kinds of group-literal structures.
Group-literal-equiv
Basic equivalence relation for group-literal structures.
Group-literalp
Recognizer for group-literal structures.
Group-literal-affine
Group-literal-product
Group-literal-kind
Get the kind (tag) of a group-literal structure.