• 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-affine->y
                      • Group-literal-affine->x
                      • Make-group-literal-affine
                      • Change-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
    • Group-literal-affine

    Change-group-literal-affine

    Modifying constructor for group-literal-affine structures.

    Syntax
    (change-group-literal-affine x 
                                 [:x <x>] 
                                 [:y <y>]) 
    

    This is an often useful alternative to make-group-literal-affine.

    We construct a new group-literal-affine structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by fty::defprod.

    Macro: change-group-literal-affine

    (defmacro change-group-literal-affine (x &rest args)
      (std::change-aggregate 'group-literal-affine
                             x args
                             '((:x . group-literal-affine->x)
                               (:y . group-literal-affine->y))
                             'change-group-literal-affine
                             'nil))