<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>You really ought to give an example where this distinction makes a difference.</span></div><div></div><div>&nbsp;</div><div>- darryl</div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Jonathan Leivent &lt;jleivent@comcast.net&gt;<br> <b><span style="font-weight: bold;">To:</span></b> agda@lists.chalmers.se <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, August 25, 2013 1:45 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Agda] rewriting product types vs. single ctor data/record types<br> </font> </div> <div class="y_msg_container"><br>I had thought that
 a type like<br><br>Σ[ a ∈ A ] Σ[ b ∈ B ] Σ[c ∈ C ] (D a b c)<br><br>wouldn't be any easier to use - and actually less "nice" than its <br>fully-named counterpart:<br><br>record DR : Set _ where<br>&nbsp;  field<br>&nbsp; &nbsp;  a : A<br>&nbsp; &nbsp;  b : B<br>&nbsp; &nbsp;  c : C<br>&nbsp; &nbsp;  d : D a b c<br><br>or a similar single ctor inductive data type.&nbsp; However, the (dependent) <br>product type seems more rewritable:&nbsp; if you have just "DR" as a goal, <br>you can't use rewrite to help you fit things into its fields; but if you <br>have that messy (dependent) product, the types of the fields (A, B, C) <br>are part of the type itself - hence visible in the goal - and so can be <br>targeted by rewriting.<br><br>Is there a way around this?&nbsp; Is there some way to rewrite "into" the <br>fields of a data/record type that appears as a goal, to achieve the same <br>effect as rewriting would on a very similar product
 type?<br><br>-- Jonathan<br>_______________________________________________<br>Agda mailing list<br><a ymailto="mailto:Agda@lists.chalmers.se" href="mailto:Agda@lists.chalmers.se">Agda@lists.chalmers.se</a><br><a href="https://lists.chalmers.se/mailman/listinfo/agda" target="_blank">https://lists.chalmers.se/mailman/listinfo/agda</a><br><br><br></div> </div> </div>  <mytubeelement id="myTubeRelayElementToPage" event="preferencesUpdated" data="{&quot;bundle&quot;:{&quot;label_delimitor&quot;:&quot;:&quot;,&quot;percentage&quot;:&quot;%&quot;,&quot;smart_buffer&quot;:&quot;Smart Buffer&quot;,&quot;start_playing_when_buffered&quot;:&quot;Start playing when buffered&quot;,&quot;sound&quot;:&quot;Sound&quot;,&quot;desktop_notification&quot;:&quot;Desktop Notification&quot;,&quot;continuation_on_next_line&quot;:&quot;-&quot;,&quot;loop&quot;:&quot;Loop&quot;,&quot;only_notify&quot;:&quot;Only Notify&quot;,&quot;estimated_time&quot;:&quot;Estimated
 Time&quot;,&quot;global_preferences&quot;:&quot;Global Preferences&quot;,&quot;no_notification_supported_on_your_browser&quot;:&quot;No notification style supported on your browser version&quot;,&quot;video_buffered&quot;:&quot;Video Buffered&quot;,&quot;buffered&quot;:&quot;Buffered&quot;,&quot;hyphen&quot;:&quot;-&quot;,&quot;buffered_message&quot;:&quot;The video has been buffered as requested and is ready to play.&quot;,&quot;not_supported&quot;:&quot;Not Supported&quot;,&quot;on&quot;:&quot;On&quot;,&quot;off&quot;:&quot;Off&quot;,&quot;click_to_enable_for_this_site&quot;:&quot;Click to enable for this site&quot;,&quot;desktop_notification_denied&quot;:&quot;You have denied permission for desktop notification for this site&quot;,&quot;notification_status_delimitor&quot;:&quot;;&quot;,&quot;error&quot;:&quot;Error&quot;,&quot;adblock_interferance_message&quot;:&quot;Adblock (or similar extension) is known to interfere with SmartVideo. Please add
 this url to adblock whitelist.&quot;,&quot;calculating&quot;:&quot;Calculating&quot;,&quot;waiting&quot;:&quot;Waiting&quot;,&quot;will_start_buffering_when_initialized&quot;:&quot;Will start buffering when initialized&quot;,&quot;will_start_playing_when_initialized&quot;:&quot;Will start playing when initialized&quot;,&quot;completed&quot;:&quot;Completed&quot;,&quot;buffering_stalled&quot;:&quot;Buffering is stalled. Will stop.&quot;,&quot;stopped&quot;:&quot;Stopped&quot;,&quot;hr&quot;:&quot;Hr&quot;,&quot;min&quot;:&quot;Min&quot;,&quot;sec&quot;:&quot;Sec&quot;,&quot;any_moment&quot;:&quot;Any Moment&quot;,&quot;page_action_title_enabled&quot;:&quot;Loop (enabled)&quot;,&quot;page_action_title_disabled&quot;:&quot;Loop
 (disabled)&quot;},&quot;tabId&quot;:&quot;85a345fc-806a-f0e2-3bf6-62587424227e&quot;,&quot;prefs&quot;:{&quot;desktopNotification&quot;:true,&quot;soundNotification&quot;:true,&quot;logLevel&quot;:0,&quot;enable&quot;:true,&quot;loop&quot;:false,&quot;hidePopup&quot;:false,&quot;autoPlay&quot;:false,&quot;autoBuffer&quot;:false,&quot;autoPlayOnBuffer&quot;:false,&quot;autoPlayOnBufferPercentage&quot;:42,&quot;autoPlayOnSmartBuffer&quot;:true,&quot;quality&quot;:&quot;hd720&quot;,&quot;fshd&quot;:true,&quot;onlyNotification&quot;:false,&quot;enableFullScreen&quot;:true,&quot;saveBandwidth&quot;:true,&quot;hideAnnotations&quot;:false,&quot;turnOffPagedBuffering&quot;:true}}"></mytubeelement><mytubeelement id="myTubeRelayElementToTab" event="relayPrefs" data="{&quot;loadBundle&quot;:true}"></mytubeelement></div></body></html>