I am working on a theory where I use extensional functions defined in the Funcset theory quite heavily. I need to work with function valued functions where both the function, and the values are extensional. It is quite annoying that some of my lemmas fail because an undefined
function does not map everything into undefined
. So the goal
undefined x = undefined
is not provable. I can work around this using restrictions, but it would be much more elegant without those. Is it safe to add a new axiom:
axiomatization where
undefined_at [simp]: "undefined x = undefined"
? I am concerned about this because
1) I'm not sure if I should fiddle around with the logic like this.
2) After I add this axiom, for goals like " undefined \in A", nitpick produces the error : Limit reached: too many nested axioms (256).
3) The seemingly similarly innocent axiom
axiomatization where
at_undefined [simp]: "f undefined = undefined"
produces weird goals like "P ==> undefined" .