Skip to content

Commit

Permalink
Fix #3563
Browse files Browse the repository at this point in the history
  • Loading branch information
Drodt committed Feb 20, 2025
1 parent 51cf67e commit af00212
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,22 @@
\heuristics(classAxiom)
};

// --------------------------------------------------------------------------
// equality rules
// --------------------------------------------------------------------------

// Proven in KeY (DD: 2025-02-20)
equalityOfSingleton {
\schemaVar \term Object o1, o2;
\schemaVar \term Field f1, f2;

\find(singleton(o1, f1) = singleton(o2, f2))

\replacewith(o1 = o2 & f1 = f2)

\heuristics(simplify)
};

// --------------------------------------------------------------------------
// lemmata for empty and allLocs
// --------------------------------------------------------------------------
Expand Down

0 comments on commit af00212

Please sign in to comment.