Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1289
Closed
Open
Created Jul 05, 2009 by Robert Bernecky@rbeDeveloper

WL scalarization appears broken for non-perfectly-nested WLs

Bugzilla Link 519
Created on Jul 05, 2009 16:04
Version 1.00beta
OS Linux
Architecture PC

Extended Description

I'm trying to make WLS work under SAACYC, and it wasn't cooperating,
so I grabbed two examples of WLS in action from Kai's term project
thesis. The first example works OK, but the second, from Abbildung 4.5,fails, even though it should be handled by CYC. Here it is:
---------------------------------------------------------------
/* ktr motivating example Abbildung 4.5 from his term project thesis. */
/* RESULT: with 2 1 -noprelude */
int main()
{
  A = with  {
    (. <= iv=[i] <= .) {
     VAR1 = _add_SxS_( i, 10);
     B = with {
       (. <= jv=[j] <= .) {
         VAL = _add_SxS_( i, _mul_SxS_( VAR1, j));
       } : VAL;
      } : genarray([4], 42);
    } : B;
   } : genarray([4], [10,20,30,40]);
  StdIO::print(A);
  return(0);
}
--------------------------------------------
With any luck, I've merely screwed up the example...
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking