siddhartha-gadgil / ProvingGround

Proving Ground: Tools for Automated Mathematics
http://siddhartha-gadgil.github.io/ProvingGround/
MIT License
203 stars 38 forks source link

Extra rhs terms in formal equations #282

Closed siddhartha-gadgil closed 4 years ago

siddhartha-gadgil commented 4 years ago
siddhartha-gadgil commented 4 years ago

There are still events that are not in the lhs, this time for generated equations. It was not noticed because sub-terms ignored quotients. A sample log is as follows.

2020.06.05 13:44:42 [ERROR] provingground.learning.LocalProverStep.$anonfun:414:42 - for type: (`c : M ) ~> ((((eqM) (n)) (`c)) → (((eqM) (((mul) (n)) (n))) (((mul) (`c)) (n))))
P₁(InIsle({Terms ∈ Restrict(FuncOpt)},`c,Island(Typs,Typs,AddVar,Pi,EnterIsle)))
 orphan in generated (P₁(InIsle(Wrap(eqM) ∈ Funcs,`c,Island(Typs,Typs,AddVar,Pi,EnterIsle))) =) (P₁(InIsle(eqM ∈ Terms,`c,Island(Typs,Typs,AddVar,Pi,EnterIsle)))) / (P₁(InIsle({Terms ∈ Restrict(FuncOpt)},`c,Island(Typs,Typs,AddVar,Pi,EnterIsle))))
siddhartha-gadgil commented 4 years ago

A simpler example, showing this is not because of islands.

2020.06.05 13:44:42 [ERROR] provingground.learning.LocalProverStep.$anonfun:414:42 - for type:
 (((eqM) (m)) (n)) → (((eqM) (n)) (m))
P₁({Terms ∈ Restrict(FuncOpt)})
 orphan in generated (P₁(Wrap(eqM) ∈ Funcs) =) (P₁(eqM ∈ Terms)) / (P₁({Terms ∈ Restrict(FuncOpt)}))