Skip to content
Snippets Groups Projects
  • Etienne Kneuss's avatar
    76e4a4a5
    Kill Assert as we know it for now. Keep the trivial base case. · 76e4a4a5
    Etienne Kneuss authored
    Assert may not be helping at all. It is trimming crucial information
    from the formula, i.e.
    
    [[ a,b ;  a = size(x) AND a+1 = size(b); x ]].
    
    Applying assert will remove 'a+1 = size(b)' from phi and push it as
    precondition when reconstructing a solution. The subproblem will become:
    
    [[ a,b ; a = size(x) ; x]]
    
    The input 'b' is then removed by applying Unused-Input.
    76e4a4a5
    History
    Kill Assert as we know it for now. Keep the trivial base case.
    Etienne Kneuss authored
    Assert may not be helping at all. It is trimming crucial information
    from the formula, i.e.
    
    [[ a,b ;  a = size(x) AND a+1 = size(b); x ]].
    
    Applying assert will remove 'a+1 = size(b)' from phi and push it as
    precondition when reconstructing a solution. The subproblem will become:
    
    [[ a,b ; a = size(x) ; x]]
    
    The input 'b' is then removed by applying Unused-Input.