Functionally Equivalent or Not? Graph-Grounded Differential Surrogate Execution for Code Equivalence
Amit KachrooLike HuiHaitao MaoYuhao ZhangBen Vo
Amit Kachroo
Like Hui
Haitao Mao
Yuhao Zhang
Ben Vo
+5
FEAGENT is a selective agent for judging whether two programs are functionally equivalent when direct execution is impossible, as with obsolete, licensed, unavailable, or unsafe environments. It aligns public interfaces and behaviorally relevant graph anchors, then issues bounded queries over call-flow, control-flow, data-flow, type, import, and effect relations; a branch-aware generator proposes discriminating inputs, and two blinded language-model surrogates predict source and target observables, with every claim and predicted divergence recorded in an evidence ledger. A deterministic reconciler returns EQUIVALENT, INEQUIVALENT, or UNCLEAR when evidence conflicts or paths are uncovered. On EquiBench and SWE-bench Verified, execution adjudication confirmed disagreements with the oracles on 216 of 1,200 pairs (18.0%) and 94 of 331 test-passing patches (28.4%), respectively.

OpenReview ·
· September 11, 2026