Program Verification - Translation rule

Click For Summary
SUMMARY

The discussion centers on the rule of translation in program verification, specifically regarding the properties of summation. The equation presented is <Σk∈K:R:T> = <Σj∈J:R[k:=f.j]:T[k:=f.j]>, where function f maps values from type J to type K, and function g serves as its inverse. The user seeks clarification on how the right-hand side of the equation is derived, particularly the terms R[k:=f.j] and T[k:=f.j]. Understanding these transformations is crucial for grasping the equivalence of the two sides of the equation.

PREREQUISITES
  • Understanding of program verification concepts
  • Familiarity with functions and their inverses
  • Knowledge of summation notation in mathematical logic
  • Basic proficiency in LaTeX for mathematical expressions
NEXT STEPS
  • Study the properties of inverse functions in mathematical logic
  • Learn about the semantics of summation in program verification
  • Explore LaTeX formatting for clearer mathematical expression
  • Research examples of translation rules in formal verification contexts
USEFUL FOR

Students and professionals in computer science, particularly those focusing on program verification, formal methods, and mathematical logic.

craigs
Messages
2
Reaction score
0
Hi

I am doing a course on Program verification and am having trouble with the properties of summation, more specifically the rule of translation:

"Suppose function f maps values of type J to values of type K, and suppose g is a function that maps values of type K to values of type J. suppose further that f and g are inverses. That is, suppose that, for all j[itex]\in[/itex]J and k[itex]\in[/itex]K, (f.j=k) [itex]\equiv[/itex] (j=g.k)

[itex]\left\langle[/itex] [itex]\Sigma[/itex]k[itex]\in[/itex]K:R:T[itex]\right\rangle[/itex] = [itex]\left\langle[/itex] [itex]\Sigma[/itex]j[itex]\in[/itex]J:R[k:=f.j]:T[k:=f.j][itex]\right\rangle[/itex]

My question: I actually do not understand how the LHS of the equation equals the RHS.
Perhaps more specifically I am not sure how R[k:=f.j] and T[k:=f.j] appears on the right side, where does it come from?
 
Physics news on Phys.org
craigs said:
Hi

I am doing a course on Program verification and am having trouble with the properties of summation, more specifically the rule of translation:

"Suppose function f maps values of type J to values of type K, and suppose g is a function that maps values of type K to values of type J. suppose further that f and g are inverses. That is, suppose that, for all j[itex]\in[/itex]J and k[itex]\in[/itex]K, (f.j=k) [itex]\equiv[/itex] (j=g.k)

[itex]\left\langle[/itex] [itex]\Sigma[/itex]k[itex]\in[/itex]K:R:T[itex]\right\rangle[/itex] = [itex]\left\langle[/itex] [itex]\Sigma[/itex]j[itex]\in[/itex]J:R[k:=f.j]:T[k:=f.j][itex]\right\rangle[/itex]

My question: I actually do not understand how the LHS of the equation equals the RHS.
Perhaps more specifically I am not sure how R[k:=f.j] and T[k:=f.j] appears on the right side, where does it come from?
Please fix your LaTeX so that it is readable. I can't tell what you're trying to say, so I can't fix it.
 
Sorry. Here is my next attempt:

"Suppose function f maps values of type J to values of type K, and suppose g is a function that maps values of type K to values of type J. suppose further that f and g are inverses. That is, suppose that, for all j[itex]\in[/itex]J and k[itex]\in[/itex]K, (f.j=k) [itex]\equiv[/itex] (j=g.k)

[itex]\langle[/itex] [itex]\Sigma[/itex]k[itex]\in[/itex]K:R:T[itex]\rangle[/itex] = [itex]\langle[/itex] [itex]\Sigma[/itex]j[itex]\in[/itex]J:R[k:=f.j]:T[k:=f.j][itex]\rangle[/itex]

My question: I actually do not understand how the LHS of the equation equals the RHS.
Perhaps more specifically I am not sure how R[k:=f.j] and T[k:=f.j] appears on the right side, where does it come from?
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
1
Views
3K
  • · Replies 59 ·
2
Replies
59
Views
13K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
6
Views
2K
Replies
3
Views
2K