Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.083 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'variables': 0.07; 'logic': 0.09; 'proficient': 0.09; 'sure,': 0.09; 'language.': 0.14; 'prolog,': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '>>>': 0.22; 'example': 0.22; 'error': 0.23; "i've": 0.25; 'equivalent': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'generally': 0.29; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:wiki': 0.31; 'candidate.': 0.31; 'url:wikipedia': 0.31; 'probably': 0.32; 'implemented': 0.33; 'candidate': 0.34; "can't": 0.35; 'point.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'remove': 0.60; 'ian': 0.60; 'mar': 0.68; '26,': 0.68; 'fact,': 0.69; 'trial': 0.83; '2015': 0.84; 'lean': 0.84; 'reasoning': 0.91; 'technique': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vxFRJes+7Ap/sR39SKAm3KorP20veUVkTLe+4ctCy/0=; b=hdDKoVsA3Yw3fwscjujHxBAcq0qgrGknKLZKLpRc4BxuSSJi8+Q4SCbGIyLY70w2W+ WIp7u7O2mTXMRNfkVloCaOSbgblEcXgQ5zWSvoJuHxxqVznKUPiOEiRRATrfEdXCRItG 7v54IlvzTbUzurJ2L5z9sVD57BZeNepq5EsNKyg5ytPu45PVvAOUh7lckeROco9TcelJ W713urmNACfJfcAY4+awIQu1PqsVb/s1C1GpohkNWYpbxEr/RbFVBPGJ+u7ZJopuctme lL/BMksTItnzhris4Mz9ugr2DTSxboNkc4+/UL6EWMJX4gCsw7brppx7NPO2u9tFtDDR ERhQ== X-Received: by 10.66.161.161 with SMTP id xt1mr27923580pab.35.1427386851371; Thu, 26 Mar 2015 09:20:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87vbhnn4jt.fsf@elektro.pacujo.net> References: <87r3sdnw5t.fsf@elektro.pacujo.net> <87fv8sndw1.fsf@elektro.pacujo.net> <874mp7on13.fsf@elektro.pacujo.net> <87vbhnn4jt.fsf@elektro.pacujo.net> From: Ian Kelly Date: Thu, 26 Mar 2015 10:20:10 -0600 Subject: Re: Sudoku solver To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427386861 news.xs4all.nl 2919 [2001:888:2000:d::a6]:49043 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88074 On Thu, Mar 26, 2015 at 9:48 AM, Marko Rauhamaa wrote: > Ian Kelly : > >> On Thu, Mar 26, 2015 at 8:23 AM, Marko Rauhamaa wrote: >>> That's trial and error, aka, reductio ad absurdum. >> >> Okay, I've probably used single-lookahead trial and error in my >> reasoning at some point. But the example you give is equivalent to the >> deductive process "That can't be a 5, so I remove it as a candidate. >> The only place left for a 5 is here, so I remove the 2 as a candidate >> and fill in the 5." > > In fact, the "trial-and-error" technique is used in automated theorem > proving: > > Lean provers are generally implemented in Prolog, and make proficient > use of the backtracking engine and logic variables of that language. > > Sure, but what has this to do with the statement that *sudoku* should not require trial and error to solve?