theorem one_heap_difference
Statement as elaborated and printed by Lean 4.26.0
∀ (pre post : List ℕ) (a b : ℕ),
NimAudit.nimSum (pre ++ a :: post) ^^^ NimAudit.nimSum (pre ++ b :: post) = a ^^^ bExact source text, lines 37–39
37theorem one_heap_difference (pre post : List Nat) (a b : Nat) :38 nimSum (pre ++ a :: post) ^^^ nimSum (pre ++ b :: post) = a ^^^ b := by39 simp [nimSum_append, nimSum, Nat.xor_comm, xor_left_comm]Project declarations in the statement: nimSum