-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definitions for Values Insertion #177
base: main
Are you sure you want to change the base?
Conversation
<p>The following sections contain draft of material for a revised | ||
"`exists`" operation. | ||
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p>The following sections contain draft of material for a revised | |
"`exists`" operation. | |
</p> | |
<p>This section contains draft material for a revised | |
"`exists`" operation. | |
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a DRAFT pull request.
These are process notes. They will be removed.
This applies to `BIND`, variables introduced by `AS` in a `SELECT` clause, variables in a `VALUES` | ||
clause, and variables intrucded by `AS` in `GROUP BY`. | ||
</blockquote> | ||
<p>Extend the "in-scope" rules to include the variables in-scope from the current row:</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p>Extend the "in-scope" rules to include the variables in-scope from the current row:</p> | |
<p>Extend the "in-scope" rules to include the variables that are in-scope for the current row:</p> |
spec/index.html
Outdated
</table> | ||
<p class="note"> | ||
This restriction means that <a href="#defn_valuesinsertion">values inserted</a> | ||
do not conflict with values assigned to varibales with the pattern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not conflict with values assigned to varibales with the pattern. | |
do not conflict with values assigned to variables with the pattern. |
|
||
<p class="note"> | ||
A variable inside a project expression that is not in the variables projected | ||
is not affected by the values insertion operation because it is renamed apart. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is not affected by the values insertion operation because it is renamed apart. | |
is not affected by the value insertion operation because it is renamed apart. |
<!-- ValuesInsertion --> | ||
<section> | ||
<h3>Values Insertion and `EXISTS`</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Values Insertion
reads very oddly to me. Can this be changed (throughout) to Value Insertion
?
<!-- ValuesInsertion --> | |
<section> | |
<h3>Values Insertion and `EXISTS`</h3> | |
<!-- ValueInsertion --> | |
<section> | |
<h3>Value Insertion and `EXISTS`</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is inserting multiple values.
<div> | ||
<b>Definition: <span id="defn_valuesinsertion" name="defn_valuesinsertion">Values Insertion</span></b> | ||
<p> | ||
Define the Values Insertion function `ValuesInsert(X, μ)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If, as I suggested above, Values Insertion
is being changed to Value Insertion
, then ValuesInsert
should likewise be changed to ValueInsert
Define the Values Insertion function `ValuesInsert(X, μ)` | |
Define the Value Insertion function `ValueInsert(X, μ)` |
<pre>exists(X) = true | ||
if eval( D(G), ValuesInsert(PrjMap(X), μ) ) | ||
is a non-empty solution sequence. | ||
exists(X) = false otherwise</pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exists(X) = false otherwise</pre> | |
Otherwise, exists(X) = false.</pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The style here is that for function definition, with each case being aligned. It is not running text.
A replacement for
substitute
.The context is taken from SEP-0007.
Currently, all new material is in a single section.
Submitting this PR puts the content under the WG agreement for IP and Licensing.
Preview | Diff