Zulip Chat Archive

Stream: mathlib4

Topic: Algebra.Algebra.Operations !4#2568


Eric Wieser (Mar 02 2023 at 23:59):

I have this file mostly building, but:

  • It needs to be re-ported tomorrow on the latest mathport
  • Unsurprisingly it runs into lean4#2074 and only works for now with etaExperiment true
  • While trying to workaround lean4#1926, I seem to have run into a hygiene issue with suffices?

Eric Wieser (Mar 03 2023 at 00:00):

I've left review comments for each

Eric Wieser (Mar 03 2023 at 00:08):

The last one is particularly worrying, the error is

application type mismatch
  h_lean4_1926_aux.mpr
argument has type
  x  M ^ Nat.succ n  x  M ^ n * M
but function has type
  (x✝¹  M ^ Nat.succ n  x✝¹  M ^ n * M)  x✝¹  M ^ n * M  x✝¹  M ^ Nat.succ n
All Messages (4)

but the goal view never shows x✝¹

Johan Commelin (Mar 03 2023 at 04:19):

Thanks for taking on this file!

Johan Commelin (Mar 03 2023 at 04:20):

Re •₂: do you mean that none of the other 2074-workarounds seem to work?

Johan Commelin (Mar 03 2023 at 04:22):

I see, you need it once

Johan Commelin (Mar 03 2023 at 08:06):

I fixed the remaining errors, and worked around the eta issue.


Last updated: Dec 20 2023 at 11:08 UTC