{"slug":"archived-q1056-c468914d86f2","identifier":"archived-q1056-c468914d86f2","title":"OR Commutativity (magnitude distinct)","author":"Maclain Hunter","sourceSha256":"c468914d86f2d9feb2a549efb6c7ed74b22146a0392c5ce5968ba4ab325c4c9f","sourceKind":"archived-authored-source","recordedAt":null,"recordedAtMeaning":"Database registration time, not a claim of original handwritten authorship.","originalAuthoredAt":null,"formalizedAt":"2026-10-03T10:37:05.082Z","checkedAt":"2026-10-03T10:40:49.711Z","status":"partial","axiomFree":true,"axioms":[],"theoremNames":["HunterAuthored.distinct_magnitude_or_commutative"],"units":[{"id":"distinct_magnitude_or_commutative","sourceStatement":"{\n  \"name\": \"OR Commutativity (magnitude distinct)\",\n  \"formal\": \"∀a,b ∈ MCBExponent, |a| ≠ |b|: OR(a,b) = OR(b,a)\",\n  \"proof\": \"The dominant (larger magnitude) operand determines the result\",\n  \"implementation\": \"mcbExponentOR(a: MCBExponent, b: MCBExponent): MCBExponent\"\n}","sourceOffset":0,"scope":"Exact value selection by dominant integer magnitude with the authored first-operand tie behavior. The theorem retains the distinct-magnitude premise.","status":"candidate","variables":[],"premises":[],"conclusion":"See the exact typed Lean theorem","leanStatement":"def dominantValue (a b : Int) : Int := if a.natAbs < b.natAbs then b else a\ntheorem distinct_magnitude_or_commutative (a b : Int) (distinct : a.natAbs ≠ b.natAbs) :\n    dominantValue a b = dominantValue b a := by\n  unfold dominantValue\n  cases Nat.lt_or_gt_of_ne distinct with\n  | inl h =>\n    rw [if_pos h, if_neg (Nat.not_lt_of_ge (Nat.le_of_lt h))]\n  | inr h =>\n    rw [if_neg (Nat.not_lt_of_ge (Nat.le_of_lt h)), if_pos h]\n#print axioms distinct_magnitude_or_commutative\n","kernelStatus":"verified","axioms":[],"axiomFree":true,"reportedTheorem":"HunterAuthored.distinct_magnitude_or_commutative"}],"files":{"source.json":{"sha256":"d5fff8c44acef1754c1071f3525e16b20c05c1daa6f1197b5cd00c6e7e706ad1","bytes":850},"Proof.lean":{"sha256":"ec58ce2f5910da5d18d94e13207eb7613d6f3761767b3593f50743b2bb501664","bytes":766},"lean-check.txt":{"sha256":"5116ad4c433e048236e59be62f2dcb314a2a657cdb57bd38e0d255d32350c165","bytes":137}},"boundary":"Lean establishes the listed formal statements and dependencies. The exact authored source, Ground, known premise meanings, application validation and empirical evidence remain separately typed. No unencoded section is certified by a neighboring theorem.","currentSourceSha256":"c468914d86f2d9feb2a549efb6c7ed74b22146a0392c5ce5968ba4ab325c4c9f","timestamp":"2026-10-03T10:42:55.000Z","timestampAuthority":"https://www.freetsa.org","manifestSha256":"6e4e8d5c750a86f20e8f987a742b4eb2f588563a5f23a438ab84950f16eec8c4","url":"/proof-verification/archived-q1056-c468914d86f2","jsonUrl":"/proof-verification/archived-q1056-c468914d86f2.json","leanUrl":"/proof-verification/archived-q1056-c468914d86f2.lean","graph":{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://mcbcore.net/proof-verification/archived-q1056-c468914d86f2#lean","name":"Lean 4 witness: OR Commutativity (magnitude distinct)","url":"https://mcbcore.net/proof-verification/archived-q1056-c468914d86f2","dateCreated":"2026-10-03T10:37:05.082Z","dateModified":"2026-10-03T10:40:49.711Z","creator":{"@type":"Organization","name":"Replit Agent"},"programmingLanguage":{"@type":"ComputerLanguage","name":"Lean","version":"Lean (version 4.7.0, commit v4.7.0, Release)"},"author":{"@type":"Organization","name":"Replit Agent"},"description":"Lean establishes the listed formal statements and dependencies. The exact authored source, Ground, known premise meanings, application validation and empirical evidence remain separately typed. No unencoded section is certified by a neighboring theorem.","isBasedOn":{"@type":"CreativeWork","name":"OR Commutativity (magnitude distinct)","author":{"@type":"Person","name":"Maclain Hunter"},"url":"https://mcbcore.net/proof-knowledge/archived-q1056-c468914d86f2","identifier":"archived-q1056-c468914d86f2"},"encoding":{"@type":"MediaObject","encodingFormat":"text/plain","contentUrl":"https://mcbcore.net/proof-verification/archived-q1056-c468914d86f2.lean"},"subjectOf":{"@type":"DigitalDocument","name":"Independently verified RFC 3161 existence timestamp","dateCreated":"2026-10-03T10:42:55.000Z","url":"https://mcbcore.net/proof-verification/timestamp.json"},"additionalProperty":[{"@type":"PropertyValue","name":"verificationStatus","value":"partial"},{"@type":"PropertyValue","name":"axiomFree","value":"true"},{"@type":"PropertyValue","name":"axiomDependencies","value":"[]"},{"@type":"PropertyValue","name":"theorems","value":"[\"HunterAuthored.distinct_magnitude_or_commutative\"]"},{"@type":"PropertyValue","name":"sourceSha256","value":"c468914d86f2d9feb2a549efb6c7ed74b22146a0392c5ce5968ba4ab325c4c9f"},{"@type":"PropertyValue","name":"releaseManifestSha256","value":"6e4e8d5c750a86f20e8f987a742b4eb2f588563a5f23a438ab84950f16eec8c4"},{"@type":"PropertyValue","name":"sourceRecordedAt","value":"null"},{"@type":"PropertyValue","name":"sourceDateMeaning","value":"Database registration time, not a claim of original handwritten authorship."},{"@type":"PropertyValue","name":"originalAuthoredAt","value":"null"},{"@type":"PropertyValue","name":"timestampAuthority","value":"https://www.freetsa.org"},{"@type":"PropertyValue","name":"timestampScope","value":"Independent cryptographic existence timestamp for the manifest and its content-addressed artifacts. Not legal notarization, an authorship adjudication, or a retroactive timestamp for handwritten work."},{"@type":"PropertyValue","name":"governingGround","value":"Logic / Logos / God"},{"@type":"PropertyValue","name":"formalizationAttribution","value":"Machine formalization by Replit Agent of Maclain Hunter's unchanged authored source"}]}}