SciLean icon indicating copy to clipboard operation
SciLean copied to clipboard

`#generate_revCDeriv` generates incorrect name

Open lecopivo opened this issue 2 years ago • 0 comments

Calling #generate_revCDeriv with trailing arguments produces an incorrect name

#generate_revCDeriv matmul A | i 
  prop_by unfold matmul; fprop
  trans_by unfold matmul; autodiff; autodiff

generates function matmul.arg_A.revCDeriv but it should generate function with the name matmul.arg_A_i.revCDeriv

see test/generate_ftrans.lean for (non)working example

lecopivo avatar Sep 26 '23 22:09 lecopivo