AFTD Auto-Formalizing Theoretical Domains

binary_bool_sign

def

The rational sign of a Boolean value: true gives one and false gives minus one.

Statement

def binary_bool_sign (b : Bool) : ℚ
Source
Reusable finite-cube and ordered-biclique helpers for the uniform OP-205 / RT-1 full-root-gap reduction following arXiv:2610.15635. The deficiency-one singular-coordinate/tree argument formalizes the Boolean setting of arXiv:1103.3693 Lemma 2.5.4 and Corollary 2.5.6; arXiv:2212.14685 Section 2.3 gives a related partition-size discussion. These are helper formalizations, not an original graph covering result; no advance is claimed.
Verified
27 Oct 2026
Axioms
none listed
Used by 6

Lean source view module on GitHub

open Finset
set_option maxHeartbeats 1000000
set_option maxRecDepth 4000

def binary_bool_sign (b : Bool) : ℚ := if b then 1 else -1
See it in the graphDiscuss this resultChallenge it