jacopy.packages.generalized.prove_leibniz_from_c3

jacopy.packages.generalized.prove_leibniz_from_c3(alg, x, y, f, g, *, registry=None)

Uchino Remark 2.1 — the CONVERSE of Prop 2.1(i): a map D satisfying the identity (i) automatically obeys the Leibniz rule

D(f·g) = f·D(g) + g·D(f).

Mechanization: the identity (i) is assumed as a rewrite and the same start [x, f·g·y] is normalized under its two sound application orders — peel the scalars ONE at a time ([x, f·(g·y)]) versus peel the full prefix AT ONCE ([x, (f·g)·y]). Every bracket/action term cancels in the difference; what survives is (x,y)·(D(fg) − fD(g) − gD(f)), and the generic pairing factor strips. NO (L) rule anywhere in either engine — D is fully inert here.

Parameters:
Return type:

Tuple[ProofChain, Theorem]