// File: /workspace/github_cpp_makefile_star2_O1/pfnet-research[P]pml/src/test.cpp
// Function: subst_term_test::subst_term_test()
PML_TEST(subst_term_test) {
    assert_eq(
            *logic::subst(
                make<logic::prob_term_t>(make<logic::var_formula_t>("x")),
                "x", make<logic::top_formula_t>()),
            logic::prob_term_t{make<logic::top_formula_t>()});
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
movl $0x0, 0x8(%rdi)
leaq 0x2f7ec(%rip), %rax     # 0x62ab0
movq %rax, (%rdi)
xorl %r15d, %r15d
leaq 0x50(%rsp), %rdi
movq %r15, -0x8(%rdi)
leaq 0x17a60(%rip), %rcx     # 0x4ad3a
leaq 0x48(%rsp), %r14
leaq 0x10(%rsp), %rdx
movq %r14, %rsi
callq 0x3b258
leaq 0x8(%rsp), %rdi
movq %r15, -0x8(%rdi)
movq %rsp, %rsi
leaq 0x10(%rsp), %rdx
movq %r14, %rcx
callq 0x3b196
movups (%rsp), %xmm0
movups %xmm0, 0x58(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x17a15(%rip), %rsi     # 0x4ad3a
leaq 0x17a0f(%rip), %rdx     # 0x4ad3b
leaq 0x10(%rsp), %rdi
callq 0x11866
movl $0x18, %edi
callq 0x92d0
movabsq $0x100000001, %r13      # imm = 0x100000001
movq %r13, 0x8(%rax)
leaq 0x2e5d3(%rip), %rbp     # 0x61928
movq %rbp, (%rax)
movq %rax, %rdx
addq $0x10, %rdx
leaq 0x2e612(%rip), %r12     # 0x61978
movq %r12, 0x10(%rax)
leaq 0x78(%rsp), %rcx
movq %rdx, (%rcx)
movq %rax, 0x8(%rcx)
leaq 0x68(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x1253a
movq 0x68(%rsp), %r15
movl $0x18, %edi
callq 0x92d0
movq %rax, %r14
movq %r13, 0x8(%rax)
movq %rbp, (%rax)
addq $0x10, %rax
movq %r12, 0x10(%r14)
leaq 0x2dbce(%rip), %r12     # 0x60f80
movq %r12, 0x30(%rsp)
movq %rax, 0x38(%rsp)
movq %r14, 0x40(%rsp)
movq 0x2fbe8(%rip), %rax     # 0x62fb0
cmpb $0x0, (%rax)
je 0x333d7
movl $0x2, 0x8(%r14)
jmp 0x333dc
lock
incl 0x8(%r14)
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3afa6
movq %r12, 0x30(%rsp)
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x33400
callq 0xaa12
movq %r14, %rdi
callq 0xaa12
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x33417
callq 0xaa12
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
leaq 0x20(%rsp), %rbx
je 0x3342e
callq 0xaa12
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x33445
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x92e0
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x33454
callq 0xaa12
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x33463
callq 0xaa12
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x33472
callq 0xaa12
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r12, 0x30(%rsp)
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x3349b
callq 0xaa12
movq %r14, %rdi
callq 0xaa12
jmp 0x334a8
movq %rax, %rbx
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x334bc
callq 0xaa12
jmp 0x334bc
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x334d3
callq 0xaa12
jmp 0x334d3
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x334f4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x92e0
jmp 0x334f4
movq %rax, %rbx
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x33503
callq 0xaa12
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x33517
callq 0xaa12
jmp 0x33517
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x33526
callq 0xaa12
movq %rbx, %rdi
callq 0x94e0