#!/usr/bin/env python3
# python 3.6+

# THIS SCRIPT WAS AUTOGENERATED FROM SOURCE FILES FOUND AT:
# https://github.com/Pristine-Cat/SymPad

# Copyright (c) 2019 Tomasz Pytel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in the
#       documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

_RUNNING_AS_SINGLE_SCRIPT = True

import sys
sys.path.insert (0, '') # allow importing from current directory first (for SymPy development version)

_FILES = {

	'style.css': # style.css

r"""* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	margin-top: 1em;
	margin-bottom: 6em;
	cursor: default;
	background-image: url('/bg.png');
}

i {
	color: #0008;
}

#Clipboard {
	position: fixed;
	bottom: -2em;
	color: transparent;
	border: 0px;
}

#Greeting {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #0007;
}

.GreetingA {
	display: block;
	color: #0007;
	text-decoration: none;
	margin-bottom: 0.5em;
}

#InputCover {
	position: fixed;
	z-index: 2;
	height: 4em;
	bottom: 0;
	left: 0;
	right: 0;
	background-image: url('/bg.png');
}

#InputCoverLeft {
	position: fixed;
	z-index: 5;
	height: 4em;
	bottom: 0;
	left: 0;
	background-image: url('/bg.png');
}

#InputCoverRight {
	position: fixed;
	z-index: 5;
	height: 4em;
	bottom: 0;
	right: 0;
	background-image: url('/bg.png');
}

#Input {
	position: fixed;
	z-index: 3;
	bottom: 2em;
	left: 4em;
	right: 1em;
	border-color: transparent;
	outline-color: transparent;
	background-color: transparent;
}

#InputOverlay {
	z-index: 4;
	pointer-events: none;
}

#OverlayGood {
	white-space: pre;
	-webkit-text-fill-color: transparent;
}

#OverlayError {
	position: absolute;
	white-space: pre;
	-webkit-text-fill-color: #f44;
}

#OverlayAutocomplete {
	position: absolute;
	white-space: pre;
	-webkit-text-fill-color: #999;
}

.LogEntry {
	width: 100%;
	margin-bottom: 1.5em;
}

.LogMargin {
	display: inline-block;
	height: 100%;
	width: 4em;
	vertical-align: top;
	text-align: right;
	padding-right: 0.5em;
	color: #0008;
}

.LogBody {
	display: inline-block;
	margin-right: -9999em;
}

.LogWait {
	vertical-align: top;
}

.LogInput {
	margin-bottom: 0.75em;
	width: fit-content;
	cursor: pointer;
}

.LogEval {
	position: relative;
	margin-bottom: 0.25em;
	cursor: pointer;
}

.LogMsg {
	margin-bottom: 0.25em;
}

.LogError {
	margin-bottom: 0.25em;
	color: red;
}

.LogErrorTriange {
	position: absolute;
	left: -1.25em;
	top: 0.25em;
	font-size: 0.7em;
	color: red;
	font-weight: bold;
}

#VarDiv {
	display: none;
	position: fixed;
	right: 1em;
	top: 0;
	box-shadow: 4px 4px 12px 2px #0002;
}

#VarTab {
	border: 1px solid #0004;
	border-top: 0;
	background-color: black;
	background-image: url('/bg.png');
	color: #0008;
}

#VarTab:hover {
	color: black;
}

#VarTabShadow {
	z-index: -1;
	box-shadow: 4px 4px 12px 2px #0002;
}

#VarTabShadow, #VarTab {
	position: absolute;
	right: 0;
	bottom: -1.65em;
	padding: 0.25em;
}

#VarContent {
	/* display: none; */
	min-width: 6.1em;
	padding: 0.25em 0.25em;
	border: 1px solid #0004;
	border-top: 0;
	background-image: url('/bg.png');
}

#VarTable {
	margin-right: 0;
	margin-left: auto;
	border-spacing: 0;
}

table.VarTable td {
	padding: 0.25em;
}

.CopySpan {
	display: inline-block;
}

#ValidationError {
	color: #f99;
}

table.HelpTable td {
	vertical-align: top;
	padding: 0.25em 0;
}

table.HelpTable tr td:first-child {
	white-space: nowrap;
}

table.HelpTable tr td:nth-child(2) {
	padding: 0.25em 0.5em;
}

p span:hover {
	color: gray;
}
""".encode ("utf8"),

	'script.js': # script.js

r"""// TODO: Change how left/right arrows interact with autocomplete.
// TODO: Stupid scrollbars...
// TODO: Change input to text field for longer expression support?
// TODO: Arrow keys in Edge?
// TODO: clear() function to delete old log items?

URL              = '/';
WaitIcon         = '/wait.webp'; // 'https://i.gifer.com/origin/3f/3face8da2a6c3dcd27cb4a1aaa32c926_w200.webp';

JQInput          = null;
MJQueue          = null;
MarginTop        = Infinity;
PreventFocusOut  = true;

LogIdx           = 0;
UniqueID         = 1;

LastValidation   = null;
Validations      = [undefined];
Evaluations      = [undefined];
ErrorIdx         = null;
Autocomplete     = [];

LastClickTime    = 0;
NumClicks        = 0;

GreetingFadedOut = false;
ExceptionDone    = false;
SymPyDevVersion  = '1.4'

// replaced in env.js
History          = [];
HistIdx          = 0;
Version          = 'None'
SymPyVersion     = 'None'
DisplayStyle     = 1

//...............................................................................................
function copyInputStyle () {
	let left = $('#LogEntry1').position ().left;

	JQInput.css ({left: left});
	JQInput.width (window.innerWidth - left - 32);
	$('#InputCoverLeft').width (left);
	$('#InputCoverRight').css ({left: window.innerWidth - 30});

	let style   = getComputedStyle (document.getElementById ('Input'));
	let overlay = document.getElementById ('InputOverlay');

  for (let prop of style) {
    overlay.style [prop] = style [prop];
	}

	overlay.style ['z-index']        = 4;
	overlay.style ['pointer-events'] = 'none';
}

function scrollToEnd () {
	window.scrollTo (0, document.body.scrollHeight);
}

function resize () {
	copyInputStyle ();
	scrollToEnd ();
}

var LastDocHeight = undefined;
var LastWinHeight = undefined;

function monitorStuff () {
	let curDocHeight = $(document).height ();
	let curWinHeight = $(window).height ();

	if (curDocHeight != LastDocHeight || curWinHeight != LastWinHeight) {
		copyInputStyle ();

		window.LastDocHeight = curDocHeight;
		window.LastWinHeight = curWinHeight;
	}

	if (PreventFocusOut) {
		JQInput.focus ();
	}

	updateOverlayPosition ();
	setTimeout (monitorStuff, 50);
}

function readyMathJax () {
	window.MJQueue = MathJax.Hub.queue;

	if (DisplayStyle) {
		var TEX        = MathJax.InputJax.TeX;
		var PREFILTER  = TEX.prefilterMath;

		TEX.Augment ({
			prefilterMath: function (tex, displaymode, script) {
				return PREFILTER.call (TEX, '\\displaystyle{' + tex + '}', displaymode, script);
			}
		});
	}
}

function reprioritizeMJQueue () {
	let p = MJQueue.queue.pop ();

	if (p !== undefined) {
		MJQueue.queue.splice (0, 0, p);
	}
}

function escapeHTML (text) {
	const entityMap = {
		'&': '&amp;',
		'<': '&lt;',
		'>': '&gt;',
		'"': '&quot;',
		"'": '&#39;',
		'/': '&#x2F;',
		'`': '&#x60;',
		'=': '&#x3D;'
	};

	return text.replace (/[&<>"'`=\/]/g, function (s) {
		return entityMap [s];
	});
}

function escapeHTMLtex (text) {
	return text.replace (/\\text{(['"]).*?\1}/g, escapeHTML);
}

//...............................................................................................
function logResize () {
	let margin = Math.max (BodyMarginTop, Math.floor (window.innerHeight - $('body').height () - BodyMarginBottom + 3)); // +3 is fudge factor

	if (margin < MarginTop) {
		MarginTop = margin;
		$('body').css ({'margin-top': margin});
	}
}

function addLogEntry () {
	LogIdx += 1;

	$('#Log').append (`
			<div class="LogEntry"><div class="LogMargin">${LogIdx}.</div><div class="LogBody" id="LogEntry${LogIdx}"><div class="LogInput" id="LogInput${LogIdx}">
				<img class="LogWait" id="LogInputWait${LogIdx}" src="${WaitIcon}" width="16" style="visibility: hidden">
			</div></div></div>`)

	Validations.push (undefined);
	Evaluations.push (undefined);
}

function updateNumClicks () {
	let t = performance.now ();

	if ((t - LastClickTime) > 500) {
		NumClicks = 1;
	} else {
		NumClicks += 1;
	}

	LastClickTime = t;
}

function flashElement (e) {
	e.style.color      = 'white';
	e.style.background = 'black';

	setTimeout (function () {
		e.style.color      = 'black';
		e.style.background = 'transparent';
	}, 100);
}

function writeToClipboard (text) {
	PreventFocusOut = false;

	$('#Clipboard').val (text);
	$('#Clipboard').focus ();
	$('#Clipboard').select ();
	document.execCommand ('copy');

	PreventFocusOut = true;

	if (JQInput !== null) {
		JQInput.focus ();
	}
}

function cE2C (e) {
	writeToClipboard (e.textContent);
	flashElement (e);
}

function copyLogToClipboard (e, val_or_eval, idx, subidx = 0, mathidx = 0) {
	let resp = val_or_eval ? Evaluations [idx].data [subidx].math [mathidx] : Validations [idx];

	updateNumClicks ();
	writeToClipboard (NumClicks == 1 ? resp.nat : NumClicks == 2 ? resp.py : resp.tex);
	flashElement (e);
}

function copyVarToClipboard (e, full = true) {
	updateNumClicks ();

	e        = e.parentElement;
	let text = Variables.vars.get (e.name);
	text     = NumClicks == 1 ? text.nat : NumClicks == 2 ? text.py : text.tex;

	if (!full && (NumClicks == 2) && text [1].startsWith ('Lambda(')) { // special case process py Lambda body
		if (text [1] [7] === '(') {
			text = [text [0], text [1].slice (text [1].indexOf (')') + 2, -1).trim ()];
		} else {
			text = [text [0], text [1].slice (text [1].indexOf (',') + 1, -1).trim ()];
		}
	}

	writeToClipboard (full ? text.join (' = ') : text [1]);
	flashElement (full ? e : e.childNodes [2]);
}

function updateOverlayPosition () {
	let left       = -JQInput.scrollLeft ();
	let goodwidth  = $('#OverlayGood').width ();
	let errorwidth = $('#OverlayError').width ();

	$('#OverlayGood').css ({left: left})
	$('#OverlayError').css ({top: 0, left: left + goodwidth});
	$('#OverlayAutocomplete').css ({top: 0, left: left + goodwidth + errorwidth});
}

function updateOverlay (text, erridx, autocomplete) {
	ErrorIdx     = erridx;
	Autocomplete = autocomplete;

	if (ErrorIdx === null) {
		$('#OverlayGood').text (text);
		$('#OverlayError').text ('');

	} else {
		$('#OverlayGood').text (text.substr (0, ErrorIdx));
		$('#OverlayError').text (text.substr (ErrorIdx));
	}

	$('#OverlayAutocomplete').text (Autocomplete.join (''));

	updateOverlayPosition ();
}

//...............................................................................................
function ajaxValidate (resp) {
	if (Validations [resp.idx] !== undefined && Validations [resp.idx].subidx >= resp.subidx) {
		return; // ignore out of order responses (which should never happen with single threaded server)
	}

	LastValidation = resp;

	if (resp.tex !== null) {
		Validations [resp.idx] = resp;

		let eLogInput = document.getElementById ('LogInput' + resp.idx);

		let queue              = [];
		[queue, MJQueue.queue] = [MJQueue.queue, queue];

		MJQueue.queue = queue.filter (function (obj, idx, arr) { // remove previous pending updates to same element
			return obj.data [0].parentElement !== eLogInput;
		});

		let eLogInputWait              = document.getElementById ('LogInputWait' + resp.idx);
		let math                       = resp.tex ? `$${resp.tex}$` : '';
		eLogInputWait.style.visibility = '';

		$(eLogInput).append (`<span class="CopySpan" onclick="copyLogToClipboard (this, 0, ${resp.idx})" style="visibility: hidden">${escapeHTMLtex (math)}</span>`);

		let eMath = eLogInput.lastElementChild;

		MJQueue.Push (['Typeset', MathJax.Hub, eMath, function () {
			if (eMath === eLogInput.children [eLogInput.children.length - 1]) {
				eLogInput.appendChild (eLogInputWait);

				for (let i = eLogInput.children.length - 3; i >= 0; i --) {
					eLogInput.removeChild (eLogInput.children [i]);
				}

				eLogInputWait.style.visibility = 'hidden';
				eMath.style.visibility         = '';

				logResize ();
				scrollToEnd (); // ???
			}
		}]);

		reprioritizeMJQueue ();
	}

	updateOverlay (JQInput.val (), resp.erridx, resp.autocomplete);
}

function ajaxEvaluate (resp) {
	Variables.update (resp.vars);

	Evaluations [resp.idx] = resp;
	let eLogEval           = document.getElementById ('LogEval' + resp.idx);

	eLogEval.removeChild (document.getElementById ('LogEvalWait' + resp.idx));

	for (let subidx in resp.data) {
		subresp = resp.data [subidx];

		if (subresp.msg !== undefined && subresp.msg.length) { // message present?
			for (let msg of subresp.msg) {
				$(eLogEval).append (`<div class="LogMsg">${escapeHTML (msg.replace (/  /g, '&emsp;'))}</div>`);
			}

			logResize ();
			scrollToEnd ();
		}

		if (subresp.math !== undefined && subresp.math.length) { // math results present?
			for (let mathidx in subresp.math) {
				$(eLogEval).append (`<div class="LogEval"></div>`);
				let eLogEvalDiv = eLogEval.lastElementChild;

				$(eLogEvalDiv).append (`<span class="CopySpan" style="visibility: hidden" onclick="copyLogToClipboard (this, 1, ${resp.idx}, ${subidx}, ${mathidx})">$${escapeHTMLtex (subresp.math [mathidx].tex)}$</span>`);
				let eLogEvalMath = eLogEvalDiv.lastElementChild;

				$(eLogEvalDiv).append (`<img class="LogWait" src="${WaitIcon}" width="16">`);
				let eLogEvalWait = eLogEvalDiv.lastElementChild;

				MJQueue.Push (['Typeset', MathJax.Hub, eLogEvalMath, function () {
					eLogEvalDiv.removeChild (eLogEvalWait);

					eLogEvalMath.style.visibility = '';

					logResize ();
					scrollToEnd ();
				}]);

				reprioritizeMJQueue ();
			}
		}

		if (subresp.err !== undefined) { // error?
			let eErrorHiddenBox, eLogErrorHidden;

			if (subresp.err.length > 1) {
				$(eLogEval).append ('<div style="position: relative"></div>');
				eErrorHiddenBox = eLogEval.lastElementChild;

				$(eErrorHiddenBox).append (`<div style="display: none"></div>`);
				eLogErrorHidden = eErrorHiddenBox.lastElementChild;

				for (let i = 0; i < subresp.err.length - 1; i ++) {
					$(eLogErrorHidden).append (`<div class="LogError">${escapeHTML (subresp.err [i].replace (/  /g, '&emsp;'))}</div>`);
				}
			}

			$(eLogEval).append (`<div class="LogError">${escapeHTML (subresp.err [subresp.err.length - 1])}</div>`);
			let eLogErrorBottom = eLogEval.lastElementChild;

			if (subresp.err.length > 1) {
				let ClickHereToOpen = null;

				if (!ExceptionDone) {
					$(eLogErrorBottom).append ('<i>&emsp;<-- click to open</i>');

					ClickHereToOpen = eLogErrorBottom.lastElementChild;
					ExceptionDone   = true;
				}

				$(eErrorHiddenBox).append (`<div class="LogErrorTriange">\u25b7</div>`);
				let eLogErrorTriangle = eErrorHiddenBox.lastElementChild;

				f = function () {
					if (eLogErrorHidden.style.display === 'none') {
						eLogErrorHidden.style.display = 'block';
						eLogErrorTriangle.innerText   = '\u25bd';
					} else {
						eLogErrorHidden.style.display = 'none';
						eLogErrorTriangle.innerText   = '\u25b7';
					}

					if (ClickHereToOpen) {
						ClickHereToOpen.parentNode.removeChild (ClickHereToOpen);
						ClickHereToOpen = null;
					}

					logResize ();
				};

				$(eLogErrorHidden).click (f);
				$(eLogErrorBottom).click (f);
				$(eLogErrorTriangle).click (f);
			}

			logResize ();
			scrollToEnd ();
		}

		if (subresp.img !== undefined) { // image present?
			$(eLogEval).append (`<div><img src='data:image/png;base64,${subresp.img}'></div>`);

			setTimeout (function () { // image seems to take some time to register size even though it is directly present
				logResize ();
				scrollToEnd ();
			}, 0);
		}
	}
}

function inputting (text, reset = false) {
	if (reset) {
		ErrorIdx     = null;
		Autocomplete = [];

		JQInput.val (text);
	}

	updateOverlay (text, ErrorIdx, Autocomplete);

	$.ajax ({
		url: URL,
		type: 'POST',
		cache: false,
		dataType: 'json',
		success: ajaxValidate,
		data: {
			mode: 'validate',
			idx: LogIdx,
			subidx: UniqueID ++,
			text: text,
		},
	});
}

function inputted (text) {
	$.ajax ({
		url: URL,
		type: 'POST',
		cache: false,
		dataType: 'json',
		success: ajaxEvaluate,
		data: {
			mode: 'evaluate',
			idx: LogIdx,
			text: text,
		},
	});

	$('#LogEntry' + LogIdx).append (`
			<div class="LogEval" id="LogEval${LogIdx}">
				<img class="LogWait" id="LogEvalWait${LogIdx}" src="${WaitIcon}" width="16">
			</div>`);

	History.push (text);

	HistIdx = History.length;

	addLogEntry ();
	logResize ();
	scrollToEnd ();
}

//...............................................................................................
function inputKeypress (e) {
	if (e.which == 13) {
		s = JQInput.val ().trim ();

		if ((s && ErrorIdx === null) || s === '?') {
			if (!GreetingFadedOut) {
				GreetingFadedOut = true;
				$('#Greeting').fadeOut (3000);
			}

			if (s === 'help' || s === '?') {
				window.open (`${URL}help.html`);
				inputting ('', true);

				return false;
			}

			if (Autocomplete.length > 0) {
				s = s + Autocomplete.join ('');
				inputting (s);
			}

			JQInput.val ('');
			updateOverlay ('', null, []);
			inputted (s);

			return false;

		} else if (LastValidation !== null && LastValidation.error) { // last validation had error, display
			let eLogInput = document.getElementById (`LogInput${LastValidation.idx}`);

			$('#ValidationError').remove ();
			$(eLogInput).append (`<span id="ValidationError">&lt;-- ${escapeHTML (LastValidation.error)}</span>`)
		}

	} else if (e.which == 32) {
		if (!JQInput.val ()) {
			return false;
		}
	}

	return true;
}

function inputKeydown (e) {
	if (e.code == 'Escape') {
		e.preventDefault ();

		if (JQInput.val ()) {
			HistIdx = History.length;
			inputting ('', true);

			return false;
		}

	} else if (e.code == 'Tab') {
		e.preventDefault ();
		$(this).focus ();

		return false;

	} else if (e.code == 'ArrowUp') {
		e.preventDefault ();

		if (HistIdx) {
			inputting (History [-- HistIdx], true);

			return false;
		}

	} else if (e.code == 'ArrowDown') {
		e.preventDefault ();

		if (HistIdx < History.length - 1) {
			inputting (History [++ HistIdx], true);

			return false;

		} else if (HistIdx != History.length) {
			HistIdx = History.length;
			inputting ('', true);

			return false;
		}

	} else if (e.code == 'ArrowRight') {
		if (JQInput.get (0).selectionStart === JQInput.val ().length && Autocomplete.length) {
			let text = JQInput.val ();

			text         = text + Autocomplete [0];
			Autocomplete = Autocomplete.slice (1);

			JQInput.val (text);
			inputting (text);
		}
	}

	setTimeout (updateOverlayPosition, 0);

	return true;
}

//...............................................................................................
class _Variables {
	constructor () {
		this.eVarDiv       = document.getElementById ('VarDiv');
		this.eVarTab       = document.getElementById ('VarTab');
		this.eVarContent   = document.getElementById ('VarContent');
		this.eVarTable     = document.getElementById ('VarTable');
		this.queued_update = null;
		this.display       = true;
		this.vars          = new Map ();
	}

	_update (vars) {
		function spliteq (text) {
			let p = text.split (' = ');

			return [p [0], p.slice (1).join (' = ')];
		}

		vars = new Map (vars.map (function (e) {
			let nat = spliteq (e.nat);

			return [nat [0], {tex: spliteq (e.tex), nat: nat, py: spliteq (e.py)}];
		}));

		let same = new Set ();

		for (let r of Array.from (this.eVarTable.childNodes)) {
			let v = vars.get (r.name);

			if (v === undefined || r.val !== v.tex.join (' = ')) {
				this.eVarTable.removeChild (r);
			} else {
				same.add (r.name);
			}
		}

		let added = false;

		for (let [n, v] of vars) {
			if (same.has (n)) {
				continue;
			}

			let inserted = false;
			let isfunc   = n.includes ('(');
			let e        = $(`<tr><td onclick="copyVarToClipboard (this)">$${escapeHTMLtex (v.tex [0])}$</td><td class="VarTCell" onclick="copyVarToClipboard (this)">$=$</td><td class="VarTCell" onclick="copyVarToClipboard (this, false)">$${escapeHTMLtex (v.tex [1])}$</td></tr>`);
			e [0].name   = n;
			e [0].val    = v.tex.join (' = ');
			added        = true;

			for (let r of this.eVarTable.childNodes) {
				let isfuncr = r.name.includes ('(');

				if ((isfunc && !isfuncr) || ((n < r.name) && (isfunc === isfuncr))) {
					e.insertBefore (r);
					inserted = true;

					break;
				}
			}

			if (!inserted) {
				e.appendTo (this.eVarTable);
			}
		}

		this.vars = vars;

		if (added) {
			MJQueue.Push (['Typeset', MathJax.Hub, this.eVarTable]);
			reprioritizeMJQueue ();
		}
	}

	update (vars) {
		if (this.display) {
			this._update (vars);
		} else {
			this.queued_update = vars;
		}

		this.eVarDiv.style.display = vars.length ? 'block' : 'none';
	}

	toggle () {
		this.eVarContent.style.minWidth = `${this.eVarTab.clientWidth + 2}px`;

		if (!this.display && this.queued_update !== null) {
			this._update (this.queued_update);
			this.queued_update = null;
		}

		this.display                   = !this.display;
		this.eVarContent.style.display = this.display ? 'block' : 'none';
	}
}

//...............................................................................................
$(function () {
	if (window.location.pathname != '/') {
		return;
	}

	window.JQInput   = $('#Input');
	window.Variables = new _Variables ();

	let margin       = $('body').css ('margin-top');
	BodyMarginTop    = Number (margin.slice (0, margin.length - 2));
	margin           = $('body').css ('margin-bottom');
	BodyMarginBottom = Number (margin.slice (0, margin.length - 2));

	$('#Clipboard').prop ('readonly', true);
	$('#InputCover') [0].height = $('#InputCover').height ();

	JQInput.keypress (inputKeypress);
	JQInput.keydown (inputKeydown);

	addLogEntry ();
	logResize ();
	resize ();
	monitorStuff ();

	function first_vars_update (resp) {
		if (MJQueue === null) { // wait for MathJax ready
			setTimeout (function () { first_vars_update (resp); }, 50);
		} else {
			Variables.update (resp.vars);
		}
	}

	$.ajax ({
		url: URL,
		type: 'POST',
		cache: false,
		dataType: 'json',
		success: first_vars_update,
		data: {mode: 'vars'},
	});
});
""".encode ("utf8"),

	'index.html': # index.html

r"""<!DOCTYPE html>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="https://www.sympy.org/static/SymPy-Favicon.ico">
<title>SymPad</title>
<link rel="stylesheet" type="text/css" href="style.css">

<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="env.js"></script>
<script type="text/x-mathjax-config">
	MathJax.Hub.Config ({
		messageStyle: "none",
		tex2jax: {inlineMath: [["$","$"], ["\\(","\\)"]]}
	});

	MathJax.Hub.Register.StartupHook ("End", readyMathJax);
</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML-full"></script>

</head>

<body onresize="resize ()">

<input id="Clipboard">

<div id="Greeting">
	<div style="text-align: center">
		<h2>SymPad</h2>
		<h5><script type="text/javascript">document.write (Version)</script></h5>
		<h5>on SymPy <script type="text/javascript">document.write (SymPyVersion)</script></h5>
		<script type="text/javascript">if (SymPyVersion !== SymPyDevVersion) { document.write ('<h5 style="color: #f99">*note SymPad was developed on SymPy 1.4</h5>'); }</script>
		<br><br>
		Type '<b><a class="GreetingA" style="display: inline" href="/help.html" target="_blank">help</a></b>' or '<b>?</b>' at any time for more information.
		<br>
		- or -
		<br>
		Type or click any of the following to get started:
	</div>
	<br><br>
	<a class="GreetingA" href="javascript:inputting ('cos -pi', true)">cos -pi</a>
	<a class="GreetingA" href="javascript:inputting ('N cos**-1 -\\log_2 sqrt[4] 16', true)">N cos**-1 -\log_2 sqrt[4] 16</a>
	<a class="GreetingA" href="javascript:inputting ('expand ((1 + x)**4)', true)">expand ((1 + x)**4)</a>
	<a class="GreetingA" href="javascript:inputting ('factor (x^3 + 3y x^2 + 3x y^2 + y^3)', true)">factor (x^3 + 3y x^2 + 3x y^2 + y^3)</a>
	<a class="GreetingA" href="javascript:inputting ('series (e^x, x, 0, 5)', true)">series (e^x, x, 0, 5)</a>
	<a class="GreetingA" href="javascript:inputting ('Limit (\\frac1x, x, 0, dir=\'-\')', true)">Limit (\frac1x, x, 0, dir='-')</a>
	<a class="GreetingA" href="javascript:inputting ('\\sum_{n=0}**oo x^n / n!', true)">\sum_{n=0}**oo x^n / n!</a>
	<a class="GreetingA" href="javascript:inputting ('d**6 / dx dy**2 dz**3 x^3 y^3 z^3', true)">d**6 / dx dy**2 dz**3 x^3 y^3 z^3</a>
	<a class="GreetingA" href="javascript:inputting ('Integral (e^{-x^2}, (x, 0, \\infty))', true)">Integral (e^{-x^2}, (x, 0, \infty))</a>
	<a class="GreetingA" href="javascript:inputting ('\\int_0^\\pi \\int_0^{2pi} \\int_0^1 rho**2 sin\\phi drho dtheta dphi', true)">\int_0^\pi \int_0^{2pi} \int_0^1 rho**2 sin\phi drho dtheta dphi</a>
	<a class="GreetingA" href="javascript:inputting ('\\[[1, 2], [3, 4]]**-1', true)">\[[1, 2], [3, 4]]**-1</a>
	<a class="GreetingA" href="javascript:inputting ('Matrix (4, 4, lambda r, c: c + r if c &gt; r else 0)', true)">Matrix (4, 4, lambda r, c: c + r if c &gt; r else 0)</a>
	<a class="GreetingA" href="javascript:inputting ('f (x, y) = sqrt (x**2 + y**2)', true)">f (x, y) = sqrt (x**2 + y**2)</a>
	<a class="GreetingA" href="javascript:inputting ('solve (x**2 + y = 4, x)', true)">solve (x**2 + y = 4, x)</a>
	<a class="GreetingA" href="javascript:inputting ('dsolve (y(x)\'\' + 9y(x))', true)">dsolve (y(x)'' + 9y(x))</a>
	<a class="GreetingA" href="javascript:inputting ('y = y(t); dsolve (y\'\' - 4y\' - 12y = 3e**{5t}); del y', true)">y = y(t); dsolve (y'' - 4y' - 12y = 3e**{5t}); del y</a>
	<a class="GreetingA" href="javascript:inputting ('pdsolve (x * d/dx u (x, y) - y * d/dy u (x, y) + y**2u (x, y) - y**2)', true)">pdsolve (x * d/dx u (x, y) - y * d/dy u (x, y) + y**2u (x, y) - y**2)</a>
	<a class="GreetingA" href="javascript:inputting ('(({1, 2, 3} &amp;&amp; {2, 3, 4}) ^^ {3, 4, 5}) - \\{4} || {7,}', true)">(({1, 2, 3} &amp;&amp; {2, 3, 4}) ^^ {3, 4, 5}) - \{4} || {7,}</a>
	<a class="GreetingA" href="javascript:inputting ('simplify (not (not a and not b) and not (not a or not c))', true)">simplify (not (not a and not b) and not (not a or not c))</a>
	<a class="GreetingA" href="javascript:inputting ('plotf (2pi, -2, 2, sin x, \'r=sin\', cos x, \'g=cos\', tan x, \'b=tan\')', true)">plotf (2pi, -2, 2, sin x, 'r=sin', cos x, 'g=cos', tan x, 'b=tan')</a>
	<br>
	<a class="GreetingA" href="/help.html#More%20Examples" target="_blank">More Examples...</a>
	<!--
	<a class="GreetingA" href="javascript:inputting ('
	', true)">
	</a>
	-->

	<br><br>
	<div style="text-align: center">
	Copyright (c) 2019 Tomasz Pytel. <a href="https://github.com/Pristine-Cat/SymPad" target="_blank" style="color: #0007">SymPad on GitHub</a>
	</div>
</div>

<div id="Log"></div>

<div id="InputCover"></div>
<div id="InputCoverLeft"></div>
<div id="InputCoverRight"></div>
<input id="Input" oninput="inputting (this.value)" autofocus>
<div id="InputOverlay"><span id="OverlayGood"></span><span id="OverlayError"></span><span id="OverlayAutocomplete"></span></div>

<div id="VarDiv">
	<div id="VarContent"><table id="VarTable" class="VarTable"></table></div>
	<div id="VarTab" onclick="Variables.toggle ()">Variables</div>
	<div id="VarTabShadow">Variables</div>
</div>

</body>
</html>""".encode ("utf8"),

	'help.html': # help.html

r"""<!DOCTYPE html>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="icon" href="https://www.sympy.org/static/SymPy-Favicon.ico">
<title>SymPad Help</title>
<link rel="stylesheet" type="text/css" href="style.css">

<style>
	body { margin: 3em 4em; }
	h2 { margin: 2em 0 1em 0; }
	h4 { margin: 1.5em 0 0.75em 0; }
	p { margin: 0 0 1.2em 1em; line-height: 150%; }
	table { margin: 0 0 1.2em 1em; line-height: 150%; }
	del { color: red; }
	.red { color: red; }
</style>

<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"></script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="env.js"></script>
<script type="text/x-mathjax-config">
	MathJax.Hub.Config ({
		messageStyle: "none",
		tex2jax: {inlineMath: [["$","$"], ["\\(","\\)"]]}
	});
</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML-full"></script>

</head>

<body>

<input id="Clipboard">

<h1 style="margin: 0; text-align: center">SymPad</h1>
<h4 style="margin: 0; text-align: center"><script type="text/javascript">document.write (Version)</script></h4>

<h2 id="Introduction">Introduction</h2>

<p>
SymPad is a simple single script graphical symbolic calculator / scratchpad using SymPy for the math, MathJax for the display in a browser and matplotlib for plotting.
It is a labor of love and grew out of a desire for an easy way to calculate a quick integral while studying some math without having to start a shell every time and import a package or fire up a browser and navigate to a site (technincally that last bit is exactly what happens but the response time is better :)
This desire for simplicity led to the single script option "<b>sympad.py</b>" which I could plop down on the desktop and execute when needed.
User input is intended to be quick, easy and intuitive and is displayed in symbolic form as it is being entered.
Sympad will accept Python expressions, LaTeX formatting, Unicode math symbols and a native shorthand intended for fast entry, or a mix of all of these.
The input will be evaluated symbolically or numerically with the results being copy/pasteable in Python or LaTeX formats, so it acts as a translator as well.
</p><p>
You don't need to know SymPy to use SymPad, you can just check out the examples here to see how to do something, but if you are familiar with it then it will definitely help since in theory most SymPy functionality is supported but not necessarily documented here.
For more information on SymPy functions which are accessible through SymPad see the <a href="https://docs.sympy.org/latest/index.html" target="_blank">SymPy Documentation</a>.
If you want to jump in and see what SymPad can do then just go directly to <a href="#Quick Start">Quick Start</a>.
</p>

<h2 id="Table of Contents">Table of Contents</h2>

<h4><a href="#Introduction">Introduction</a></h4>

<h4><a href="#Table of Contents">Table of Contents</a></h4>

<h4><a href="#Quick Start">Quick Start</a></h4>
&emsp;<a href="#Usage">Usage</a><br>
&emsp;<a href="#How it Works">How it Works</a><br>
&emsp;<a href="#Quick Input Mode">Quick Input Mode</a><br>

<h4><a href="#Elements">Elements</a></h4>
&emsp;<a href="#Numbers">Numbers</a><br>
&emsp;<a href="#Booleans">Booleans</a><br>
&emsp;<a href="#Vectors and Matrices">Vectors and Matrices</a><br>
&emsp;<a href="#Piecewise Expressions">Piecewise Expressions</a><br>
&emsp;<a href="#Function Types">Functions</a><br>
&emsp;<a href="#Strings, Lists, Tuples and Dictionaries">Strings, Lists, Tuples and Dictionaries</a><br>
&emsp;<a href="#Variables">Variables</a><br>
&emsp;<a href="#Symbols and Assumptions">Symbols and Assumptions</a><br>

<h4><a href="#Operations">Operations</a></h4>
&emsp;<a href="#Addition and Multiplication">Addition and Multiplication</a><br>
&emsp;<a href="#Exponentiation">Exponentiation</a><br>
&emsp;<a href="#Logarithms">Logarithms</a><br>
&emsp;<a href="#Roots">Roots</a><br>
&emsp;<a href="#Factorial">Factorial</a><br>
&emsp;<a href="#Absolute Value">Absolute Value</a><br>
&emsp;<a href="#Limits">Limits</a><br>
&emsp;<a href="#Sums">Sums</a><br>
&emsp;<a href="#Differentiation">Differentiation</a><br>
&emsp;<a href="#Integration">Integration</a><br>
&emsp;<a href="#Logic Operations">Logic Operations</a><br>
&emsp;<a href="#Comparison">Comparison</a><br>
&emsp;<a href="#Set Operations">Set Operations</a><br>
&emsp;<a href="#Substitution">Substitution</a><br>
&emsp;<a href="#Parentheses">Parentheses</a><br>
&emsp;<a href="#Indexing">Indexing</a><br>
&emsp;<a href="#Member Access">Member Access</a><br>
&emsp;<a href="#Variable Assignment">Variable Assignment</a><br>
&emsp;<a href="#Automatic Simplification">Automatic Simplification</a><br>
&emsp;<a href="#More...">More...</a><br>

<h4><a href="#Functions">Functions</a></h4>
&emsp;<a href="#SymPy Functions">SymPy Functions</a><br>
&emsp;<a href="#Lambda Functions">Lambda Functions</a><br>
&emsp;<a href="#Undefined Functions">Undefined Functions</a><br>
&emsp;<a href="#Pseudo-Functions">Pseudo-Functions</a><br>
&emsp;<a href="#Functions, Parentheses and Implicit Multiplication">Functions, Parentheses and Implicit Multiplication</a><br>

<h4><a href="#Plotting">Plotting</a></h4>
&emsp;<a href="#plotf() - Plot Function">plotf() - Plot Function</a><br>
&emsp;<a href="#plotv() - Plot Vector Field (2D)">plotv() - Plot Vector Field (2D)</a><br>
&emsp;<a href="#plotw() - Plot Walk Over Vector Field">plotw() - Plot Walk Over Vector Field</a><br>

<h4><a href="#More Examples">More Examples</a></h4>
&emsp;<a href="#Limits, Sums, Derivatives and Integrals">Limits, Sums, Derivatives and Integrals</a><br>
&emsp;<a href="#Solving Equations">Solving Equations</a><br>
&emsp;<a href="#Ordinary Differential Equations">Ordinary Differential Equations</a><br>
&emsp;<a href="#Partial Differential Equations">Partial Differential Equations</a><br>
&emsp;<a href="#Calculating Eigenvalues and Eigenvectors">Calculating Eigenvalues and Eigenvectors</a><i>&emsp; (by "hand")</i><br>
&emsp;<a href="#Lambda Function Examples">Lambda Function Examples</a><br>
&emsp;<a href="#Pseudo-Function Examples">Pseudo-Function Examples</a><br>
&emsp;<a href="#Last Expression Variable">Last Expression Variable</a><br>
&emsp;<a href="#Plotting Functions">Plotting Functions</a><br>
&emsp;<a href="#Plotting Vector Walks">Plotting Vector Walks</a><br>

<h4><a href="#Appendix">Appendix</a></h4>
&emsp;<a href="#Assumptions">Assumptions</a><br>
&emsp;<a href="#Special Characters">Special Characters</a><br>
&emsp;<a href="#Admin Functions">Admin Functions</a><br>
&emsp;<a href="#Environment Settings for env()">Environment Settings for env()</a><br>
&emsp;<a href="#Command Line Arguments">Command Line Arguments</a><br>
&emsp;<a href="#Notes">Notes</a><br>

<h2 id="Quick Start">Quick Start</h2>

<p>
The best way to see what SymPad can do is by doing, so try entering any of the following into SymPad (you can click on them to copy for pasting into SymPad):
</p><p>
<span onclick="cE2C (this)">cos -pi</span><i>&emsp; functions with a single argument don't need parentheses </i><br>
<span onclick="cE2C (this)">N cos**-1 -\log_2 sqrt[4] 16</span><i>&emsp; they can be chained</i><br>
<span onclick="cE2C (this)">factor (x^3 + 3y x^2 + 3x y^2 + y^3)</span><i>&emsp; implicit multiplication without the need for * operator</i><br>
<span onclick="cE2C (this)">Limit (\frac1x, x, 0, dir='-')</span><i>&emsp; mix Python and LaTeX</i><br>
<span onclick="cE2C (this)">\sum_{n=0}**oo x**n / n!</span><i>&emsp; ** is quicker to type than ^</i><br>
<span onclick="cE2C (this)">d**3 / dx dy^2 x^3 y^3</span><i>&emsp; standard derivative shorthand</i><br>
<span onclick="cE2C (this)">Integral (e^{-x^2}, (x, 0, \infty))</span><i>&emsp; SymPy integral object or function</i><br>
<span onclick="cE2C (this)">\int^\pi \int^{2pi} \int^1 rho**2 sin\phi drho dtheta dphi</span><i>&emsp; or standard notation</i><br>
<span onclick="cE2C (this)">\[[1, 2], [3, 4]]**-1</span><i>&emsp; quick matrix shorthand</i><br>
<span onclick="cE2C (this)">Matrix (4, 4, lambda r, c: c + r if c &gt; r else 0)</span><i>&emsp; matrix created from a lambda that populates each element based on row and column</i><br>
<span onclick="cE2C (this)">f (x, y) = sqrt (x**2 + y**2)</span><i>&emsp; assign functions intuitively</i><br>
<span onclick="cE2C (this)">f (3, 4)</span><i>&emsp; and then call them</i><br>
<span onclick="cE2C (this)">solve (x**2 + y = 4, x)</span><i>&emsp; solve equations</i><br>
<span onclick="cE2C (this)">dsolve (y(x)'' + 9y(x))</span><i>&emsp; differential equations</i><br>
<span onclick="cE2C (this)">y = y(t); dsolve (y'' - 4y' - 12y = 3e**{5t}); del y</span><i>&emsp; using prime notation</i><br>
<span onclick="cE2C (this)">pdsolve (x * d/dx u (x, y) - y * d/dy u (x, y) + y**2u (x, y) - y**2)</span><i>&emsp; partial differential equations</i><br>
<span onclick="cE2C (this)">simplify (not (not a and not b) and not (not a or not c))</span><i>&emsp; simplify complicated logic</i><br>
<span onclick="cE2C (this)">(({1, 2, 3} && {2, 3, 4}) ^^ {3, 4, 5}) - \{4} || {7,}</span><i>&emsp; set operations</i><br>
<span onclick="cE2C (this)">plotf (2pi, -2, 2, sin x, 'r=sin', cos x, 'g=cos', tan x, 'b=tan')</span><i>&emsp; plotting (if you have matplotlib installed)</i><br>
</p><p>
For more detailed examples see <a href="#More Examples">More Examples</a>.
</p>

<h4 id="Usage">Usage</h4>

<p>
You enter expresstions and they get evaluated.
The expressions may be in normal Pythonic style like "<b>a * (b + sin (x)**2 + 3/4) / 2</b>", LaTeX such as "<b>a\frac{b+\sin^2{x}+\frac34}{2}</b>" or a mix "<b>a * (b + \sin**2{x} + \frac34) / 2</b>".
The input is displayed symbolically as you type.
Input history is supported with the up and down arrows.
SymPad will give some limited options for autocompletion for certain expressions sometimes, this mostly means that you will not have to close parentheses.
Likewise, syntax and other errors in the expression will be highlited in red.
If an expression contains a some kind of usually non-grammatical error you can sometimes get some information by trying to submit the expression with the "<b>Enter</b>" key.
</p><p>
The symbolic expressions can be copied to the clipboard in various formats.
Single-click for a simple native format meant to be pasted back into the input field.
A double click-copies the expression in Python format suitable for pasting into a Python shell or source file.
Finally, a triple-click will copy the expression in LaTeX format.
The single-click native and double-click Python formats should almost always be pasteable back into SymPad, whereas the LaTeX format may or may not be depending on what elements are present.
</p><p>
Variables and functions can be assigned with the "<b>=</b>" operator and will be substituted or executed upon use after assignment, so if you assign "<b>x = 5</b>" then any expression afterwards containing "<b>x</b>" will use the value "<b>5</b>" in its place.
Likewise setting "<b>f (x) = x**2</b>" will then execute the function anytime it is used so that "<b>f (3)</b>" becomes "<b>9</b>".
Any variable assignments will appear in a hideable "<b>Variables</b>" tab in the upper right hand corner of the browser.
The multi-click copy mechanism also works in this tab where you can copy the whole assignment expression by clicking on the variable or just the contents of the variable by clicking on the expression.
</p>

<h4 id="How it Works">How it Works</h4>

<p>
If you are not familiar with SymPy then you can skip this section as it talks about internal SymPy usage.
</p><p>
SymPad will parse the expression you type into an internal representation for autocompletion, error checking and translation of certain functions and elements to be displayed symbolically.
When you attempt to evaluate an expression via the "<b>Enter</b>" key then that internal representation is converted into SymPy objects and a "<b>doit (deep = True)</b>" is executed on the top-level object.
This top-level "<b>doit ()</b>" is optional and can be turned off via the SymPad environment mechanism but is usually what you want in a calculator like SymPad.
There is another step which can be carried out automatic on the resulting object after the "<b>doit ()</b>" which is a "<b>simplify ()</b>", as many times SymPy evaluations result in messy expressions.
This simplification step is off by default since it can mess up certain equations which are specifically returned in a certain format, but can be turned on in SymPad via the environment mechanism.
After this the resulting SymPy object is converted back to the internal representation and any translations for symbolic display are carried out again.
</p><p>
SymPad does some internal gymnastics to allow certain SymPy operations to work with native Python objects with which they normally do not.
This is mostly addition or multiplication of tuples or lists, indexing with unknown symbols, extending simplification and substitution and doit into Python containers and the like, housekeeping stuff.
Arithmetic with "<b>Boolean</b>" types is hacked in as well as automatic matrix simplification (enabled or disabled in the environment) since those tend to blow up pretty quickly in SymPy.
Many SymPy functions are translated normally for display or quick shorthand for copying but SymPad attempts to preserve as much of any original Python code as possible from the expression to pass on to creating the evaluation SymPy objects.
</p><p>
Any variables used in an expression are normally converted to SymPy "<b>Symbol</b>" objects unless they are assigned in which case they are substituted for the assigned expression.
Functions assigned as variables such as "<b>f (x) = x**2</b>" are technically mapped internally as "<b>f = Lambda (x, x**2)</b>" and these lambdas can be passed into native SymPy functions and will act as expected, which means they can be used to populate a "<b>Matrix</b>" for example.
User assigned functions like this can be assigned, copied and passed into SymPy functions but the concrete SymPy classes and functions cannot.
For more on the differences between the various types of functions see the <a href="#Functions">Functions</a> section.
</p>

<h4 id="Quick Input Mode">Quick Input Mode</h4>

<p>
This is the input mode SymPad was born in for quick calculations due to speed of input.
SymPad normally allows multi-character variable names, requires spaces between them for implicit multiplication and enforces grammatical breaks between function names, variables and text operators like "<b>in</b>" and "<b>or</b>".
This can be turned off by switching into quick input mode using the function "<b>env(quick)</b>" or by using the "<b>--quick</b>" option on the command line.
When in this input mode long variable names are sacrificed for quicker input of single letter variables (Latin or Greek - with or without leading slash) and explicit space characters are no longer necessary between variables, recognized function names and text operators.
</p><p>
What quick mode allows is the input of expressions which would normally by entered in normal mode like this "<b>x y sin**-1z cos e**2</b>" without grammatical breaks - "<b>xysin**-1zcose**2</b>".
For convenience certain multi-character variables are accepted in quick mode - Greek letters (including "<b>pi</b>"), "<b>oo</b>" for infinity and "<b>zoo</b>" for complex infinity, "<b>partial</b>", "<b>True</b>", "<b>False</b>" and "<b>None</b>".
Differentials will also work so "<b>dx</b>", "<b>dtheta</b>", "<b>d\theta</b>" and the partial variations like "<b>partialx</b>" and "<b>\partial x</b>" will all be considered as a single variable.
Variables in quick mode can only be one letter but they may have optional numerical tails which will be displayed as subscripts, so "<b>x12</b>" ($x_{12}$) and "<b>alpha_{3}</b>" ($\alpha_{3}$) are valid variables in quick mode, this extends to differentials and partials as well.
</p>

<h2 id="Elements">Elements</h2>

<h4 id="Numbers">Numbers</h4>

<p>
Numbers take the standard integer or floating point form or exponential form such as 123, -2.567, 1e+100, 3E-45 or -1.521e22.
The precision for all SymPy Floats used in evaluation is set to the highest precision number present in the equation or referenced variables, so if you ask for the cosine of a number with 50 decimal digits your answer will have at least 50 decimal digits (where SymPy respects this).
</p><p>
Keep in mind that "<b>e</b>" or "<b>E</b>" is the Euler"s number constant $e$ and if you are trying to enter 2 times $e$ plus 22 then do not write it all together as "<b>2e+22</b>" as this will be interpreted to be "<b>2 * 10^22</b>".
Instead, use spaces and/or explicit multiplication: "<b>2 * e + 22</b>".
Imaginary numbers are entered using the imaginary unit "<b>i</b>" or "<b>I</b>" depending on preference, no Pythonic "<b>j</b>" option at the moment but it can be hacked by setting "<b>j = i</b>" in SymPad.
</p>

<h4 id="Booleans">Booleans</h4>

<p>
Your standard True and False with SymPy Boolean results being coerced to these.
SymPad modifies the SymPy Boolean classes to allow basic arithmetic so you can use the results of comparisons in expressions and they are automatically cast to 1 and 0 just like in Python.
</p>

<h4 id="Vectors and Matrices">Vectors and Matrices</h4>

<p>
Vectors are passed as a single level of brackets such as "<b>\[1, 2]</b>" or "<b>\[x, y, z]</b>" and these are interpreted as column matrices.
Matrices are passed as nested rows of brackets with the first bracket being preceeded by a slash.
A 2x3 matrix would be specified as  "<b>\[[1, 2, 3], [4, 5, 6]]</b>", a 1x3 would be "<b>\[[1, 2, 3]]</b>" and a 3x1 would be either "<b>\[[1], [2], [3]]</b>" or the easier to write "<b>\[1, 2, 3]</b>" since this is equivalent.
These can also be entered using LaTeX "<b>\<span></span>begin{(v|b|p|)matrix} \<span></span>end{(v|b|p|)matrix}</b>" format.
</p>

<h4 id="Piecewise Expressions">Piecewise Expressions</h4>

<p>
These are supported and can be entered as SymPy "<b>Piecewise</b>" functions, LaTeX "<b>\<span></span>begin{cases} \<span></span>end{cases}</b>" notation or the native Python-like conditional expressions of the form "<b>a if condition else b</b>".
They may be arbitrarily long - "<b>a if condition1 else b if condition2 else ...</b>" and may leave off the last "<b>else</b>" which is equivalent to a SymPy "<b>Piecewise</b>" function without a terminating "<b>True</b>" condition.
</p>

<h4 id="Function Types">Fuctions</h4>

<p>
Apart from the top level SymPy functions which are available for calling but not as objects to be passed around or for assigning, there are two other types of function objects which can be manipulated in SymPad.
There are lambda functions which can be assigned expressions and executed in SymPad like normal SymPy functions, and even passed into Python code to be executed like normal Python lambdas.
There are also undefined mathematical function objects to be used mostly in differential equations.
These last two types can be assigned and passed around in SymPy just like any other type, unlike top-level SymPy module functions which can only be called.
The details of their operations are discussed in the <a href="#Functions">Functions</a> section below.
</p>

<h4 id="Strings, Lists, Tuples and Dictionaries">Strings, Lists, Tuples and Dictionaries</h4>

<p>
These exist for the sole purpose of passing arguments to SymPy functions, not really to be operated on (though basic operations work).
Strings work as expected being enclosed by single or double quotes and supporting escape sequences, for example "<b>Limit (1/x, x, 0, '-')</b>".
Standard Python bracket enclosed lists and optionally parentheses enclosed tuples are accepted.
Like strings these exist for the purpose of passing parameters to functions like "<b>Matrix ([[1, 2], [3, 4]])</b>".
Standard Python dictionaries are entered using the same format as Python "<b>{a: b, c: d}</b>" and like strings, lists and tuples these exist for the purpose of passing and recieving parameters to and from functions.
</p>

<h4 id="Sets">Sets</h4>

<p>
These are not the standard Python sets but rather are represented internally by the SymPy object "<b>FiniteSet</b>".
They can be entered via said "<b>FiniteSet</b>" function or via standard Python syntax for sets containing more than one element like "<b>{a, b, c}</b>".
To enter a set of zero or one element use the slash-curly set override syntax to open the set as such "<b>\{1}</b>" or "<b>{1,}</b>" for a one-element set or "<b>\{}</b>" for the empty set, otherwise for one element the curlys would be interpreted as parentheses and just like in Python the "<b>{}</b>" string is an empty dictionary, not a set.
As said these are converted to "<b>FiniteSet</b>" for evaluation. If however you need a true Python set for some reason then wrap the set or any other iterable in the Python "<b>set()</b>" function, this will always result in a Python set inside the calculations, though it will be returned to SymPy as a "<b>FiniteSet</b>" after the calculation completes.
</p><p>
The following default sets are available at the top level: "<b>Complexes</b>", "<b>Reals</b>", "<b>Naturals</b>", "<b>Naturals0</b>" and "<b>Integers</b>".
</p>

<h4 id="Variables">Variables</h4>

<p>
Variable names can be a mix of Python and LaTeX format, they can be multi-character but cannot start or end with an underscore "<b>_</b>", or start with a number, though they may contain those.
Standard identifiers are accepted as well as single Greek letters optionally preceded by a slash such as "<b>\alpha</b>" ($\alpha$), "<b>epsilon</b>" ($\epsilon$) or "<b>\Psi</b>" ($\Psi$).
The Greek letters recognized and rendered in ... Greek ... are only those normally present within LaTeX which can not be visually confused with Latin letters, which Greek letters are accepted in Unicode as well.
Variables names with a trailing number are displayed with that number as a subscript, and parsing of a variable from LaTeX format with a numerical subscript like "<b>x_{2}</b>" results in a variable name of "<b>x2</b>", currently these subscripts can only be non-negative integers.
</p><p>
The variable names "<b>i</b>", "<b>e</b>" and "<b>\pi</b>" represent their respective mathematical constants $i$, $e$ and $\pi$.
"<b>pi</b>", "<b>oo</b>" and "<b>zoo</b>" are also available for $\pi$, $\infty$ and $\widetilde\infty$.
Python's "<b>None</b>", "<b>True</b>" and "<b>False</b>" are also present, as well as "<b>nan</b>".
By default, the lowercase "<b>e</b>" and "<b>i</b>" letters are used to represent Euler's number and the imaginary unit instead of the default SymPy uppercase "<b>E</b>" and "<b>I</b>".
This is objectively prettier, but can be changed via the "<b>env (EI)</b>" and "<b>env (noEI)</b>" function.
The SymPy constant usage can also be activated via the command line switch "<b>--EI</b>".
</p><p>
Differentials are entered as "<b>dx</b>", "<b>partialx</b>", "<b>\partialx</b>", "<b>\partial x</b>" or "<b>∂x</b>" and are treated as a single variable.
If you want to enter "<b>d</b>" * "<b>x</b>" multiplied implicitly then put a space between them or two spaces between the "<b>\partial</b>" and the "<b>x</b>".
There is nothing special about differential variables other than their specific meaning in differentiation and integration.
</p><p>
Variables may be assigned values, references to other variables or even entire expressions which will subsequently be substituted for those variables in any future expression evaluation.
When variable assignments exist then any instance of that variable used almost anywhere will be replaced with the value of the variable, this can lead to errors if you forgot a variable is assigned and try to use it as a free variable.
For example, when "<b>x</b>" is not assigned to anything then "<b>series (e**x, x, 0, 5)</b>" will give the correct answer, but set "<b>x = 1</b>" and all of a sudden you have a different result, set it to 2 and you have an error.
For more on this see <a href="#Variable Assignment">Variable Assignment</a>.
</p>

<h4 id="Symbols and Assumptions">Symbols and Assumptions</h4>

<p>
Symbols are objects which represent a variable and if you use variables in an expression then you are implicitly using SymPy "<b>Symbol</b>" objects.
The default symbols which are created for normal variables like "<b>x</b>" however do not contain any extra information which may be useful for certain calculations.
This extra information comes in the form of SymPy assumptions which allow you to specify whether a variable is real or positive or commutative or hermitian etc...
To create a symbol with this extra information use the "<b>$</b>" symbol pseudo-function, the format is "<b>$name (assumption = True | False | None)</b>", so for example a variable "<b>x</b>" known to be real would be created as "<b>$x (real = True)</b>".
The name part of a "<b>$name (...)</b>" symbol is optional and you can use anonymous symbols without any problems.
The "<b>(...)</b>" part is also optional but if that is omitted then the symbol created is just the normal variable without any assumptions, which is normally not useful except if you have that variable already mapped to a symbol which does have some assumptions and is thus not equivalent.
</p><p>
The SymPy assumption model works on fuzzy boolean logic where "<b>True</b>" means that the assumption is true, "<b>False</b>" means that it is false and "<b>None</b>" means that it is unknown whether the assumption is true or false.
It is the true and false values for the assumptions which can simplify calculations or even make them possible whereas they would not normally be so if the information were not provided.
To get an idea for how the assumptions operate try entering "<b>$(negative = True) &lt; 0</b>" and see what you get, this evaluates to "<b>True</b>" because all negative numbers are smaller than "<b>0</b>".
The only assumption that is made for default symbols which are created is "<b>commutative = True</b>", but of course you can create a symbol where this is false, though it can not be unknown.
</p><p>
It is not convenient to have to type all this every time you reference a symbol in an expression so of course these symbols may be assigned to variables, even variables of the same name (where normally this is disallowed).
In fact for the sake of sanity it is suggested that you give "<b>$</b>" symbols the same name as the variable you assign them to, though this is not enforced and you can even reassign them from one variable to another.
Thus if you do "<b>x = $x (real = True)</b>" then from that point on any time you use the "<b>x</b>" variable in an expression it will be assumed to be real until you delete the variable.
As a convenience any time you assign an anonymous symbol "<b>$(something = True)</b>" to a variable then the symbol will take on the name of the variable you are assigning it to.
Any symbols with assumptions coming back from SymPy calculations are automatically mapped back to the variables to which they are assigned, if any, in order to keep things tidy.
</p><p>
For a list of assumptions you can assign to symbols see <a href="#Assumptions">Assumptions</a>.
</p>

<h2 id="Operations">Operations</h2>

<p>
What follows is a list of common mathematical operations which SymPy facilitates via a quick input shorthand vs. having to write out entire functions in SymPy.
This is not a list of everything which can be done in SymPad, since SymPad sits on top of SymPy which provides a large library of mathematical operations, see <a href="https://docs.sympy.org/latest/index.html" target="_blank">SymPy Documentation</a> for more information and experiment.
</p>

<h4 id="Addition and Multiplication">Addition and Multiplication</h4>

<p>
Addition is addition and subtraction is subtraction: "<b>a + b</b>", "<b>a - b</b>".
Multiplication is explicit with a "<b>*</b>" operator or implicit simply by writing two symbols next to each other with a space in between so that "<b>a * b</b>" is the same as "<b>a b</b>".
There is however a difference between the two in that the implicit version has a higher precedence than the explicit, which means that explicit multiplication will end a limit, sum, derivative or division "<b>/</b>" expression whereas implicit multiplication will not, e.g. "<b>1/x y</b>" = $\frac{1}{x y}$ whereas "<b>1/x*y</b>" = $\frac{1}{x} \cdot y$.
</p><p>
Division also has two operators, the normal "<b>/</b>" which has a fairly low precedence and the LaTeX "<b>\frac</b>" version which has a very high precedence, even higher than exponentiation.
So high in fact that parentheses are not needed if using "<b>\frac</b>" as an exponent as in "<b>x**\frac{3}{2}</b>" = $x^\frac{3}{2}$, whereas "<b>x**3/2</b>" is $\frac{x^3}{2}$.
The "<b>\frac</b>" operation also does not need parentheses if using single digit operands or single letter variables (Latin or Greek) such as "<b>\frac12</b>" = $\frac12$ or "<b>\frac\alpha\beta</b>" = $\frac\alpha\beta$.
</p>

<h4 id="Exponentiation">Exponentiation</h4>

<p>
There are two power opearators "<b>^</b>" and "<b>**</b>".
They have the same precedence and can be used interchangeably but follow slightly different parsing rules.
The "<b>^</b>" operator follows LaTeX rules which only allow a single positive digit or letter variable (Latin or Greek) without the use of curly braces whereas the "<b>**</b>" follows Python rules which allow negative values or variables or functions.
To illustrate the diffference: "<b>x**ab</b>" = $x^{ab}$ whereas "<b>x^ab</b>" parses to $x^ab$.
Also, "<b>e**ln(x)</b>" will work as expected $e^{\ln(x)}$ whereas "<b>e^ln(x)</b>" = $e^ln(x)$.
</p>

<h4 id="Logarithms">Logarithms</h4>

<p>
The natural logarithm of x is specified by "<b>ln x</b>", "<b>\ln x</b>", "<b>log x</b>", "<b>\log{x}</b>". A logarithm in a specific base is specified
by "<b>\log_b x</b>" = $\log_b x$, "<b>\log_{10}(1000)</b>" = $\log_{10}{1000}$ = 3, etc...
</p>

<h4 id="Roots">Roots</h4>

<p>
The square root of x ($\sqrt{x}$) may be entered in any of these forms "<b>sqrt x</b>", "<b>\sqrt x</b>", "<b>sqrt (x)</b>", "<b>\sqrt{x}</b>", with or without the slash.
The cube (or any other) root is similar, $\sqrt[3]x$ = "<b>sqrt[3]x</b>", "<b>sqrt[3] (x)</b>" or "<b>\sqrt[3] {x}</b>".
</p>

<h4 id="Factorial">Factorial</h4>

<p>
"<b>4!</b>" = "<b>24</b>", "<b>x!</b>" = "<b>factorial(x)</b>", "<b>(-0.5)!</b>" = "<b>1.77245385090552</b>" and "<b>simplify(x!/x)</b>" = "<b>gamma(x)</b>".
</p>

<h4 id="Absolute Value">Absolute Value</h4>

<p>
The shorthand for the absolute value of "<b>x</b>" is "<b>|x|</b>" though this may be ambiguous if using multiple absolute value bars, in which case simply wrap it in curly braces or parentheses as such "<b>{|x|}</b>".
</p>

<h4 id="Limits">Limits</h4>

<p>
To take the limit of an expression "<b>z</b>" as variable "<b>x</b>" approaches "<b>y</b>" enter "<b>\lim_{x \to y} (z)</b>" = $\lim_{x\to y} (z)$.
This will only give the limit if it exists and is the same when approaching from both directions, unlike SymPy which defaults to approaching from the positive direction.
To specify a direction add "<b>^+</b>" or "<b>^-</b>" to the equation as such: "<b>\lim_{x \to 0^+} 1/x</b>" = $\lim_{x\to 0^+} \frac1x$ = $\infty$ and "<b>\lim_{x \to 0^-} 1/x</b>" = $\lim_{x\to 0^-} \frac1x$ = $-\infty$.
Addition and explicit multiplication terminate a limit expression.
Limits may also be entered using the standard SymPy syntax "<b>Limit (expression, variable, to)</b>", this defaults to limit from positive direction like SymPy, or you may specify a direction "<b>Limit (expression, variable, to, dir='+-')</b>".
SymPad "<b>\lim</b>" expressions are delimited by explicit multiplication or any operation with lower precedence like addition, set operation, comparisons, etc... so if you want to include those in the limit you need to parenthesize the limit expression like "<b>\lim_{x\to oo} (1/x + x)</b>".
</p>

<h4 id="Sums">Sums</h4>

<p>
The summation (finite or infinite) of expression "<b>z</b>" as variable "<b>n</b>" ranges from "<b>a</b>" to "<b>b</b>" is written as "<b>\sum_{n=a}^b
(z)</b>" = $\sum_{n=a}^b (z)$. Iterated sums work as expected, "<b>\sum_{n=1}^3 \sum_{m=1}^n m</b>" = $\sum_{n=1}^3 \sum_{m=1}^n m$ = 10. Addition and
explicit multiplication terminate a sum expression.
Sums may also be entered using the standard SymPy syntax "<b>Sum (expression, (variable, from, to))</b>".
Like limits, the "<b>\sum</b>" expression is normally delimited by explicit multiplication and below, so use parentheses to include those operations in the expression which is being summed over.
</p>

<h4 id="Differentiation">Differentiation</h4>

<p>
The derivative of expression "<b>z</b>" with respect to "<b>x</b>" is entered as "<b>d/dx z</b>" or "<b>\frac{d}{dx} z</b>" = $\frac{d}{dx} z$.
The second derivative is "<b>d^2/dx^2 (z)</b>" or "<b>\frac{d^2}{dx^2} (z)</b>" = $\frac{d^2}{dx^2} (z)$. Using "<b>\partial</b>" ($\partial$) is allowed but must be consistent within the expression.
Mixed derivatives are entered as "<b>d^2 / dx dy (z)</b>" or "<b>\partial^2 / \partial x\partial y (z)</b>" = $\frac{\partial^2}{\partial x\partial y} (z)$.
Derivatives may also be entered using any of the standard SymPy syntaxes like "<b>Derivative (expression, var1, var2, power2, ...)</b>".
Derivatives can also be specified using prime notation if the given expression has exactly one free variable to derivate, line "<b> sin (x)' </b>" or "<b> (x**3)'' </b>".
Standard $\frac{dy}{dx}$ and $\frac{d^2y}{dx^2}$ forms are also accepted as "<b>dy/dx</b>" and "<b>d**2y/dx**2</b>" and if the variable "<b>y</b>" contains an expression, lambda or undefined function then that will be differentiated.
</p>

<h4 id="Integration">Integration</h4>

<p>
The anti-derivative of expression "<b>z</b>" with respect to "<b>x</b>" is written as "<b>\int z dx</b>" = $\int z\ dx$.
The definite integral from "<b>a</b>" to "<b>b</b>" is "<b>\int_a^b z dx</b>" = $\int_a^b z\ dx$. "<b>\int dx/x</b>" = $\int \frac1x\ dx$.
The definite integral can also be specified without the base value as "<b>\int^b z dx</b>" in which case it will go from "<b>0</b>" to "<b>b</b>".
Iterated and improper integrals also work. Integrals may also be entered using the standard SymPy syntax "<b>Integral (expression, (variable, from, to), ...)</b>".
</p>

<h4 id="Logic Operations">Logic Operations</h4>

<p>
The standard Python "<b>or</b>", "<b>and</b>" and "<b>not</b>" operations are present but they are implemented using SymPy "<b>Or</b>", "<b>And</b>" and "<b>Not</b>" objects.
Though by default these objects work only on booleans and not things like lists or tuples or other objects, SymPad makes them work by coercing any objects which they do not accept to booleans.
</p>

<h4 id="Comparison">Comparison</h4>

<p>
Are parsed from the standard Python "<b>=, ==, !=, &lt;, &lt;=, &gt;, &gt;=</b>", LaTeX "<b>\ne, \neq, \lt, \le, \gt, \ge</b>" and also Unicode "<b>≠, ≤, ≥, ∈, ∉</b>" symbols.
Extended multiple argument comparison is supported like in Python "<b>x &lt; y &lt; z</b>", though as it is not natively supported by SymPy, SymPad works around this by converting these to "<b>And</b>" expressions of multiple infividual comparisons.
Note that the "<b>=</b>" and "<b>==</b>" operators are equivalent for SymPy and mapped to the same "<b>Eq</b>" object in expressions but the single "<b>=</b>" operator has a lower precedence is SymPad than the others and is used by for variable assignment whereas the double "<b>==</b>" only ever implies comparison.
Also, although SymPad can generally infer the meaning of the single "<b>=</b>" whether it is an assignment, a keyword argument to a function or an equation, to be absolutely sure that an equation is treated as such use the double "<b>==</b>" operator.
</p><p>
The membership test "<b>in</b>" and "<b>not in</b>" are related to the comparison operators in that they generate a boolean value and just like in Python they live on the same precedence level.
These may be entered like in Python, using the LaTeX versions "<b>\in</b>" and "<b>\notin</b>" or directly using the Unicode characters "<b>∈</b>" and "<b>∉</b>" and they test for membership in any sequence or iterable.
</p>

<h4 id="Set Operations">Set Operations</h4>

<p>
These basic set operations are supported: "<b>+</b>", "<b>||</b>", "<b>\cup</b>" or "<b>∪</b>" for union - "<b>{1, 2} || {2, 3} = {1, 2, 3}</b>".
"<b>&&</b>", "<b>\cap</b>" or "<b>∩</b>" for intersection - "<b>{1, 2} && {2, 3} = {2,}</b>".
"<b>^^</b>", "<b>\ominus</b>" or "<b>⊖</b>" for symmetric difference - "<b>{1, 2} ^^ {2, 3} = {1, 3}</b>".
"<b>-</b>" for relative complement - "<b>{1, 2} - {2, 3} = {1,}</b>".
The comparison operators can be applied to sets to test for subset "<b>&lt;</b>", proper subset "<b>&lt;=</b>", superset "<b>&gt;</b>" or proper superset "<b>&gt;=</b>".
The membership test operators "<b>in</b>" and "<b>not in</b>" work on sets as expected.
</p><p>
SymPy sets are a little broken in that the set operations will not accept undefined variables as stand-ins for sets to be evaluated later, which would mean that lambda functions using sets would not normally be possible.
A partial fix is to wrap the set operations in a lambda or variable assignment using the double no-evaluate pseudo function like this "<b>f = lambda a, b: %%(a || b)</b>", this will allow you to use the lambda but will still error out if you try to assign it to another
variable or view it.
</p>

<h4 id="Substitution">Substitution</h4>

<p>
Explicit substitution of variables and even whole expressions with other expressions is supported with the "<b>\. expr |_{x = y}</b>" shorthand.
This maps directly to SymPy substitution of the form "<b>Subs (expr, x, y)</b>" and will replace any occurrances of the variable "<b>x</b>" in the expression with the variable "<b>y</b>", assuming that "<b>x</b>" has not been globally mapped to something else.
The LaTeX syntax for this is "<b>\left. expr \right|_{x = y}</b>" with the "<b>\substack</b>" operator being accpeted to specify multiple ordered substitutions like "<b>\left. expr \right|_{\substack{x = y \\ z = w}}</b>".
Multiple substitutions can also be specified via comma-separated assignments like "<b>\. expr |_{x = y, z = w}</b>" or as a single tuple assignment "<b>\. expr |_{x, z = y, w}</b>".
The substitutions are not limited to variables, any expression can be substituted for any other expression, so "<b>\. 2x / 3 |_{2/3 = 5/7}</b>" will result in "<b>5x / 7</b>".
The substituted expressions need not even be exact as SymPy will attempt to discover an implicit variable mapping when it is executing the substitution and thus "<b>\. x |_{1/x = 2}</b>" will result in "<b>1/2</b>" even though "<b>x</b>" is not explicitly listed as a substitution.
</p>

<h4 id="Parentheses">Parentheses</h4>

<p>
Explicit "<b>( )</b>" or implicit curly "<b>{ }</b>" parentheses allow prioritization of lower precedence operations over higher ones as usual and also delineate an expression as an input to a function.
They may be used interchangeably for single expressions, the only difference being that the implicit version is not drawn if it does not need to be.
The case where explicit "<b>( )</b>" parentheses are needed ... explicitly ... is when calling functions in general and always when calling functions which take multiple parameters like "<b>max(1, 2, 3)</b>".
The curly braces are used as shorthand for sets and dictionaries if commas are present, but that is a different syntactic usage, curlys with no commas are essentially invisible parentheses.
Parentheses following undefined variables can also create undefined function objects if the contents of the parentheses are valid for such a definition, for more on this see <a href="#Undefined Functions">Undefined Functions</a>.
For more on parentheses in general see <a href="#Functions, Parentheses and Implicit Multiplication">Functions, Parentheses and Implicit Multiplication</a>.
</p>

<h4 id="Indexing">Indexing</h4>

<p>
Python style bracket indexing is natively supported for all objects using single or tuple indices and slices - "<b>'Hello'[::-1]</b>" = "<b>'olleH'</b>", "<b>\[[1, 2, 3], [4, 5, 6]] [1, 2]</b>" = "<b>6</b>" and "<b>\[[1, 2, 3], [4, 5, 6]] [:, 1:]</b>" = "<b>\[[2, 3], [5, 6]]</b>".
</p>

<h4 id="Member Access">Member Access</h4>

<p>
You can access member data or functions of an expression just like in Python with the "<b>.</b>" operator.
If the attribute name following the dot is followed by a parenthesized expression then it will be treated as a function call instead of an implicit multiplication, otherwise it is a data member.
For example, two ways to get the transpose of a matrix are "<b>\[[1, 2, 3], [4, 5, 6]].T</b>" and "<b>\[[1, 2, 3], [4, 5, 6]].transpose ()</b>".
</p>

<h4 id="Variable Assignment">Variable Assignment</h4>

<p>
Using the syntax "<b>var = expression</b>" you can assign some value to be substituted for that variable in all expressions.
For example, doing "<b>x = pi</b>" and then evaluating "<b>cos x</b>" will give you "<b>-1</b>".
Anything can be assigned to any valid variable like mathematical expressions, Python objects like strings or lists, user lambda functions or even references to other variables.
To delete an assignment use the "<b>del var</b>" function or "<b>del (var1, var2, ...)</b>" to delete multiple variables, to delete all variables use "<b>delall()</b>".
To see what variables are currently assigned use the "<b>vars()</b>" function.
</p><p>
Tuple assignment is supported and as in Python the source can be another tuple or a single iterable object like "<b>x, y = 1, 2</b>".
A useless example of iterable assignment would be setting "<b> a, b, c = 'str' </b>" which would give you "<b> a = 's' </b>", "<b> b = 't' </b>" and "<b> c = 'r' </b>".
</p><p>
There are two distinct types of assignment that can occur and you should be aware of the difference between them.
Copy assignment is the standard type of assignment used by default in most computer languages where if you start with "<b>x = 1</b>" and you then enter "<b>y = x</b>" then the value "<b>1</b>" will be copied to the "<b>y</b>" variable.
The value of "<b>y</b>" will be independent of whatever else happens to the variable "<b>x</b>" after this.
</p><p>
The other kind of assignment is a reference assignment which will map the source variable instead of copying its value to the target.
This means that if you have a reference set like "<b>y = x</b>" and the value of "<b>x</b>" changes then the value of "<b>y</b>" will reflect this new value as well.
The reference assignment happens if you try to assign variables which do not exist, so setting "<b>y = x</b>" before "<b>x</b>" has been created will result in a reference.
Otherwise you can force a reference by using the "<b>@</b>" pseudo-function.
Doing "<b>y = @x</b>" will create a reference to "<b>x</b>" itself instead of copying the value if it exists.
The "<b>@(expr)</b>" function technically prevents variable remapping for the expression it encompasses, so if you have the variable "<b>x = 2</b>" set and you do "<b>@x</b>" then you will get "<b>x</b>" and not "<b>2</b>".
</p><p>
Another potentially useful meta-function for assignment is "<b>%(expr)</b>".
This function defers evaluation of the expression thus allowing things like assigning an integral operation to a variable instead of the result of the integral - "<b>f = %(\int x dx)</b>".
In this way you can assign different values to "<b>x</b>" and have the integration happen automatically any time you access the "<b>f</b>" variable instead of just using the result of whatever variables were defined at the time of definition.
</p><p>
One more thing to be aware of is that differentials in derivatives and integrals get remapped based on the underlying variable if possible otherwise the original differential is used.
For example the derivative "<b>d/dx (y**2)</b>" will be treated as "<b>d/dy (y**2)</b>" if you have a global variable set "<b>x = y</b>", likewise "<b>\int y dx</b>" will be remapped to "<b>\int y dy</b>" in that case.
This also happens in lambda functions so that you can specify differentials to use (as non-d variables), see the <a href="#Lambda Function Examples">Lambda Function Examples</a> section for more on this.
</p><p>
If you assign an unnamed undefined function or symbol to a variable then that undefined function or symbol will take on with the name of the variable it is being assigned to, this is done for convenience and sanity.

</p><p>
One caveat to be aware of - since SymPad supports implicit multiplication without an explicit "*" operator and parentheses are used for grouping as well as function calls and definitions of undefined functions the underlying grammar is ambiguous and dependent on the current state of ssigned variables.
Parsing as well as writing out of expressions will vary according to what variables are mapped to so for example if the variable "<b>f</b>" is unassigned then "<b>f (x)</b>" is parsed as an undefined function "<b>f</b>" of one variable "<b>x</b>".
If the variable "<b>f</b>" is assigned to a user lambda function like "<b>lambda x: x**2</b> then "<b>f (x)</b>" is parsed as a lambda call and evaluates to "<b>x**2</b>".
If however "<b>f</b>" is assigned to something like "<b>2</b>" then "<b>f (x)</b>" is parsed as "<b>f * x</b>" and the result is "<b>2x</b>".
This dependence on variable state is taken into consideration when an expression is written out to Python, LaTeX or the shorthand format since it is written to be valid in the current variable context.
So for example for the three cases given the respective Python representations emitted would be "<b>Function('f')(x)</b>", "<b>f(x)</b>" (since the variable is assumed to contain the "<b>Lambda</b>" object it is just called) and "<b>f * (x)</b>" (again the variable is assumed to be set in Python to "<b>2</b>").
</p>

<h4 id="Automatic Simplification">Automatic Simplification</h4>

<p>
Apart from the explicit simplification you can always do via the "<b>simplify()</b>" function, SymPad can try to automatically simplify the result of any calculation before returning it.
This can be useful due to the fact that many times SymPy prefers to return results quicker and leaves the option to simplify to the user, whereas SymPad is the kind of application which should always present the simplest possible representation of a result, though this may not always be desirable since certain SymPy functions return equations in a certain standard form which may be ruined by a simplification.
For that reason this behavior can be turned on or off as desired by calling "<b>env('simplify')</b>" to turn it on and "<b>env(nosimplify)</b>" to turn it off, note the string quotes since "<b>simplify</b>" is a reserved SymPy function name.
</p><p>
A separate type of simplification is done for matrix operations since native SymPy matrix operations tend to blow up fairly quickly.
This simplification is on by default and simplifies matrices any time they are multiplied which helps control intermediate results in complex matrix operations and gives an already simplified answer once the operation completes.
This tends to slow down normal matrix operations a little but prevents the kind of lockup that can occur if a complex operation leaves a matrix in a state which is impossible for the normal "<b>simplify()</b>" function to correct.
This simplification can be turned off and on via "<b>env(nomatsimp)</b>" and "<b>env(matsimp)</b>".
</p>

<h4 id="More...">More...</h4>

<p>
The operations listed above are just the ones SymPad parses and represents in a standard mathematical format but SymPy contains many more functions which carry out many different operations on expressions and equations. I have not explored all of them and can not guarantee that SymPad will work flawlessly in each case as SymPy itself has many internal inconsistencies with how it deals with its own objects. The best way to see if something you need is available and works is to go through the SymPy documentation and try the functions directly in SymPad - <a href="https://docs.sympy.org/latest/index.html" target="_blank">SymPy Documentation</a>. Also you can check the <a href="#More Examples">More Examples</a> section for things that I have tried in SymPad.
</p>

<h2 id="Functions">Functions</h2>

<p>
There are three types of functions SymPad deals with:
Native SymPy functions are available for use directly, they cannot be assigned however so aliases like "<b>D = Derivative</b>" do not work, though there is a workaround described below.
User created concrete lambda functions can represent any expression, can be called for evaluation, passed to native SymPy functions and can be referenced by and copied to variables.
And finally undefined functions are abstract mathematical objects used in differential equations.
In addition, member functions of objects are supported like "<b>Matrix ([1, 2, 3]).transpose ()</b>".
The first two classes of functions may take a single unparenthesized argument or multiple parenthesized comma-separated arguments and the SymPy functions take optional keyword arguments as well.
</p>

<h4 id="SymPy Functions">SymPy Functions</h4>

<p>
Almost all SymPy functions and objects from the top level of the SymPy module are made available directly for calling by their name like "<b>tan(x)</b>", the only restriction being they must be longer than a single character and may not begin with an underscore.
Many functions from the "<b>__builtins__</b>" module are made available as well as a convenience, for example "<b>print ("Hello World...")</b>".
Only the "safe" "<b>__builtin__</b>" functions are specifically made available, functions like "<b>eval</b>", "<b>exec</b>" and many more have been left out and are not accessible.
</p><p>
SymPy functions accept a standard notation for exponentiation in the form of "<b>sin**2(x)</b>", this is equivalent to "<b>(sin (x))**2</b>".
In the case of trigonometric and hyperbolic functions this shorthand changes the function to its inverse if the exponent is "<b>-1</b>" so that "<b>sin**-1 (x)</b>" is the same as "<b>acos (x)</b>".
This only applies to a "<b>-1</b>" exponent right after the function name and before the argument of a trigonometric or hyperbolic function, in all other cases a negative exponent is just a negative exponent.
This shorthand exists only for the concrete SymPy functions, it does not work with lambdas or undefined functions.
</p><p>
SymPy and user lambda functions don't require explicit parentheses if they take a single argument in order to allow quick entry like "<b>sqrt 2</b>" or "<b>sin**-1 x</b>", but for any argument more complicated than another function or variable to a power parentheses will be needed.
These unparenthesized functions can be chained like "<b>N ln sin 2</b>".
Functions which take zero or more than one argument, as well as member functions such as "<b>\[[1, 1], [0, 1]].det()</b>" always require explicit parentheses.
</p><p>
Many functions which have a standard mathematical display style are translated on the fly for rendering in that style, these include the functions "<b>abs/Abs (x)</b>" which are rendered as the standard bar syntax for absolute value "<b>|x|</b>", the "<b>factorial (x)</b>" function becomes "<b>x!</b>" and "<b>exp (x)</b>" displays as "<b>e^x</b>".
Some other functions which are translated are "<b>Derivative</b>", "<b>diff</b>", "<b>Integral</b>", "<b>integrate</b>", "<b>Limit</b>", "<b>limit</b>", "<b>Matrix</b>", "<b>Piecewise</b>", "<b>pow</b>", "<b>Pow</b>", "<b>Sum</b>" and more...
</p><p>
Top level SymPy functions with a single letter name are treated specially in SymPad, this is because single letters are very commonly used as variables.
These special single letter functions are "<b>N</b>", "<b>O</b>", "<b>S</b>", "<b>beta</b>", "<b>gamma</b>", "<b>Gamma</b>", "<b>Lambda</b>" and "<b>zeta</b>", as you can see "single letter" does not mean "single character" but rather includes Greek letters as well.
Normally these letters can be used as variables and assigned to, but if they are used in a function context (including unparenthesized calls or implicit undefined function specification) they will instead be parsed as a function call to the SymPy function instead.
SymPad allows you to disable this behavior individually for each of these functions thus freeing up the letter to be used as a variable in all contexts via the "<b>env()</b>" environment function or command line options, for more on manipulating the environment and these options see <a href="#Admin Functions">Admin Functions</a>.
</p>

<h4 id="Lambda Functions">Lambda Functions</h4>

<p>
User created lambda functions are supported and are defined in the same way as Python lambdas - "<b>lambda x, y: sqrt (x**2 + y**2)</b>" or via the SymPy "<b>Lambda</b>" function like "<b>Lambda ((x, y), sqrt (x**2 + y**2))</b>".
These functions can be defined on-the-fly in a call to a SymPy function for use within that function or they can be assigned to a variable to make them usable in SymPad.
You can assign them to a variable like "<b>f = lambda x: x**2</b>", or with the alternative shorthand "<b>f (x) = x**2</b>", now when you call "<b>f (3)</b>" you will get "<b>9</b>" as the result.
</p><p>
When a lambda function is defined any non-private lambda variables in the body of the lambda are mapped to their global values and no expressions are "<b>doit ()</b>"-ed, this means that if a lambda references an assigned global variable the variable will be replaced with its value within the lambda definition.
If you do not want to bind the value of a global variable in a lambda definition but rather have the value retrieved upon execution of the lambda then use the "<b>@</b>" pseudo-function when referencing that variable as such "<b>f = lambda: @x</b>", this will leave the lambda definition referencing an "<b>x</b>" variable which will be bound upon execution.
</p><p>
Since lambda definitions do not have "<b>.doit()</b>" executed by default, this also means that if you create a lambda like "<b>f = lambda x: \int x dx</b>", the integral will not be evaluated until the lambda is executed, since that is one of the operations that is not evaluated unless a "<b>doit ()</b>" is called.
In this case, whatever is passed in for the "<b>x</b>" variable upon evaluation will attempt to convert the "<b>dx</b>" to its own differential, and if that "<b>x</b>" variable resolves to a pure variable like "<b>y</b>" and not an expression then the "<b>dx</b>" will be changed to a "<b>dy</b>", otherwise the integration is done with respect to the original "<b>dx</b>".
This does not apply if you use the lowercase SymPy functions like "<b>integrate ()</b>" or "<b>limit ()</b>" which are always evaluated even in the definition of a lambda function unless they are prevented from doing so by a "<b>%</b>" or double "<b>%%</b>" pseudo-function, for more on that see the section on pseudo-functions just below.
</p><p>
Lambdas may be passed to SymPy and other Python functions and they will be passed as SymPy "<b>Lambda</b>" objects.
Lambda functions may reference other lambda functions as long as those are defined at the time of creation and will normally map be body of the target lambda into itself.
They may also use undefined functions in the body which, if a lambda is defined at the time of execution with the same name, will attempt to call that lambda, otherwise they will just be evaluated as undefined functions.
This is done on purpose because outside of SymPad "<b>Lambda</b>" objects can not reference other "<b>Lambda</b>" objects indirectly and thus these lambdas would not work if passed on to a SymPy function.
Lambdas can be called directly as in "<b>{lambda x: x**2} (3)</b>".
Lambda recursion is not supported because there is no underlying mechanism to make it work with SymPy "<b>Lambda</b>" objects.
</p><p>
Lambda functions can be used as expressions in most contexts, this means that the body of the function is used directly in a calculation with the non-local variables being mapped to their global values.
Specifically, lambdas are treated as expressions if they are not enclosed in parentheses, brackets, tuples, sets or dictionaries or if they are part of an argument list to a function call.
If you want the lambda treated as an expression in these contexts then wrap it in parentheses.
Note that this only applies to lambdas assigned to and accessed through variables, lambdas declared directly are always treated as lambdas.
</p><p>
Lambdas can also be called after differentiating the lambda, something with makes working with differential equations easier since you can assign the result of a solve to a lambda and call its derivatives to check on initial or boundary conditions.
For more on all of this see <a href="#Lambda Function Examples">Lambda Function Examples</a>.
</p>

<h4 id="Undefined Functions">Undefined Functions</h4>

<p>
Undefined functions are mathematical function objects but without any specific expression or lambda body defined, they are used mainly in differential equations.
These functions are entered explicitly as "<b>?name (x, y, ...)</b>" with the name being optional but necessary if you need to differentiate between various functions (like in a system of differential equations).
They can also be specified implicitly as "<b>name (x, y, ...)</b>" without the question mark if the name is not already defined as another lambda function.
The arguments to an undefined function can be anything, variable names, concrete immediate values to specify initial conditions or even entire expressions - though only if using the explicit form of definition with the question mark, otherwise the parenthesized expression is treated as a gouping.
Optional keyword arguments for specifying assumptions about the function are also accepted which will be passed on to the SymPy "<b>Function()</b>" call.
</p><p>
The variable list for an undefined function, just like the variable list for a lambda function, is usually not remapped (except if doing substitution or "calling" the undefined function) which means that even if you have the variable "<b>x</b>" assigned globally you can still use the variable name "<b>x</b>" in the definition of an undefined function.
Implicit assignment to an undefined function at the highest level of an expression is a shortcut for defining a lambda function, e.g. "<b>f(x) = x**2</b>" is equivalent to "<b>f = lambda x: x**2</b>".
Conversely the assignment "<b>f = f (x)</b>" will designate the variable "<b>f</b>" to always act as an undefined function of one variable "<b>x</b>".
This form of definition works if "<b>f</b>" is not already assigned to something, if it is then you need to specify the undefined function explicitly like "<b>f = ?f (x)</b>".
One point of convenience is that anonymous undefined functions will take on the name of the variable they are being assigned to, so for example the assignment "<b>u = ? (u, t)</b>" is equivalent to writing "<b>u = ?u (u, t)</b>".
For the sake of your own mental health you should try to always give an undefined function the same name as the variable it is being assigned to.
</p><p>
Undefined functions may be used directly in the "<b>dsolve()</b>" and "<b>pdsolve()</b>" functions to solve a differential equation or system of equations, but it is cleaner to first map them to a variable so that the resulting equation looks as it normally does in mathematical syntax.
For example you can do "<b>dsolve (y(x)'' + 2y(x)' - y(x))</b>", but it is much cleaner to first set "<b>y = y(x)</b>" and then do "<b>dsolve (y'' + 2y' - y)</b>". If you are solving a system of differential equations then it is even more useful to use variables since you will need to differentiate the undefined functions using names like "<b>x, y = x(t), y(t)</b>".
This will give you a clean "<b>dsolve ((x' = 12t x + 8y, y' = 21x + 7t y))</b>" instead of having to type the functions out constantly like "<b>dsolve ((x(t)' = 12t x(t) + 8 y(t), y(t)' = 21x(t) + 7t y(t)))</b>".
Initial values for differential functions are supported and can be passed of the form "<b>dsolve (y'' + 11y' + 24y, ics = {y(0): 0, y'(0): -7})</b>" if "<b>y = y(x)</b>" is already defined or "<b>dsolve (y(x)'' + 11y(x)' + 24y(x), ics = {y(0): 0, y(x)'(0): -7})</b>" if it is not, notice that the first initial condition "<b>y(0)</b>" did not need to be specified as an undefined function of a variable first.
The "<b>ics</b>" keyword argument is a dictionary of undefined functuions at specific points with their values.
</p><p>
Pure undefined functions are those which have only non-constant variables as parameters.
If a pure undefined function is assigned to a variable then that variable may be "called" with a parenthesized list of expressions matching the number of variables in the undefined function.
This will create a new undefined function with those values as parameters which can be used to set initial conditions for a differential equation solver, for example a variable mapped as "<b>y = y(x)</b>" will turn into the function "<b>y(0)</b>" if the variable "<b>y</b>" is called as "<b>y(0)</b>".
If a variable is not currently mapped to an undefined function then this initial condition can be created directly just by writing "<b>y(0)</b>".
However if the variable is mapped to something which is not an undefined function, or is not pure, or the number of arguments don't match then you will need to use the explicit "<b>?y(0)</b>" form to specify this initial condition.
</p><p>
The derivative of an undefined function may be called to specify initial conditions for that derivative of the function.
"<b>y(x)'(0)</b>" means the value of the first derivative of the function at "<b>0</b>", this is of course easier if the function is already mapped to a variable like "<b>y = y(x)</b>" so you can do "<b>y'(0)</b>".
Partial derivatives of multi-variable undefined functions can also be taken and called.
In the case of a function mapped as "<b>u = u(x, t)</b>", you can do "<b>du/dx (0,0)</b>" or $\frac{du}{dx} (0, 0)$ to specify the initial condition at x = 0 and t = 0 of the first derivative of "<b>x</b>" of the function.
If the function is not assigned to a variable then the format to do this is "<b>d/dx(u(x, t))(0,0)</b>" - $\frac{d}{dx}(u(x, t))(0, 0)$, so obviously it saves some typing to assign the function to a varaible.
Also if you have an undefined function assigned to a variable then SymPad will map any undefined functions matching it coming from a SymPy calculation back to the variable to which it is assigned, easier on the eyes this way. Whereas trying to create an undefined function implicitly like "<b>y(a + b)</b>" will be interpreted as "<b>y * (a + b)</b>", this is not the case if "<b>y</b>" is a variable containing a pure undefined function, in which case a new undefined function "<b>y(a + b)</b>" is created.
And you can always assure an undefined function is created by use of the explicit "<b>?</b>" form of the definition.
One last detail is that a derivative of a pure undefined function mapped to a variable will resolve to a derivative of that undefined functions with new elements if called with a parenthesized expression containing the same number of elements as the undefined function has varaibles.
</p><p>
The last use of undefined functions is as placeholders in concrete lambda functions for calls to be bound at evaluation.
Normally when a lambda references another lambda, that lambda needs to exist at the time of definition of the second lambda and the body of the referred lambda is simply copied into the new lambda.
If you use an undefined function in a lambda definition then upon lambda execution it will be bound to any lambda defined with the same name mapped globally, needless to say the number of parameters needs to match.
This is also useful for assigning functions returned from differential equation solvers after getting the solution.
</p><p>
For examples of the usage of undefined functions see <a href="#Ordinary Differential Equations">Ordinary Differential Equations</a> and <a href="#Partial Differential Equations">Partial Differential Equations</a>.
</p>

<h4 id="Pseudo-Functions">Pseudo-Functions</h4>

<p>
SymPad provides two pseudo-functions which control how it resolves variables and evaluates expressions, they are the "<b>@</b>" no-remap and the "<b>%</b>" no-evaluate functions.
The reason these are called pseudo-functions is because they don't actually exist, they are merely annotations for how SymPad is to operate internally.
For this reason they are never included in a Python representation of an expression and that expression pasted back into SymPad will not operate the same as it did originally.
These functions have a very high binding priority in the grammar and thus something like "<b>sin a.b [2]</b>" which normally resolves to "<b>sin (a.b [2])</b>" becomes "<b>@ (a).b [2]</b>" when written without parentheses using a pseudo-function like "<b>@a.b [2]</b>".
Note that, like other functions, they may take a non-parenthesized argument and in fact this is just a quick way to annotate variables like "<b>@x</b>" or ask that the contents of a variable not be evaluated when mapping the variable into the expression like "<b>%x</b>".
</p><p>
The "<b>@</b>" no-remap pseudo function is not actually a no variable remap but rather a scope operation where the value of that variable will be taken from the next outermost scope rather than the current, and normally would be used only once.
This results in an effective no-remap operation when used in the definition of a lambda like "<b>lambda x: x + @x</b>".
What happens in this lambda body is that the first "<b>x</b>" variable binds to the value that is passed in at the time of lambda execution and the second is taken from the global scope, so if "<b>x</b>" is set to "<b>2</b>" globally then the body of the lambda actually becomes "<b>x + 2</b>".
If the "<b>x</b>" variable is not defined globally then the lambda gets a second "<b>x</b>" variable and becomes "<b>2x</b>" since any globally undefined variables default to themselves.
Obviously this is just meant to allow binding of globally defined expressions into a lambda even if a lambda uses local variables of the same name, or for deferred evaluation of a variable name if that variable is defined globally at the time of lambda definition.
This function is not dynamic and only operates at the time of lambda definition, thus you can not access outer scope values once the lambda has been defined.
To be clear though, the use of this function is not restricted to lambdas, if you have a variable assigned to something in the global scope and wish to use the variable itself rather than its contents then prepend the variable with this function.
</p><p>
The "<b>%</b>" no-evaluate pseudo function defers any evaluation of the expression it encloses when the expression is presented to SymPy.
This means that "<b>%(\int x dx)</b>" will return $\int x\ dx$ instead of $\frac{x^2}{2}$ and even "<b>%(1 + 2)</b>" will just return $1 + 2$.
This only operates at the time of the initial evaluation and then the pseudo-function disappears, thus if you evaluate the result again like for example with an assignment from the previous variable like "<b>x = _</b>" then the expression will be fully evaluated before being assigned to "<b>x</b>".
If you want the "<b>x</b>" variable to contain the expression "<b>1 + 2</b>" instead of "<b>3</b>", for some bizarre reason, then simply do the assignment in one step as "<b>x = %(1 + 2)</b>".
</p><p>
This function takes on a different meaning when used at the top level of a lambda function body definition, in this case it actually indicates that the body of the lambda should be "<b>doit()</b>"ed in the lambda whereas normally they are not.
After this initial topmost use the function reverts to its normal mode of operation, which means that if you want to completely defer evaluation at the top level of the body of a lambda then you actually have to specify the "<b>%</b>" function twice like "<b>lambda x: %%(1 + 2 + x)</b>".
The same thing can be achieved by simply doing "<b>f = lambda x: %(1 + 2) + x</b>" instead since in this expression the "<b>%</b>" is no longer the topmost function, the addition is.
</p><p>
Use of these functions is demonstrated <a href="#Pseudo-Function Examples">Pseudo-Function Examples</a> and <a href="#Lambda Function Examples">Lambda Function Examples</a>.
</p>

<h4 id="Functions, Parentheses and Implicit Multiplication">Functions, Parentheses and Implicit Multiplication</h4>

<p>
SymPad supports implicit multiplication, that is writing two variables next to each other to indicate multiplication so "<b>x y</b>" = "<b>x * y</b>".
This brings some problems, such as deciding when "<b>x (a + b)</b>" is a function call and when it is multiplication.
Normally in an unabiguous grammar a set of parentheses will indicate a function call if it is not preceded by an operator, but since with implicit multiplication an operator is optional then interpreting the parentheses becomes trickier.
</p><p>
SymPad solves this for SymPy functions by recognizing all top-level SymPy package function names and classes accepting the next expression as the argument(s) to that function and the whole thing as a call.
Variables mapped to lambda functions are also recognized and treated as a call, whereas variables mapped to other expressions are treated as multiplies with whatever expression follows them (with the exception of undefined functions, more on that further down).
An unmapped variable followed by a parenthesized list of expressions may be treated as the creation of an undefined function if the list of expressions contain only variable names and other constant expressions, or as a multiply if the list of expressions contains any non-constant expression containing other variables.
Member references followed by parenthesized expressions are always treated as member function calls such as "<b>a.b (c)</b>".
</p><p>
When a variable is mapped to a pure undefined function or a derivative of a pure undefined function then a parenthesized list of expressions following that variable with the same number of elements as the undefined function has arguments will create another undefined function with the expressions replacing the original arguments.
However if the undefined function is not pure then the whole thing is treated as a multiply of the undefined function or derivative of the undefined function and the grouping of expressions.
</p><p>
If you wish to prevent any attempt at treating a parenthesized expression as creating a function call or undefined function then simply use the explicit "<b>*</b>" multiplication operator between a variable and the parentheses.
You can also use the curly braces "<b>{...}</b>" as parentheses in place of the normal rounded parentheses "<b>(...)</b>" as long as the expression is not a comma expression which would create a set and has no chance to create a dictionary if there are colons "<b>:</b>" present.
Or you can "parenthesize" the normal rounded parentheses with curly parentheses as "<b>a{(pi + 2)}</b>".
Parenthesizing the parentheses always prevents the parentheses from being treated as a call as well with variables mapped to lambdas and member access.
</p><p>
SymPad normally displays implicit multiplicating with a parenthesized expression without the use of an explicit multiplication operator if that will be unambiguous in the grammar, but sometimes an explicit operator is thrown in just to clarify the meaning if it would appear ambiguous visually or for aesthetic purposes.
There may cases where a variable is mapped to something that will resolve to a Python "callable" object on evaluation but will be displayed with an explicit multiplication operator.
In those cases if the variable does in fact resolve to a callable then even though it was displayed with as an explicit multiplication the parenthesized expression will instead be used as an argument list to the callable, unless you specifically used explicit multiplication or parenthesized the parentheses.
</p>

<h2 id="Plotting">Plotting</h2>

<p>
Basic plotting functionality is available if you have the matplotlib Python module installed on your system.
These functions work more like statements in that they only work at the top level of the parse tree, which means you can not use them in other lambdas, tuples, assignments or semicolon expressions.
</p>

<h4 id="plotf() - Plot Function">plotf() - Plot Function</h4>

<p><b>Examples</b></p>

<p>
<span onclick="cE2C (this)">plotf (x**2)</span><br>
<span onclick="cE2C (this)">plotf (2pi, sin x, cos x, sinc x, tanh x)</span><br>
<span onclick="cE2C (this)">plotf (2, lambda x: 1 / x, '--r')</span><br>
<span onclick="cE2C (this)">plotf (-2, 5, (x**2 - 6x + 9) / (x**2 - 9), ':#green')</span><br>
<span onclick="cE2C (this)">plotf (4, (x**2 + x - 2) / (x - 1), 'b=line', (1, 3), 'o#red=point')</span><br>
<span onclick="cE2C (this)">plotf (-1, 2, -3, 4, (0, 0), 'xr', [1, 1, 1.9, 1], 'vb', [(0.5, 2), (1.5, 3), (1.5, 0), (-0.5, -2)], ':g')</span><br>
<span onclick="cE2C (this)">plotf (pi, -20, 20, tan x, '#c08040=tan x', fs = (12, 4.8), linewidth = 1)</span><br>
<span onclick="cE2C (this)">plotf (2pi, sin x, 'r', {'linewidth': 1}, cos x, 'g', {'linewidth': 3}, fs = 12)</span><br>
<span onclick="cE2C (this)">plotf (1.5, -1.5, 1.5, sqrt (1 - x**2), 'r', -sqrt (1 - x**2), 'r', fs = -8, res = 32)</span><br>
<span onclick="cE2C (this)">plotf (\sum_{n=0}**oo x**n / n!, 'd-#chocolate=e^x', res = 1, linewidth=0.5)</span><br>
<span onclick="cE2C (this)">plotf (4pi, d / dx (sin x / x), sin x / x, \int sin x / x dx)</span><br>
</p>

<p><b>Usage</b></p>

<p>
SymPad provides the "<b>plotf()</b>" function which can be used to plot one or more expressions or lambdas of one free variable or lists of points or lines.
This function works by sampling a given expression at regular intervals to build up a list of x, y coordinates to pass on to matplotlib for rendering, the size of this sampling interval can be adjusted with a keyword argument.
The format of this plot function is as follows: "<b>plotf(['+',] [limits,] [*plots,] fs=None, res=12, style=None, **kwargs)</b>".
</p><p>
The initial optional "<b>'+'</b>" string signifies that the plot should build upon the previous plot which allows you to build up complex plots one function at a time.
The limits are an optional zero to four numbers which specify the boundaries of the requested plot, if no limit numbers are present then the plot will range from 0 to 1 on the x axis and the y axis will be determined automatically.
If one limit number is present then the plot will range from -x to +x of this number and the y is automatic, two numbers are interpreted as x0 and x1 and y is automatic, three is -x, x, y0 and y1 and four numbers let you specify the full range x0, x1, y0, y1 of the axes.
</p><p>
The "<b>fs</b>" keyword argument is a matplotlib "<b>figsize</b>" value which lets you specify the size of the plot. This can be either a single number in which case this specifies the x size and the y size is computed from this, or it can be a tuple specifying both the x and y sizes of the plot - the default is (6.4, 4.8).
If a single number is provided and it is positive then the y size is computed as x*3/4 of this number to give a plot area with a 4:3 aspect ratio.
It the single number is negative then the y size is set equal to the positive x size and the plot area will have a square aspect ratio.
</p><p>
The "<b>res</b>" keyword argument allows you to set the sampling resolution for the plot, the default is roughly 12 samples per 50 pixels of the plot.
This is useful to increase if the function is intricate and the default resolution does not capture some point of interest correctly.
</p><p>
The "<b>style</b>" keyword allows you to change to any of the default matplotlib styles for drawing the plots.
Some available styles are: "<b>bmh</b>", "<b>classic</b>", "<b>dark_background</b>", "<b>fast</b>", "<b>fivethirtyeight</b>", "<b>ggplot</b>", "<b>grayscale</b>", see the matplotlib documentation for a full list of styles.
If you pass the name of the style starting with a '-' minus sign such as "<b>-bmh</b>" then the plot will be rendered with a transparent background, otherwise the color of the background comes from the style.
The style which is set will persist for all future plots until it is changed.
</p><p>
Other keyword arguments from "<b>kwargs</b>" are passed through on to the "<b>matplotlib.pyplot.plot()</b>" function for each expression plotted.
In addition each expression or function to be plotted can also specify its own dictionary of matplotlib keyword arguments to use for that specific expression.
</p>

<p><b>Individual Plots</b></p>

<p>
The "<b>plotf()</b>" function can take any number of expressions to plot at once with their own formatting options.
The actual source of the data to be plotted can be an expression, a lambda function or a list of coordinate points which will be rendered as either a line of a certain style or just disconnected markers.
The format of each individual plot specification to the plotting function is as follows: "<b>expression [,'format'] [,{'kwarg': value, ...}]</b>".
As mentioned the expression can be just an expression like "<b>x**2</b>", a lambda of one variable "<b>lambda x: x**2</b>" or a list of paired "<b>[(x0, y0), (x1, y1), ...]</b>" or unpaired "<b>[x0, y0, x1, y1, ...]</b>" coordinates.
</p><p>
Following the expression is an optional string specifying the color, line or marker style and optional legend text for the expression.
The format of this string is an extension of the matplotlib format string to its "<b>plot()</b>" function and is as follows: "<b>[marker][line][color][#extended color][=legend text]</b>".
The "<b>marker</b>" option specifies which type of marker (if any) to place at each computed x, y coordinate, the possible options are: '.', ',', 'o', 'v', '^', '&lt;', '&gt;', '1', '2', '3', '4', 's', 'p', '*', 'h', 'H', '+', 'x', 'D', 'd', '|' and '_'.
The "<b>line</b>" option specifies which type of line (if any) connects the various x, y coordinates, the possible options are: '-', '--', '-.' and ':'.
The options for the simple color specifier "<b>color</b>" are 'b', 'g', 'r', 'c', 'm', 'y', 'k' and 'w', which is a quick one letter way to pick different colors.
If you need more control over color then use the extended color specifier which allows you to pick from the whole list of matplotlib named colors such as 'red', 'teal', 'mediumorchid' and 'salmon'.
You can also directly specify the RGB values of the color by entering an HTML RGB color specifier like '#ff8040'.
The last specifier is optional legend text for the expression, the presence of which is signalled by the '=' character immediately preceding it.
</p><p>
Following the format specifier is an optional dictionary of keyword argument and value pairs to be passed on to the matplotlib "<b>plot()</b>" function only for this given expression.
These arguments will override any global matplotlib keyword arguments specified in the call to the "<b>plotf()</b>" function.
</p><p>
Note that the presence of any plots at all in a call to "<b>plotf()</b>" is optional, you can call "<b>plotf()</b>" with the continue option '+' without any plots in order to resize the previous plot or change the axes.
Keep in mind that this does not re-plot any previously plotted functions so that data remains at whatever resolution it was plotted.
</p>

<h4 id="plotv() - Plot Vector Field (2D)">plotv() - Plot Vector Field (2D)</h4>

<p><b>Examples</b></p>

<p>
<span onclick="cE2C (this)">plotv ((-y, x))</span><br>
<span onclick="cE2C (this)">plotv (2, y - 2 x, '#green')</span><br>
<span onclick="cE2C (this)">plotv (lambda x, y: (y, -x), 'dir')</span><br>
<span onclick="cE2C (this)">plotv (2, -2, 2, y / x, '#red=dy/dx', fs = -6, width = 0.005)</span><br>
<span onclick="cE2C (this)">plotv (4, -4, 4, (lambda a, b: a + b**2, lambda a, b: a**2 - b), lambda x, y, u, v: y, res = 31, fs = -8, width = 0.003)</span><br>
<span onclick="cE2C (this)">plotv (-2, 2, -2, 2, (v (sign (Max (u, 0)) * 2 - 1), -u (sign (Max (u, 0)) * 2 - 1)), 'dir', width = 0.003, pivot = 'mid', fs = -8)</span><br>
<span onclick="cE2C (this)">plotv (-6, 6, -2, 2, lambda x, y: (re (sin (x + i y)), im (sin (x + i y))), 'mag', '=sin (x + iy)', fs=-12, res=33)</span><br>
</p>

<p><b>Usage</b></p>

<p>
This function allows you to plot a 2-dimensional vector field specified by one or two functions or expressions via the matplotlib "<b>Quiver()</b>" function.
The format of this function is as follows: "<b>plotv (['+',] [limits,] func(s), [color,] [fmt,] [*walks,] fs = None, res = 13, style = None, resw = 1, kww = {}, **kw)</b>".
The initial optional "<b>'+'</b>" and "<b>limits</b>" fields work exactly as in the "<b>plotf()</b>" function, as do the keyword arguments "<b>fs</b>" and "<b>style</b>".
</p><p>
The actual vector field to be plotted comes from either one or two functions or expressions which provide either the u and v coordinates of the vectors or a v/u slope for the vector - in which case the vector will not have a direction arrowhead by default.
These function(s) are specified in the "<b>func(s)</b>" parameter and must be either a tuple of two functions or expressions or a single function or expression.
</p><p>
If there are two functions then they are called for each point sampled in the vector field with an x and y coordinate (the names of the symbols don't matter, the first argument is the x and the second is a y).
These functions must each return a single real value, the first function returns the u component of the vector field and the second returns the v component.
If instead of functions there is a tuple of two expressions, then the expressions together must have exactly two free variables which will be replaced with the x and y values of the vector field in alphabetical order, which means that expressions with free variables (a, b), (u, v) and (x, y) will recieve the x and y coordinates in that order.
</p><p>
If there is a single function or expression present then the interpretation of that function depends on what it returns.
If the return value is a single real number then it is interpreted as a slope at that point in the vector field and rendered as such a sloped line, this is useful for plotting things like differential functions.
If the return value has two components like a tuple or list of real values then those are treated as the u and v components of the vector field at that point directly and actually have a direction and magnitude unlike the single value slope.
</p><p>
The optional "<b>color</b>" parameter following the field functions(s) is either a function of four arguments "<b>lambda x, y, u, v: expr</b>" which will be called for each point of the vector field and should return a scalar, which scalar will be used to determine the relative color of the arrow at that point.
Or it can be a string specifying one of the pre-defined color functions: 'dir' for a direcitonal color function and 'mag' for a magnitude color function, note 'mag' option doesn't make much sense for a field function or expression which only returns a slope.
</p><p>
Following this is an optional format string which works much like the format strings from the "<b>plotf()</b>" function except omitting the "<b>[marker][line][color]</b>" prefix and using only "<b>[#extended color][=legend text]</b>".
If a color function is not specified before this string and a color is present then that color is used for the entire vector field.
A label can also be present for this particular vector field which can be useful if plotting more than one field.
</p><p>
Finally the "<b>res</b>" argument specifies a resolution - or rather the number of arrows you want horizontally in the plot.
If this argument is a single number then the number of arrows vertically across the plot is calculated from the aspect ratio of the plot as specified or not by the "<b>fs</b>" figsize argument.
If rather the "<b>res</b>" argument is a tuple of two numbers then these are used directly for the number of arrows horizontally and vertically in the plot.
</p><p>
Any keyword arguments are passed through on to the matplotlib "<b>Quiver()</b>" function which allows you to tweak certain display properties of the plot like line thicknesses and arrowheads, for a full list of these options see the matplotlib documentation.
Also notice that unlike the "<b>plotf()</b>" function, "<b>plotv()</b>" only plots one vector field at a time.
</p><p>
If any non-keyword arguments are present after the "<b>func(s)</b>", "<b>color</b>" and "<b>fmt</b>" parameters but before any keyword arguments then they are interpreted as parameters to the function "<b>plotw()</b>" which will be called after the vector field is plotted and will plot one or more walks over that vector field.
The "<b>resw</b>" parameter is passed on to "<b>plotw()</b>" as a keyword argument as well as the contents of the "<b>kww</b>" dictionary.
See the documentation for that function for usage and formatting of these parameters.
</p>

<h4 id="plotw() - Plot Walk Over Vector Field">plotw() - Plot Walk Over Vector Field</h4>

<p><b>WARNING!</b> This plotting function can be very slow due to the fact it calls very frequently into SymPy Lambda functions as it adapts the walk to minimize potential error.</p>

<p><b>Examples</b></p>

<p>
<span onclick="cE2C (this)">plotw (3, -3, 3, y - 2x, (1, 1))</span><br>
<span onclick="cE2C (this)">plotw (3, -3, 3, y - 2x, (1, 1), (1, 2), (1, 0))</span><br>
<span onclick="cE2C (this)">plotw (6, -6, 6, lambda x, y: (2x + sec**2x) / 2y, (0, -5), 'r=u(0) = -5', fs = -7)</span><br>
<span onclick="cE2C (this)">plotw (2.5, -2.5, 2.5, (-y, x), (0.5, 0), '=(0.5,0)', (1, 0), '=(1,0)', (1.5, 0), '=(1.5,0)', (2, 0), '=(2,0)', fs = -6)</span><br>
<span onclick="cE2C (this)">plotw (pi, -pi, pi, sin x - sin y, (0, 0), (1, 1), (2, 2), (-1, -1), (-2, -2), fs = -8, linewidth = 5)</span><br>
</p><p>
These will make more sense if they are put in the context of their respective vector fields:
</p><p>
<span onclick="cE2C (this)">plotv (3, -3, 3, y - 2x, (1, 1))</span><br>
<span onclick="cE2C (this)">plotv (3, -3, 3, y - 2x, (1, 1), (1, 2), (1, 0))</span><br>
<span onclick="cE2C (this)">plotv (6, -6, 6, lambda x, y: (2x + sec**2x) / 2y, (0, -5), 'r=u(0) = -5', fs = -7, res = 33)</span><br>
<span onclick="cE2C (this)">plotv (2.5, -2.5, 2.5, (-y, x), (0.5, 0), '=(0.5,0)', (1, 0), '=(1,0)', (1.5, 0), '=(1.5,0)', (2, 0), '=(2,0)', fs = -6, pivot = 'mid')</span><br>
<span onclick="cE2C (this)">plotv (pi, -pi, pi, sin x - sin y, (0, 0), (1, 1), (2, 2), (-1, -1), (-2, -2), fs = -8, kww = {'linewidth': 5})</span><br>
</p>

<p><b>Usage</b></p>

<p>
This function is normally intended to be called implicitly from the "<b>plotv()</b>" function for plotting a walk over a plotted vector field but can be called on its own to plot one or more walks without the vectory field in the background.
The format is as follows: "<b>plotw (['+',] [limits,] func(s), *points, fs = None, resw = 1, style = None, **kw)</b>"
The "<b>'+'</b>", "<b>limits</b>", "<b>fs</b>" and "<b>style</b>" fields work in the same manner as the previous two functions.
The "<b>func(s)</b>" is interpreted as a vector field function or pair of functions or expressions like in "<b>plotv()</b>".
"<b>resw</b>" is a resolution parameter - maximum pixel steps to allow walk step to deviate before drawing, smaller = better quality.
</p><p>
What this function does is take an x, y point (or points if multiple starting positions provided) and starts walking the vector field according to its value at that point - following the gradient.
It adapts the steps it takes according to how much curvature the vector field exhibits at that point and tries to reach either the edge of the graph or its own starting point to complete a loop.
The "<b>*points</b>" parameters specified in the function is either one or more tuples of x, y values optionally followed by "#color=label" formatting and dictionary keywords for the line corresponding to the walk for that point, similar to the previous functions.
An example of "<b>*points</b>": "<b>plotw(..., (0, 0), '#red=0,0', {'linewidth': 2}, (1, 1), '#green=1,1', {'linewidth': 3}, (2, 2), ...)</b>".
</p><p>
Due to numerical errors accumulating during the walk this is by no means a perfect plotting function and should be considered experimental.
Also due to the fact that the points of the vector field are gotten from SymPy operations and the number of times they are requested this function can be very slow.
It may also never finish if a complex circular vector field introduces enough errors so that the walk gets back to the starting point but not quite close enough to consider it a full loop then the walk will keep going around and around in circles and the function will not return, you have been warned.
</p>

<h2 id="More Examples">More Examples</h2>

<p>
Note that some of these are single line examples and others make use of variables.
If you see variables being assigned make sure to execute those lines before the lines which follow, also make sure to delete the variable assigment afterwards in order to not affect any other examples which expect those variables to be free.
All these examples assume you are running with default environment settings.
You can click on any of these lines to copy it to the clipboard for pasting into SymPad.
</p>

<h4 id="Limits, Sums, Derivatives and Integrals">Limits, Sums, Derivatives and Integrals</h4>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">\lim_{h\to0} {(x + h)**2 - x**2} / h</span><br>
<span onclick="cE2C (this)">Limit ((1 + 1/x)**x, x, \infty)</span><br>
<span onclick="cE2C (this)">{(1 - 1/x)**x}.limit (x, \infty)</span><br>
<span onclick="cE2C (this)">limit (sin x / x, x, 0)</span><br>
<br>
<span onclick="cE2C (this)">\sum_{n=0}^\infty (-1)**n x**{2n} / (2n)!</span><br>
<span onclick="cE2C (this)">Sum ((-1)**n x**{2n + 1} / (2n + 1)!, (n, 0, oo))</span><br>
<span onclick="cE2C (this)">summation ((-3)^n / n 7^{n+1} * (x - 5)^n, (n, 1, oo))</span><br>
<br>
<span onclick="cE2C (this)">d/dx ln x</span><br>
<span onclick="cE2C (this)">Derivative (x**3y**2, x, y)</span><br>
<span onclick="cE2C (this)">diff (sin x + cos x, x, 2)</span><br>
<span onclick="cE2C (this)">{x**2sin**2y}.diff (x, y)</span><br>
<span onclick="cE2C (this)">d**3/dx**2dy x**3y**2</span><br>
<span onclick="cE2C (this)">sin (x)'</span><br>
<span onclick="cE2C (this)">(e**{2x})''</span><br>
<span onclick="cE2C (this)">d/dx ln (y(x))</span><i>&emsp; derivative of logarithm of abstract undefined function y(x)</i><br>
<br>
<span onclick="cE2C (this)">\int x**a dx</span><br>
<span onclick="cE2C (this)">Integral (a**x, x)</span><br>
<span onclick="cE2C (this)">{x**3y**2}.integrate (x, y)</span><br>
<span onclick="cE2C (this)">\int_0**oo e**{-st} dt</span><br>
<span onclick="cE2C (this)">Integral (r, (r, 0, 1), (theta, 0, 2pi))</span><br>
<span onclick="cE2C (this)">integrate (sin x / x, (x, -oo, oo))</span><br>
<br>
</p>

<h4 id="Solving Equations">Solving Equations</h4>

<p>SymPy documentation for <a href="https://docs.sympy.org/latest/modules/solvers/solvers.html" target="_blank">Equation Solvers</a>.</p>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">solve (x**2 = 4)</span><i>&emsp; x**2 - 4 = 0</i><br>
<span onclick="cE2C (this)">solve (x**2 - 4)</span><i>&emsp; same</i><br>
<span onclick="cE2C (this)">solve (|x| >= x**2)</span><i>&emsp; inequality</i><br>
<span onclick="cE2C (this)">solve (x**2 + 2 x - 1 > 7)</span><br>
<span onclick="cE2C (this)">solve (y = x**2 + 2 x - 1, x)</span><i>&emsp; solve for x from y</i><br>
<span onclick="cE2C (this)">solve (x + (e**x)**2, e**x)</span><i>&emsp; solve for e**x</i><br>
<span onclick="cE2C (this)">solve (x + e**x, x)</span><i>&emsp; explicit solution</i><br>
<span onclick="cE2C (this)">solve (x + e**x, x, implicit = True)</span><i>&emsp; implicit solution</i><br>
<span onclick="cE2C (this)">solve ((x + 2y = 5, y - 2x = 0))</span><i>&emsp; system of equations, solve for x and y</i><br>
<span onclick="cE2C (this)">solve ((a + b)x - b + 2, a, b)</span><i>&emsp; one equation relating two variables</i><br>
<span onclick="cE2C (this)">solve ((a + b)x - b**2 + 2, a, b)</span><i>&emsp; non-linear</i><br>
<br>
<span onclick="cE2C (this)">a, b = x**2 + y -2, y**2 - 4</span><br>
<span onclick="cE2C (this)">solve ([a, b])</span><i>&emsp; system of two non-linear</i><br>
<span onclick="cE2C (this)">s = _</span><i>&emsp; store result</i><br>
<span onclick="cE2C (this)">a.subs (s [0]), b.subs (s [0])</span><i>&emsp; check solutions</i><br>
<span onclick="cE2C (this)">a.subs (s [1]), b.subs (s [1])</span><br>
<span onclick="cE2C (this)">a.subs (s [2]), b.subs (s [2])</span><br>
<span onclick="cE2C (this)">a.subs (s [3]), b.subs (s [3])</span><br>
<span onclick="cE2C (this)">w = {x: 1, y: 2}</span><br>
<span onclick="cE2C (this)">a.subs (w), b.subs (w)</span><i>&emsp; test incorrect solution</i><br>
<br>
</p>

<h4 id="Ordinary Differential Equations">Ordinary Differential Equations</h4>

<p>SymPy documentation for <a href="https://docs.sympy.org/latest/modules/solvers/ode.html" target="_blank">Ordinary Differential Equations</a>.</p>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">dsolve (d**2/dx**2 ?(x) + 9?(x))</span><i>&emsp; using undefined functions directly</i><br>
<span onclick="cE2C (this)">dsolve (?(x)'' + 9?(x))</span><i>&emsp; quicker using prime derivative of anonymous functrion since function of only one variable</i><br>
<span onclick="cE2C (this)">dsolve (y(x)'' + 9y(x))</span><i>&emsp; or implicit named undefined function</i><br>
<span onclick="cE2C (this)">y = y(x)</span><i>&emsp; define y variable as undefined function of one variable</i><br>
<span onclick="cE2C (this)">dsolve (y'' + 9y)</span><i>&emsp; easiest like this</i><br>
<span onclick="cE2C (this)">dsolve (sin x cos y + cos x sin y y')</span><br>
<span onclick="cE2C (this)">dsolve (y' + 4/x * y = x**3 y**2)</span><br>
<span onclick="cE2C (this)">dsolve (y' + 4/x * y = x**3 y**2, ics = {y(2): -1})</span><i>&emsp; with initial condition</i><br>
<span onclick="cE2C (this)">dsolve (cos y - y' * (x sin y - y**2))</span><i>&emsp; implicit solution</i><br>
<br>

<span onclick="cE2C (this)">delall</span><i>&emsp; clean up and start again</i><br>
<span onclick="cE2C (this)">y = y(x)</span><br>
<span onclick="cE2C (this)">eq = y' + 4/x * y == x**3 y**2</span><i>&emsp; assign equality (equation) to "eq"</i><br>
<span onclick="cE2C (this)">dsolve (eq, ics = {y(2): -1})</span><i>&emsp; solve with ics to avoid constant symbol which would throw off prime derivtion</i><br>
<span onclick="cE2C (this)">sol = _.args [1]</span><i>&emsp; assign the right-hand part of the solution to "sol"</i><br>
<span onclick="cE2C (this)">checkodesol (eq, sol, y)</span><i>&emsp; check the solution for the function "y" using the checkodesol () function</i><br>
<span onclick="cE2C (this)">\. eq |_{y (x) = sol}</span><i>&emsp; check the solution by manually substituting it for the function "y (x)" in "eq"</i><br>
<span onclick="cE2C (this)">y (x) = sol</span><i>&emsp; assign solution to a concrete lambda function</i><br>
<span onclick="cE2C (this)">eq</span><i>&emsp; and check it by evaluating "eq"</i><br>
<span onclick="cE2C (this)">y' + 4/x * y, x**3 y**2</span><i>&emsp; check by eye</i><br>
<br>

<span onclick="cE2C (this)">delall</span><br>
<span onclick="cE2C (this)">x, y = x(t), y(t)</span><i>&emsp; two distinct undefined functions</i><br>
<span onclick="cE2C (this)">dsolve (y'' + 11y' + 24y, ics = {y(0): 0, y'(0): -7})</span><i>&emsp; second order with initial conditions</i><br>
<span onclick="cE2C (this)">dsolve ((x' = 12t x + 8y, y' = 21x + 7t y))</span><i>&emsp; system of two equations</i><br>
<br>
</p>

<h4 id="Partial Differential Equations">Partial Differential Equations</h4>

<p>SymPy documentation for <a href="https://docs.sympy.org/latest/modules/solvers/pde.html" target="_blank">Partial Differential Equations</a>.</p>

<p>
<span onclick="cE2C (this)">delall</span><br>
<span onclick="cE2C (this)">u, X, T = u (x, t), X (x), T (t)</span><i>&emsp; assign undefined functions</i><br>
<span onclick="cE2C (this)">eq = (du / dx = e**u * du / dt)</span><i>&emsp; assign equation</i><br>
<span onclick="cE2C (this)">pde_separate_add (eq, u, [X, T])</span><i>&emsp; separate equation into additive functions</i><br>
<span onclick="cE2C (this)">u, Y = u (x, y), Y (y)</span><br>
<span onclick="cE2C (this)">eq = d**2u / dx**2 == d**2u / dy**2</span><i>&emsp; assign equation using "=="</i><br>
<span onclick="cE2C (this)">pde_separate_mul (eq, u, [X, Y])</span><i>&emsp; separate equation into multiplicative functions</i><br>
<br>

<span onclick="cE2C (this)">eq = Eq (1 + 2 * {du/dx / u} + 3 * {du/dy / u})</span><i>&emsp; set equation using SymPy Eq()</i><br>
<span onclick="cE2C (this)">pdsolve (eq)</span><i>&emsp; solve for u (x, y)</i><br>
<span onclick="cE2C (this)">sol = _.args [1]</span><i>&emsp; assign right hand side of equation returned to "sol"ution</i><br>
<span onclick="cE2C (this)">checkpdesol (eq, sol)</span><i>&emsp; check solution using SymPy checkpdesol ()</i><br>
<span onclick="cE2C (this)">u (x, y) = sol</span><i>&emsp; assign solution to concrete lambda u (x, y)</i><br>
<span onclick="cE2C (this)">eq</span><i>&emsp; evaluate equation with u (x, y) being set to the solution</i><br>
<span onclick="cE2C (this)">simplify _</span><i>&emsp; simplify this since it comes back as a mess, will evaluate to True since eq = 0</i><br>
<br>

<span onclick="cE2C (this)">u = ?u (x, y)</span><i>&emsp; set "u" back to undefined function, need the "?" because u is currently a concrete lambda</i><br>
<span onclick="cE2C (this)">eq = x * du/dx - y * du/dy + y**2u - y**2</span><i>&emsp; just set "eq" to an expression, don't even need the equality</i><br>
<span onclick="cE2C (this)">pdsolve (eq)</span><br>
<span onclick="cE2C (this)">v (x, y) = _.args [1]</span><i>&emsp; assign solution to a different function</i><br>
<span onclick="cE2C (this)">eq</span><i>&emsp; original equation</i><br>
<span onclick="cE2C (this)">\. eq |_{u (x, y) = v}</span><i>&emsp; equation with solution, need to specify the full function "u (x, y)" here</i><br>
<span onclick="cE2C (this)">simplify _</span><i>&emsp; verify that it equals 0 with solution function</i><br>
<span onclick="cE2C (this)">F (x) = e**x</span><i>&emsp; assign arbitrary function for undefined function in solution</i><br>
<span onclick="cE2C (this)">\. eq |_{u (x, y) = v}</span><i>&emsp; see what the solution looks like with this function</i><br>
<span onclick="cE2C (this)">simplify _</span><i>&emsp; and verify again that it zeroes out</i><br>
<br>
</p>

<span onclick="cE2C (this)"><h4 id="Calculating Eigenvalues and Eigenvectors">Calculating Eigenvalues and Eigenvectors</span><i>&emsp; (by "hand")</i></h4>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">m = \[[1, 2], [3, 4]]</span><br>
<span onclick="cE2C (this)">l = m - lambda eye 2</span><br>
<span onclick="cE2C (this)">l.det ()</span><br>
<span onclick="cE2C (this)">solve _</span><i>&emsp; this will give the eigenvalues</i><br>
<span onclick="cE2C (this)">a, b = _</span><i>&emsp; assign to vars</i><br>
<span onclick="cE2C (this)">m.eigenvals ()</span><i>&emsp; verify eigenvalues</i><br>
<span onclick="cE2C (this)">Subs (l, lambda, a) \[x, y]</span><br>
<span onclick="cE2C (this)">solve (_ [0], _ [1], x, y)</span><i>&emsp; relation between x and y</i><br>
<span onclick="cE2C (this)">\[_ [0] [x], y].subs (y, 1)</span><i>&emsp; first eigenvector for eigenvalue a</i><br>
<span onclick="cE2C (this)">\. l |_{lambda = b} \[x, y]</span><i>&emsp; shorthand for substitution</i><br>
<span onclick="cE2C (this)">solve (_ [0], _ [1], x, y)</span><i>&emsp; relation between x and y</i><br>
<span onclick="cE2C (this)">\. \[_ [0] [x], y] |_{y = 1}</span><i>&emsp; second eigenvector for eigenvalue b</i><br>
<span onclick="cE2C (this)">m.eigenvects ()</span><i>&emsp; verify eigenvectors</i><br>
<span onclick="cE2C (this)">simplify _</span><i>&emsp; simplify result to easier see if it matches</i><br>
<br>
</p>

<h4 id="Lambda Function Examples">Lambda Function Examples</h4>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">f = lambda x: x**2</span><i>&emsp; simple example of lambda which squares its argument</i><br>
<span onclick="cE2C (this)">f (2)</span><br>
<span onclick="cE2C (this)">f (x) = x**2</span><i>&emsp; differnt syntax to specify the same thing</i><br>
<span onclick="cE2C (this)">f (3)</span><br>
<span onclick="cE2C (this)">f (x, y) = sqrt (x**2 + y**2)</span><i>&emsp; function of two variables</i><br>
<span onclick="cE2C (this)">f (3, 4)</span><br>
<span onclick="cE2C (this)">f**2</span><i>&emsp; lambda functions can be used as expression in many contexts</i><br>
<span onclick="cE2C (this)">df / dx</span><i>&emsp; take derivative</i><br>
<span onclick="cE2C (this)">\int f dx</span><i>&emsp; integrate</i><br>
<span onclick="cE2C (this)">\sum_{x = 0}^2 f</span><i>&emsp; when used as an expression the lambda's variables are mapped</i><br>
<span onclick="cE2C (this)">(f)</span><i>&emsp; this is how you get the expression within a lambda</i><br>
<span onclick="cE2C (this)">x, y = 3, 4</span><br>
<span onclick="cE2C (this)">(f)</span><i>&emsp; variables are mapped to their current values</i><br>
<span onclick="cE2C (this)">del (x, y)</span><br>
<span onclick="cE2C (this)">(f)</span><i>&emsp; and now the lambda body is back</i><br>
<span onclick="cE2C (this)">f (x) = x**3</span><br>
<span onclick="cE2C (this)">f'</span><i>&emsp; only has one variable so can derivate like this</i><br>
<span onclick="cE2C (this)">f' (3)</span><i>&emsp; can also "call" the derivative of a lambda</i><br>
<span onclick="cE2C (this)">d**2f / dx**2 (3)</span><i>&emsp; also like this</i><br>
<span onclick="cE2C (this)">d**2 / dx**2 (f) (3)</span><i>&emsp; and this</i><br>
<br>

<span onclick="cE2C (this)">f (x) = lambda y: sqrt (x**2 + y**2)</span><i>&emsp; lambda returning a lambda</i><br>
<span onclick="cE2C (this)">f (3)</span><br>
<span onclick="cE2C (this)">_ (4)</span><i>&emsp; call the lambda that was returned</i><br>
<span onclick="cE2C (this)">f (3)</span><br>
<span onclick="cE2C (this)">_ * (4)</span><i>&emsp; will be multiplied instead of called if using explicit multiply operator</i><br>
<br>

<span onclick="cE2C (this)">delall</span><i>&emsp; undefined functions can be used to avoid embedding body of target lambda in parent</i><br>
<span onclick="cE2C (this)">g (x, y) = sqrt (f (x) + f (y))</span><i>&emsp; target lambda doesn't need to be defined ahead of time</i><br>
<span onclick="cE2C (this)">g (3, 4)</span><i>&emsp; will return undefined functions</i><br>
<span onclick="cE2C (this)">f (x) = x**2</span><i>&emsp; define the function</i><br>
<span onclick="cE2C (this)">g (3, 4)</span><i>&emsp; now call out to concrete defined function</i><br>
<span onclick="cE2C (this)">f (x) = x</span><i>&emsp; redefine the function to something else</i><br>
<span onclick="cE2C (this)">g (3, 4)</span><i>&emsp; now we have a different result</i><br>
<br>

<span onclick="cE2C (this)">delall</span><i>&emsp; @ no-remap pseudo-function</i><br>
<span onclick="cE2C (this)">x, y, z = 3, 4, 5</span><i>&emsp; assign global variablesy</i><br>
<span onclick="cE2C (this)">f (x, y) = sqrt (x**2 + y**2) + z</span><i>&emsp; lambda variables are not mapped but unbound variables are</i><br>
<span onclick="cE2C (this)">f (x, y) = sqrt (x**2 + y**2) + @z</span><i>&emsp; do not bind global variable</i><br>
<span onclick="cE2C (this)">f (x) = x**2</span><br>
<span onclick="cE2C (this)">f (x) = @x**2</span><i>&emsp; use global value of x</i><br>
<span onclick="cE2C (this)">f (x) = y**2</span><i>&emsp; binds global value of y into lambda since it is not a lambda variable</i><br>
<span onclick="cE2C (this)">f (2)</span><i>&emsp; doesn't matter what you pass, f(x) is set to equal 16</i><br>
<span onclick="cE2C (this)">f (x) = @y**2</span><i>&emsp; go up one more scope above global and use pure y variable</i><br>
<span onclick="cE2C (this)">f (2)</span><i>&emsp; still get 16 because global y = 4</i><br>
<span onclick="cE2C (this)">y = 6</span><i>&emsp; change global y</i><br>
<span onclick="cE2C (this)">f (2)</span><i>&emsp; global y = 6 so y**2 = 36</i><br>
<br>

<span onclick="cE2C (this)">delall</span><i>&emsp; % no-evaluate pseudo-function forcees "doit()" on lambda body</i><br>
<span onclick="cE2C (this)">f (x) = \int x dx</span><i>&emsp; normally integral, limits, derivatives and things like that are not evaluated on lambda definition</i><br>
<span onclick="cE2C (this)">f (sin x)</span><i>&emsp; only on execution</i><br>
<span onclick="cE2C (this)">f (x) = %(\int x dx)</span><i>&emsp; force evaluation of integral and store result in lambda definition, the % only works this way at the top level of the lambda body</i><br>
<span onclick="cE2C (this)">f (sin x)</span><i>&emsp; different result since integral was already evaluated</i><br>
<span onclick="cE2C (this)">f (sin y)</span><i>&emsp; this is as expected</i><br>
<span onclick="cE2C (this)">f (x) = \int x dx</span><i>&emsp; going back to the unevaluated integral</i><br>
<span onclick="cE2C (this)">f (sin x)</span><i>&emsp; as expected</i><br>
<span onclick="cE2C (this)">f (sin y)</span><i>&emsp; different, the differential is only changed to dy if the argument is a pure variable, if not then the original dx is used</i><br>
<span onclick="cE2C (this)">\int sin y dx</span><i>&emsp; which results in this expression</i><br>
<br>
</p>

<h4 id="Pseudo-Function Examples">Pseudo-Function Examples</h4>

<p>
<span onclick="cE2C (this)">delall</span><br>
<span onclick="cE2C (this)">1 + 2</span><i>&emsp; evaluated</i><br>
<span onclick="cE2C (this)">%(1 + 2)</span><i>&emsp; unevaluated</i><br>
<span onclick="cE2C (this)">_</span><i>&emsp; evaluated</i><br>
<span onclick="cE2C (this)">x, y = 1, 2</span><br>
<span onclick="cE2C (this)">x + y</span><i>&emsp; evaluated</i><br>
<span onclick="cE2C (this)">%(x + y)</span><i>&emsp; unevaluated but remapped</i><br>
<span onclick="cE2C (this)">%@(x + y)</span><i>&emsp; unevaluated and not remapped</i><br>
<span onclick="cE2C (this)">@(x + y)</span><i>&emsp; not remapped and thus unevaluated</i><br>
<br>

<span onclick="cE2C (this)">delall</span><br>
<span onclick="cE2C (this)">x</span><i>&emsp; just a happy little "x"</i><br>
<span onclick="cE2C (this)">x = 2</span><br>
<span onclick="cE2C (this)">x</span><i>&emsp; now the "x" has value</i><br>
<span onclick="cE2C (this)">@x</span><i>&emsp; no-remap removes that value</i><br>
<span onclick="cE2C (this)">lambda x: x</span><i>&emsp; local variable "x" as expected, not global</i><br>
<span onclick="cE2C (this)">lambda x: @x</span><i>&emsp; now the global value of "x"</i><br>
<span onclick="cE2C (this)">lambda x: @@x</span><i>&emsp; back to "x" and will take on the value of the local "x" since we stepped out beyond the global scope</i><br>
<br>

<span onclick="cE2C (this)">delall</span><br>
<span onclick="cE2C (this)">lambda x: \int x + 1 + 2 dx</span><i>&emsp; body is evaluated but not "doit()"ed</i><br>
<span onclick="cE2C (this)">lambda x: %(\int x + 1 + 2 dx)</span><i>&emsp; body is evaluated and "doit()"ed</i><br>
<span onclick="cE2C (this)">lambda x: %%(\int x + 1 + 2 dx)</span><i>&emsp; body is fully unevaluated</i><br>
<span onclick="cE2C (this)">lambda x: %%(\int x + y + y dx)</span><i>&emsp; same</i><br>
<span onclick="cE2C (this)">y = 2</span><br>
<span onclick="cE2C (this)">lambda x: %%(\int x + y + y dx)</span><i>&emsp; however, variables are mapped</i><br>
<span onclick="cE2C (this)">lambda x: %%@(\int x + y + y dx)</span><i>&emsp; now they are not</i><br>
<span onclick="cE2C (this)">lambda x: %%(\int x + @y + y dx)</span><i>&emsp; now just one variable is mapped</i><br>
<br>
</p>

<h4 id="Last Expression Variable">Last Expression Variable</h4>

<p>
<span onclick="cE2C (this)">1</span><i>&emsp; "evaluate" 1 to set the last expression variable "_" to this</i><br>
<span onclick="cE2C (this)">expand (_(x+1))</span><br>
<span onclick="cE2C (this)">expand (_(x+1))</span><i>&emsp; or press the up arrow</i><br>
<span onclick="cE2C (this)">expand (_(x+1))</span><i>&emsp; ...</i><br>
<br>
<span onclick="cE2C (this)">1, 1</span><i>&emsp; again, set initial values</i><br>
<span onclick="cE2C (this)">_[1], _[0] + _[1]</span><br>
<span onclick="cE2C (this)">_[1], _[0] + _[1]</span><i>&emsp; or press the up arrow</i><br>
<span onclick="cE2C (this)">_[1], _[0] + _[1]</span><br>
<span onclick="cE2C (this)">_[1], _[0] + _[1]</span><i>&emsp; notice a pattern?</i><br>
<br>
</p>

<h4 id="Plotting Functions">Plotting Functions</h4>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">plotf (2, x**2)</span><i>&emsp; plot expression directly</i><br>
<span onclick="cE2C (this)">f = x**2</span><br>
<span onclick="cE2C (this)">plotf (2, f)</span><i>&emsp; plot expression from assigned variable</i><br>
<span onclick="cE2C (this)">plotf (2, lambda x: x**2)</span><i>&emsp; plot lambda function directly</i><br>
<span onclick="cE2C (this)">l = lambda x: x**2</span><br>
<span onclick="cE2C (this)">plotf (2, l)</span><i>&emsp; plot lambda function from variable</i><br>
<span onclick="cE2C (this)">plotf (2, lambda x: l (x - 1))</span><i>&emsp; plot lambda function from variable modifying the argument</i><br>
<span onclick="cE2C (this)">plotf (2, f if x &lt; 0, 'r', f if x >= 0, 'g')</span><i>&emsp; different colors on either side of x = 0</i><br>
<span onclick="cE2C (this)">plotf ('+', 2 if l (x) &lt; 2)</span><i>&emsp; add to previous plot</i><br>
<span onclick="cE2C (this)">plotf ('+', 2, -4, 4, -x**2)</span><br>
<br>
</p>

<h4 id="Plotting Vector Walks">Plotting Vector Walks</h4>

<p>
<span onclick="cE2C (this)">delall</span><i>&emsp; make sure no variables are mapped</i><br>
<span onclick="cE2C (this)">f = lambda x, y: (2x + sec**2x) / 2y</span><br>
<span onclick="cE2C (this)">plotv (6, -6, 6, f, fs = -8, res = 33)</span><i>&emsp;plot vector field</i><br>
<span onclick="cE2C (this)">plotw ('+', f, (-1, 0))</span><i>&emsp;add first walk starting at point (-1, 0)</i><br>
<span onclick="cE2C (this)">plotw ('+', f, (-2, 0))</span><br>
<span onclick="cE2C (this)">plotw ('+', f, (-3, 0))</span><br>
<span onclick="cE2C (this)">plotw ('+', f, (-4, 0))</span><br>
<span onclick="cE2C (this)">plotw ('+', f, (-5, 0))</span><br>
<br>
</p>

<h2 id="Appendix">Appendix</h2>

<h4 id="Assumptions">Assumptions</h4>

<p>This is a list of the assumptions that can be applied to symbols and undefined functions.</p>

<table class="HelpTable">
<tr><td><b>commutative</b></td><td>-</td><td>Object commutes with any other object with respect to multiplication operation.</td></tr>
<tr><td><b>complex</b></td><td>-</td><td>Object can have only values from the set of complex numbers.</td></tr>
<tr><td><b>imaginary</b></td><td>-</td><td>Object is a number that can be written as a real number multiplied by the imaginary unit "<b>i</b>" (excluding "<b>0</b>").</td></tr>
<tr><td><b>real</b></td><td>-</td><td>Object can have only values from the set of real numbers.</td></tr>
<tr><td><b>integer</b></td><td>-</td><td>Object can have only values from the set of integers.</td></tr>
<tr><td><b>odd, even</b></td><td>-</td><td>Object can have only values from the set of odd (even).</td></tr>
<tr><td><b>prime</b></td><td>-</td><td>Object is a natural number greater than "<b>1</b>" that has no positive divisors other than "<b>1</b>" and itself.</td></tr>
<tr><td><b>composite</b></td><td>-</td><td>Object is a positive integer that has at least one positive divisor other than "<b>1</b>" or the number itself.</td></tr>
<tr><td><b>zero</b></td><td>-</td><td>Object has the value of "<b>0</b>".</td></tr>
<tr><td><b>nonzero</b></td><td>-</td><td>Object is a real number that is not zero.</td></tr>
<tr><td><b>rational</b></td><td>-</td><td>Object can have only values from the set of rationals.</td></tr>
<tr><td><b>algebraic</b></td><td>-</td><td>Object can have only values from the set of algebraic numbers.</td></tr>
<tr><td><b>transcendental</b></td><td>-</td><td>Object can have only values from the set of transcendental numbers.</td></tr>
<tr><td><b>irrational</b></td><td>-</td><td>Object value cannot be represented exactly by Rational.</td></tr>
<tr><td><b>finite, infinite</b></td><td>-</td><td>Object absolute value is bounded (arbitrarily large).</td></tr>
<tr><td><b>negative, nonnegative</b></td><td>-</td><td>Object can have only negative (nonnegative) values.</td></tr>
<tr><td><b>positive, nonpositive</b></td><td>-</td><td>Object can have only positive (only nonpositive) values.</td></tr>
<tr><td><b>hermitian, antihermitian</b></td><td>-</td><td>Object belongs to the field of hermitian (antihermitian) operators.</td></tr>
</table>

<h4 id="Special Characters">Special Characters</h4>

<table class="HelpTable">
<tr><td><b>_</b></td><td>-</td><td>Underscore represents the last successfully evaluated expression, assignment to variables is not considered a successful evaluation for this purpose. Even if the object resulting from the expression is not natively known to SymPad it is stored on the server and so is available exactly as it was returned from the previous calculation by using underscore.</td></tr>
<tr><td><b>;</b></td><td>-</td><td>Semicolon is used to separate statements on a single line to be executed as if they were individual statements on separate lines like in Pyhon, e.g. "<b>1; expand (_(x+1)); expand (_(x+1)); expand (_(x+1))</b>".
There is one caveat at the moment in that parsing is influenced by the variables assigned and these assignments are not done until after the whole line has been parsed.
What this means for example is that for ambiguous expressions like "<b>f(x)</b>" which can be interpreted either as a concrete lambda call or an undefined function the parser will not get it right if the variable "<b>f</b>" is assigned a lambda and then called on the same line after a semicolon.
For this reason you should avoid using "<b>;</b>" with assignments, unless it is the last expression of the list.</td></tr>
<tr><td><b>Greek</b></td><td>-</td><td>α, β, γ, δ, ε, ζ, η, θ, ι, κ, λ, μ, ν, ξ, π, ρ, σ, τ, υ, φ, χ, ψ, ω, Γ, Δ, Θ, Λ, Ξ, Π, Σ, Υ, Φ, Ψ, Ω.</td></tr>
<tr><td><b>Symbols</b></td><td>-</td><td>∞, ≠, ≤, ≥, ∂, ∑, ∫, ∈, ∉, ∩, ∪, ⊖.</td></tr>
</table>

<h4 id="Admin Functions">Admin Functions</h4>

<table class="HelpTable">
<tr><td><b>vars ()</b></td><td>-</td><td>Show all currently mapped variables.</td></tr>
<tr><td><b>del (var1, var2, ...)</b></td><td>-</td><td>Delete individual variable assignments.</td></tr>
<tr><td><b>delall ()</b></td><td>-</td><td>Delete ALL variable assignments.</td></tr>
<tr><td><b>env ()</b></td><td>-</td><td>Show or change current SymPad runtime environment.
Called without any arguments it will show the current state of the environment.
If arguments are present they specify turning on or off a certain aspect of SymPad functionality.
For example the quick input functionality "<b>quick</b>" may be turned on by specifying "<b>env(quick)</b>", "<b>env('quick')</b>" or "<b>env(quick=True)</b>", to turn it off specify "<b>env('noquick')</b>" or "<b>env(quick=False)</b>".</td></tr>
<tr><td><b>envreset ()</b></td><td>-</td><td>Reset environment to what it was at startup.</td></tr>
</table>

<h4 id="Environment Settings for env()">Environment Settings for env()</h4>

<p>In quick input mode you should always use parentheses and in the case of the "<b>simplify</b>" option you need to use the quoted version "<b>env('simplify')</b>" due to that being a function name and how letters are parsed in quick mode.</p>

<table class="HelpTable">
<tr><td><b>EI</b></td><td>-</td><td>Use variables "<b>E</b>" and "<b>I</b>" as Euler's constant and imaginary unit as opposed to "<b>e</b>" and "<b>i</b>".
This allows the Python code copied from SymPad to work directly with SymPy where the uppercase constants are used.</td></tr>
<tr><td><b>quick</b></td><td>-</td><td>Quick single letter variable name input mode.</td></tr>
<tr><td><b>pyS</b></td><td>-</td><td>Python representation number escaping with the "<b>S()</b>" function where potentially necessary, e.g. "<b>S(2)/3</b>".</td></tr>
<tr><td><b>simplify</b></td><td>-</td><td>Post-evaluation simplification, this can sometimes cause problems if the expressions are somewhat complex since simplification can take some time, in that case simply turn this off.</td></tr>
<tr><td><b>matsimp</b></td><td>-</td><td>Matrix simplification, this turns on a patch to SymPy which does a basic simplification step on intermediate matrix multiplication products which prevents matrix operations from blowing up.</td></tr>
<tr><td><b>ufuncmap</b></td><td>-</td><td>When on, undefined functions resulting from SymPy calculations will be mapped back to the variables they are assigned to if possible.</td></tr>
<tr><td><b>prodrat</b></td><td>-</td><td>Controls whether products with leading rationals are displayed as $\frac75x^2$ (on), or $\frac{7x^2}5$ (off, default).</td></tr>
<tr><td><b>doit</b></td><td>-</td><td>Expression final SymPy doit() call. Normally after an expression is converted to an internal SymPy object that object's "<b>doit</b>" member is called to fully evaluate the expression, this can be surpressed by turning this option off.</td></tr>
<tr><td><b>strict</b></td><td>-</td><td>This controls whether the LaTeX generated for expressions is guaranteed to be pasteable into SymPad or if it looks prettier (default), it currently only affects how undefined functions are displayed.</td></tr>
<tr><td><b>N</b></td><td>-</td><td>Mapping access to the SymPy "<b>N()</b>" function via the "<b>N</b>" letter.</td></tr>
<tr><td><b>O</b></td><td>-</td><td>Mapping access to the SymPy "<b>O()</b>" function via the "<b>O</b>" letter.</td></tr>
<tr><td><b>S</b></td><td>-</td><td>Mapping access to the SymPy "<b>S()</b>" function via the "<b>S</b>" letter.</td></tr>
<tr><td><b>beta</b></td><td>-</td><td>Mapping access to the SymPy "<b>beta()</b>" function via the "<b>beta</b>" letter.</td></tr>
<tr><td><b>gamma</b></td><td>-</td><td>Mapping access to the SymPy "<b>gamma()</b>" function via the "<b>gamma</b>" letter.</td></tr>
<tr><td><b>Gamma</b></td><td>-</td><td>Mapping access to the SymPy "<b>Gamma()</b>" function via the "<b>Gamma</b>" letter.</td></tr>
<tr><td><b>Lambda</b></td><td>-</td><td>Mapping access to the SymPy "<b>Lambda()</b>" function via the "<b>Lambda</b>" letter.</td></tr>
<tr><td><b>zeta</b></td><td>-</td><td>Mapping access to the SymPy "<b>zeta()</b>" function via the "<b>zeta</b>" letter.</td></tr>
</table>

<h4 id="Command Line Arguments">Command Line Arguments</h4>

<p>
<b>sympad</b> [options] [host:port | host | :port]
</p>

<table class="HelpTable">
<tr><td><b>-h, --help</b></td><td>-</td><td>Show help information.</td></tr>
<tr><td><b>-v, --version</b></td><td>-</td><td>Show version string.</td></tr>
<tr><td><b>-n, --nobrowser</b></td><td>-</td><td>Don't start system browser to SymPad page.</td></tr>
<tr><td><b>-u, --ugly</b></td><td>-</td><td>Start in draft display style (only on command line).</td></tr>
<tr><td><b>-d, --debug</b></td><td>-</td><td>Dump debug info to server log.</td></tr>
<tr><td><b>-r, --restart</b></td><td>-</td><td>Restart server on source file changes (for development).</td></tr>
<tr><td><b>--EI, --noEI</b></td><td>-</td><td>Start with SymPy constants 'E' and 'I' or regular 'e' and 'i'.</td></tr>
<tr><td><b>--quick, --noquick</b></td><td>-</td><td>Start in/not quick input mode.</td></tr>
<tr><td><b>--pyS, --nopyS</b></td><td>-</td><td>Start with/out Python S escaping.</td></tr>
<tr><td><b>--simplify, --nosimplify</b></td><td>-</td><td>Start with/out post-evaluation simplification.</td></tr>
<tr><td><b>--matsimp, --nomatsimp</b></td><td>-</td><td>Start with/out matrix simplification.</td></tr>
<tr><td><b>--ufuncmap, --noufuncmap</b></td><td>-</td><td>Start with/out undefined function mapping back to variables.</td></tr>
<tr><td><b>--prodrat, --noprodrat</b></td><td>-</td><td>Start with/out separate product leading rational.</td></tr>
<tr><td><b>--doit, --nodoit</b></td><td>-</td><td>Start with/out automatic expression doit().</td></tr>
<tr><td><b>--strict, --nostrict</b></td><td>-</td><td>Start with/out strict LaTeX formatting.</td></tr>
<tr><td><b>--N, --noN</b></td><td>-</td><td>Start with/out N function.</td></tr>
<tr><td><b>--S, --noS</b></td><td>-</td><td>Start with/out S function.</td></tr>
<tr><td><b>--O, --noO</b></td><td>-</td><td>Start with/out O function.</td></tr>
<tr><td><b>--beta, --nobeta</b></td><td>-</td><td>Start with/out beta function.</td></tr>
<tr><td><b>--gamma, --nogamma</b></td><td>-</td><td>Start with/out gamma function.</td></tr>
<tr><td><b>--Gamma, --noGamma</b></td><td>-</td><td>Start with/out Gamma function.</td></tr>
<tr><td><b>--Lambda, --noLambda</b></td><td>-</td><td>Start with/out Lambda function.</td></tr>
<tr><td><b>--zeta, --nozeta</b></td><td>-</td><td>Start with/out zeta function.</td></tr>
</table>

<h4 id="Notes">Notes</h4>

<p>
<b>WARNING!</b> This http server implementation is nowhere near secure, this as well as the posibility of execution of arbitrary Python functions means you should never leave this server open to the internet by serving on an IP address visible to the external world.
</p><p>
Due to mixing operators from Python and LaTeX the grammar may be a little wonky in places so if something doesn't seem to work as it should try wrapping it in parentheses or putting a space between the problematic elements.
</p><p>
After filling up the browser with many pretty mathematical expressions you may note that it starts to get slower, simply reload the page, all your variables and history will be preserved.
Or try adding "<b>--ugly</b>" to the command line, this will use a quicker draft rendering for the math.
</p><p>
You can always tell whether SymPad will treat an identifier as a function or a variable by looking at the font which is used for the name, it is different for functions vs. variables.
Also, SymPad will give you an empty set of parentheses as an autocomplete option when it recognizes a function name (this only works for top-level SymPy functions).
</p><p>
If you are getting results which are just plain wrong, check to see if you have any variables or lambdas mapped which would be changing the evaluation.
</p><p>
If you are unable to use a keyword argument identifier in a function call because it is a reserved name then you can wrap it in quotes, Python strings are allowed as keyword identifiers specifically for this purpose.
</p><p>
Usually SymPad should be smart enough to figure out when a function argument is an equation and when it is a keyword assignment like in this function "<b>solve(x**2 = i)</b>".
However some room for ambiguity remains like in this function "<b>solve(i = x**2)</b>".
In cases like these you need to pass the equation followed by an explicit non-keyword argument like "<b>solve(i = x**2, x)</b>", by using the strict comparison double equals "<b>solve(i == x**2)</b>" or by wrapping the single-equals equation in parentheses "<b>solve((i = x**2))</b>".
</p><p>
The LaTeX parsing is not really comprehensive, it is geared towards being able to read back the LaTeX emitted by SymPad correctly.
</p><p>
SymPad inserts the current working directory at the beginning of the Python module search path which means that for example if you run SymPad in the SymPy development directory then the SymPy module used will be the development version.
</p><p>
The server runs a single thread for consistency and keeps a single global state (variables), this means that if have two browser windows open the results of calculations in one will be reflected in the other.
If you want a completely separate context then you can run another SymPad on a different port.
</p><p>
Keep in mind that if you copy to Python code and want it to run in SymPy you must be in uppercase "<b>EI</b>" mode or have the variables "<b>e</b>" and "<b>i</b>" in Python assigned to "<b>E</b>" and "<b>I</b>".
</p><p>
Quick input mode can cause keyword arguments to not be recognized correctly since it always separates letters into variables, if some keyword argument is not working in quick input mode then wrap it in quotes.
</p><p>
SymPad allows mixing of Python and SymPy objects in certain contexts where this would not normally be allowed by SymPy.
In these cases the Python code generated will not work in SymPy alone as those kinds of operations are not supported by SymPy, for example: "<b>x and [1, 2, 3]</b>" generates "<b>And (x, [1, 2, 3])</b>" which will not work outside of SymPad.
</p><p>
There are many SymPy objects which SymPad does not understand natively yet.
In any case where such an object is the result of an evalutation then the SymPy LaTeX representation will be used for the displayed answer and the SymPy str version of the element will be used in the native representation string, as well as the actual object which resulted from the previous calculation being stored in the "<b>_</b>" variable.
This should allow you to continue working with the calculation.
</p>

<br><br>
<div align="center">
Copyright (c) 2019 Tomasz Pytel, All rights reserved.

SymPad on GitHub: <a target="_blank" href="https://github.com/Pristine-Cat/SymPad">https://github.com/Pristine-Cat/SymPad</a>
</div>

</body>
</html>
""".encode ("utf8"),

	'bg.png': # bg.png

		b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01\x00\x00\x00\x01\x00\x08\x02\x00\x00\x00\xd3\x10?1\x00\x00\x00\tpHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\nOiCCPPh'
		b'otoshop ICC profile\x00\x00x\xda\x9dSgTS\xe9\x16=\xf7\xde\xf4BK\x88\x80\x94KoR\x15\x08 RB\x8b\x80\x14\x91&*!\t\x10J\x88!\xa1\xd9\x15Q\xc1'
		b'\x11EE\x04\x1b\xc8\xa0\x88\x03\x8e\x8e\x80\x8c\x15Q,\x0c\x8a\n\xd8\x07\xe4!\xa2\x8e\x83\xa3\x88\x8a\xca\xfb\xe1{\xa3k\xd6\xbc\xf7\xe6\xcd\xfe\xb5\xd7>\xe7\xac\xf3\x9d\xb3\xcf\x07\xc0\x08\x0c\x96H3Q5\x80\x0c\xa9B\x1e'
		b'\x11\xe0\x83\xc7\xc4\xc6\xe1\xe4.@\x81\n$p\x00\x10\x08\xb3d!s\xfd#\x01\x00\xf8~<<+"\xc0\x07\xbe\x00\x01x\xd3\x0b\x08\x00\xc0M\x9b\xc00\x1c\x87\xff\x0f\xeaB\x99\\\x01\x80\x84\x01\xc0t\x918K\x08'
		b"\x80\x14\x00@z\x8eB\xa6\x00@F\x01\x80\x9d\x98&S\x00\xa0\x04\x00`\xcbcb\xe3\x00P-\x00`'\x7f\xe6\xd3\x00\x80\x9d\xf8\x99{\x01\x00[\x94!\x15\x01\xa0\x91\x00 \x13e\x88D\x00h;\x00\xac\xcfV\x8a"
		b'E\x00X0\x00\x14fK\xc49\x00\xd8-\x000IWfH\x00\xb0\xb7\x00\xc0\xce\x10\x0b\xb2\x00\x08\x0c\x000Q\x88\x85)\x00\x04{\x00`\xc8##x\x00\x84\x99\x00\x14F\xf2W<\xf1+\xae\x10\xe7*\x00\x00x'
		b'\x99\xb2<\xb9$9E\x81[\x08-q\x07WW.\x1e(\xceI\x17+\x146a\x02a\x9a@.\xc2y\x99\x192\x814\x0f\xe0\xf3\xcc\x00\x00\xa0\x91\x15\x11\xe0\x83\xf3\xfdx\xce\x0e\xae\xce\xce6\x8e\xb6\x0e_-\xea'
		b'\xbf\x06\xff"bb\xe3\xfe\xe5\xcf\xabp@\x00\x00\xe1t~\xd1\xfe,/\xb3\x1a\x80;\x06\x80m\xfe\xa2%\xee\x04h^\x0b\xa0u\xf7\x8bf\xb2\x0f@\xb5\x00\xa0\xe9\xdaW\xf3p\xf8~<<E\xa1\x90\xb9\xd9\xd9\xe5'
		b'\xe4\xe4\xd8J\xc4B[a\xcaW}\xfeg\xc2_\xc0W\xfdl\xf9~<\xfc\xf7\xf5\xe0\xbe\xe2$\x812]\x81G\x04\xf8\xe0\xc2\xcc\xf4L\xa5\x1c\xcf\x92\t\x84b\xdc\xe6\x8fG\xfc\xb7\x0b\xff\xfc\x1d\xd3"\xc4Ib\xb9'
		b'X*\x14\xe3Q\x12q\x8eD\x9a\x8c\xf32\xa5"\x89B\x92)\xc5%\xd2\xffd\xe2\xdf,\xfb\x03>\xdf5\x00\xb0j>\x01{\x91-\xa8]c\x03\xf6K\'\x10Xt\xc0\xe2\xf7\x00\x00\xf2\xbbo\xc1\xd4(\x08\x03\x80'
		b'h\x83\xe1\xcfw\xff\xef?\xfdG\xa0%\x00\x80fI\x92q\x00\x00^D$.T\xca\xb3?\xc7\x08\x00\x00D\xa0\x81*\xb0A\x1b\xf4\xc1\x18,\xc0\x06\x1c\xc1\x05\xdc\xc1\x0b\xfc`6\x84B$\xc4\xc2B\x10B\nd'
		b'\x80\x1cr`)\xac\x82B(\x86\xcd\xb0\x1d*`/\xd4@\x1d4\xc0Qh\x86\x93p\x0e.\xc2U\xb8\x0e=p\x0f\xfaa\x08\x9e\xc1(\xbc\x81\t\x04A\xc8\x08\x13a!\xda\x88\x01b\x8aX#\x8e\x08\x17\x99\x85\xf8'
		b'!\xc1H\x04\x12\x8b$ \xc9\x88\x14Q"K\x915H1R\x8aT UH\x1d\xf2=r\x029\x87\\F\xba\x91;\xc8\x002\x82\xfc\x86\xbcG1\x94\x81\xb2Q=\xd4\x0c\xb5C\xb9\xa87\x1a\x84F\xa2\x0b\xd0d'
		b't1\x9a\x8f\x16\xa0\x9b\xd0r\xb4\x1a=\x8c6\xa1\xe7\xd0\xabh\x0f\xda\x8f>C\xc70\xc0\xe8\x18\x073\xc4l0.\xc6\xc3B\xb18,\t\x93c\xcb\xb1"\xac\x0c\xab\xc6\x1a\xb0V\xac\x03\xbb\x89\xf5c\xcf\xb1w\x04'
		b'\x12\x81E\xc0\t6\x04wB a\x1eAHXLXN\xd8H\xa8 \x1c$4\x11\xda\t7\t\x03\x84Q\xc2\'"\x93\xa8K\xb4&\xba\x11\xf9\xc4\x18b21\x87XH,#\xd6\x12\x8f\x13/\x10{\x88C\xc4'
		b"7$\x12\x89C2'\xb9\x90\x02I\xb1\xa4T\xd2\x12\xd2F\xd2nR#\xe9,\xa9\x9b4H\x1a#\x93\xc9\xdadk\xb2\x079\x94, +\xc8\x85\xe4\x9d\xe4\xc3\xe43\xe4\x1b\xe4!\xf2[\n\x9db@q\xa4\xf8S"
		b'\xe2(R\xcajJ\x19\xe5\x10\xe54\xe5\x06e\x982AU\xa3\x9aR\xdd\xa8\xa1T\x115\x8fZB\xad\xa1\xb6R\xafQ\x87\xa8\x134u\x9a9\xcd\x83\x16IK\xa5\xad\xa2\x95\xd3\x1ah\x17h\xf7i\xaf\xe8t\xba\x11'
		b'\xdd\x95\x1eN\x97\xd0W\xd2\xcb\xe9G\xe8\x97\xe8\x03\xf4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xdcCs\xdfD\xfaD\x96D\xde\x9bg1O9\xaf-J5*>\xaa.j<\xda7\xba4\xba?\xc6.fY\xcc\xd5X\x9dXIlK\x1c9.*\xae6nl\xbe\xdf\xfc\xed\xf3\x87\xe2\x9d\xe2\x0b\xe3{'
		b'\x17\x98/\xc8]py\xa1\xce\xc2\xf4\x85\xa7\x16\xa9.\x12,:\x96@L\x88N8\x94\xf0A\x10*\xa8\x16\x8c%\xf2\x13w%\x8e\ny\xc2\x1d\xc2g"/\xd16\xd1\x88\xd8C\\*\x1eN\xf2H*Mz\x92\xec'
		b"\x91\xbc5y$\xc53\xa5,\xe5\xb9\x84'\xa9\x90\xbcL\rL\xdd\x9b:\x9e\x16\x9av m2=:\xbd1\x83\x92\x91\x90qB\xaa!M\x93\xb6g\xeag\xe6fv\xcb\xace\x85\xb2\xfe\xc5n\x8b\xb7/\x1e\x95\x07"
		b'\xc9k\xb3\x90\xac\x05Y-\n\xb6B\xa6\xe8TZ(\xd7*\x07\xb2geWf\xbf\xcd\x89\xca9\x96\xab\x9e+\xcd\xed\xcc\xb3\xca\xdb\x907\x9c\xef\x9f\xff\xed\x12\xc2\x12\xe1\x92\xb6\xa5\x86KW-\x1dX\xe6\xbd\xacj9'
		b'\xb2<qy\xdb\n\xe3\x15\x05+\x86V\x06\xac<\xb8\x8a\xb6*m\xd5O\xab\xedW\x97\xae~\xbd&zMk\x81^\xc1\xca\x82\xc1\xb5\x01k\xeb\x0bU\n\xe5\x85}\xeb\xdc\xd7\xed]OX/Y\xdf\xb5a\xfa\x86\x9d'
		b'\x1b>\x15\x89\x8a\xae\x14\xdb\x17\x97\x15\x7f\xd8(\xdcx\xe5\x1b\x87o\xca\xbf\x99\xdc\x94\xb4\xa9\xab\xc4\xb9d\xcff\xd2f\xe9\xe6\xde-\x9e[\x0e\x96\xaa\x97\xe6\x97\x0en\r\xd9\xda\xb4\r\xdfV\xb4\xed\xf5\xf6E\xdb/\x97'
		b'\xcd(\xdb\xbb\x83\xb6C\x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\x86\xeb\x9e8>99\xe2?r\xfd\xe9\xfc\xa7C\xcfd\xcf&\x9e\x17\xfe\xa2\xfe\xcb'
		b'\xae\x17\x16/~\xf8\xd5\xeb\xd7\xce\xd1\x98\xd1\xa1\x97\xf2\x97\x93\xbfm|\xa5\xfd\xea\xc0\xeb\x19\xaf\xdb\xc6\xc2\xc6\x1e\xbe\xc9x31^\xf4V\xfb\xed\xc1w\xdcw\x1d\xef\xa3\xdf\x0fO\xe4| \x7f(\xffh\xf9\xb1\xf5S'
		b'\xd0\xa7\xfb\x93\x19\x93\x93\xff\x04\x03\x98\xf3\xfcc3-\xdb\x00\x00\x00 cHRM\x00\x00z%\x00\x00\x80\x83\x00\x00\xf9\xff\x00\x00\x80\xe9\x00\x00u0\x00\x00\xea`\x00\x00:\x98\x00\x00\x17o\x92_\xc5F\x00\x00\xbd'
		b'\x89IDATx\xdad\xdd\xc9zcg\x92\x84i\x02\x9c\xc9\xab\xedE\xdfuVef\xa78\x82C/>\xe8\r+\xa4\x16z\xa4\x08\x128\xe7\x1f|077?\xfc\xfc\xbc\xbe\xbd\xbd=<<\xfc\xfe\xfe~\x7f'
		b'\x7f______\x7f|||\x7f\x7f?<<|}}\x1d\x8f\xc7\xeb\xeb\xeb\x9f\x9f\x9f\xe3\xf1\xf8\xf1\xf1qww\xf7\xfe\xfe\xfe\xfb\xfb\xeb\x0f\x7f~~\xae\xae\xaennnnnn\xde\xdf\xdfoooO\xa7'
		b'\xd3\xd5\xd5\xd5\xdd\xdd\xdd\xf7\xf7\xf7\xfd\xfd\xfd\xd5\xd5\xd5\xcb\xcb\xcb\xf1x||||yy\xb9\xbe\xbe\xbe\xb9\xb9\xb9\xba\xba:\x1c\x0e\xef\xef\xefOOO}\xc2\xd7\xd7W?\xfc\xfb\xfb\xfb\xfa\xfa\xda\x8f\xfd\xfc\xfc\xdc\xdd'
		b'\xdd\xfd\xfc\xfc\xfc\xfe\xfe^]]}||\xf4T\x87\xc3\xe1\xea\xea\xea\xfa\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\x11\x8b\xbb\xad\xd5\x18\xb9\xf3\x96\xe9\x11\x98N\x97\xc7\x84\xed\x98\x1a(\x10\xea\x1b\xc3\x1c\x94\xfa+\x84\xef8\xf1\xed\x9c\xd6&\xd1\xab\xd1\x90\x82\xablN\xdce\xa0Z\x8e\xd1N\xeb\x0f\x10\xb4#\x03\x03\x97\xa5\xbf\xeb\xb2'
		b'4\xc8\x1a\xd9$\xf6\xe3\xedq\xce\x10\xddZ\xff\xceka\xba\x8e\xd0\x8er_\x94\x8f2V\x14<\xbd\x94\xa4\xee\xb3\xdev~\x03\x10\xd7\x95\x16\x9bD\xad%!A\x94R\xc8\x07\x951\x11]7\xb3\xefE\xb3?\xe3Q'
		b'\x1f\x1f\xff\x86\x8cv\xa7qn\xf7\xd3\x01&E\x02F\x0c\x99\x8aW\x8d#\x8f\x03\x17\xdf\x19\x89\x86\xe1\xec\x04\xf6U?U*\xda\xa6\xbb\x00/\xb5w\x88\xf8Rn\x98\xd2\x15\xfeE"\x87{\xb2\xa0;nz+\x8b&'
		b'z\xb8\x1e\xfa\xf1\x17K\xd1\xbe\xad\xc2B]P/?(9\xfb\r\xac\xf4u*wd1\x15\x9b\xc9Y#\xde\xa0\x07\xe7\xa0:\xbe\xea\xee\x86\xa5F\x1a\xc5/\xb2\x89=\xf9\xc5<`}?=\xe4\x16\x13q\x1c\xe3B'
		b'\xb7\xad\x90\x13\xfd\xa8t{\xd6nje\xf4\xb4\xeab\x82~}\x17\x82C9\x8f\xd53O\r\xbd\x87\xa0\x03.\x10\xb6/A\x80M\xcd\x9d\xc9\xb2/\xd0\xed\x8e\xa2\xfa\xfd\xfd=\xfc\xfc\xbcj\xb6P\x1d\xd4\x84\xa5,\xa0'
		b'\x11\x9b\x9e}nK\xbf\xb3\x03\xda\xcb\xdf\xdf\xdfSQ_\x9a\r\xc3F\xf8\x80a \xc7\x82\xce\xb5B\x99\xbdI\x8d|\x19\xad\x95\xa0A+R\xe9\x90B\x98,$\x8a@\xc8\xd1\x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96{\x8c\x86\xe4\x94H\xdc5\x82\xb5\x7fHr\x0bx\xc3=\x0b$0'
		b'\xa8u\x17 \xa8\xf9s5\x84\xd5l\x85\xa5\x9a\xd7\xd4!\xa3Q\xd7=\x81M9[\xf9(*\xa8\xb2&\xfbh\xaa)\xb6\x8f\xc9W\xbezg%I\xb2;\xca\xfa\xadYU\x15\xb4.\xc6*\xf6li\x1f6\xddb\xae'
		b" n?\x13\xdf\x8e\x06T'\x98\xa04\xf26\xee\x19\x83\xcb\x98\xb6\xbf\xaaFwww\x87\xb7\xb7\x7ff\xec\x8b\x93pZ\xa8p\x81w`\x02\x1a\x03t\xf8\x1b\xe8\x87\xe2\xd6\x12\xa0X\x1a\xca\xd9\r\xa1|\xed\xb2u\xa0"
		b"\r_\xd8\xa1\xb3Fvg\xbdJ\x80\xac\x0eiA\x00\x82KO\x0eI\x8c\xee6\xb6\x8e\xcb\xec\xed\xe7\xc50\x05'\x19\x1b\x14\x0f\x98\x03\xcdaB\xb6\xdd\x81m-X\x08\x15\x06\xafsj\xc9\xe7\x04Kx\xb9\x15\xeaq"
		b"\xfe\xdc@\xd0$\x11\x03\xa70G\xa1+\n\xfa\xc4'\xeb\xf5\xb3\xec\xed\x9aY\x9aYV\xd1K\xae\xc6\x84L\xfa.\x1d\x18\x11\xa6\xba\xfb\xc2\x86\x17\xe9l\xe9\x9cc\xb3R\xc1\x1a\xac\xdbz \x01nU\x91\xaa\xbe\xb6\xa0"
		b'\x11,I\x1f\xb5U\x94\x14C\x94>C\x8au\xde\xfc\x99!@\xd4\xae\xfc\x15m\x81JGV\n\xbf\xbc\xcb\x00PS\xa4\x14\xd1n\xee\x0b\x18\xe9\x8e!\xfc\x18a]\xdad\x88|4\x9583\xa6-\x18, 0\x13'
		b'\xf4\xab(g\x1a\r\xe2\x85\x07#\xbd9\xa6\x82\x8a\x9dD\x8d&e\xc2\xcd\xf1x\xec~\x8a\x82\xa4VJ\x04:\x1e%Nj\x0e\x01kf\xb9f\x934\xfef\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xbc\xf3!\x98\x07\xa0\xa4\xee$U\xf0\x92{\x92\xd42\xda'
		b'b\x90\xdcZO\xa5@\x04QE1\x0c\x1b\xccW\x84G\x81\xe0w\xd8\xde\xc3\xc3\xc3\x99p\xd2\tP\xbe\xb5\xb28\'ya\x86A\x8a,s\xedg\xb6h"\x07P"\x89\xb5\xdf\xee\x966\xa9e\xae\xf8.\xae\x88\xcf'
		b'!\xa0`\x1cAg\xba\xcb\xa0\x99\x18\xf5M\xebpr\xeaJ$P\x17\xce\xd4\xec\x02\x1e\xc0a\xdd\xd2\x01\x84\x84E\x800h\xa3Y\x810\xed\x8b\xda\x02\xc1\xdb\xab\x0f@\x8b\xa1\xb3R|\xb2\xbd k_\x99\x92\xd59'
		b'3P\x87\xcc\x81.J\x12\xf0\x0e\xe5^?5)Z\xd9\x9d\xa12x\xfd\xb8\x9d\x07&\xbc\x8fJM\x99\xe2F\xabZ9\x1f\x1b\xa7\xcak\x86\x962\x1aJi\xa7\xd3\xdcH#\x11\xd6\x81\xec\x1d\x96p\xbb\x18;\r\xd2'
		b'\xf86\xa8#\x7fe\xfa\xa8\x8c\x82&\xec\xb9\xa9\xc3\x90S\x8d\x98\xabq\xdbq\xec\xa7\xdbc\x9c\xc7\x9dn\xa0\x9e\x02x\xb6\x82\xcb\x99\xc13\xc5\x1a7\xc4\x13W~\x95\xfe\xfd"\x03i\xcc\x1e\x8a\x18Q\xf5\x8b\x91\x92e'
		b'{\x8a\x15P\x05Si\x89\xb6\x17\x18\x18\xa1\xae\x8e\x81\x95\xd5\x03`8\x82\xc2\x90\x1f%\x82&\xfft\xdaJ\xce^__{_\x12\xc2A\xb1pL\xc2d\x8a_\x19c\xbd\x97jp\x8c\x0e\xd8\x9eF\x83\x9e!"v'
		b'}ZF\x01\x1e\xa0\x1b\x89\xc5\x91e\x05\xcc\xa3C\xe3\xc0\xd9\xe2\x1c\xbb\xf6B\xcab\x996a\xd5\xe2]}#2\xa6\x99\x93=\xbc\xf6\xff-\xa5\x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xb8\xe0\x01\x8d,\'N\x11\xba\'\xd0\xae\xba\x045\x9c\x19h\xee\xfa)\xb1\r\x19W:\x0bY\xe8mB\x07\xdaf\xf3\x08o\x88z\xf1\xa8JzV"\xaa\xe0uSO\xb5z\x9d\xb2\x94\xe4V;\xde0'
		b'(;GX\x1c< \xac\xcf\xcb#\xe1\xe9-\x96\xd7b\r\x12\xb2\xc6\xb0\xd2\xccEqMB\x02\xe24l\xcb\xb5Y\x11o(\\\xafF8~ez\xf1\xa6\xb2\xf1\xc6a\xec0\x11\xb9~\x7f\xb5\xb3\xe4\x14\x98\x1c2'
		b'\x1d\x02\xd6\x10\x85sg\x1ffp5\xe5\x19c\xae\xaa\xe5\xf0\xb8{yo\x8cN\x83\xb9.\x04\xc3\x89\xc3\xaa\x1e\x18M\xa2\xd5\x04\x81\xef\xec\xe2\xfe\xfa\xeb\x1f\x05\xee\xc6\xe8\x99&\xb2\xf4\xb8\x16ey\xd5\xed\x93Qd\xd9'
		b'\xf8\x1d\xdcG\xcc\xd0\xde\xb4\xa6K\x84\xea\x99v\xca4vx\xaf-k$\x9a\xbb\x13\xb9;\xcd^\x18\xdfC~\to]`\xa1\xf5\x02\x1d\xaa\x1b\x18b\xb7\xed\xb6\x9e\x93\x0f\x94\x99\xd0wX\xc1\x1c\x0c\xad\xd2\x86\x0b\x8f'
		b'\x07q\x12\x17\xed\x18\x18m\xa8=\x8cX\xce\x86\xe9\xa37\xaa\xbec\xbd6h\x07`b\x98Q\xb9\x12d/\x07\xbe\xff\xd0\x8a\xa9\x0c\xaf<\xba\x93\x85\xe0r\xca>*\xac\x98\x1d9\xc0\xeaE\xc4\xae{#R?:E'
		b'\xe9.\x03\x12\x8c\xa81}\xdeb:\xe2z5\x97|i\xc1en\x18ba\xcd\xba/8\x84#Q$|\xfa\x1c\x16\xf0\xb5w\xae\xad\xc1g\x19O\x0bC\x88)\x80\xce\x90o\xbd\xd0\x8c\xa8\xba\x848\xe5\x16\x16\xba\xd1'
		b"$\xd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83\xa0\xdb\xae\xb6\xc0\x03\xa3\x8a\xf0\t\xc2hA|\x07T\xe1\xc9\x18pw\x8c\xac\x88\x104\xf3\xd4Y\xc7\xed+A_\xe17'
		b'gE\xadT\xfcc&\xdf\xf6\xdc\x90\xe3d\x01\x01\xb2\xe6\x8d#58`\xa65\x92\xb8\xea\xe6\x13\xb1\xf4[h\xb9\xabc\x87\xec\xd0\x11\x821@\xcc\xc0\x06\x1a;\xa9\xa6JP!\xe9\xa7\xd3\xe9O\x89\x81P\x1eK\xcf'
		b"A\xf3\x00\xb9\x88\xed\xd7L\x80\x85['}\x03\xf7l#w\xfc\x81\x19\x1c\x19\x06&\xbc\x0c)\xbaDQD\x0f\xd0\x95(\x8b5o\x8f\xbc\x0c[N)`g\x15\xaf\xec\x0f\xf0+\xd00C\x02\x02'f\xb8\xfd@\x85"
		b'^\x90\x13\xa9\xed\x92.\xc9U\xf4[+\x1cd\x12p\x1f\xd5\x9fw?\x95\x87bF\x98e\x0ft\x92h\xe9\xfe1fF\xcf\x1dP\xa8\xd4\x7f\x13D\xc4\x84|&\xee\xd3JY\xa1!BN\xe8UJI\x95\xd2J\xf4'
		b'\xd5d\x88\x93n[B\xd6\x1d\x0c\x9d97\x0e#\x8f\x91\x97+\x04W\x92\x03piw,V\xb9h\xbe\x83>\xfbRu7\xa5\xeeL-\x98QKCKj|7\n\xc2\x9f\xc6\xe7\xa5=\x19Ck\xdeA\xc7\xc2\x96'
		b'\x14Q\tF\x83\x17\x15\xe1\xa5b\xdb^\x14\x90\xb7\x84\x132I\x85n\xaa\xdf\xf8?l\xa4u\xcf\x11\xb5^\x9a\x92\xb9`q\x94,\x02A\x95\n\x10\x96\x1e\xe7\xa3}N\x1f\xb7\x9a \x05cg\x14\xbc\x8d\x13\xb6\xfa\x98'
		b'dg W\xca\xb4A\x90\xb5\xce\xac\xb84\x98\x85\x14vU\x1e\x8d\xbf\xe7a\x86\x7fG8\x1c`@\xad\x01\xf4\xbdQ\xf8F\x90n!\xa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\x11\xd0|\xad'
		b'\x0cD\x111\xecB\x02\xb5\x954\xfa\x1a\xc0\xb8\xeao\xc7\xb0\x9d\xbe\xa3\x13\x03\xe2\x08\xd3\xc8`\xc8\xf6Z\x9dV\xa4x\xc0\x84\x051\x92d\x1a\xe5Ai\x19T\\\x90\xd3\x91-\xdd\t\x8334R\xaa\x94\x97\xaf\x81\x08'
		b'0e@9\xa5\x1a\xb3\xf1Z\xc1\xc8\x9ep\xe8"T\x1c\x04\x02\xa6]\x1e\x15\x1c\x82\x81\xd8\xf0\xec\xbd\xc5Q\x84\xa2~\xa3\x14\x95%\x03\xedi\x18G#o\xb3{\x12h:\x8cHc\xb1N\xe2-!\x9b\xd6*\x10\xe2'
		b'x?\xff\xfe\x07\xeei\xb3\x94\xb7\xccAC\x80\xebC:\r=j\xad\x02\x82\x07\x05\xfe"\xbd\x0e\xc6\xce\xed\xec\xe4\xf4\xbd\xfd\xadi:\x86>\x01I\xfb\x96Lo&\x80\x84x\xfed\t]\xa6\xfb`\x07i)\x91\x14'
		b'\x81:4\x0c\xf4\x0c\xc5NT\xd2\x14pi\x82\x88G\xcer\x15h\xc3\xe2-\x14<S\xd34\xd4u\xb9\xf1\x04w\xb35d\xe41u\x91\xefT"\x89i\xae9\x86j\x90\xd6N\xd3\xe8@\xdb`\xb43\x87\x89\x0e\x1e'
		b'\x95z\xc5`%jaO@\x1e\xaa\x82\xd9\xa6\x85\xbfP\x9a>\xbf\xbd\xe9\xc9[\x01s\xa2$\x00\xa6\xd4\xc8 s\x92\xa6?\xb4\x08f\\#A\x94\xcb\xb6\xa4\x9em\xfb\x98I\xef\x83D\xcd\xbe\x85\x90\x16\x95\x99\n^'
		b'L\xd2\xfagA\x9c6\x12\x91\xac)&K1\t~\xc4v\xa9w\x8c@\xef\x90_\xb4\xc2\x0e@\xe6\x7f\x07~!\x84\xb7\x14\x19\x1a|\x16\x87\xa1e\xa7G\xe4r\xee<\\\x1c\xe1\x1d\x7f\x04\x07\x97\x7fgP\x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'
		b'\xc6\xb2\xd3\xb0.A\xa1\xa0\xdd\xf9FI\xa7\xfb@\xef\xae?\x91\xcb:\xd9d\xd2h\xf7\x81\x1aAo\xc8\xa1\xd4P\xc8\xee\x15S\xa1\x92+\xc7d\xab@\x1c\x10\x80V\xb6\x07\x93\xfb\x12\xd9e\xef\xa5\xf5\x98\xa1z\x03\x94'
		b'6\xf57e\xcb\xd5\xa1w44\xc2\xa9\x16\x88\x16\x99wB\')\xc6S\xc0\xcf\nRt\xa2\xc7!\xf4\xea\xabay+\x8eil&\t\x13T\xbc\x9d\xd3\x01Q\xe80u\'[:\x9a\x93\xfd$%m"\t\xda>'
		b'\xa5\xd1\x98K\xab_\x1b\x81t\x19\xcb\xc6/h\x13#6\x85|\xd5\xb3u\x00\xb8\xa0\xd5x\xcd?#\x0b\t\xa7K\x0b{\xdf\xb2,\x16\x99K!\xfc\xa8\xb8y\xf8\xf9y\xcd\xdf\xf5\xdd\xab\x11\x8d."Q\x06\xed\xef\x18'
		b'\xca\x9dY\x10`\x8a\xc6C\xaa\x92\x00\x01\x065\x1d8\x00\xa5x\x0e\x99\x19pa\xd7\xe9\xf9\xc0\xe0\x00\x14+[\xbb3CKo\x0c\xf1-\xce\xde\x86fSFz\x97>\x07\xf5W\xdd\xa7\x1f\xebW\xdc|\xee\x98\x93\xed'
		b',\xd2VR\xb7bD\xab\xc1\xfda#\x1e\x8fj\xbd\xc0P\xe9\xa9\x9c\xa13\xaaZ\xb4\xea)\xab\x02\xa2\xde\xac\x06\xcf\xfb!\x9c\xaa\x89j\xaa\xd4\xee\xdc\x11D\x12Qk\xc3\xd04\xcb\x1aF\xa4-\x896\xdev\xdc\xe3'
		b'\xed"8Ps\x01u\x14\x04:\xe8\x10\x14\xfdU\\\xa8\xd8\x15_\x18\xb8Gl\x82\\nVR\xe5dg\xbcB2\xbf\xbf\xbf\x0f//\xff\xd3m3C\x17-\x87\x8e\r\x85\xe1e\x01H\x82[S\xed\xfa4\x81\x11'
		b'\x87\x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x97du\x81(\xc7'
		b"\xe8\xee\x93\x87\xfd\xb7\x8e1\x14\x05f\x17I\x84_\x82\xfd\xb5\xf1]B\xab\x81(\x85\xd6a\xd8\xc7\xf6W\x94\x1e\xe0\xd6\x8b\x16<\x12\x1f%'!\x96\x88.\x91ik\xcbt\x8d\t\xde*\x90\xed\x8c\xa6\x82\x13\x93E\xc9"
		b'\x90\xe4$U\xd3%\x1eRd\xf3cv\x8c\xe4\x02\xc7\xc2$\x14\x04\x99\x83\x89[\xca&t\xabt\x1d\xb0\xad\x86\x91\x82V\xcf]\\//\xff\x83\x10\x9a\xcb\x8e\x06CCag\x06c\xedm{\xc4\xc2pmFW\\'
		b'\x9f\x14e\x1e&DO\xaa\xe3+ \xa1\x97\x94\x97\xe7\xdc5Xt\x97\x90\x07\x8d&\xef&\xa3Uu^i,\x9b0.\x19\x00QS\xb15\xee\xb7\x1cqE3%\x1e\x04N8@\xc2A\xb8\xd0;\x90\x18\xcfl\xd5'
		b'\xbe\xd0\xf88}\x86\n\xfbU\xa4\xb1y\x85V\xe3\xfc\xdeJA\x19\xeb\xa2N\xbfbo\xebX\xe8v\xa9\x07\x91\xae!G\xa5)L*\x89\xcf\x87y\x01\xd4W\x11/\x02\xec\xc6*H\xd1\xdc\x05n\x8aB\xf1\xc0i\x12'
		b'\xa7l)\x9bW\xca\xc0`gp\xdd\x01\x16\x99\x8a\x07\xa4\xa1\xb5Z\x04\xc9\x80&\x1d\xa4\x87\xbf\xfe\xfa\x87DJ\xc0-1\xd0\xdf\xb4\xe4\x05\xf1L\xe6P\xf2\x80\t\xd3-$\xabV< \xedP\xda4\x94r\x07\xab\xb4'
		b'\xe8Z:\x00\x9d\x1ce\x17\xb5Q\xef\x10\x8c\xfc\xaf\x86k(ux\xf9N1\x92\xe3v.i\nqG@\xc6\x12\xfd>D~\xe9\xb0\xfa\xf3\x1e,L\x06\xba\x85>\x90!`\xe1\x948\xc0\x9a\xd6\x10\xb2\xac\xef\xdb\xcf'
		b'\xec%\xd9\x1e\x9a\xad=-\xa0L\xba\x0bW\xa7\xab\xdb\xfdY\xa9\x0e\x02\xc0\xa4&i\xb0\x8aFz$\xdd\xf4\x80\xdd\x9c\x98h\xd9\xd9\xa0K%e\x17\xc5Q\xeccV:rf\xd5\xb0&\x050\x9c|WHc\xa0b'
		b'\x08\x99\x8f\xc2\xe6~\x9e.-\xa1\xd2\x1e8\xe3^\x1a\xa0a\xfa\x88\xc0\xbc\x93g\x88\x87\xc5\x15\xd9\xc1\r\x19B\xc14\xd8\x0ene0\x93\xf1x\xad\x82\x8e\r\xa1\x88\xc9\x05\xfa\xac\xbb\xeb\x12|\x86\xd95H\xd6<\x03'
		b'C\xdc\xaa\xb3\xb8\xb1\x81\xf4\x9d\xde\x04\xacMn`\xa2}\x8e\xce\x1d\x96*](\xdc\x03\x1f\x91\xba\xd4\x19\xea\xce!c\x08\xb7\x8d\xdb\x83\x86\xc56\xb7z}\x05\xfc\xc4+c;/\x9f\nmdGT\xf5< \x8a\x0c'
		b'\x9eHw\xeb$\xf80\x05l\xdb\x87\xdec\xa3\xa3\xee\x848\x8c\xf7\x16\xb9S\xf5\xf6\xf6\x16\xd4+\xc0\x0b\x84\xa04\x8cn-|-.E(\xde\n\xb4\xb8`\xfbBq\x0bb\xa9\xd8\xd6\xaa\x1c\xb8\xc9///\xc6\x92'
		b'\xb3\xa7-\xaf8\x87\xe2j\xa4\xa3\xfe\x96\xf6\xfa\xdb\xdb\xdb\xe1\xe5\xe5\x7fz s\xec\x18\x03 \x17\xaa\x82n\xee\xae\xf8\x8aOa\xec\xe4\x8b\x93hF\xc6D:\xd7\xea\x81\xfb\x80\x14\xb4\xed&@+\xba\xea\xadc\xa7\xb9'
		b'\xdb\xa5\xa5}E\\\x8c\xb4\xa0\x82Xd\xaf\xd8\x87\x14\xce\x8d\xe6L\xba\x00\x16K\x11\xb7\x13\x83\xda.\x06(\xb1\xd6R\x03\x9b\xd24\xdc\x06\x94P\x02\n1X\xdbH\x95\x10\x055m\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x83\xac\xc2\xfc\x06W`1\x13\xa5\xea\xd6\xcfrU\xa3h\x01\xdb\x1aN\xa9\x8e'
		b'~e\x1c\x05D\xc3\xba3d\xb4\xd20\x05\x95\x81+\xe2\n\x02\x0b\xcd7\t\x81\xe5\x17\x92\xf1\xd2+\xd7\x80\xf4\xda\x03\xb4\xd4\x86\xb0\xd4y\xa3:V\xbf\x94\x9aC\xf6\xba\x82\xc6\x9f\xa0\xaa\x92\x87\xd6R\xb5\xad\x15\r\x17'
		b'\xa2\xa9\xd4\xaah\x00\xad5\xfe\x80\xf3H\x0c\xf5>\xb00E\xdc\xda\xc3\xf3\xb3\xc5\xb24\x0e\xd4\\ BR\xf6\r\x07\xf3\xdd\x869\x93\x19U\x1er\xaaz\x1d\xb5\x88\xfe\x1b\x05\x05\xcc\x95k\x92B)\x8e\xf6\xa8\x84D'
		b'\r\xf0\xe3\xf1T\xaf\xf9\x19T\xd3\xbeQ\xf6\xc9l\xe3\xf1\x17\xd5\xf4\xd8\xbd\x17$\xfb\xf7\xef\x7f2x\xe8O0\x90M+kO\x15\x10.\x16\xd4N\x99*\xdb\xfe\xee@h\t\xb1\x84\x92\xb4#\xed\x13h,U/C'
		b'\x9a\xc158\xe1\xcbe(\xca\x12e\x08\xdb\xfa@30\xf1\xe4(\xd5*\xddH\x9f:\x06;\x0e\xb5$\x18z\xde\x85\t\x052\x94\r\xe3\xd0\x89\xfd3q\xa9\x7fP,3]\xb6\xa7\xe3k\x99\x08y\x07\x86, \xb0'
		b'w\x9a\x1c\x88\xd2\x92|@\xcbXXro\x82\xce\x89d\x12\x0e\xbb\x8d\x04\x19\xd1\x16\xb7C\xbff\x8fT\xe0\x16\xb0\xe0\xd3D\xe3\xc0\x97u\xeb\x03\xd7I$\x11\xcc\xab/\xb4\xfe@\xee\x88\xa5t\xc8\x1ck\xa1\xb9\x9a\x17'
		b"\xf5\xd2.<\x8e\x97(Y\t\x02\xb2\xbc\x87U\xdf`G\xcd\x81&\x02'\x0bTC\x90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$g\xa2\xc0\xaf\xc6\x1c\xb3\xbf\xd8\x01\xd52c\x1a\x98K>\x90vK\x075\x94\xc5\x10o$\x86\xfai\t\xc2U\x95'
		b'\x0b\xa1>\xc3\x9d&0\xaf\xbeH{@"\x0e\xd4\x00\xf0A\xe1(*@\x96\x02z \x90$\xfb!\x1cd\x90jA\xcco\x10m$H\x06?\xc5\x02\xd2R\xc4\xbd\x1a\x96\xa1\xa1{\xe5\xfc\x05QpU\x9d1\x9ar'
		b'4\xc1u.\xb5\xc9\xea\x80#\xf7\tq\x02d\x15l\xb4\xd9B87\xc4\xc4R%X\xb6\xa0X\x19\xa3\xae\x070|mu\xff\x96}\x18X\xa7\xa3Z\x98\xb1\xc3\x19\x82\xb9\xe8\xdd\x9b\x17\x8f\xac\xef\xec\xaeV\x9c3A'
		b'\x89\xad\xea{\xbfH\xb2E^\x9e\x0b"\x1a\xe9\xd8\xad,\\\xda$\xccA{D\x0b\x193\x80\x0e\xf1F\x1f\xcc\x8d\xac\x06\xaa\xab\xceMq:\x84&\xb3\xabe~\xd3k\xfaN \x93n\xf2\xf5\xf5\xf5\xd1\xe0\x1a\x19\x1e'
		b"o\xd2r\x00:\xfb\xa0\x1d\x14E'\x95l\x96J\xad\xb9\x0f\xfa\xaf\xe1\x00<rK\x10_@W\xdb\x02v\x1a\x7f\xbaH5\x92\x16K\x08\xdb\x84\xec;\xe7\x94\xfaR\x9f\x99\xe1$\x9a)\xb8\\\xbe\x97\x9d&\x95\xd5\xa5"
		b'\xcd\x8a\xa8z\xf6\x00\xba\xf8\xd4 Q\x00h/+\xb2\xb6\xbb\xfd\x87\xeeo\x1cO@\xaa\xe0\x017N\xa6[\xaa\xd7\x1e\x17\x10\xefX\xbe\x1eu]\xab\xbc\xa5C\xb0#\xca\x91\x9f\xf1\x849+\xd5\x89\xc0\x8f\xc2!zr'
		b"\xa8J\xea\x89+\xdf\x821\x8a\xf9\x07P.@ \x02\xa9\xbe\x0b\x0bR4\xa8\x10\xd1\xd9\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xbc\x8d\x84S\xa1\x1d\x06s:\x9d\x0e??\xaf\xea\x17\x06\x92\x81\x9f[&S7\xd0\x0f\xf3\x0f\x17\x88\xbbnn\x1dq\x12\xd9m\xb6\\\x11'
		b'\x94\x1c\x19\xc1\x05\x1d9+*\xc1\x1e4H\x10\xda\xd8\xf6\xf8\xea\xaa-\xda\xc1\x94\xf0\x96\x8e\x02QU\xc9&\xc6\xed\x17C\xc7\xd6\x92]\xccH\xd5x\x01\x02\xd7\x93I\xeaPC=n\xcf*\x1a\x00\xda\xa1\xc6\xc0~\xec'
		b'b\xb7\x14\xfb\xb2\xac\xae@\x8b\x12\x11\xb0h\x05\xa8\r#\x14"\n#\x8d\x15\xb4\xb3\xec\xa8b(\xf6h\xcbR]RBb\xdd\x10+\x80\x19+\xbf\xde\xde\xf5\xbf\xa4~\xe0K\xc2\xf4\x0e\xb4PB;\xae\xfc\x81\nm'
		b';\xe5\x04\xba\xe7\xca\xe1\xad9\x8f\x8a\x8e\xe9X\xaegS\x168\xa3ozj\xdaf\xe8uWV\x99I\x92\x80\xca&\x06\xb0\xee}q\xacF\xd3\xdee\xdf\x9d`\xa9\x85\te\xc5!Z\xef\x08-\xf6\x87\x99\xa8\xbc\x07'
		b'Br/V\xba"\x05$mTT\x8a\x0e\x00\x0c\xc5BC\xf3\xd6\xca(\x81)\x8e\xef\xdd\x03C\xb4\x80\x00:\xabB\xd0\x18\xfb\xfe\xfe\xb6\x85\xbe\x9dI\xa3_d8\x978\x8a\xe0\x05q\x1b+\xd9\xbd\xd5\xf9\x0e\xdd\xa3'
		b'\xb1\xa5U\xbf\xbb\xa1\x15]\x1d\x94+\xc8\xa0\x08\xfd\x8d\x08\xd9\xf1\x9b\xf4\xee\xc1\xca\xf8\x0b\xe4\x1e\x88J\x94V\xc1\xf8\x13\xa8\xa3\x05$%\x83<.G\x8d\xdc\x13(\xa5\xda0a\xcc\xa5\xac]tu"\x80\xd1\x0b\xa3\x8a'
		b'\xde\xcf\x10-w1\xd0\x90\xa1\xfch\xc5g\x10\\\xe1\xa9\xbd\x01\x0bZ\xdf\x15\x81\xa29\xbe\xad*\xc1\x0b\x05U%\x9a\x11P\xbbH+\x89\x01\xda\xd7r@7J\xc3\x97&5\xc0\x1c*A\xc7(\x9ew\xd7\x9aD\x14'
		b"\xc1\x0c'\xec\xfd\xfd=\x88\xa0J\xa7\xa2\xc4\xca\x8f\x19\x19\xb4\x9a\x87\xe1'\xa63I\xce8n\xa1\xea\x99S\xfe\xf7\xb0\x13\x0e-\xd4\x123b\xc7A\xef\xc8\x02\x0c\xa5\xcd\xea\xa4O$'\xe8:\xee\xa8B\x9a\x8d;\xea"
		b'\xafc\xa4\xd1\x14\xb7\x05G=\x7f\x82\x87\xcb\xd0\xea_\x05\xb5\x19\x00\xd5\x0f4[W,\x01\xff\x8d\x10\xd9\xc5c\x11\x1c\xc1f@\xb5\x1adk34=\xb3\x14k)tzKt\xa2v\x94\xcd,m\x01)\xcd\xb8\x99'
		b'07\xb1\x96\xb3G7%b/%\xa5\x1bS\xb9\xb9x\x15\\-\x95K%\xdf\x99\xf4+}\xac\\\xa2\xa6\xb6b\xa8\xee\x12\xeb\xbb\xc2\xe2\xe4k\xec\xb4:C\xec\x17\x89\x0b\xc9\x80RCe\x1d\xfc[\x88\x81y\xac,'
		b"\x16\xab\xc0:V\x83\xeb\x84\xad\xfaC\x1ey\x99\x8f\xfc\xa6\xb4'\x03\xd1\x9f\x08\xb7\\\xa1 \x08\xaa\xf9\x15k\x85d\xb0\x1d\x90\x97?)\xab)\xeaX\xaf\xabofo;e.\xf6\xd2TL\n\x0b\xd0\xde\xe2U\x99X"
		b"\x17\x12\xda\xb1\xf3/\xd4\xc2{\xb6\xed\x01\x12\x1fn\xcbNn-2\x9c\x18R\x8dB\r\x1ez\xd1\xfd\xc1\xba/\x82\x10D\xc5\xb3B=\xd4%\xec\x9e@\xa86\xbe\xe7\xd6\x96\xfd\xaac\xdb`_\xe0u'\xfc\xe9\xe9\xe9"
		b'\xc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
		b'\x81\xdeac\xf4Hh\xffB\x03\t\xbfI4\x97"\x9fO\x04D"6\xaa\t\x90\x1b!\xbbW`\r\xca0\xc2\x11Y\xda,\xaabq\xed/\x19\x00\x12\xfb\x99m\xa3nR\rp\xbe\xb3+\x90\x16\xf6\x98\xa4\x87J'
		b'\x96\\P3\xcaZA\x9aM\xa2 \xe9\x04yj}\xe5\x02\xb6\xd6\xb3h\xb0\x92s\r\xcd\xa8\x07\xd9\xce\xed3\x06\x16\xd1=\xa6\xe4n\x9c\x16"m\xebL\xae\xb9\x80\xa7\xf3t\xa1\xe8\x86C\x8fY\xd8q1p\r\xe4'
		b'\x00\xad&\x07\x84\xc5IZ\xa1\xc8\xad\x04\xcfT\x98\xa5\xe5u\x94\x15CM=\xd4*\x00\x0b"\x85\x12r\xe5J\xe8\x1f\xa2 \xe4\xb2\x99\t\xd0y0\x85\xd6P\x1cv\xaa\x0fy{{;\xbc\xbd\xfd\xb3sC\xec\xce\x9c'
		b'\xc6\xde\x16W^\xad\x04\xaf\x9a\xe8\xdf\xea\x9b\x1b2\xde\xfa\xb6\x97 \xad\x04\xb0\x10\xc2H\xf4\xb8<\x98\xa4\x17\xf1wwo\x87\xc1\xe8\x85\xefa\xc81\xa0\xc5\x8b\x89W\xa9\x8a^\xacx\x14\xebS\xa8\x83\xec\xc5\x15PN'
		b'\x16\xb9\x1a(DW8\x93\x9c\x99P\xab\xc2\x7f\xa6\x83@\x95\x12O}\x89\xab\xcc<e\xc5U\xf9]\x8e~\xf9=K\x91\xf3\xb18\xf5\xaf1\xba\x9d\x9en\xbbF\x1c\xed\x1ce\x08\xc2T\xab\xaaP\xe30,\x01.&'
		b"\xe6\x86\x94TP\xb1H\x96\x84\xb3\x8a\xf0R\xdem\x81\xearv\x14\xf5H\x01\xdf\xc4\x02\xb4>-\x0bB\x17\xc1\x01\xfa\t\xfd\nA\x80\x0e\x00\x19\xdd\xb3*\x04W\xab\xd0\x18$\xa7'\xda\x11\x0c\nP\x10\xc1\x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\xd0\xf96FI\x0e\x9ai\x11\x85\x93X;\x8b\x13\xfd\x1d\x1d\xeeH{\xba\x93\xddL\xc1\x95'
		b"\x99\x1a='VI\x9f\x93\x9f)<\xc3]\x83^\xefXR\x8d5\x06W\xe6\xbb\xb05\x19H\x85B#SK\x8d:vnW\x16+L\x19i\xa2\xe5\x06\x93\xaf\xf4\xb1\xda\x9f\xf0\x14\xf5\x17\x01\xbbS\x92_\xad\x0bD"
		b'R\x04\x12\x95\x9a\xaf\xbc\xa1\xf9(\x10\x05\x83\x8f\x8c\x02\xf19,7i\x99V\x15\x04\xacr\xdc\x9aow\xd5\xc5a\xa8g\x80\xd4lk\x0b\xfd\x83\xf6j%\xad\x14\x80h\xb4dxs\x1d\x834([\x15\xc3D\xc2\xa3'
		b"'\xb9-\x1f\xe0A\x1d\xccE\xd7\xb0l|\x8a\xd3\xe9t8\x9d\xfe\x03\xd9\x0c\xc3\xe9\xe9%\x88*A\xea\x0b\x94\x1a:p\xe5@\xc6o\x18\x88\xb0\xe2\xac|\xfa\x0e\xfa\xe3\xa3\xc1\xff\xb4\x04a\x8e ^\xb9\x1d\xe9\x1e\xf6"
		b"o'\xf5\xae\xce\x1e\xd6\x94i\xd8\x85\x07\xe2E\xe3?\xe4\xa6\xbc\x01\xa7w\xe1\xd35\xf5k\x1b\xd2\xde\xae\xd1\xb1\xf0T\x1c\xa2\xc2\x80l#\x00]5?l\x9f\x16*j\xfa\x92\x850\x19iK\x01m\xb6\xffk\xdb\xbb"
		b'2\x87*\x06\xfePy>\xf7\xae\xa7V!b\xe7\xd8\xe6\n\xacjw\x1ec\x87e\xec\xd6]\x88\xd2-g\xa9t\xb9\x8f\x92\r\xd3\x8c\xe8|Gr\xa1\x01\xb3\x83)\x18\xd3\x95~\xd1m\xdc%\xcc\x7f\xae{\x04\xa7\xe6'
		b'Ut\x17*\x92\x1eEx\xc0f\xb3r\xc9\xd1 \x90\xc1\x10`\xffX\xc1\x9a57\x02\x06u\xe9B\xc8@f\xd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05H\xfc\x92\xd5C]\x81\xb0\xa9\xfaS;F\x17\xc0>"\xe2\xedPe\xa3\x05Qb\x10-'
		b'\n2\xa20}\x8f\xd4\x9fl\xc5\xfd\xf3\xf3\xf3\xf0\xf1\xf1o\xef\xd0\x8d\xd7\xc8+\xd8rc@\xb9\x85@\x04g<\xab\x02\xd6\xe6@\x04\x85\xf2\xf24%%\xf2\xee\x1b%T\x92$L\xe0\x8a%\xa9F\xd1L\x17\xe6\x12'
		b'\xa10\x96\x87\xac"\x00\xa1@(cV\xf5Jw\xa9N%J5F\xdce\x02\xc0M-\x0b1\x1f\xe9AX\xfe\xbaZW:\xfb\x02\x1a_ML\xcc?\x94\xb2n\xe9\x8as\xd1Z\xf5\xe1\xa1\xab\xda&\x19\xefB\xd6'
		b'\xc0\xd0\xacR\xaf\xb9\xa0\xbb\xe0mE\xaf\\0\xe1\xeefM\xab\xa7k\xb9Dh\xba\xa2W\x9aE\x0b%\n#\xd8\x80\x04\x1b\xadb\xe3\xa5\xb5D\x93O\xee\xc0\xe8\xb3\xd1\xf7W^\xa4\n\xaeF\xaec\x96`Y{\x14'
		b'\xf4L_\xf9t:\xfd\xff\x03\x00\x19\x9b\x15l\xef\xdc\xac\x12\x00\x00\x00\x00IEND\xaeB`\x82',

	'wait.webp': # wait.webp

		b'RIFF<\x12\x00\x00WEBPVP8X\n\x00\x00\x00\x12\x00\x00\x00\xc7\x00\x00\xc7\x00\x00ANIM\x06\x00\x00\x00\xff\xff\xff\x00\x00\x00ANMFP\x01\x00\x00\x00\x00\x00\x00\x00\x00\xc7\x00\x00\xc7\x00\x00'
		b'P\x00\x00\x02VP8L7\x01\x00\x00/\xc7\xc01\x10\xc7\xa0\xb6\x8d$5y|\xf7\xfc1\x86\xaf\xb6\x8d$5y|\xf7\xfc1\x86\xaf\xb6\x8d$5y|\xf7\xfc1\x86?\xff\x01\x00\x00\xe0\x18C\xce\xd9{\xcf\xff'
		b'\xdfZKD\x98s\x9asrw)%\xa5\x14\xaa\xca\xdd\xa5\x94\x98\x19U\xa5\xaa\xdc\x9d\x88PUfFD\x98\x19@\x90m;m\xa3\x1f4\xca\xaa\x85\xfb\xdf\xeb{\x86J\xe1D\x11\xfd\x9f\x00U[)\xc5\xbc\x1f\xa4'
		b"\x9aF-\xbb\xceyl\x96\xa9R2m\xcacO\xa8\xc2\xbe\xf9\xd9a\xef\x7f7\x8b\x96\xbd\xf7_k\xbc\x81\xc3F\xbd\x81\xf6f!\xedF&\xad\xf9m \x1a\xdc\x13\xad\xc1\xe1\x86b'bH\xdb~\xf2;\x9d\xf1\xb4"
		b'\xce\x01\xaf3\x9d\xf1\xe9\x06`\xf5*1\xe0\xb8\x8a\x965K\xa3v\xb3\xf5M@fC\x95\xff\x1do\x8cx\xb3\x88o\x0bVH\xbb\x91\x15R\xdd\xa6\xdf$\xa6\x19S3\xd67\x0f+\xf8\x14\x98\xa3`u;\xd7?\\'
		b'qC]\xf1\xe5\xe6\x11\xd2\xa6m\xad\x90\xdfe\x047\x1d\xf6\x1b\xf9\x0e7\x82o\x01!u\xda\xbf&\xe4{\x8b\xe0\xab\xc6\xee\x1f8\x8d\x1b\xc1\xa5\x11\xb2My\xec\xab\xff~\xc9\x93\xc5\x8d\xcdcK\xc0\xfcI9\xab\x9b'
		b'*\x14\x01\x00ANMF\xa0\x00\x00\x00%\x00\x00\x15\x00\x001\x00\x00&\x00\x00P\x00\x00\x00VP8L\x87\x00\x00\x00/1\x80\t\x10\x8f\xa0\xa0\x91\xa46\xf7\xbd?\xe0\x18\x85m#5\xdf\xfb\x03\x1b\xb3\xba\xc2\xb6'
		b'\x91\x9a\xef\xfd\x81\x8dY}\xfe\x03\x00\x00\xc0\xff\xbf\xf7\x9e\xf7\x1ew\x97\x99\xba\xdb\xcc\xc8LfFU\xa9*w\'"T\x95\x99\xa9*`\xdbH\x92\xa2\xd9\xa7c\xca?\xde\xd9\x03\xeb\xd7\x8b\xe8\xff\x04`\x9co\x10-'
		b'\x9e^\xe1\x85c\xaf\xf0\xcf \x8a\xa3\xaf(\x15\xa2|\x1cMP\x96M\x11+\xff\xae\xee\xf8-\xfcr\xbc.\xd1\x06\x85\xc3\xa9\xf6\xd03oK\x00\x00ANMF\x9a\x00\x00\x00*\x00\x00:\x00\x00\x1e\x00\x00\x15\x00\x00'
		b'P\x00\x00\x00VP8L\x81\x00\x00\x00/\x1e@\x05\x10\x7f\xa0\xa0m\x1b\xa6\xfc\xd1v\xff\x02Q\xdb\xb6\r\xe3\xff\xafuz\x1d\xd4\xb6m\xc3\xf8\xffk\x9d^\x87\xf9\x0f\x00\x00\x8c\x08\xbb\xeb\xee\xfc\xbf\x99\x91\x99v\x17'
		b'Iwgw\xdd\x9d\xaa23H\x82\xebH\xb2\x95\xea\xe0\xee\x0eYYb\xce"\x19R7\tx.\xdf\x11\xfd\x9f\x00zn\xd94M#\xdc\x93z\x9e\xe7\xe9\x7fB\x0b\x00\x07c\x8c\xed\x00 F\x9e\xe7y\x0e\x11Q'
		b'\xe1y\x9e\xa7\xfe\xbe\x16\x00\x94\xd3\x08\x00"\x00ANMF\xc0\x00\x00\x00%\x00\x00\x11\x00\x00<\x00\x00\x82\x00\x00P\x00\x00\x00VP8L\xa8\x00\x00\x00/<\x80 \x10\x8f\xa0\xa0\x8d$5w|\xf7\xcc\xf2^A'
		b'\x1bIj\xee\xf8\xee\x99\xe5\xbd\x826\x92\xd4\xdc\xf1\xdd3\xcb\xfb\xf9\x0f\x00\x00\x00\xc7\x18\xce9\xfe\xff\xde{\xf6\xdez\xef\xccL\xadUJI)\x85\xaarw)%fFD\x98\x190\x90$)\r\xee\xfa\xff\xf7.'
		b"\x10\xf7TD\xff'\x80l\xb7\\\xd6s\xb5\xce\xff\xce\x91\xd4\xb4q\xd0\xa5/\x97\xf5O2\x18\x1c\x96\xe0(6w\x019$9\x1c\xa7\x1a[[\xef\x07I`\xdd`\x05\x0eS]\xe8\x0c\xcb\x16\x86'+\x11\xa7\x86\x1c"
		b'q\x99\xeav\xe9\x05vKp\x14\x9b\xab\x8b\xe3E\x94\x84\xf3\x12\xaeJ\tANMFN\x01\x00\x00\x00\x00\x00\x00\x00\x00\xc7\x00\x00\xc7\x00\x00P\x00\x00\x02VP8L6\x01\x00\x00/\xc7\xc01\x10\xdf\xa00\x92$'
		b'3uz\xdbP\x18I\x92\x99:\xbdm(\x8c$\xc9L\x9d\xde6\xe6?\x00\x00\x00,\xa5\xf0\xdes\xceYk9\xe7(\xa5\xf8\xff\xb3\xd6\xaa\xb5RJ\t!0\xc6p\xceQJ\xd1ZSJ1\xc6p\xce\xd1Z\xf3'
		b'\xde3\xc6\x10\x11J)Zk"Bk\r\x10\xdcHR$u.34\xce\xcd\xfc\xff\xa9\x99\xc3\xcb}\x1d\xd1\xff\t0\xa5\x95\x98\xcd\xe7\x01\xc54\xa6\xdd>L\xe3\xb1\x9d\x99K\xe5\xd4L\xe3E03[\xfc\xf7/'
		b'\x9d\xf5\x96\xbb\x11\xb8-_?\x00\xaa\x1d\x81E\x97sc\x9e\x07q2\xcc\xfc\x7f\xe3\xddk\xde[\xcd\x1f\x0b\x15b\xec)B4\x8fiN\xc2\x05.\x05n\x1f\x1e\x15|\xfd\xa7,\xc1\xcd\xe3\\\xfe\xb0\xe7\x07i\xcfw'
		b'\x0f\x0f\xc4\xd8\xf4\x1b!\xe6e\xc0\x8fg^\t\xe9\xc6\x83P\x9d\xf9\x01\xfc\x11\x80h\x9b.\x1d\xf8MP\xad\x80|\x0b\xf8\xde\xf2\xd4I\xe5x\xec$Y~\x00\x9f\x1b\x88\xa7f\x1a/\xd9\x9bt\xe3\xe1\xc1s\xe0\xb7\xbc'
		b'B\xcd\xadp\xad\xf9#\x95V|)`\xb1\xa2\xfe\x81\x8a\xe8\xd7e\x10\xd2\xa6_\xff@\x8d\xf1\x17\x12Z\x1f\xe24\x1e\x05:}\x98\xcf\xe2\xa6\x02EANMF\xa8\x00\x00\x00%\x00\x00:\x00\x001\x00\x00(\x00\x00'
		b'\xb8\x01\x00\x00VP8L\x8f\x00\x00\x00/1\x00\n\x10\x9f\xa0\xa0\x91\xa46\xf8\xbd\xd1Q\x801\x144\x92\xd4\x06\xbf7:\n0\x86\x82F\x92\xda\xe0\xf7FG\x01\xc6\x98\xff\x00\x00\x00\xf0\xff\xef\xde+"D\x84\xbd'
		b'\xb7\xf7\x1eU\xd5Z\xe3\xee2\x93\x99QU\xaa\xaa\xb5FU\x99\x19\x11af\xc0\xb8\x8d$E=\xbb\xc7\x0c\xf9\x87\xdb\xcb\xf8\x8b\xe8\xff\x04 \x91\xbfiG\xbbW~\x05s\x08_:\xcb3\xf1\xc1@M\xfcrr\x8b'
		b'!\xb8\x18\xee\xed\xec\x9c\xe8\xe8IOt\xc3..\r``8\x1b\xc1oC\xfb\xde\xd0?\x00ANMF\xf2\x04\x00\x00\x02\x00\x00\x02\x00\x00\xbe\x00\x00\xbe\x00\x00P\x00\x00\x03VP8L\xd9\x04\x00\x00/\xbe\x80/'
		b'\x10\xf7\xa0\xb8\x8d\xa46w9\x1f\xf0Cq\x1bIm\xeer>\xe0\x87\xe26\x92\xda\xdc\xe5|\xc0\x8f\xf9\x0f\x00\x00\x00\xef\xbd\xaaJf\xda]\x11\xe1\xff\xef\xde+3e\xa6\x88\x10\x11\xde{TUwsw\x99IU'
		b'\x99\x19U\xe5\xee2\x93\x99\xa9*\xeeND\xa8*3#"\xcc\x0cdI\xb6\xdd\xb6\x11\x1e\x95\xb3d[\x81\x14\x88\xfd\xafs\x04\\\xbc\xf7H\xdcI?\x11\xfd\x97 I\x92\xdc6\xe8.\xab\xed\t\x8c\x07\xeb\x0b\x0b\xc2'
		b'\x1f\x08mJ$P\x97\xfc\x12{\x98[\n\xf1\x86\xbb\x05\x8a3\xdc-U\xf1\x85\xbbE%\xaep\xb7\xa8\xc5\x13\xf2\x96\xff\xbd\x16\xf2\x16\xa3\x18\xc2\xdd\xe2 \xf6\x88\xb0G\x84="\x14\xe9\xae[\xb6\xae,\xcc\xe2\x96\xde'
		b';\x8b\xf9\xe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ef\x10(\xd8\x01\xbd\xd1\xca\xb0'
		b"j\xb6\xeam\x0f\n\xd0\xba\xf0jv\x8cz\xe2\t}e\xd6\xec\x18\rH\xeb~;Z\rMka\xe08\xd9\t\xe3\t\x0c\x15\x187\x8b'8\x14\xc5f\xb7\xdaq.\x87\xa2s\x82\xdb7\x8fu\xe5`b'Rz"
		b'\xae+pif\xa0\x1e+0i\xa6F\x11+Pi\xa6D\x17\x11\\NP,\xa9\xc1!p\xb2\xd7;O\xf7\x0e\xaf\x04\xadf[\xbd\xe3\x01\x7f%\xd6l\xd3\xeb\x11`n\xcd\xb6\xbd\x9e\xcc$OPA\xdc\xf8\xcd\x9a'
		b"@\xb1\xd9\xd9\x80Plv\x8c\x06\xa85\xf3\x83\xd7\t^0\xb3'\xac\x9ayB\xaa\xd9\xc1\x81f\xe5\x16\xe7B\xcb\x9f[\xd9h\\6;\xd1\xbcL\x8eN4/k4CA\xd6h\x84\x84\xac\xd1\x04\rYm\x80\x88"
		b'\xacE5Td\x8dJ\xc8\xc8\x1aU\xd0\x915* $\xa3\xebP\x92\xc9}\x15R\xb2xY\x83\x96\xc4I\x81\x98\x9c\xa0&\x17\xc8\xc9\x01z2CPF(\x8a\xfe\xf1\x7f\xc0\xdc\x0f\x83\x03M\xa9!*%T\xa5\x82'
		b'\xac\x14\xd0U\x15\xc2\xaa@Y\x10\xd2\x02\xd0V\x01qePW\xab\x04\x00ANMFP\x01\x00\x00\x02\x00\x00\x02\x00\x00\xbe\x00\x00\xbe\x00\x00P\x00\x00\x02VP8L8\x01\x00\x00/\xbe\x80/\x10\xc7\xa0\xb6\x8d$'
		b'5w\xf8\xcc\x19\x87\xaf\xb6\x8d$5w\xf8\xcc\x19\x87\xaf\xb6\x8d$5w\xf8\xcc\x19\x87?\xff\x01\x00\x00\xe0\x9c\xd3{\xcf\xff\xdf\x18\x83s\x8esNkMk\x8d\xb5\x96\xf7\x9e\xaa\x8a1\xb2\xd6\xf2\xde3\xc6PU\xaa'
		b"\xcaZKD\xa8*c\x0c\x11a\x8c\x01\x07\xb2m5\r\xcf\n\x9a\xd8\x0b\xfb\xdf\xeb\xc3\xefG\xd3KD\xff'\xc0\xfc\xfd\xff\xf7\xbfFH\xde\x02\x90\xd4\x84\xf3\xc3\x1b\x9f\xcex\x10\xed\xe1 \x16|\xb3\xb0Ne\t\xae"
		b'\x05<u\n\xcb\xc8F\xaf\xb2\t\x80\xb6\xcc+\x1c\xbeYL\r\xb7\xe0\x12\x08\xbc6\xb4=\x8f\xb5\xe5\xbdDh\xa5d\xf5\x9a\x8fb\x01\xb7\x1f\xfb\xca\x89\xce"\xf3\xc8KloG\xeeO-\xd0\x8a\x84J\x0c>\xce\xcf'
		b'k6\xdd~s\x14\x1d\x9fD\x16A\x7fk\x84^E\x8e\xf3\x0bEv\xe1\xc3mf\xfd\xbee\xb2}\xb8\xb1\xb0\xfd\xe3[\xde\xd2Ad\x1ey!\xd0\x8c\xfc\xdc\xac\xdf\xb5\x027\x82\x08\\?\xa9\xad5on\xb3\x9d\xa7'
		b"\x86[%\roo\x84\x06\x81F'x\xf6\xbd\xc2\xd5*m\x80\xd1\x96\xd6\nmdZM\xa4\x88\xf7+\x829\xfd\xcf-\xe6\x06\x940\x7f\xff\xff\xfd\xaf\x11ANMF\xf6\x04\x00\x00\x02\x00\x00\x02\x00\x00\xbf\x00\x00\xbe"
		b'\x00\x00P\x00\x00\x03VP8L\xdd\x04\x00\x00/\xbf\x80/\x10\xf7\xa0\xb8\x8d\xa46w9\x1f\xf0Cq\x1bIm\xeer>\xe0\x87\xe26\x92\xda\xdc\xe5|\xc0\x8f\xf9\x0f\x00\x00\x00\xef\xbd\xaaJf\xda]\x11\xe1\xff\xef'
		b'\xde+3e\xa6\x88\x10\x11\xde{TUwsw\x99IU\x99\x19U\xe5\xee2\x93\x99\xa9*\xeeND\xa8*3#"\xcc\x0chK\x92\xa4H\x92\xca\x9b\x99\xa9\xa0\xeb\xff\xbfs\xb3+ 3\xc3\xf7\xe0%\xa2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x16,\xa2\xe5\\\xd57\x85\x129`\xbcV\xc80\x05\x91f\xd6k5\xf7\x1457\xcb'
		b"\xff\x10\xda\xaf\x95\x1dS\xe8\xc5ge\x11(\x8a2\x84k\ny\xb9\x9bn\xac'J\xcf\xb0\xfa\xa5\xb9&\x80@(\xae\xa6\x08\x04Bv\xe1\x18\x17\xc9\xb4\xa3d\xda1\xfd\x95\x87;\x93KY\xde\xc5\x9f+A\xe6\xf1g"
		b'a\xe7Z\xb8  i]\xf5\xc4~\x83x\x005\xd1m\x11o\x03j\xa2\xdb\x84\xb4\xc8\xbdx\xd5\x9b\x03l\xfb\xa1\xee\x1c\x80\xfdPG\xb7\x80]\xeb\xc9\xcej\xed\x04\xa8F`?\xd4\xdc-\x80\x02\xe4\x00\xe7\xbd]\xd5'
		b'\xddb\xdc\x1c\x87\xc2\xdd\xe2;A\xbc\xfa\xbb\xc2\xe3\xb7h7\x06N\x91x\x96\xa0\xdcM\x81o\xb7FY\xe9\xbd\xb6j\xcc\x9b\xca\xba\x85\xbb\xfb[a\x8e\xb7[\x85\xdd\xa2}\xeeT\xd9-\xd6\xe7~M\xd5x[\xa9n'
		b'L\xbc\xea\xc8\xe7\x02\xd7\x1d=\x19\x17\xa0#S\x95`]\x15\xa1\xdcM\xa1\x86\x1c\x9f\xe2\xdd\x18P\xbc\x1b\x03JV\xa3\xca@\xb9nqe\xa0T\x8e,\x03e\xba\xc5\x96\x81\x12\xdd\xa2K\xa7@5\xbe\x0c\xe4\xee\xc6@'
		b"*\xb93\x07\x19\xc8\xd9\x8d\x85\x0c\xe4\xeb\xc6C*\xf9\xaaLd O7.R\xc9\x93\xd9H'C7>R\xf1wc$\x15o\x95\x934>\xbe\xccJ\xc8\xa6\x86\x97\xb2\x99\x992\x99\x9b\xb2\x98\x9d2\x98\x9f\xdcf"
		b'(\xfan\xfe\xd70\xf5\xada)\x87y\xcal\xa62\x9a\xabLf+\x83\xf9J5c)\xe6,\xd1\xac%\x98\xb7&f\xae\x1fsWEn\x00\x00ANMFP\x01\x00\x00\x00\x00\x00\x00\x00\x00\xc7\x00\x00\xc7\x00\x00'
		b'P\x00\x00\x02VP8L7\x01\x00\x00/\xc7\xc01\x10\xc7\xa0\xb6\x8d$5y|\xf7\xfc1\x86\xaf\xb6\x8d$5y|\xf7\xfc1\x86\xaf\xb6\x8d$5y|\xf7\xfc1\x86?\xff\x01\x00\x00\xe0\x18C\xce\xd9{\xcf\xff'
		b'\xdfZKD\x98s\x9asrw)%\xa5\x14\xaa\xca\xdd\xa5\x94\x98\x19U\xa5\xaa\xdc\x9d\x88PUfFD\x98\x19@\x90m;m\xa3\x1f4\xca\xaa\x85\xfb\xdf\xeb{\x86J\xe1D\x11\xfd\x9f\x00U[)\xc5\xbc\x1f\xa4'
		b"\x9aF-\xbb\xceyl\x96\xa9R2m\xcacO\xa8\xc2\xbe\xf9\xd9a\xef\x7f7\x8b\x96\xbd\xf7_k\xbc\x81\xc3F\xbd\x81\xf6f!\xedF&\xad\xf9m \x1a\xdc\x13\xad\xc1\xe1\x86b'bH\xdb~\xf2;\x9d\xf1\xb4"
		b'\xce\x01\xaf3\x9d\xf1\xe9\x06`\xf5*1\xe0\xb8\x8a\x965K\xa3v\xb3\xf5M@fC\x95\xff\x1do\x8cx\xb3\x88o\x0bVH\xbb\x91\x15R\xdd\xa6\xdf$\xa6\x19S3\xd67\x0f+\xf8\x14\x98\xa3`u;\xd7?\\'
		b'qC]\xf1\xe5\xe6\x11\xd2\xa6m\xad\x90\xdfe\x047\x1d\xf6\x1b\xf9\x0e7\x82o\x01!u\xda\xbf&\xe4{\x8b\xe0\xab\xc6\xee\x1f8\x8d\x1b\xc1\xa5\x11\xb2My\xec\xab\xff~\xc9\x93\xc5\x8d\xcdcK\xc0\xfcI9\xab\x9b'
		b'*\x14\x01\x00',
}

# Parser for PLY generated LALR1 grammar.

import re
import types

#...............................................................................................
class Token (str):
	__slots__ = ['text', 'pos', 'grp']

	def __new__ (cls, str_, text = None, pos = None, grps = None):
		self      = str.__new__ (cls, str_)
		self.text = text or ''
		self.pos  = pos
		self.grp  = () if not grps else grps

		return self

class State:
	__slots__ = ['idx', 'sym', 'pos', 'red']

	def __init__ (self, idx, sym, pos = None, red = None): # idx = state index, sym = symbol (TOKEN or 'expression')[, pos = position in text, red = reduction]
		self.idx  = idx
		self.sym  = sym
		self.pos  = sym.pos if pos is None else pos
		self.red  = red

	def __repr__ (self):
		return f'({self.idx}, {self.sym}, {self.pos}{"" if self.red is None else f", {self.red}"})'

class Conflict (tuple):
	def __new__ (cls, conf, pos, tokidx, stidx, tokens, stack, estate):#, keep = False):
		self      = tuple.__new__ (cls, (conf, pos, tokidx, stidx, tokens, stack, estate))
		self.conf = conf
		self.pos  = pos
		# self.keep = keep # do not remove when popping conflicts

		return self

	# def __repr__ (self):
	# 	r = tuple.__repr__ (self)

	# 	return f'{r [:-1]}, keep)' if self.keep else r

class Incomplete (Exception): # parse is head of good statement but incomplete
	__slots__ = ['red']

	def __init__ (self, red):
		self.red = red

# class KeepConf:
# 	__slots__ = ['red']

# 	def __init__ (self, red):
# 		self.red = red

class PopConfs:
	__slots__ = ['red']

	def __init__ (self, red):
		self.red = red

class Reduce: # returned instantiated will try conflicted reduction before rule, returned as uninstantiated class will discard results of rule and just continue with last conflict
	__slots__ = ['then', 'keep']

	def __init__ (self, then):#, keep = False):
		self.then = then
		# self.keep = keep

Reduce.red = Reduce

class LALR1:
	_rec_SYMBOL_NUMTAIL     = re.compile (r'(.*[^_\d])_?(\d+)?') # symbol names in code have extra digits at end for uniqueness which are discarded

	_PARSER_CONFLICT_REDUCE = {} # set of tokens for which a reduction will always be tried before a shift

	def set_tokens (self, tokens):
		self.tokgrps = {} # {'token': (groups pos start, groups pos end), ...}
		tokpats      = list (tokens.items ())
		pos          = 0

		for tok, pat in tokpats:
			l                   = re.compile (pat).groups + 1
			self.tokgrps [tok]  = (pos, pos + l)
			pos                += l

		self.tokre   = '|'.join (f'(?P<{tok}>{pat})' for tok, pat in tokpats)
		self.tokrec  = re.compile (self.tokre)

	def __init__ (self):
		if isinstance (self._PARSER_TABLES, bytes):
			import ast, base64, zlib
			symbols, rules, strules, terms, nterms = ast.literal_eval (zlib.decompress (base64.b64decode (self._PARSER_TABLES)).decode ('utf8'))
		else:
			symbols, rules, strules, terms, nterms = self._PARSER_TABLES

		self.set_tokens (self.TOKENS)

		self.rules   = [(0, (symbols [-1]))] + [(symbols [r [0]], tuple (symbols [s] for s in (r [1] if isinstance (r [1], tuple) else (r [1],)))) for r in rules]
		self.strules = [[t if isinstance (t, tuple) else (t, 0) for t in (sr if isinstance (sr, list) else [sr])] for sr in strules]
		states       = max (max (max (t [1]) for t in terms), max (max (t [1]) for t in nterms)) + 1
		self.terms   = [{} for _ in range (states)] # [{'symbol': [+shift or -reduce, conflict +shift or -reduce or None], ...}] - index by state num then terminal
		self.nterms  = [{} for _ in range (states)] # [{'symbol': +shift or -reduce, ...}] - index by state num then non-terminal
		self.rfuncs  = [None] # first rule is always None

		for t in terms:
			sym, sts, acts, confs = t if len (t) == 4 else t + (None,)
			sym                   = symbols [sym]

			for st, act in zip (sts, acts):
				self.terms [st] [sym] = (act, None)

			if confs:
				for st, act in confs.items ():
					self.terms [st] [sym] = (self.terms [st] [sym] [0], act)

		for sym, sts, acts in nterms:
			for st, act in zip (sts, acts):
				self.nterms [st] [symbols [sym]] = act

		prods = {} # {('production', ('symbol', ...)): func, ...}

		for name in dir (self):
			obj = getattr (self, name)

			if name [0] != '_' and type (obj) is types.MethodType and obj.__code__.co_argcount >= 1: # 2: allow empty productions
				m = LALR1._rec_SYMBOL_NUMTAIL.match (name)

				if m:
					parms = tuple (p if p in self.TOKENS else LALR1._rec_SYMBOL_NUMTAIL.match (p).group (1) \
							for p in obj.__code__.co_varnames [1 : obj.__code__.co_argcount])
					prods [(m.group (1), parms)] = obj

		for irule in range (1, len (self.rules)):
			func = prods.get (self.rules [irule] [:2])

			if not func:
				raise NameError (f"no method for rule '{self.rules [irule] [0]} -> {''' '''.join (self.rules [irule] [1])}'")

			self.rfuncs.append (func)

	def tokenize (self, text):
		tokens = []
		end    = len (text)
		pos    = 0

		while pos < end:
			m = self.tokrec.match (text, pos)

			if m is None:
				tokens.append (Token ('$err', text [pos], pos))

				break

			else:
				if m.lastgroup != 'ignore':
					tok  = m.lastgroup
					s, e = self.tokgrps [tok]
					grps = m.groups () [s : e]

					tokens.append (Token (tok, grps [0], pos, grps [1:]))

				pos += len (m.group (0))

		tokens.append (Token ('$end', '', pos))

		return tokens

	#...............................................................................................
	def parse_getextrastate (self):
		return None

	def parse_setextrastate (self, state):
		pass

	def parse_error (self):
		return False # True if state fixed to continue parsing, False to fail

	def parse_success (self, red):
		'NO PARSE_SUCCESS'
		return None # True to contunue checking conflict backtracks, False to stop and return

	def parse (self, src):
		has_parse_success = (self.parse_success.__doc__ != 'NO PARSE_SUCCESS')

		rules, terms, nterms, rfuncs = self.rules, self.terms, self.nterms, self.rfuncs

		tokens = self.tokenize (src)
		tokidx = 0
		confs  = [] # [(action, tokidx, stack, stidx, extra state), ...] # conflict backtrack stack
		stack  = self.stack = [State (0, None, 0, None)] # [(stidx, symbol, pos, reduction) or (stidx, token), ...]
		stidx  = 0
		rederr = None # reduction function raised exception (SyntaxError or Incomplete usually)
		act    = True
		pos    = 0

		# if not hasattr (self, 'reds'): # DEBUG
		# 	self.reds = {} # DEBUG

		while 1:
			if not rederr and act is not None:
				tok       = tokens [tokidx]
				act, conf = terms [stidx].get (tok, (None, None))

			if rederr or act is None:
				if rederr is Reduce:
					rederr = None

				else:
					self.tokens, self.tokidx, self.confs, self.stidx, self.tok, self.rederr, self.pos = \
							tokens, tokidx, confs, stidx, tok, rederr, pos

					rederr = None

					if tok == '$end' and stidx == 1 and len (stack) == 2 and stack [1].sym == rules [0] [1]:
						if not has_parse_success:
							return stack [1].red

						if not self.parse_success (stack [1].red) or not confs:
							return None

					elif self.parse_error ():
						tokidx, stidx = self.tokidx, self.stidx
						act           = True

						continue

				if not confs:
					if has_parse_success: # do not raise SyntaxError if parser relies on parse_success
						return None

					# if self.rederr is not None: # THIS IS COMMENTED OUT BECAUSE IS NOT USED HERE AND PYLINT DOESN'T LIKE IT!
					# 	raise self.rederr # re-raise exception from last reduction function if present

					raise SyntaxError ( \
						'unexpected end of input' if tok == '$end' else \
						f'invalid token {tok.text!r}' if tok == '$err' else \
						f'invalid syntax {src [tok.pos : tok.pos + 16]!r}')

				act, _, tokidx, stidx, tokens, stack, estate = confs.pop ()
				self.stack                                   = stack
				tok                                          = tokens [tokidx]
				conf                                         = None

				self.parse_setextrastate (estate)

				if act is None:
					continue

			if conf is not None:
				confs.append (Conflict (conf, tok.pos, tokidx, stidx, tokens [:], stack [:], self.parse_getextrastate ()))#, keep = act < 0 and tok in self._PARSER_CONFLICT_REDUCE))

				# if conf < 0: # DEBUG
				# 	k             = (act, rules [-conf])
				# 	self.reds [k] = self.reds.get (k, 0) + 1

			if act > 0:
				tokidx += 1
				stidx   = act

				stack.append (State (stidx, tok))

			else:
				rule  = rules [-act]
				rnlen = -len (rule [1])
				prod  = rule [0]
				pos   = stack [rnlen].pos

				try:
					red = rfuncs [-act] (*((t.sym if t.red is None else t.red for t in stack [rnlen:]) if rnlen else ()))

					# if isinstance (red, KeepConf): # mark this conflict to not be removed by PopConf
					# 	red             = red.red
					# 	confs [-1].keep = True

					if isinstance (red, Reduce): # successful rule but request to follow conflicted reduction first putting results of rule on conf stack to be picked up later
						stidx     = nterms [stack [rnlen - 1].idx] [prod]
						stack     = stack [:rnlen] + [State (stidx, prod, pos, red.then)]
						tok       = tokens [tokidx]
						act, conf = terms [stidx].get (tok, (None, None))
						estate    = self.parse_getextrastate ()
						rederr    = Reduce

						if conf is not None:
							confs.insert (-1, Conflict (conf, tok.pos, tokidx, stidx, tokens [:], stack [:], estate))#, keep = red.keep))

						confs.insert (-1, Conflict (act, tok.pos, tokidx, stidx, tokens [:], stack [:], estate))#, keep = red.keep))

						continue

					if red is Reduce or isinstance (red, PopConfs): # pop all conflicts generated from parsing this rule because parse is guaranteed good
						red   = red.red
						start = stack [-1].pos if red is Reduce else pos
						i     = 0

						for i in range (len (confs) - 1, -1, -1):
							if confs [i].pos <= start:
								break

							# if not confs [i].keep: # dont remove conflicts which are marked for keeping
							# 	del confs [i]
							del confs [i]

						if red is Reduce: # if reduction only requested then don't store rule result and fall back to previous conflicted reduction
							rederr = red

							continue

				except SyntaxError as e:
					rederr = e # or True

					continue

				except Incomplete as e:
					rederr = e
					red    = e.red

				if rnlen:
					del stack [rnlen:]

				stidx = nterms [stack [-1].idx] [prod]

				stack.append (State (stidx, prod, pos, red))

class lalr1: # for single script
	Token      = Token
	State      = State
	Incomplete = Incomplete
	PopConfs   = PopConfs
	Reduce     = Reduce
	LALR1      = LALR1

# print ('\n'.join (str (s) for s in confs + stack + [rule, pos]))# Base classes for abstract math syntax tree, tuple based.
#
# (';', (expr1, ...))                                 - semicolon expression separator
# ('=', lhs, rhs)                                     - assignment to Left-Hand-Side of Right-Hand-Side
# ('<>', lhs, (('rel1', expr1), ...))                 - comparisons of type 'rel' relating two or more expressions, potentially x < y < z is x < y and y < z
# ('#', 'num')                                        - real numbers represented as strings to pass on maximum precision to sympy
# ('@', 'var')                                        - variable name, can take forms: 'x', "x'", 'dx', '\partial x', 'something'
# ('.', expr, 'name')                                 - data attribute reference
# ('.', expr, 'name', (a1, a2, ...))                  - method attribute call
# ('"', 'str')                                        - string
# (',', (expr1, expr2, ...))                          - comma expression (tuple)
# ('{', expr)                                         - invisible implicit parentheses for grouping and isolation during parsing
# ('(', expr)                                         - explicit parentheses (not tuple)
# ('[', (expr1, expr2, ...))                          - brackets (list, not index)
# ('|', expr)                                         - absolute value
# ('-', expr)                                         - negative of expression, negative numbers are represented with this at least initially
# ('!', expr)                                         - factorial
# ('+', (expr1, expr2, ...))                          - addition
# ('*', (expr1, expr2, ...)[, {i0, ...}])             - multiplication, with optional set of indices of explicit multiplications (indexes of rhs)
# ('*exp', (expr1, expr2, ...))                       - explicit multiplication, only used during parsing then converted to '*' with indexes of exps
# ('/', numer, denom)                                 - fraction numer(ator) / denom(inator)
# ('^', base, exp)                                    - power base ^ exp(onent)
# ('-log', expr[, base])                              - logarithm of expr in base, natural log if base not present
# ('-sqrt', expr[, n])                                - nth root of expr, square root if n not present
# ('-func', 'name', (a1, a2, ...))                    - sympy or regular Python function call to 'name()', will be called with expressions a1, a2, ...
# ('-lim', expr, var, to[, 'dir'])                    - limit of expr when var approaches to from both directions, otherwise only from specified '+' or '-' dir
# ('-sum', expr, var, from, to)                       - summation of expr over variable var from from to to
# ('-diff', expr, 'd', (('v1', p1), ...))             - differentiation of expr with respect to dv(s), d is 'd' or 'partial', dvs are ('var', power) - power is int
# ('-diffp', expr, count)                             - differentiation with respect to unspecified variable count times
# ('-intg', expr, dv[, from, to])                     - indefinite or definite integral of expr (or 1 if expr is None) with respect to differential dv (('@', 'dx'), ('@', 'dy'), etc ...)
# ('-mat', ((e11, e12, ...), (e21, e22, ...), ...))   - matrix
# ('-piece', ((v1, c1), ..., (vn, True?)))            - piecewise expression: v = AST, c = condition AST, last condition may be True to catch all other cases
# ('-lamb', expr, (v1, v2, ...))                      - lambda expression: v? = 'var'
# ('-idx', expr, (i0, i1, ...))                       - indexing: expr [i0, i1, ...]
# ('-slice', start, stop, step)                       - indexing slice object: obj [start : stop : step], None or False indicates not specified, None for step means no second colon
# ('-set', (expr1, expr2, ...))                       - set
# ('-dict', ((k1, v1), (k2, v2), ...))                - python dict
# ('||', (expr1, expr2, ...))                         - set union
# ('^^', (expr1, expr2, ...))                         - set symmetric difference
# ('&&', (expr1, expr2, ...))                         - set intersection
# ('-or', (expr1, expr2, ...))                        - pythonic or
# ('-and', (expr1, expr2, ...))                       - pythonic and
# ('-not', expr)                                      - pythonic not
# ('-ufunc', 'name', (a1, ...)[, (('kw1', a1), ...)]) - undefined function object with optional keyword arguments, no arguments means 'pure' unapplied undefined function
# ('-subs', expr, ((s1, d1), ...))                    - substitution - replace all s? with d? in expr

from collections import OrderedDict
import re
import types

import sympy as sp

#...............................................................................................
class AST (tuple):
	op      = None

	OPS     = set () # these will be filled in after all classes defined
	CONSTS  = set ()

	_OP2CLS = {}
	_CLS2OP = {}

	_rec_identifier = re.compile (r'^[a-zA-Z]\w*$')

	def __new__ (cls, *args, **kw):
		op       = AST._CLS2OP.get (cls)
		cls_args = tuple (AST (*arg) if arg.__class__ is tuple else arg for arg in args)

		if op:
			args = (op,) + cls_args

		elif args:
			args = cls_args

			try:
				cls2 = AST._OP2CLS.get (args [0])
			except TypeError: # for unhashable types
				cls2 = None

			if cls2:
				cls      = cls2
				cls_args = cls_args [1:]

		if cls is not AST and '__new__' in cls.__dict__:
			self = cls.__new__ (cls, *cls_args)

		else:
			self = tuple.__new__ (cls, args)

			if self.op:
				self._init (*cls_args)

		if kw:
			self.__dict__.update (kw)

		return self

	def __add__ (self, other):
		if not isinstance (other, tuple):
			raise TypeError (f'can only concatenate tuple (not "{type (other).__name__}") to AST')

		return self if not other else AST (*tuple.__add__ (self, other))

	def __getattr__ (self, name): # calculate value for nonexistent self.name by calling self._name () and store
		func                 = getattr (self, f'_{name}') if name [0] != '_' else None
		val                  = func and func ()
		self.__dict__ [name] = val

		return val

	def setkw (self, **kw):
		self.__dict__.update (kw)

		return self # convenience

	def _is_single_unit (self): # is single positive digit, fraction or single non-differential non-subscripted variable?
		if self.op == '/':
			return True
		elif self.op == '#':
			return len (self.num) == 1
		else:
			return self.is_var_single

	def _len (self):
		return len (self)

	@staticmethod
	def tuple2ast (args):
		return args [0] if len (args) == 1 else AST (',', args)

	@staticmethod
	def tuple2argskw (args):
		args, kw = AST.args2kwargs (args)
		args     = args + [AST ('=', ('@', kw), a) for kw, a in kw.items ()]

		return args [0] if len (args) == 1 else AST (',', tuple (args))

	def _no_curlys (self): # remove ALL curlys from entire tree, not just top level
		if self.is_curly:
			return self.curly.no_curlys
		else:
			return AST (*tuple (a.no_curlys if isinstance (a, AST) else a for a in self))#, **self._kw)

	def _flat (self, op = None, seq = None, exp = None): # flatten trees of '+', '*', '||', '^^', '&&', '-or' and '-and' into single ASTs
		def subflat (op, seq, exp):
			if self.is_mul:
				for i in range (self.mul.len):
					if i in self.exp:
						exp.add (len (seq))

					self.mul [i]._flat (self.op, seq, exp)

			else:
				for e in self [1]:
					e._flat (self.op, seq, exp)

		# start here
		if self.op in {'+', '*', '||', '^^', '&&', '-or', '-and'}: # specifically not '<>' because that would be different meaning
			if self.op == op:
				subflat (op, seq, exp)

				return

			seq2, exp2 = [], set ()

			subflat (self.op, seq2, exp2)

			ast = AST (self.op, tuple (seq2), exp2) if self.is_mul else AST (self.op, tuple (seq2))

		else:
			ast = AST (*tuple (a.flat if isinstance (a, AST) else a for a in self))

		if op:
			seq.append (ast)
		else:
			return ast

	def neg (self, stack = False): # stack means stack negatives ('-', ('-', ('#', '-1')))
		if stack:
			if not self.is_num_pos:
				return AST ('-', self)
			else:
				return AST ('#', f'-{self.num}')

		else:
			if self.is_minus:
				return self.minus
			elif not self.is_num:
				return AST ('-', self)
			elif self.num [0] == '-':
				return AST ('#', self.num [1:])
			else:
				return AST ('#', f'-{self.num}')

	def _strip (self, count = None, ops = {'{', '('}, idx = 1, keeptuple = False):
		count = -1 if count is None else count

		while count and self.op in ops and not (keeptuple and self [idx].is_comma):
			self   = self [idx]
			count -= 1

		return self

	_strip_attr     = lambda self, count = None: self._strip (count, {'.'})
	_strip_attrm    = lambda self, count = None: self._strip (count, {'.', '-'})
	_strip_attrdp   = lambda self, count = None: self._strip (count, {'.', '-diffp'})
	_strip_attrpdpi = lambda self, count = None: self._strip (count, {'.', '^', '-diffp', '-idx'})
	_strip_curly    = lambda self, count = None: self._strip (count, {'{'})
	_strip_paren    = lambda self, count = None, keeptuple = False: self._strip (count, ('(',), keeptuple = keeptuple)
	_strip_paren1   = lambda self: self._strip (1, {'('})
	_strip_minus    = lambda self: self._strip (None, {'-'})
	_strip_diffp    = lambda self: self._strip (None, {'-diffp'})
	_strip_fdpi     = lambda self, count = None: self._strip (count, {'!', '-diffp', '-idx'})
	_strip_pow      = lambda self, count = None: self._strip (count, {'^'})
	_strip_afpdpi   = lambda self, count = None: self._strip (count, ('.', '!', '^', '-diffp', '-idx')) # not currently used, possibly used in future in one place

	def _strip_pseudo (self):
		while self.is_func_pseudo:
			self = self.args [0]

		return self

	def _strip_minus_retneg (self):
		neg         = lambda ast: ast
		neg.has_neg = False
		neg.is_neg  = False

		while self.is_minus:
			self         = self.minus
			is_neg       = neg.is_neg
			neg          = lambda ast, neg = neg: neg (ast.neg (stack = True))
			neg.has_neg  = True
			neg.is_neg   = not is_neg

		return self, neg

	def _strip_mmls (self): # mmls = minus, mul, lim, sum
		while self.op in {'-', '*', '-lim', '-sum'}:
			self = self.mul [-1] if self.is_mul else self [1]

		return self

	def _as_identifier (self):
		def _as_identifier (ast, recursed = False):
			if ast.op in {'#', '@', '"'}:
				name = ast [1]
			elif not ast.is_mul:
				return None

			else:
				try:
					name = ''.join (_as_identifier (m, True) for m in ast.mul)
				except TypeError:
					return None

			return name if recursed or AST._rec_identifier.match (name) else None

		return _as_identifier (self)

	def _is_const (self):
		if self.is_num:
			return True
		elif self.is_var:
			return self.is_var_const
		elif self.op in {'{', '(', '-', '!'}:
			return self [1].is_const
		elif self.op in {'+', '*', '*exp'}:
			return all (a.is_const for a in self [1])
		elif self.is_div:
			return self.numer.is_const and self.denom.is_const
		elif self.is_pow:
			return self.base.is_const and self.exp.is_const
		elif self.is_log:
			return self.log.is_const if self.base is None else (self.log.is_const and self.base.is_const)
		elif self.is_sqrt:
			return self.rad.is_const if self.idx is None else (self.rad.is_const and self.idx.is_const)
		elif self.is_func:
			return all (a.is_const for a in self.args)

		return False

	def _tail_mul (self):
		tail = self

		while 1:
			if tail.is_mul:
				tail = tail.mul [-1]
			elif tail.is_pow:
				tail = tail.exp
			elif tail.is_minus:
				tail = tail.minus
			else:
				break

		return tail

	def _has_tail_lambda_solo (self):
		return self.tail_lambda_solo != (None, None)

	def _has_tail_lambda (self):
		return self.tail_lambda != (None, None)

	def _tail_lambda_solo (self):
		return self._tail_lambda (has_var = False)

	def _tail_lambda (self, has_var = None): # look for 'lambda' or 'lambda var' at the tail end of ast (to replace) - for use only during parsing (does not handle mul exp indexes)
		tail, wrap = self, lambda ast: ast

		while 1:
			if tail.is_var:
				if tail.is_var_lambda and has_var is not True:
					return None, wrap

				break

			elif tail.op in {',', '+', '*', '*exp', '||', '^^', '&&', '-or', '-and'}:
				if tail.is_mul and has_var is not False and tail.mul [-1].is_var_nonconst:
					_, wrapl = tail.mul [-2].tail_lambda_solo

					if wrapl:
						if tail.mul.len > 2:
							wrap = lambda ast, tail = tail, wrap = wrap, wrapl = wrapl: wrap (AST ('*', tail.mul [:-2] + (wrapl (ast),)))
						else:
							wrap = lambda ast, wrap = wrap, wrapl = wrapl: wrap (wrapl (ast))

						return tail.mul [-1], wrap

				wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST (tail.op, tail [1] [:-1] + (ast,)))
				tail = tail [1] [-1]

			elif tail.op in {'=', '/', '^'}:
				wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST (tail.op, tail [1], ast))
				tail = tail [2]

			elif tail.op in {'-', '-not'}:
				wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST (tail.op, ast))
				tail = tail [1]

			elif tail.op in {'-lim', '-sum', '-lamb'}:
				wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST (tail.op, ast, *tail [2:]))
				tail = tail [1]

			elif tail.is_diff:
				if (tail.src or not tail.diff.is_var) and not (tail.src and tail.src.is_div and (tail.src.numer.is_mul or tail.src.numer.is_diff_or_part)): # check src from sparser if present
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST (tail.op, ast, tail.d, tail.dvs))
					tail = tail.diff

				else:
					break

			elif tail.is_cmp:
				wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST ('<>', tail.lhs, tail.cmp [:-1] + ((tail.cmp [-1] [0], ast),)))
				tail = tail.cmp [-1] [1]

			elif tail.op in {'-sqrt', '-log'}:
				if tail.src: # check src from sparser if present
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST (tail.op, ast, *tail [2:]))
					tail = tail.src.mul [1]

				else:
					break

			elif tail.is_func:
				if tail.src and tail.src.mul [0].is_var and tail.src.mul [0].var == tail.func: # check src from sparser if present
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST ('-func', tail.func, (ast,)))
					tail = tail.src.mul [1]

				else:
					break

			elif tail.is_piece:
				if tail.piece [-1] [1] is True:
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST ('-piece', tail.piece [:-1] + ((ast, True),)))
					tail = tail.piece [-1] [0]
				else:
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST ('-piece', tail.piece [:-1] + ((tail.piece [-1] [0], ast),)))
					tail = tail.piece [-1] [1]

			elif tail.is_slice:
				if tail.step:
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST ('-slice', tail.start, tail.stop, ast))
					tail = tail.step

				elif tail.step is False:
					break

				elif tail.stop:
					wrap = lambda ast, tail = tail, wrap = wrap: wrap (AST ('-slice', tail.start, ast, None))
					tail = tail.stop

				else:
					break

			else:
				break

		return None, None # var, wrap

	def _as_ufunc_argskw (self):
		args, kw = AST.args2kwargs (self.comma if self.is_comma else (self,) if self.op is not None else self)

		return tuple (args), tuple (sorted (kw.items ()))

	def _free_vars (self): # return set of unique unbound variables found in tree, not reliable especially if used before sxlat due to things like ('-func', 'Derivative', ...), '-subs' is particularly problematic
		def _free_vars (ast, vars):
			if isinstance (ast, AST):
				if ast.is_var:
					if ast.is_var_nonconst and ast.var:
						vars.add (ast)

				elif ast.is_lamb:
					_free_vars (ast.lamb, vars)
					vars.difference_update (('@', v) for v in ast.vars)

				elif ast.is_subs:
					_free_vars (ast.expr, vars)

					for src, dst in ast.subs:
						if not src.is_var_nonconst:
							present = False

						else:
							present = src in vars

							if present:
								vars.remove (src)

						if present:
							_free_vars (dst, vars)

				else:
					try:
						if ast.is_intg:
							_free_vars (ast.intg, vars)

							if ast.is_intg_definite:
								vars.remove (ast.dv.as_var)
							else:
								vars.add (ast.dv.as_var)

						else:
							for e in ast:
								_free_vars (e, vars)

							if ast.is_lim:
								vars.remove (ast.lvar)
							elif ast.is_sum:
								vars.remove (ast.svar)

					except KeyError:
						pass

		vars = set ()

		_free_vars (self, vars)

		return vars

	@staticmethod
	def args2kwargs (args, func = None, ass2cmp = False): # ass2cmp means convert assignment to comparison so it can be represented as Eq() in the py representation of argument list of functions
		func  = (lambda x: x) if func is None else func
		rargs = []
		kw    = []
		itr   = reversed (args)

		for arg in itr:
			if arg.is_ass and not arg.ass_is_not_kw: # ass_is_not_kw comes from sxlat of Eq during testing
				ident = arg.lhs.as_identifier

				if ident is not None:
					kw.append ((ident, func (arg.rhs)))

					continue

				elif ass2cmp: # rewrite assignment = as == for equations passed to functions
					arg = AST ('<>', arg.lhs, (('==', arg.rhs),))

			if ass2cmp:
				rargs = [func (arg)] + [func (AST ('<>', a.lhs, (('==', a.rhs),)) if a.is_ass else a) for a in itr]
			else:
				rargs = [func (arg)] + [func (a) for a in itr]

		return rargs [::-1], OrderedDict (reversed (kw))

	@staticmethod
	def flatcat (op, ast0, ast1): # ,,,/O.o\,,,~~
		if ast0.op == op:
			if ast1.op == op:
				if ast0.is_mul:
					return AST (op, ast0 [1] + ast1 [1], ast0.exp | frozenset (i + ast0.mul.len for i in ast1.exp))
				else:
					return AST (op, ast0 [1] + ast1 [1])

			else: # ast1.op != op:
				if ast0.is_mul:
					return AST (op, ast0 [1] + (ast1,), ast0.exp)
				else:
					return AST (op, ast0 [1] + (ast1,))

		else: # ast0.op != op
			if ast1.op == op:
				if ast1.is_mul:
					return AST (op, (ast0,) + ast1 [1], frozenset (i + 1 for i in ast1.exp))
				else:
					return AST (op, (ast0,) + ast1 [1])

			else:
				return AST (op, (ast0, ast1))

	@staticmethod
	def apply_vars (ast, vars, parent = None, mode = True): # remap vars to assigned expressions and 'execute' funcs which map to lambda vars
		# print ('/n'.join (f'{v} ... {a}' for v, a in vars.items ()) + f'\n{ast}')
		def push (vars, newvars): # create new frame and add new variables, this is really overkill
			frame       = vars.copy ()
			frame ['<'] = vars
			frame ['>'] = newvars

			frame.update (newvars)

			return frame

		def pop (vars, var): # find variable and return frame just below it
			prev = vars.get ('<')

			while prev:
				if var in prev.get ('>', {}):
					return prev

				vars = prev
				prev = vars.get ('<')

			return vars

		def scopeout (vars): # scope out one layer of variables (not frames) and create new frame
			count = vars.get ('#', 1)
			frame = {'<': vars.get ('<', {}), '>': vars.get ('>', vars), '#': count + 1}

			for v in vars:
				if v not in '<>#':
					f = vars

					for _ in range (count):
						while f:
							nvs = f.get ('>', f)
							f   = f.get ('<', {})

							if not f or v in nvs:
								break

					frame [v] = f.get (v)

			return frame

		def index_by_is (seq, obj):
			for i, o in enumerate (seq):
				if o is obj:
					return i

			return None

		# start here
		if not isinstance (ast, AST): # or (ast.is_func and ast.func == AST.Func.NOREMAP): # non-AST, ufunc definition or stop remap
			return ast

		if ast.is_ufunc: # possibly convert non-explicit ufunc to concrete function call if signature matches destination lambda
			if not ((mode is True and not ast.is_ufunc_explicit) or mode == 'lambexec'): # do not map ufuncs to func calls when mapping vars onto themselves, inside lambda definition or is explicit
				return ast

			lamb = vars.get (ast.ufunc)

			if not (lamb and lamb.is_lamb and ast.matches_lamb_sig (lamb)):
				if mode != 'lambexec':
					return ast
				else:
					return AST ('-ufunc', ast.ufunc_full, tuple (AST.apply_vars (a, vars, ast, mode) for a in ast.vars), ast.kw)

			ast = AST ('-func', ast.ufunc, ast.vars)

		if ast.is_num:
			return ast

		elif ast.is_var: # regular var substitution?
			expr = vars.get (ast.var)

			if not expr:
				return ast
			elif not expr.is_lamb:
				return AST.apply_vars (expr, pop (vars, ast.var), ast, mode)

			if parent is None:
				parent = AST.Null

			i = index_by_is (parent.mul, ast) if parent.is_mul else None

			if (parent.op in {None, ';', '@', ',', '[', '-func', '-lamb', '-set', '-dict'} or
					(parent.is_piece and any (p [0] is ast for p in parent.piece)) or
					(i is not None and i < (parent.mul.len - 1) and parent.mul [i + 1].is_paren and (i + 1) not in parent.exp)): # if followed by implicit mul paren then is call not multiply
				return expr

			vars = push (vars, {v: False for v in expr.vars})

			return AST.apply_vars (expr.lamb, vars, ast, mode)

		elif ast.is_subs:
			return AST ('-subs', AST.apply_vars (ast.expr, vars, ast, mode), tuple ((src, AST.apply_vars (dst, vars, ast, mode)) for src, dst in ast.subs)) # without mapping src

		elif ast.op in {'-lim', '-sum'}:
			vars = push (vars, {ast [2].var: False})

			return AST (ast.op, AST.apply_vars (ast [1], vars, ast, mode), ast [2], *(AST.apply_vars (a, vars, ast, mode) for a in ast [3:]))

		elif ast.is_diff:
			dvs = []

			for v, p in ast.dvs: # remap differentials if possible
				a = vars.get (v)

				if a:
					if a.is_var_nonconst:
						v = a.var

				dvs.append ((v, p))

			return AST ('-diff', AST.apply_vars (ast.diff, vars, ast, mode), ast.d, tuple (dvs))

		elif ast.is_intg:
			dv = ast.dv

			if ast.is_intg_definite: # don't map bound var
				v    = dv.var_name
				vars = push (vars, {dv.var_name: False})

			else: # remap differential if indefinite integral and possible
				a = vars.get (ast.dv.var_name)

				if a:
					if a.is_var_nonconst:
						dv = AST ('@', f'd{a.var}')
					else:
						dv = ast.dv

			return AST ('-intg', AST.apply_vars (ast.intg, vars, ast, mode), dv, *(AST.apply_vars (a, vars, ast, mode) for a in ast [3:]))

		elif ast.is_lamb: # lambda definition
			vars = push (vars, {v: False for v in ast.vars})

			return AST ('-lamb', AST.apply_vars (ast.lamb, vars, ast, mode and 'lambdef'), ast.vars)

		elif ast.is_func: # function, might be user lambda call
			if ast.func == AST.Func.NOREMAP:
				return AST.apply_vars (ast.args [0], scopeout (vars), ast, mode)

			else:
				lamb = vars.get (ast.func)

				if lamb and lamb.is_lamb: # 'execute' user lambda
					if ast.args.len == lamb.vars.len:
						vars = push (vars, dict (zip (lamb.vars, ast.args)))

						return AST.apply_vars (lamb.lamb, vars, ast, mode and 'lambexec') # remap lambda vars in body to func args and return body

					elif mode:
						raise TypeError (f"lambda function '{ast.func}' takes {lamb.vars.len} argument(s)")

					return AST ('-func', ast.func,
							tuple (('(', AST.apply_vars (a, vars, ast, mode))
							if (a.is_var and (vars.get (a.var) or AST.VarNull).is_ass)
							else AST.apply_vars (a, vars, ast, mode) for a in ast.args)) # wrap var assignment args in parens to avoid creating kwargs

		return AST (*(AST.apply_vars (a, vars, ast if ast.op else parent, mode) for a in ast))#, **ast._kw)

	@staticmethod
	def register_AST (cls):
		AST._CLS2OP [cls]    = cls.op
		AST._OP2CLS [cls.op] = cls

		AST.OPS.add (cls.op)

		setattr (AST, cls.__name__ [4:], cls)

	@staticmethod
	def EI (state = True):
		AST.CONSTS.difference_update ((AST.E, AST.I))

		AST.E, AST.I = (AST ('@', 'E'), AST ('@', 'I')) if state else (AST ('@', 'e'), AST ('@', 'i'))

		AST.CONSTS.update ((AST.E, AST.I))

#...............................................................................................
class AST_SColon (AST):
	op, is_scolon = ';', True

	def _init (self, scolon):
		self.scolon = scolon

class AST_Ass (AST):
	op, is_ass = '=', True

	def _init (self, lhs, rhs):
		self.lhs, self.rhs = lhs, rhs # should be py form

	@staticmethod
	def ufunc2lamb (ufunc, lamb):
		return AST ('-lamb', lamb, tuple (v.var or 'NONVARIABLE' for v in ufunc.vars))

	def _ass_valid (self):
		def verify (ast, lhs, multi = False):
			for lhs in (lhs if multi else (lhs,)):
				if lhs.is_var_const:
					ast.error = 'The only thing that is constant is change - Heraclitus; Except for constants, they never change - Math...'
				# elif lhs.is_ufunc_explicit:
				# 	ast.error = 'cannot define an undefined function, by definition'
				elif lhs.is_ufunc_impure:
					ast.error = 'cannot assign to a function containing non-variable parameters'
				# elif lhs.is_ufunc_anonymous:
				# 	ast.error = 'cannot assign to an anonymous function'
				else:
					continue

				break

			return ast # convenience

		if self.lhs.is_var:
			return verify (self, self.lhs)

		elif self.lhs.is_comma:
			rhs = self.rhs.strip_paren

			if rhs.op not in {',', '[', '-set'}:
				return verify (self, self.lhs.comma, multi = True)

			else:
				both = min (self.lhs.comma.len, rhs [1].len)
				lrs  = []

				for l, r in zip (self.lhs.comma, rhs [1]):
					if l.is_var:
						lrs.append ((l, r))
					elif l.is_ufunc_implicit:
						lrs.append ((('@', l.ufunc), self.ufunc2lamb (l, r)))
					else:
						return None

				rhs = (rhs.op, tuple (r for _, r in lrs) + rhs [1] [both:])

				return verify (AST ('=', (',', tuple (l for l, _ in lrs) + self.lhs.comma [both:]), ('(', rhs) if self.rhs.is_paren else rhs), self.lhs.comma, multi = True)

		elif self.lhs.is_ufunc_implicit:
			return verify (AST ('=', ('@', self.lhs.ufunc), self.ufunc2lamb (self.lhs, self.rhs)), self.lhs)

		return None

class AST_Cmp (AST):
	op, is_cmp = '<>', True

	TEX2PY = {'\\ne': '!=', '\\le': '<=', '\\ge': '>=', '\\lt': '<', '\\gt': '>', '\\neq': '!=', '\\in': 'in', '\\notin': 'notin'}
	UNI2PY = {'\u2260': '!=', '\u2264': '<=', '\u2265': '>=', '\u2208': 'in', '\u2209': 'notin'}
	ANY2PY = {**UNI2PY, **TEX2PY}
	PY2TEX = {'!=': '\\ne', '<=': '\\le', '>=': '\\ge', 'in': '\\in', 'notin': '\\notin'}
	PYFMT  = {'notin': 'not in'}

	def _init (self, lhs, cmp):
		self.lhs, self.cmp = lhs, cmp # should be py forms (('!=', expr), ('<=', expr), ...)

	_is_cmp_in = lambda self: self.cmp.len == 1 and self.cmp [0] [0] in {'in', 'notin'}

class AST_Num (AST):
	op, is_num = '#', True

	_rec_num   = re.compile (r'^(-?)(\d*[^0.e])?(0*)(?:(\.)(0*)(\d*[^0e])?(0*))?(?:([eE])([+-]?)(\d+))?$') # -101000.000101000e+123 -> (-) (101) (000) (.) (000) (101) (000) (e) (+) (123)

	def _init (self, num):
		self.num = str (num)

	_grp              = lambda self: [g or '' for g in AST_Num._rec_num.match (self.num).groups ()]
	_is_num_pos       = lambda self: not self.grp [0]
	_is_num_neg       = lambda self: bool (self.grp [0])
	_is_num_int       = lambda self: not self.grp [3] and not self.grp [7] # self.num_exp_val >= -len (self.grp [2])
	_is_num_pos_int   = lambda self: self.is_num_int and not self.is_num_neg
	_num_exp          = lambda self: self.grp [8] + self.grp [9]
	_num_mant_and_exp = lambda self: (''.join (self.grp [:7]), self.num_exp)
	_num_exp_val      = lambda self: int (self.num_exp) if self.num_exp else 0
	_as_int           = lambda self: int (self.num)

class AST_Var (AST):
	op, is_var  = '@', True

	GREEK       = ('alpha', 'beta', 'gamma', 'delta', 'epsilon', 'zeta', 'eta', 'theta', 'iota', 'kappa', 'lambda', 'mu', 'nu', 'xi', 'pi', 'rho', 'sigma',
		'tau', 'upsilon', 'phi', 'chi', 'psi', 'omega', 'Gamma', 'Delta', 'Theta', 'Lambda', 'Xi', 'Pi', 'Sigma', 'Upsilon', 'Phi', 'Psi', 'Omega')
	GREEKUNI    = ('\u03b1', '\u03b2', '\u03b3', '\u03b4', '\u03b5', '\u03b6', '\u03b7', '\u03b8', '\u03b9', '\u03ba', '\u03bb', '\u03bc', '\u03bd', '\u03be', '\u03c0', '\u03c1', '\u03c3',
		'\u03c4', '\u03c5', '\u03c6', '\u03c7', '\u03c8', '\u03c9', '\u0393', '\u0394', '\u0398', '\u039b', '\u039e', '\u03a0', '\u03a3', '\u03a5', '\u03a6', '\u03a8', '\u03a9')

	PY2TEXMULTI = {
		'partial'  : ('\\partial',),
		'oo'       : ('\\infty',),
		'zoo'      : ('\\widetilde\\infty', '\\tilde\\infty', '\\overline\\infty', '\\bar\\infty'),
		'Reals'    : ('\\mathbb{R}',),
		'Complexes': ('\\mathbb{C}',),
		'Naturals' : ('\\mathbb{N}', '\\mathbb{N}^*', '\\mathbb{N}^+', '\\mathbb{N}_1', '\\mathbb{N}_{>0}', '\\mathbb{N}_{\\gt0}', '\\mathbb{Z}^+'),
		'Naturals0': ('\\mathbb{N}_0', '\\mathbb{Z}^{\\ge0}'), # , '\\mathbb{N}^0' - ambiguous
		'Integers' : ('\\mathbb{Z}',),
	}

	GREEK2TEX   = dict ((g, f'\\{g}') for g in GREEK)
	PY2TEX      = {**GREEK2TEX, **dict ((p, ts [0]) for p, ts in PY2TEXMULTI.items ())}
	TEX2PY      = {**dict ((f'\\{g}', g) for g in GREEK), **dict ((t, p) for p, ts in PY2TEXMULTI.items () for t in ts)}
	UNI2PY      = {**dict (zip (GREEKUNI, GREEK)), '\u2202': 'partial', '\u221e': 'oo'}
	ANY2PY      = {**UNI2PY, **TEX2PY}

	_rec_groups = re.compile (r"^(?:(?:(d(?!elta))|(partial))(?!_)(?!['\d]))?((.*)(?<!\d)(\d*))$")

	def _init (self, var):
		self.var = var

	_grp                  = lambda self: [g or '' for g in AST_Var._rec_groups.match (self.var).groups ()]
	_is_var_null          = lambda self: not self.var
	_is_var_long          = lambda self: len (self.var) > 1 and self.var not in AST_Var.PY2TEX
	_is_var_const         = lambda self: self in AST.CONSTS
	_is_var_nonconst      = lambda self: self not in AST.CONSTS
	_is_var_lambda        = lambda self: self.var == 'lambda' and self.text != '\\lambda'
	_is_var_single        = lambda self: len (self.var) == 1 or self.var in AST_Var.PY2TEX # is single atomic variable (non-differential, non-subscripted)?
	_is_differential      = lambda self: self.grp [0] and self.grp [2]
	_is_diff_solo         = lambda self: self.grp [0] and not self.grp [2]
	_is_diff_any          = lambda self: self.grp [0]
	_is_partial           = lambda self: self.grp [1] and self.grp [2]
	_is_part_solo         = lambda self: self.grp [1] and not self.grp [2]
	_is_part_any          = lambda self: self.grp [1]
	_is_diff_or_part      = lambda self: (self.grp [0] or self.grp [1]) and self.grp [2]
	_is_diff_or_part_solo = lambda self: (self.grp [0] or self.grp [1]) and not self.grp [2]
	_is_diff_or_part_any  = lambda self: self.grp [0] or self.grp [1]
	_diff_or_part_type    = lambda self: self.grp [0] or self.grp [1] or '' # 'dx' -> 'd', 'partialx' -> 'partial', else ''
	_var_name             = lambda self: self.grp [2]
	_as_var               = lambda self: AST ('@', self.grp [2]) if self.var else self # 'x', dx', 'partialx' -> 'x'
	_as_differential      = lambda self: AST ('@', f'd{self.grp [2]}') if self.var else self # 'x', 'dx', 'partialx' -> 'dx'
	_as_partial           = lambda self: AST ('@', f'partial{self.grp [2]}') if self.var else self # 'x', 'dx', 'partialx' -> 'partialx'
	_text_and_tail_num    = lambda self: (self.grp [3], self.grp [4]) if self.grp [3] and self.grp [3] [-1] != '_' else (self.grp [2], '')

class AST_Attr (AST):
	op, is_attr = '.', True

	def __new__ (cls, obj, attr, args = None):
		self                           = tuple.__new__ (cls, ('.', obj, attr) if args is None else ('.', obj, attr, args))
		self.obj, self.attr, self.args = obj, attr, args

		return self

	_is_attr_var  = lambda self: self.args is None
	_is_attr_func = lambda self: self.args is not None

class AST_Str (AST):
	op, is_str = '"', True

	def _init (self, str_):
		self.str_ = str_

class AST_Comma (AST):
	op, is_comma = ',', True

	def _init (self, comma):
		self.comma = comma

	_is_comma_empty = lambda self: not (self.comma.len)

class AST_Curly (AST):
	op, is_curly = '{', True

	def _init (self, curly):
		self.curly = curly

class AST_Paren (AST):
	op, is_paren = '(', True

	def __new__ (cls, paren, isolated = False):
		self                      = tuple.__new__ (cls, ('(', paren) if not isolated else ('(', paren, True))
		self.paren, self.isolated = paren, isolated

		return self

	_is_paren_isolated = lambda self: self.isolated
	_is_paren_free     = lambda self: not self.isolated

class AST_Brack (AST):
	op, is_brack = '[', True

	def _init (self, brack):
		self.brack = brack

class AST_Abs (AST):
	op, is_abs = '|', True

	def _init (self, abs):
		self.abs = abs

class AST_Minus (AST):
	op, is_minus = '-', True

	def _init (self, minus):
		self.minus = minus

class AST_Fact (AST):
	op, is_fact = '!', True

	def _init (self, fact):
		self.fact = fact

class AST_Add (AST):
	op, is_add = '+', True

	def _init (self, add):
		self.add = add

class AST_Mul (AST):
	op, is_mul = '*', True

	def __new__ (cls, mul, exp = frozenset ()):
		exp                = frozenset (exp)
		self               = tuple.__new__ (cls, ('*', mul, exp) if exp else ('*', mul))
		self.mul, self.exp = mul, exp # exp is optional set of indices of rhses of explicitly specified multiplications

		return self

	def __repr__ (self):
		if not self.exp:
			return tuple.__repr__ (self)

		return tuple.__repr__ (('*', self.mul, set (self.exp)))

	def _is_mul_has_abs (self):
		for m in self.mul:
			if m.is_abs:
				return True

class AST_MulExp (AST): # temporary for isolating explicit multiplications from implicit mul grammar rewriting rules, used only during parsing
	op, is_mulexp = '*exp', True

	def _init (self, mul):
		self.mul = mul

class AST_Div (AST):
	op, is_div = '/', True

	def _init (self, numer, denom):
		self.numer, self.denom = numer, denom

class AST_Pow (AST):
	op, is_pow = '^', True

	def _init (self, base, exp):
		self.base, self.exp = base, exp

class AST_Log (AST):
	op, is_log = '-log', True

	def __new__ (cls, log, base = None):
		self               = tuple.__new__ (cls, ('-log', log) if base is None or base == AST.E else ('-log', log, base))
		self.log, self.base = log, base

		return self

	_is_log_with_base = lambda self: self.base is not None

class AST_Sqrt (AST):
	op, is_sqrt = '-sqrt', True

	def __new__ (cls, rad, idx = None):
		self               = tuple.__new__ (cls, ('-sqrt', rad) if idx is None or idx == AST.Two else ('-sqrt', rad, idx))
		self.rad, self.idx = rad, idx

		return self

	_is_sqrt_with_idx = lambda self: self.idx is not None

class AST_Func (AST):
	op, is_func = '-func', True

	_SYMPY_OBJECTS    = dict ((name, obj) for name, obj in filter (lambda no: no [0] [0] != '_', sp.__dict__.items ()))
	_SYMPY_FUNCS      = set (no [0] for no in filter (lambda no: len (no [0]) > 1 and callable (no [1]), _SYMPY_OBJECTS.items ()))

	NOREMAP           = '@'
	NOEVAL            = '%'

	ADMIN             = {'vars', 'del', 'delall', 'env', 'envreset'}
	PLOT              = {'plotf', 'plotv', 'plotw'}
	PSEUDO            = {NOREMAP, NOEVAL}
	TEXNATIVE         = {'max', 'min', 'arg', 'deg', 'exp', 'gcd', 'Re', 'Im'}
	TRIGH             = {'sin', 'cos', 'tan', 'cot', 'sec', 'csc', 'sinh', 'cosh', 'tanh', 'coth', 'sech', 'csch'}
	BUILTINS          = {'abs', 'all', 'any', 'ascii', 'bin', 'callable', 'chr', 'dir', 'divmod', 'format', 'getattr', 'hasattr', 'hash', 'hex', 'id',
                       'isinstance', 'issubclass', 'iter', 'len', 'max', 'min', 'next', 'oct', 'pow', 'print', 'repr', 'round', 'sorted', 'sum', 'bool',
                       'bytearray', 'bytes', 'complex', 'dict', 'enumerate', 'filter', 'float', 'frozenset', 'property', 'int', 'list', 'map', 'range',
                       'reversed', 'set', 'slice', 'str', 'tuple', 'type', 'zip'}

	PY_TRIGH_INV      = {f'a{f}' for f in TRIGH}
	TEX_TRIGH_INV     = {f'arc{f}' for f in TRIGH}
	TEX2PY_TRIGH_INV  = {f'arc{f}': f'a{f}' for f in TRIGH}

	PY_TRIGH_ALL      = TRIGH | PY_TRIGH_INV
	PYALL             = ADMIN | PLOT | BUILTINS | PY_TRIGH_ALL | _SYMPY_FUNCS
	PY                = PYALL - {'sqrt', 'log', 'ln', 'beta', 'gamma', 'zeta', 'Lambda', 'Function', 'Symbol'} - {'init_printing', 'init_session', 'interactive_traversal'}
	TEX               = TEXNATIVE | TEX_TRIGH_INV | (TRIGH - {'sech', 'csch'})

	def _init (self, func, args):
		self.func, self.args = func, args

	_is_func_pseudo       = lambda self: self.func in {AST_Func.NOREMAP, AST_Func.NOEVAL}
	_is_func_trigh        = lambda self: self.func in AST_Func.PY_TRIGH_ALL
	_is_func_trigh_inv    = lambda self: self.func in AST_Func.PY_TRIGH_INV
	_is_func_trigh_noninv = lambda self: self.func in AST_Func.TRIGH

class AST_Lim (AST):
	op, is_lim = '-lim', True

	def __new__ (cls, lim, lvar, to, dir = None):
		self                                   = tuple.__new__ (cls, ('-lim', lim, lvar, to) if dir is None else ('-lim', lim, lvar, to, dir))
		self.lim, self.lvar, self.to, self.dir = lim, lvar, to, dir

		return self

class AST_Sum (AST):
	op, is_sum = '-sum', True

	def _init (self, sum, svar, from_, to):
		self.sum, self.svar, self.from_, self.to = sum, svar, from_, to

class AST_Diff (AST):
	op, is_diff = '-diff', True

	def _init (self, diff, d, dvs):
		self.diff, self.d, self.dvs = diff, d, dvs

	_is_diff_d         = lambda self: self.d == 'd'
	_is_diff_partial   = lambda self: self.d == 'partial'
	_is_diff_dvdv      = lambda self: self.d == 'd' and self.dvs.len == 1 # and self.diff.is_var and self.dvs [0] [1] == 1
	_is_diff_any_ufunc = lambda self: self.diff.strip_paren1.is_ufunc
	_diff_any          = lambda self: self.diff.strip_paren1

class AST_DiffP (AST):
	op, is_diffp = '-diffp', True

	def _init (self, diffp, count):
		self.diffp, self.count = diffp, count

	_is_diff_any_ufunc = lambda self: self.diffp.is_ufunc
	_diff_any          = lambda self: self.diffp

class AST_Intg (AST):
	op, is_intg = '-intg', True

	def __new__ (cls, intg, dv, from_ = None, to = None):
		self                                    = tuple.__new__ (cls, ('-intg', intg, dv) if from_ is None else ('-intg', intg, dv, from_, to))
		self.intg, self.dv, self.from_, self.to = intg, dv, from_, to

		return self

	_is_intg_definite = lambda self: self.from_ is not None

class AST_Mat (AST):
	op, is_mat = '-mat', True

	def _init (self, mat):
		self.mat = mat

	_rows          = lambda self: self.mat.len
	_cols          = lambda self: self.mat [0].len if self.mat else 0
	_is_mat_column = lambda self: self.rows and self.cols == 1

class AST_Piece (AST):
	op, is_piece = '-piece', True

	def _init (self, piece):
		self.piece = piece

class AST_Lamb (AST):
	op, is_lamb = '-lamb', True

	def _init (self, lamb, vars):
		self.lamb, self.vars = lamb, vars

class AST_Idx (AST):
	op, is_idx = '-idx', True

	def _init (self, obj, idx):
		self.obj, self.idx = obj, idx

class AST_Slice (AST):
	op, is_slice = '-slice', True

	def _init (self, start, stop, step):
		self.start, self.stop, self.step = start, stop, step

class AST_Set (AST):
	op, is_set = '-set', True

	def _init (self, set):
		self.set = set

class AST_Dict (AST):
	op, is_dict = '-dict', True

	def _init (self, dict):
		self.dict = dict

class AST_Union (AST):
	op, is_union = '||', True

	def _init (self, union):
		self.union = union

class AST_SDiff (AST): # symmetric difference
	op, is_sdiff = '^^', True

	def _init (self, sdiff):
		self.sdiff = sdiff

class AST_XSect (AST): # intersection
	op, is_xsect = '&&', True

	def _init (self, xsect):
		self.xsect = xsect

class AST_Or (AST):
	op, is_or = '-or', True

	def _init (self, or_):
		self.or_ = or_

class AST_And (AST):
	op, is_and = '-and', True

	def _init (self, and_):
		self.and_ = and_

class AST_Not (AST):
	op, is_not = '-not', True

	def _init (self, not_):
		self.not_ = not_

class AST_UFunc (AST):
	op, is_ufunc = '-ufunc', True

	def __new__ (cls, ufunc, vars, kw = ()):
		self                           = tuple.__new__ (cls, ('-ufunc', ufunc, vars, kw) if kw else ('-ufunc', ufunc, vars))
		self.ufunc, self.vars, self.kw = ufunc.lstrip ('?'), vars, kw
		self.ufunc_full                = ufunc

		return self

	_is_ufunc_explicit  = lambda self: self.ufunc_full.startswith ('?')
	_is_ufunc_implicit  = lambda self: not self.ufunc_full.startswith ('?')
	_is_ufunc_named     = lambda self: self.ufunc
	_is_ufunc_anonymous = lambda self: not self.ufunc
	_is_ufunc_applied   = lambda self: self.vars
	_is_ufunc_unapplied = lambda self: not self.vars
	_is_ufunc_pure      = lambda self: self.vars and all (v.is_var_nonconst for v in self.vars)
	_is_ufunc_impure    = lambda self: self.vars and any (not v.is_var_nonconst for v in self.vars)

	matches_lamb_sig    = lambda self, lamb: self.vars and self.vars.len == lamb.vars.len

	@staticmethod
	def valid_implicit_args (args):
		return not any (not a.is_var and not a.is_const for a in args)

	def apply_argskw (self, argskw):
		if not argskw or argskw [1]:
			return None

		args = argskw [0]
		subs = []

		if self.vars:
			if len (args) != self.vars.len:
				return None

			for v, a in zip (self.vars, args):
				if not v.is_var_nonconst: # or (a.is_var_nonconst and a.var != v.var):
					return None

				if a != v:
					subs.append ((v, a))

		return AST ('-ufunc', self.ufunc_full, args, self.kw, ufunc_subs = tuple (subs))

class AST_Subs (AST):
	op, is_subs = '-subs', True

	def _init (self, expr, subs):
		self.expr, self.subs = expr, subs

	_is_subs_diff_ufunc     = lambda self: self.expr.is_diff and self.expr.diff.strip_paren1.is_ufunc
	_is_subs_diffp_ufunc    = lambda self: self.expr.is_diffp and self.expr.diffp.is_ufunc
	_is_subs_diff_d_ufunc   = lambda self: self.expr.is_diff_d and self.expr.diff.strip_paren1.is_ufunc
	_is_subs_diff_any_ufunc = lambda self: (self.expr.is_diff and self.expr.diff.strip_paren1.is_ufunc) or (self.expr.is_diffp and self.expr.diffp.is_ufunc)

class AST_Sym (AST):
	op, is_sym = '-sym', True

	def __new__ (cls, sym, kw = ()):
		self              = tuple.__new__ (cls, ('-sym', sym, kw) if kw else ('-sym', sym))
		self.sym, self.kw = sym, kw

		return self

	_is_sym_anonymous   = lambda self: not self.sym
	_is_sym_unqualified = lambda self: not self.kw

#...............................................................................................
_AST_CLASSES = [AST_SColon, AST_Ass, AST_Cmp, AST_Num, AST_Var, AST_Attr, AST_Str, AST_Comma, AST_Curly, AST_Paren,
	AST_Brack, AST_Abs, AST_Minus, AST_Fact, AST_Add, AST_Mul, AST_MulExp, AST_Div, AST_Pow, AST_Log, AST_Sqrt, AST_Func,
	AST_Lim, AST_Sum, AST_Diff, AST_DiffP, AST_Intg, AST_Mat, AST_Piece, AST_Lamb, AST_Idx, AST_Slice, AST_Set, AST_Dict,
	AST_Union, AST_SDiff, AST_XSect, AST_Or, AST_And, AST_Not, AST_UFunc, AST_Subs, AST_Sym]

for _cls in _AST_CLASSES:
	AST.register_AST (_cls)

_AST_CONSTS = (('E', 'e'), ('I', 'i'), ('Pi', 'pi'), ('Infty', 'oo'), ('CInfty', 'zoo'), ('None_', 'None'), ('True_', 'True'), ('False_', 'False'), ('NaN', 'nan'),
	('Naturals', 'Naturals'), ('Naturals0', 'Naturals0'), ('Integers', 'Integers'), ('Reals', 'Reals'), ('Complexes', 'Complexes'))

for _vp, _vv in _AST_CONSTS:
	ast = AST ('@', _vv)

	AST.CONSTS.add (ast)
	setattr (AST, _vp, ast)

AST.Null       = AST ()
AST.Zero       = AST ('#', '0')
AST.One        = AST ('#', '1')
AST.Two        = AST ('#', '2')
AST.NegOne     = AST ('#', '-1')
AST.VarNull    = AST ('@', '')
AST.CommaEmpty = AST (',', ())
AST.MatEmpty   = AST ('-mat', ())
AST.SetEmpty   = AST ('-set', ())
AST.DictEmpty  = AST ('-dict', ())

# AST translations for funtions to display or convert to internal AST or SymPy S() escaping.

import itertools as it


_SX_XLAT_AND       = True # ability to turn off And translation for testing
_SX_READ_PY_ASS_EQ = False # ability to parse py Eq() functions which were marked as assignment for testing

_AST_StrPlus = AST ('"', '+')

#...............................................................................................
def _xlat_f2a_slice (*args):
	if len (args) == 1:
		return AST ('-slice', False, False if args [0] == AST.None_ else args [0], None)
	if len (args) == 2:
		return AST ('-slice', False if args [0] == AST.None_ else args [0], False if args [1] == AST.None_ else args [1], None)
	else:
		return AST ('-slice', False if args [0] == AST.None_ else args [0], False if args [1] == AST.None_ else args [1], args [2] if args [2] != AST.None_ else None if args [1] == AST.None_ else False)

_xlat_f2a_Add_invert = {'==': '==', '!=': '!=', '<': '>', '<=': '>=', '>': '<', '>=': '<='}

def _xlat_f2a_And (*args, canon = False, force = False): # patch together out of order extended comparison objects potentially inverting comparisons
	def concat (lhs, rhs):
		return AST ('<>', lhs.lhs, lhs.cmp + rhs.cmp)

	def invert (ast):
		cmp = []
		lhs = ast.lhs

		for c in ast.cmp:
			v = _xlat_f2a_Add_invert.get (c [0])

			if v is None:
				return None

			cmp.append ((v, lhs))

			lhs = c [1]

		return AST ('<>', lhs, tuple (cmp [::-1]))

	def match (ast):
		li, ll = None, 0
		ri, rl = None, 0

		for i in range (len (args)):
			if args [i].is_cmp:
				if ast.lhs == args [i].cmp [-1] [1] and (li is None or args [i].cmp.len > ll):
					li, ll = i, args [i].cmp.len

				if ast.cmp [-1] [1] == args [i].lhs and (ri is None or args [i].cmp.len > rl):
					ri, rl = i, args [i].cmp.len

		return li, ri, ll + rl

	def canonicalize (ast):
		return invert (ast) if (canon and ast.is_cmp and sum ((r [0] == '>') - (r [0] == '<') for r, c in ast.cmp) > 0) else ast

	def count_ops (ast):
		if ast.is_and:
			return ast.and_.len - 1 + sum (count_ops (a) for a in ast.and_)
		elif ast.is_cmp:
			return ast.cmp.len + count_ops (ast.lhs) + sum (count_ops (ra [1]) for ra in ast.cmp)

		return 0

	# start here
	if not _SX_XLAT_AND and not force:
		return None # AST ('-func', 'And', args)

	and_ = AST ('-and', tuple (args)) # simple and
	andc = [args [0]] # build concatenated and from comparisons

	for arg in args [1:]:
		if arg.is_cmp and andc [-1].is_cmp and arg.lhs == andc [-1].cmp [-1] [1]:
			andc [-1] = AST ('<>', andc [-1].lhs, andc [-1].cmp + arg.cmp)
		else:
			andc.append (arg)

	andc = AST ('-and', tuple (andc)) if len (andc) > 1 else andc [0]
	itr  = iter (args)
	args = []

	for arg in itr: # build optimized and
		if not args or not arg.is_cmp:
			args.append (arg)

		else:
			while 1:
				li, ri, l = match (arg)
				argv      = invert (arg)

				if argv is not None:
					liv, riv, lv = match (argv)

					if lv > l:
						li, ri = liv, riv
						arg    = argv

				if li is None or li == ri:
					if ri is None:
						args.append (arg)
						break

					else:
						arg = concat (arg, args [ri])
						del args [ri]

				elif ri is None:
					arg = concat (args [li], arg)
					del args [li]

				else:
					i1, i2 = min (li, ri), max (li, ri)
					arg    = concat (concat (args [li], arg), args [ri])

					del args [i2], args [i1]

	if len (args) == 1:
		ast = canonicalize (args [0])
	else:
		ast = AST ('-and', tuple (canonicalize (a) for a in args))

	return min (andc, and_, ast, key = lambda a: count_ops (a))

def _xlat_f2a_Lambda (args, expr):
	args = args.strip_paren
	args = args.comma if args.is_comma else (args,)
	vars = []

	for v in args:
		if not v.is_var_nonconst:
			return None

		vars.append (v.var)

	return AST ('-lamb', expr, tuple (vars))

def _xlat_f2a_Pow (ast = AST.VarNull, exp = AST.VarNull):
	return AST ('^', ast, exp)

def _xlat_f2a_Matrix (ast = AST.VarNull):
	if ast.is_var_null:
		return AST.MatEmpty

	if ast.is_brack:
		if not ast.brack:
			return AST.MatEmpty

		elif not ast.brack [0].is_brack: # single layer or brackets, column matrix?
			return AST ('-mat', tuple ((c,) for c in ast.brack))

		elif ast.brack [0].brack:
			rows = [ast.brack [0].brack]
			cols = len (rows [0])

			for row in ast.brack [1 : -1]:
				if row.brack.len != cols:
					break

				rows.append (row.brack)

			else:
				l = ast.brack [-1].brack.len

				if l <= cols:
					if ast.brack.len > 1:
						rows.append (ast.brack [-1].brack + (AST.VarNull,) * (cols - l))

					if l != cols:
						return AST ('-mat', tuple (rows))
					elif cols > 1:
						return AST ('-mat', tuple (rows))
					else:
						return AST ('-mat', tuple ((r [0],) for r in rows))

	return None

def _xlat_f2a_Piecewise (*args):
	pcs = []

	if not args or args [0].is_var_null:
		return AST ('-piece', ((AST.VarNull, AST.VarNull),))

	if len (args) > 1:
		for c in args [:-1]:
			c = c.strip

			if not c.is_comma or c.comma.len != 2:
				return None

			pcs.append (c.comma)

	ast = args [-1]

	if not ast.is_paren:
		return None

	ast = ast.strip
	pcs = tuple (pcs)

	if not ast.is_comma:
		return AST ('-piece', pcs + ((ast, AST.VarNull),))
	elif ast.comma.len == 0:
		return AST ('-piece', pcs + ())

	if not ast.comma [0].is_comma:
		if ast.comma.len == 1:
			return AST ('-piece', pcs + ((ast.comma [0], AST.VarNull),))
		elif ast.comma.len == 2:
			return AST ('-piece', pcs + ((ast.comma [0], True if ast.comma [1] == AST.True_ else ast.comma [1]),))

	return None

def _xlat_f2a_Derivative_NAT (ast = AST.VarNull, *dvs, **kw):
	if not kw:
		return _xlat_f2a_Derivative (ast, *dvs)

def _xlat_f2a_Derivative (ast = AST.VarNull, *dvs, **kw):
	ds = []

	if not dvs:
		if ast.is_diffp:
			return AST ('-diffp', ast.diffp, ast.count + 1)
		else:
			return AST ('-diffp', ast, 1)

	else:
		dvs = list (dvs [::-1])

		while dvs:
			v = dvs.pop ()

			if not v.is_var:
				return None

			ds.append ((v.var, dvs.pop ().as_int if dvs and dvs [-1].is_num_pos_int else 1))

	return AST ('-diff', ast, 'd', tuple (ds))

def _xlat_f2a_Integral_NAT (ast = None, dvab = None, *args, **kw):
	if not kw:
		return _xlat_f2a_Integral (ast, dvab, *args, **kw)

def _xlat_f2a_Integral (ast = None, dvab = None, *args, **kw):
	if ast is None:
		return AST ('-intg', AST.VarNull, AST.VarNull)

	if dvab is None:
		vars = ast.free_vars

		if len (vars) == 1:
			return AST ('-intg', ast, ('@', f'd{vars.pop ().var}'))

		return AST ('-intg', ast, AST.VarNull)

	dvab = dvab.strip_paren
	ast2 = None

	if dvab.is_comma:
		if dvab.comma and dvab.comma [0].is_var:#_nonconst:
			if dvab.comma.len == 1:
				ast2 = AST ('-intg', ast, ('@', f'd{dvab.comma [0].var}'))
			elif dvab.comma.len == 2:
				ast2 = AST ('-intg', ast, ('@', f'd{dvab.comma [0].var}'), AST.Zero, dvab.comma [1])
			elif dvab.comma.len == 3:
				ast2 = AST ('-intg', ast, ('@', f'd{dvab.comma [0].var}'), dvab.comma [1], dvab.comma [2])

	elif dvab.is_var:
		ast2 = AST ('-intg', ast, ('@', f'd{dvab.var}'))

	if ast2 is None:
		return None

	return _xlat_f2a_Integral (ast2, *args) if args else ast2

_xlat_f2a_Limit_dirs = {AST ('"', '+'): ('+',), AST ('"', '-'): ('-',), AST ('"', '+-'): ()}

def _xlat_f2a_Limit (ast = AST.VarNull, var = AST.VarNull, to = AST.VarNull, dir = _AST_StrPlus):
	if var.is_var_nonconst:
		return AST ('-lim', ast, var, to, *_xlat_f2a_Limit_dirs [dir])

	return None

def _xlat_f2a_Sum_NAT (ast = AST.VarNull, ab = None, **kw):
	if not kw:
		return _xlat_f2a_Sum (ast, ab, **kw)

	return None

def _xlat_f2a_Sum (ast = AST.VarNull, ab = None, **kw):
	if ab is None:
		return AST ('-sum', ast, AST.VarNull, AST.VarNull, AST.VarNull)

	ab = ab.strip_paren

	if ab.is_var:
		return AST ('-sum', ast, ab, AST.VarNull, AST.VarNull)
	elif ab.is_comma and ab.comma and ab.comma.len <= 3 and ab.comma [0].is_var:
		return AST ('-sum', ast, *ab.comma, *((AST.VarNull,) * (3 - ab.comma.len)))

	return None

def _xlat_f2a_Union (*args):
	if len (args) == 2 and args [0].is_add and args [1].is_add and args [0].add.len == 2 and args [1].add.len == 2 and \
			args [0].add [1].is_minus and args [1].add [1].is_minus and args [0].add [0] == args [1].add [1].minus and args [1].add [0] == args [0].add [1].minus:
		return AST ('^^', (args [0].add [0], args [1].add [0]))

	return AST ('||', tuple (args))

def _xlat_f2a_Subs (expr = None, src = None, dst = None):
	def parse_subs (src, dst):
		if src is None:
			return ((AST.VarNull, AST.VarNull),)

		src = src.strip_paren.comma if src.strip_paren.is_comma else (src,) # (src.strip_paren,)

		if dst is None:
			return tuple (it.zip_longest (src, (), fillvalue = AST.VarNull))

		dst = dst.strip_paren.comma if dst.strip_paren.is_comma else (dst,) # (dst.stip_paren,)

		if len (dst) > len (src):
			return None

		return tuple (it.zip_longest (src, dst, fillvalue = AST.VarNull))

	# start here
	if expr is None:
		return AST ('-subs', AST.VarNull, ((AST.VarNull, AST.VarNull),))

	subs = parse_subs (src, dst)

	if subs is None:
		return None

	if expr.is_subs:
		return AST ('-subs', expr.expr, expr.subs + subs)
	else:
		return AST ('-subs', expr, subs)

def _xlat_f2a_subs (expr, src = AST.VarNull, dst = None):
	def parse_subs (src, dst):
		if dst is not None:
			return ((src, dst),)

		src = src.strip_paren

		if src.is_dict:
			return src.dict
		elif src.op not in {',', '[', '-set'}:
			return None # ((src, AST.VarNull),)

		else:
			subs = []

			for arg in src [1]:
				ast = arg.strip_paren

				if ast.op in {',', '['} and ast [1].len <= 2:
					subs.append ((ast [1] + (AST.VarNull, AST.VarNull)) [:2])
				elif arg.is_paren and arg is src [1] [-1]:
					subs.append ((ast, AST.VarNull))
				else:
					return None

			return tuple (subs)

	# start here
	subs = parse_subs (src, dst)

	if subs is None:
		return None

	if expr.is_subs: # collapse multiple subs into one
		return AST ('-subs', expr.expr, expr.subs + subs)

	return AST ('-subs', expr, subs)

#...............................................................................................
_XLAT_FUNC2AST_REIM = {
	'Re'                   : lambda *args: AST ('-func', 're', tuple (args)),
	'Im'                   : lambda *args: AST ('-func', 'im', tuple (args)),
}

_XLAT_FUNC2AST_ALL = {
	'Subs'                 : _xlat_f2a_Subs,
	'.subs'                : _xlat_f2a_subs,
}

_XLAT_FUNC2AST_TEXNATPY = {**_XLAT_FUNC2AST_ALL,
	'slice'                : _xlat_f2a_slice,

	'Eq'                   : lambda a, b, *args: AST ('<>', a, (('==', b),)) if not args else AST ('=', a, b, ass_is_not_kw = True) if _SX_READ_PY_ASS_EQ else None, # extra *args is for marking as assignment during testing
	'Ne'                   : lambda a, b: AST ('<>', a, (('!=', b),)),
	'Lt'                   : lambda a, b: AST ('<>', a, (('<',  b),)),
	'Le'                   : lambda a, b: AST ('<>', a, (('<=', b),)),
	'Gt'                   : lambda a, b: AST ('<>', a, (('>',  b),)),
	'Ge'                   : lambda a, b: AST ('<>', a, (('>=', b),)),

	'Or'                   : lambda *args: AST ('-or', tuple (args)),
	'And'                  : _xlat_f2a_And,
	'Not'                  : lambda not_: AST ('-not', not_),
}

_XLAT_FUNC2AST_TEXNAT = {**_XLAT_FUNC2AST_TEXNATPY,
	'S'                    : lambda ast, **kw: ast if ast.is_num and not kw else None,

	'abs'                  : lambda *args: AST ('|', args [0] if len (args) == 1 else AST (',', args)),
	'Abs'                  : lambda *args: AST ('|', args [0] if len (args) == 1 else AST (',', args)),
	'exp'                  : lambda ast: AST ('^', AST.E, ast),
	'factorial'            : lambda ast: AST ('!', ast),
	'Lambda'               : _xlat_f2a_Lambda,
	'Matrix'               : _xlat_f2a_Matrix,
	'MutableDenseMatrix'   : _xlat_f2a_Matrix,
	'Piecewise'            : _xlat_f2a_Piecewise,
	'Pow'                  : _xlat_f2a_Pow,
	'pow'                  : _xlat_f2a_Pow,
	'Tuple'                : lambda *args: AST ('(', (',', args)),

	'Limit'                : _xlat_f2a_Limit,
	'limit'                : _xlat_f2a_Limit,

	'EmptySet'             : lambda *args: AST.SetEmpty,
	'FiniteSet'            : lambda *args: AST ('-set', tuple (args)),
	'Contains'             : lambda a, b: AST ('<>', a, (('in', b),)),
	'Complement'           : lambda *args: AST ('+', (args [0], ('-', args [1]))),
	'Intersection'         : lambda *args: AST ('&&', tuple (args)),
	'Union'                : _xlat_f2a_Union,
}

XLAT_FUNC2AST_TEX = {**_XLAT_FUNC2AST_TEXNAT,
	'Add'                  : lambda *args, **kw: AST ('+', args),
	'Mul'                  : lambda *args, **kw: AST ('*', args),

	'Derivative'           : _xlat_f2a_Derivative,
	'Integral'             : _xlat_f2a_Integral,
	'Sum'                  : _xlat_f2a_Sum,
	'diff'                 : _xlat_f2a_Derivative,
	'integrate'            : _xlat_f2a_Integral,
	'summation'            : _xlat_f2a_Sum,

	'SparseMatrix'         : _xlat_f2a_Matrix,
	'MutableSparseMatrix'  : _xlat_f2a_Matrix,
	'ImmutableDenseMatrix' : _xlat_f2a_Matrix,
	'ImmutableSparseMatrix': _xlat_f2a_Matrix,

	'diag'                 : True,
	'eye'                  : True,
	'ones'                 : True,
	'zeros'                : True,
}

XLAT_FUNC2AST_NAT = {**_XLAT_FUNC2AST_TEXNAT, **_XLAT_FUNC2AST_REIM,
	'Add'                  : lambda *args, **kw: None if kw else AST ('+', args),
	'Mul'                  : lambda *args, **kw: None if kw else AST ('*', args),

	'Derivative'           : _xlat_f2a_Derivative_NAT,
	'Integral'             : _xlat_f2a_Integral_NAT,
	'Sum'                  : _xlat_f2a_Sum_NAT,
}

XLAT_FUNC2AST_PY  = {**_XLAT_FUNC2AST_TEXNATPY, **_XLAT_FUNC2AST_REIM,
	'Gamma'                : lambda *args: AST ('-func', 'gamma', tuple (args)),
}

XLAT_FUNC2AST_SPARSER = {
	'Lambda'               : _xlat_f2a_Lambda,
	'Limit'                : _xlat_f2a_Limit,
	'Sum'                  : _xlat_f2a_Sum_NAT,
	'Derivative'           : _xlat_f2a_Derivative_NAT,
	'Integral'             : _xlat_f2a_Integral_NAT,
	'Subs'                 : _xlat_f2a_Subs,
	'.subs'                : _xlat_f2a_subs,
}

XLAT_FUNC2AST_SPT = XLAT_FUNC2AST_PY

def xlat_funcs2asts (ast, xlat, func_call = None, recurse = True): # translate eligible functions in tree to other AST representations
	if not isinstance (ast, AST):
		return ast

	if ast.is_func:
		xact = xlat.get (ast.func)
		args = ast.args
		ret  = lambda: AST ('-func', ast.func, args)

	elif ast.is_attr_func:
		xact = xlat.get (f'.{ast.attr}')
		args = (ast.obj,) + ast.args
		ret  = lambda: AST ('.', args [0], ast.attr, tuple (args [1:]))

	else:
		xact = None

	if xact is not None:
		if recurse:
			args = AST (*(xlat_funcs2asts (a, xlat, func_call = func_call) for a in args))

		try:
			if xact is True: # True means execute function and use return value for ast, only happens for -func
				return func_call (ast.func, args) # not checking func_call None because that should never happen

			xargs, xkw = AST.args2kwargs (args)
			ast2       = xact (*xargs, **xkw)

			if ast2 is not None:
				return ast2

		except:
			pass

		return ret ()

	if recurse:
		return AST (*(xlat_funcs2asts (a, xlat, func_call = func_call) for a in ast))#, **ast._kw)

	return ast

#...............................................................................................
_XLAT_FUNC2TEX = {
	'beta'    : lambda ast2tex, *args: f'\\beta{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',
	'gamma'   : lambda ast2tex, *args: f'\\Gamma{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',
	'Gamma'   : lambda ast2tex, *args: f'\\Gamma{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',
	'Lambda'  : lambda ast2tex, *args: f'\\Lambda{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',
	'zeta'    : lambda ast2tex, *args: f'\\zeta{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',

	're'      : lambda ast2tex, *args: f'\\Re{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',
	'im'      : lambda ast2tex, *args: f'\\Im{{\\left({ast2tex (AST.tuple2argskw (args))} \\right)}}',

	'binomial': lambda ast2tex, *args: f'\\binom{{{ast2tex (args [0])}}}{{{ast2tex (args [1])}}}' if len (args) == 2 else None,
	'set'     : lambda ast2tex, *args: '\\emptyset' if not args else None,
}

_XLAT_ATTRFUNC2TEX = {
	'diff'     : lambda ast2tex, ast, *dvs, **kw: ast2tex (_xlat_f2a_Derivative (ast, *dvs, **kw)),
	'integrate': lambda ast2tex, ast, dvab = None, *args, **kw: ast2tex (_xlat_f2a_Integral (ast, dvab, *args, **kw)),
	'limit'    : lambda ast2tex, ast, var = AST.VarNull, to = AST.VarNull, dir = _AST_StrPlus: ast2tex (_xlat_f2a_Limit (ast, var, to, dir)),
}

def xlat_func2tex (ast, ast2tex):
	xact = _XLAT_FUNC2TEX.get (ast.func)

	if xact:
		args, kw = AST.args2kwargs (ast.args)

		try:
			return xact (ast2tex, *args, **kw)
		except:
			pass

	return None

def xlat_attr2tex (ast, ast2tex):
	if ast.is_attr_func:
		xact = _XLAT_ATTRFUNC2TEX.get (ast.attr)

		if xact:
			args, kw = AST.args2kwargs (ast.args)

			try:
				return xact (ast2tex, ast.obj, *args, **kw)
			except:
				pass

	return None

#...............................................................................................
def _xlat_pyS (ast, need = False): # Python S(1)/2 escaping where necessary
	if not isinstance (ast, AST):
		return ast, False

	if ast.is_num:
		if need:
			return AST ('-func', 'S', (ast,)), True
		else:
			return ast, False

	if ast.is_comma or ast.is_brack:
		return AST (ast.op, tuple (_xlat_pyS (a) [0] for a in ast [1])), False

	if ast.is_curly or ast.is_paren or ast.is_minus:
		expr, has = _xlat_pyS (ast [1], need)

		return AST (ast.op, expr), has

	if ast.is_add or ast.is_mul:
		es  = [_xlat_pyS (a) for a in ast [1] [1:]]
		has = any (e [1] for e in es)
		e0  = _xlat_pyS (ast [1] [0], need and not has)
		es  = (e0 [0],) + tuple (e [0] for e in es)

		return (AST ('+', es) if ast.is_add else AST ('*', es, ast.exp)), has or e0 [1]

	if ast.is_div:
		denom, has = _xlat_pyS (ast.denom)
		numer      = _xlat_pyS (ast.numer, not has) [0]

		return AST ('/', numer, denom), True

	if ast.is_pow:
		exp, has = _xlat_pyS (ast.exp)
		base     = _xlat_pyS (ast.base, not (has or exp.is_num_pos)) [0]

		return AST ('^', base, exp), True

	es = [_xlat_pyS (a) for a in ast]

	return AST (*tuple (e [0] for e in es)), \
			ast.op in {'=', '<>', '@', '.', '|', '!', '-log', '-sqrt', '-func', '-lim', '-sum', '-diff', '-intg', '-mat', '-piece', '-lamb', '||', '^^', '&&', '-or', '-and', '-not', '-ufunc', '-subs'} or any (e [1] for e in es)

xlat_pyS = lambda ast: _xlat_pyS (ast) [0]

#...............................................................................................
class sxlat: # for single script
	XLAT_FUNC2AST_SPARSER = XLAT_FUNC2AST_SPARSER
	XLAT_FUNC2AST_TEX     = XLAT_FUNC2AST_TEX
	XLAT_FUNC2AST_NAT     = XLAT_FUNC2AST_NAT
	XLAT_FUNC2AST_PY      = XLAT_FUNC2AST_PY
	XLAT_FUNC2AST_SPT     = XLAT_FUNC2AST_SPT
	xlat_funcs2asts       = xlat_funcs2asts
	xlat_func2tex         = xlat_func2tex
	xlat_attr2tex         = xlat_attr2tex
	xlat_pyS              = xlat_pyS
	_xlat_f2a_And         = _xlat_f2a_And

# Convert between internal AST and SymPy expressions and write out LaTeX, native shorthand and Python code.
# Here be dragons! MUST REFACTOR AT SOME POINT FOR THE LOVE OF ALL THAT IS GOOD AND PURE!

from ast import literal_eval
from collections import OrderedDict
from functools import reduce
import re
import sympy as sp
from sympy.core.cache import clear_cache
from sympy.core.function import AppliedUndef as sp_AppliedUndef


_SYM_MARK_PY_ASS_EQ = False # for testing to write extra information into python text representation of Eq() if is assignment

_TEX_SPACE      = '\\ ' # explicit LaTeX space

_SYM_USER_FUNCS = set () # set of user funcs present {name, ...} - including hidden N and gamma and the like
_SYM_USER_VARS  = {} # flattened user vars {name: ast, ...}
_SYM_USER_ALL   = {} # all funcs and vars dict, user funcs not in vars stored as AST.Null

_POST_SIMPLIFY  = False # post-evaluation simplification
_PYS            = True # Python S() escaping
_DOIT           = True # expression doit()
_MUL_RATIONAL   = False # products should lead with a rational fraction if one is present instead of absorbing into it
_STRICT_TEX     = False # strict LaTeX formatting to assure copy-in ability of generated tex
_QUICK_MODE     = False # quick input mode affects variable spacing in products

class _None: pass # unique non-None None marker

class AST_Text (AST): # for displaying elements we do not know how to handle, only returned from SymPy processing, not passed in
	op, is_text = '-text', True

	def _init (self, tex = None, nat = None, py = None, spt = None):
		self.tex, self.nat, self.py, self.spt = tex, nat, py, spt

AST.register_AST (AST_Text)

class EqAss (sp.Eq): pass # explicit assignment instead of equality comparison
class EqCmp (sp.Eq): pass # explicit equality comparison instead of assignment

class IdLambda (sp.Lambda): # identity lambda - having SymPy remap Lambda (y, y) to Lambda (_x, _x) is really annoying
	def __new__ (cls, a, l, **kw):
		self = sp.Lambda.__new__ (cls, sp.Symbol (l.name), l.name)

		return self

class NoEval (sp.Expr): # prevent any kind of evaluation on AST on instantiation or doit, args = (str (AST), sp.S.One)
	is_number    = False
	free_symbols = set ()

	def __new__ (cls, ast):
		self      = sp.Expr.__new__ (cls, str (ast))
		self._ast = ast

		return self

	def doit (self, *args, **kw):
		return self

	def ast (self):
		return AST (*literal_eval (self._ast)) if isinstance (self._ast, str) else self._ast # SymPy might have re-create this object using string argument

def _raise (exc):
	raise exc

def _sympify (spt, sympify = sp.sympify, fallback = None): # try to sympify argument with optional fallback conversion function
	try:
		return sympify (spt)

	except:
		if fallback is True: # True for return original value
			return spt
		elif fallback is None:
			raise

		else:
			try:
				return fallback (spt)
			except Exception as e:
				raise e from None

def _free_symbols (spt): # extend sympy .free_symbols into standard python containers
	if isinstance (spt, (None.__class__, bool, int, float, complex, str)):
		pass # nop
	elif isinstance (spt, (tuple, list, set, frozenset)):
		return set ().union (*(_free_symbols (s) for s in spt))
	elif isinstance (spt, slice):
		return _free_symbols (spt.start).union (_free_symbols (spt.stop), _free_symbols (spt.step))
	elif isinstance (spt, dict):
		return set ().union (*(_free_symbols (s) for s in sum (spt.items (), ())))
	else:
		return getattr (spt, 'free_symbols', set ())

	return set ()

def _simplify (spt): # extend sympy simplification into standard python containers
	if isinstance (spt, (None.__class__, bool, int, float, complex, str)):
		return spt
	elif isinstance (spt, (tuple, list, set, frozenset)):
		return spt.__class__ (_simplify (a) for a in spt)
	elif isinstance (spt, slice):
		return slice (_simplify (spt.start), _simplify (spt.stop), _simplify (spt.step))
	elif isinstance (spt, dict):
		return dict ((_simplify (k), _simplify (v)) for k, v in spt.items ())

	if not isinstance (spt, (sp.Naturals.__class__, sp.Integers.__class__)): # these break on count_ops()
		try:
			spt2 = sp.simplify (spt)

			if sp.count_ops (spt2) <= sp.count_ops (spt): # sometimes simplify doesn't
				spt = spt2

		except:
			pass

	return spt

def _doit (spt): # extend sympy .doit() into standard python containers
	if isinstance (spt, (None.__class__, bool, int, float, complex, str)):
		return spt
	elif isinstance (spt, (tuple, list, set, frozenset)):
		return spt.__class__ (_doit (a) for a in spt)
	elif isinstance (spt, slice):
		return slice (_doit (spt.start), _doit (spt.stop), _doit (spt.step))
	elif isinstance (spt, dict):
		return dict ((_doit (k), _doit (v)) for k, v in spt.items ())

	try:
		return spt.doit (deep = True)
	except:
		pass

	return spt

def _subs (spt, subs): # extend sympy .subs() into standard python containers, subs = [(s1, d1), (s2, d2), ...]
	if not subs:
		return spt

	if isinstance (spt, (tuple, list, set, frozenset, slice, dict)):
		for i, (s, d) in enumerate (subs):
			if s == spt:
				return _subs (d, subs [:i] + subs [i + 1:])

		if isinstance (spt, slice):
			return slice (_subs (spt.start, subs), _subs (spt.stop, subs), _subs (spt.step, subs))
		elif isinstance (spt, dict):
			return dict ((_subs (k, subs), _subs (v, subs)) for k, v in spt.items ())
		else: # isinstance (spt, (tuple, list, set, frozenset)):
			return spt.__class__ (_subs (a, subs) for a in spt)

	elif isinstance (spt, sp.Derivative) and isinstance (spt.args [0], sp_AppliedUndef): # do not subs derivative of appliedundef (d/dx (f (x, y))) to preserve info about variables
		vars     = set (spt.args [0].args)
		spt      = sp.Subs (spt, *zip (*filter (lambda sd: sd [0] in vars, subs)))
		spt.doit = lambda self = spt, *args, **kw: self # disable doit because loses information

	else:
		try:
			if isinstance (spt, (bool, int, float, complex)):
				return sp.sympify (spt).subs (subs)
			else:
				return spt.subs (subs)

		except:
			pass

	return spt

def _Mul (*args):
	itr = iter (args)
	res = next (itr)

	for arg in itr:
		try:
			res = res * arg
		except:
			res = sp.sympify (res) * sp.sympify (arg)

	return res

def _Pow (base, exp): # fix inconsistent sympy Pow (..., evaluate = True)
	return base**exp

def _bool_or_None (v):
	return None if v is None else bool (v)

def _fltoint (num):
	return int (num) if isinstance (num, int) or num.is_integer () else num

def _trail_comma (obj):
	return ',' if len (obj) == 1 else ''

def _ast_is_neg (ast):
	return ast.is_minus or ast.is_num_neg or (ast.is_mul and _ast_is_neg (ast.mul [0]))

def _ast_is_neg_nominus (ast):
	return ast.is_num_neg or (ast.is_mul and _ast_is_neg (ast.mul [0]))

def _ast_is_top_ass_lhs (self, ast):
	return (self.parent.is_ass and ast is self.parent.lhs and self.parents [-2].op in {None, ';'}) or \
		(self.parent.is_comma and self.parents [-2].is_ass and self.parent is self.parents [-2].lhs and self.parents [-3].op in {None, ';'})

def _ast_eqcmp2ass (ast, parent = AST.Null):
	if not isinstance (ast, AST):
		return ast

	if ast.is_cmp and not ast.is_cmp_explicit and ast.cmp.len == 1 and ast.cmp [0] [0] == '==' and (
			parent.op in {None, ';', '<>', ',', '(', '[', '-', '!', '+', '*', '/', '^', '-log', '-sqrt', '-diff', '-diffp', '-mat', '-lamb', '-idx', '-set', '||', '^^', '&&', '-subs'} or
			parent.is_attr_var or
			(parent.is_attr_func and (ast is parent.obj or not ast.lhs.as_identifier)) or
			(parent.op in {'-lim', '-sum', '-intg'} and ast is parent [1]) or
			(parent.is_func and not ast.lhs.as_identifier)):
		return AST ('=', _ast_eqcmp2ass (ast.lhs, ast), _ast_eqcmp2ass (ast.cmp [0] [1], ast))

	return AST (*(_ast_eqcmp2ass (a, ast) for a in ast))

def _ast_slice_bounds (ast, None_ = AST.VarNull, allow1 = False):
	if allow1 and not ast.start and not ast.step:
		return (ast.stop or None_,)

	return tuple (a or None_ for a in ((ast.start, ast.stop) if ast.step is None else (ast.start, ast.stop, ast.step)))

def _ast_followed_by_slice (ast, seq):
	for i in range (len (seq)):
		if seq [i] is ast:
			for i in range (i + 1, len (seq)):
				if seq [i].is_slice:
					return True
				elif not seq [i].is_var:
					break

			break

	return False

def _ast_func_call (func, args, _ast2spt = None):
	if _ast2spt is None:
		_ast2spt = ast2spt

	pyargs, pykw = AST.args2kwargs (args, _ast2spt)

	return func (*pyargs, **pykw)

def _ast_has_open_differential (ast, istex):
	if ast.is_differential or (not istex and
			((ast.is_diff_d and (not ast.is_diff_dvdv and ast.dvs [-1] [-1] == 1)) or
			(ast.is_subs_diff_d_ufunc and (not ast.expr.is_diff_dvdv and ast.expr.dvs [-1] [-1] == 1)))):
		return True
	elif istex and ast.is_div or ast.op in {'[', '|', '-log', '-sqrt', '-func', '-diff', '-intg', '-mat', '-set', '-dict', '-ufunc', '-subs'}: # specifically not checking '(' because that might be added by ast2tex/nat in subexpressions
		return False
	elif ast.op in {'.', '^', '-log', '-sqrt', '-lim', '-sum', '-diffp', '-lamb', '-idx'}:
		return _ast_has_open_differential (ast [1], istex = istex)

	return any (_ast_has_open_differential (a, istex = istex) if isinstance (a, AST) else False for a in (ast if ast.op is None else ast [1:]))

def _ast_subs2func (ast): # ast is '-subs'
	func = ast.expr

	if func.op in {'-diff', '-diffp'}:
		func = func [1]

	func = _SYM_USER_VARS.get (func.var, func)

	if func.is_lamb:
		vars = ast.subs [:func.vars.len]

		if tuple (s.var for s, _ in vars) == func.vars:
			return [AST ('=', s, d) for s, d in ast.subs [func.vars.len:]], tuple (d for _, d in vars)

	elif func.is_ufunc_applied:
		subs = []
		vars = OrderedDict ((v, v) for v in func.vars)

		for s, d in ast.subs:
			if s.is_var_nonconst and vars.get (s) == s:
				vars [s] = d
			else:
				subs.append (AST ('=', s, d))

		vars = vars.values ()

		if func.apply_argskw ((vars, ())):
			return subs, vars

	return [AST ('=', s, d) for s, d in ast.subs], None

#...............................................................................................
class ast2tex: # abstract syntax tree -> LaTeX text
	def __init__ (self): self.parent = self.ast = None # pylint medication
	def __new__ (cls, ast, retxlat = False):
		def func_call (func, args):
			return spt2ast (_ast_func_call (getattr (sp, func), args))

		self         = super ().__new__ (cls)
		self.parents = [None]
		self.parent  = self.ast = AST.Null

		astx = sxlat.xlat_funcs2asts (ast, sxlat.XLAT_FUNC2AST_TEX, func_call = func_call)
		tex  = self._ast2tex (astx)

		return tex if not retxlat else (tex, (astx if astx != ast else None))

	def _ast2tex (self, ast):
		self.parents.append (self.ast)

		self.parent = self.ast
		self.ast    = ast

		tex         = self._ast2tex_funcs [ast.op] (self, ast)

		del self.parents [-1]

		self.ast    = self.parent
		self.parent = self.parents [-1]

		return tex

	def _ast2tex_wrap (self, obj, curly = None, paren = None):
		paren = (obj.op in paren) if isinstance (paren, set) else paren
		curly = (obj.op in curly) if isinstance (curly, set) else curly
		s     = self._ast2tex (obj if not obj.is_slice or paren or not curly or obj.step is not None else AST ('-slice', obj.start, obj.stop, False)) if isinstance (obj, AST) else str (obj)

		return f'\\left({s} \\right)' if paren else f'{{{s}}}' if curly else s

	def _ast2tex_cmp (self, ast):
		return f'{self._ast2tex_cmp_hs (ast.lhs)} {" ".join (f"{AST.Cmp.PY2TEX.get (r, r)} {self._ast2tex_cmp_hs (e)}" for r, e in ast.cmp)}'

	def _ast2tex_curly (self, ast):
		if ast.is_single_unit:
			return f'{self._ast2tex (ast)}'
		elif ast.op not in {',', '-slice'}:
			return f'{{{self._ast2tex (ast)}}}'
		else:
			return f'{{\\left({self._ast2tex (ast)} \\right)}}'

	def _ast2tex_paren (self, ast, ops = {}):
		return self._ast2tex_wrap (ast, 0, not (ast.op in {'(', '-lamb'} or (ops and ast.op not in ops)))

	def _ast2tex_paren_mul_exp (self, ast, ret_has = False, also = {'=', '<>', '+', '-slice', '||', '^^', '&&', '-or', '-and', '-not'}):
		if ast.is_mul:
			s, has = self._ast2tex_mul (ast, True)
		else:
			s, has = self._ast2tex (ast), ast.op in also

		s = self._ast2tex_wrap (s, 0, has)

		return (s, has) if ret_has else s

	def _ast2tex_ass_hs (self, hs, lhs = True):
		return self._ast2tex_wrap (hs, 0, hs.is_ass or hs.is_slice or
			(lhs and (hs.is_piece or (hs.is_comma and (self.parent and not self.parent.is_scolon)))))

	def _ast2tex_cmp_hs (self, hs):
		return self._ast2tex_wrap (hs, 0, {'=', '<>', '-piece', '-slice', '-or', '-and', '-not'})

	def _ast2tex_num (self, ast):
		m, e = ast.num_mant_and_exp

		return f'{m}{{e}}{{{e}}}' if e else m

	def _ast2tex_var (self, ast):
		if ast.is_var_null:
			return '\\{' if self.parent.op in {None, ';'} else '{}'

		texmulti = AST.Var.PY2TEXMULTI.get (ast.var)

		if texmulti: # for stuff like "Naturals0"
			return texmulti [0]

		n, s = ast.text_and_tail_num
		n    = n.replace ('_', '\\_')
		t    = AST.Var.PY2TEX.get (n)

		if s:
			s = f'_{{{s}}}'

		return \
				f'{t or n}{s}'      if not ast.diff_or_part_type else \
				f'd{t or n}{s}'     if ast.is_diff_any else \
				f'\\partial'        if ast.is_part_solo else \
				f'\\partial{t}{s}'  if t else \
				f'\\partial {n}{s}' if n else \
				f'\\partial'

	def _ast2tex_attr (self, ast):
		tex = sxlat.xlat_attr2tex (ast, self._ast2tex)

		if tex is not None:
			return tex

		a = ast.attr.replace ('_', '\\_')

		if ast.is_attr_func:
			a = f'\\operatorname{{{a}}}\\left({self._ast2tex (AST.tuple2argskw (ast.args))} \\right)'

		return f'{self._ast2tex_wrap (ast.obj, ast.obj.is_pow or ast.obj.is_subs_diff_ufunc, {"=", "<>", "#", ",", "-", "+", "*", "/", "-lim", "-sum", "-diff", "-intg", "-piece", "-slice", "||", "^^", "&&", "-or", "-and", "-not"})}.{a}'

	def _ast2tex_minus (self, ast):
		s = self._ast2tex_wrap (ast.minus, ast.minus.is_mul, {"=", "<>", "+", "-slice", "||", "^^", "&&", "-or", "-and", "-not"})

		return f'-{{{s}}}' if s [:6] != '\\left(' and ast.minus.strip_fdpi.is_num_pos else f'-{s}'

	def _ast2tex_add (self, ast):
		terms = []

		for n in ast.add:
			not_first = n is not ast.add [0]
			not_last  = n is not ast.add [-1]
			op        = ' + '

			if n.is_minus and not_first: # and n.minus.is_num_pos
				op, n = ' - ', n.minus

			s = self._ast2tex (n)

			terms.extend ([op, self._ast2tex_wrap (s,
				n.is_piece or (not_first and _ast_is_neg_nominus (n)) or (not_last and s [-1:] != ')' and (n.strip_mmls.is_intg or (n.is_mul and n.mul [-1].strip_mmls.is_intg))),
				(n.is_piece and not_last) or n.op in {'=', '<>', '+', '-slice', '||', '^^', '&&', '-or', '-and', '-not'})]) # , '-subs'})])

		return ''.join (terms [1:]).replace (' + -', ' - ')

	def _ast2tex_mul (self, ast, ret_has = False):
		t   = []
		p   = None
		has = False

		for i, n in enumerate (ast.mul):
			s = self._ast2tex_wrap (n, (p and _ast_is_neg (n)),
					n.op in {'=', '<>', '+', '-slice', '||', '^^', '&&', '-or', '-and', '-not'} or (n.is_piece and n is not ast.mul [-1]))

			if ((p and n.op in {'/', '-diff'} and p.op in {'#', '/'} and n.op != p.op) or
					(n.strip_mmls.is_intg and n is not ast.mul [-1] and s [-1:] not in {'}', ')', ']'})):
				s = f'{{{s}}}'

			is_exp          = i in ast.exp
			paren_after_var = p and (s.startswith ('\\left(') and (p.tail_mul.is_var or p.tail_mul.is_attr_var))

			if paren_after_var or (p and (
					t [-1].endswith ('.') or
					s [:1].isdigit () or
					s.startswith ('\\left[') or
					_ast_is_neg (n) or
					n.is_var_null or
 					n.op in {'#', '-mat'} or
					(s.startswith ('\\left(') and (
						is_exp or
						p.is_ufunc or
						(p.strip_paren.is_lamb and n.is_paren_isolated) or
						(p.is_diff_any_ufunc and not p.diff_any.apply_argskw (n.strip_paren1.as_ufunc_argskw)))) or
 					(t [-1] [-1:] not in {'}', ')', ']'} and p.tail_mul.is_sym_unqualified) or
					p.strip_minus.op in {'-lim', '-sum', '-diff', '-intg', '-mat'} or
					(p.tail_mul.is_var and (p.tail_mul.var == '_' or p.tail_mul.var in _SYM_USER_FUNCS)) or
					(n.is_div and p.is_div) or
					(n.is_attr and n.strip_attr.strip_paren.is_comma) or
					(n.is_pow and (n.base.is_num_pos or n.base.strip_paren.is_comma)) or
					(n.is_idx and (n.obj.is_idx or n.obj.strip_paren.is_comma)))):

				v = p.tail_mul
				a = _SYM_USER_VARS.get (v.var, AST.Null)

				if paren_after_var and not (
						is_exp or
						(v.is_var and (
							AST.UFunc.valid_implicit_args (n.strip_paren1.as_ufunc_argskw [0])) or
							(n.is_diffp and n.diffp.is_paren and AST.UFunc.valid_implicit_args (n.diffp.paren.as_ufunc_argskw [0])) or
							(a.is_ufunc and a.apply_argskw (n.strip_paren1.as_ufunc_argskw)))):

					t.append (s)

					if not t [-2].startswith ('{'):
						t [-2] = f'{{{t [-2]}}}'

				elif paren_after_var and not is_exp and n.is_paren_free and a.is_diff_any_ufunc and a.diff_any.apply_argskw (n.strip_paren1.as_ufunc_argskw):
					t.append (s)

				else:
					t.extend ([' \\cdot ', s])
					has = True

			elif p and (
					p.is_sqrt or
					p.num_exp or
					(_QUICK_MODE and p.is_attr_var and not s.startswith ('\\left(')) or
					p.strip_minus.is_diff_or_part_any or
					(not _QUICK_MODE and (
						n.is_sym or
						n.strip_pseudo.is_diff_or_part_any or
						(not s.startswith ('{') and (
							(not s.startswith ('\\left(') and
								(p.tail_mul.strip_pseudo.is_var or p.tail_mul.is_attr_var) and
								(n.strip_afpdpi.op in {'@', '-ufunc'} or (n.is_subs and n.expr.strip_afpdpi.op in {'@', '-ufunc'}))) or
							(s [:6] not in {'\\left(', '\\left['} and (
								p.is_var_long or
								n.is_func_pseudo or
								(n.strip_afpdpi.is_var_long and t [-1] [-7:] not in {'\\right)', '\\right]'})))))))):

				t.extend ([_TEX_SPACE, s])

			elif p:
				t.extend ([' ', s])
			else:
				t.append (s)

			p = n

		return (''.join (t), has) if ret_has else ''.join (t)

	def _ast2tex_div (self, ast):
		false_diff = (ast.numer.base.is_diff_or_part_solo and ast.numer.exp.is_num_pos_int) if ast.numer.is_pow else \
				(ast.numer.mul.len == 2 and ast.numer.mul [1].is_var and ast.numer.mul [0].is_pow and ast.numer.mul [0].base.is_diff_or_part_solo and ast.numer.mul [0].exp.strip_curly.is_num_pos_int) if ast.numer.is_mul else \
				ast.numer.is_diff_or_part_solo

		return f'\\frac{{{self._ast2tex_wrap (ast.numer, 0, ast.numer.is_slice or false_diff)}}}{{{self._ast2tex_wrap (ast.denom, 0, {"-slice"})}}}'

	def _ast2tex_pow (self, ast, trighpow = True):
		b = self._ast2tex_wrap (ast.base, {'-mat'}, not (ast.base.op in {'@', '.', '"', '(', '[', '|', '-log', '-func', '-mat', '-lamb', '-idx', '-set', '-dict', '-ufunc'} or ast.base.is_num_pos))
		p = self._ast2tex_curly (ast.exp)

		if trighpow and ast.base.is_func_trigh_noninv and ast.exp.is_num and ast.exp.num != '-1': # and ast.exp.is_single_unit
			i = len (ast.base.func) + (15 if ast.base.func in {'sech', 'csch'} else 1)

			return f'{b [:i]}^{p}{b [i:]}'

		return f'{b}^{p}'

	def _ast2tex_log (self, ast):
		if ast.base is None:
			return f'\\ln{{\\left({self._ast2tex (ast.log)} \\right)}}'
		else:
			return f'\\log_{self._ast2tex_curly (ast.base)}{{\\left({self._ast2tex (ast.log)} \\right)}}'

	_rec_tailnum = re.compile (r'^(.+)(?<![\d_])(\d*)$')

	def _ast2tex_func (self, ast):
		if ast.is_func_trigh:
			if ast.func [0] != 'a':
				n = f'\\operatorname{{{ast.func}}}' if ast.func in {'sech', 'csch'} else f'\\{ast.func}'
			elif ast.func in {'asech', 'acsch'}:
				n = f'\\operatorname{{{ast.func [1:]}}}^{{-1}}'
			else:
				n = f'\\{ast.func [1:]}^{{-1}}'

			return f'{n}{{\\left({self._ast2tex (AST.tuple2argskw (ast.args))} \\right)}}'

		tex = sxlat.xlat_func2tex (ast, self._ast2tex)

		if tex is not None:
			return tex

		if ast.func in AST.Func.TEX:
			func = f'\\{ast.func}'

		elif ast.func in {AST.Func.NOREMAP, AST.Func.NOEVAL}:
			func = ast.func.replace (AST.Func.NOEVAL, '\\%')

			if ast.args [0].op in {'#', '@', '(', '[', '|', '-func', '-mat', '-lamb', '-set', '-dict'}:
				return f'{func}{self._ast2tex (AST.tuple2argskw (ast.args))}'

		elif ast.func not in AST.Func.PY:
			m         = self._rec_tailnum.match (ast.func)
			func, sub = m.groups () if m else (ast.func, None)
			func      = func.replace ('_', '\\_')
			func      = f'\\operatorname{{{func}_{{{sub}}}}}' if sub else f'\\operatorname{{{func}}}'

		else:
			func = ast.func.replace ('_', '\\_')
			func = f'\\operatorname{{{AST.Var.GREEK2TEX.get (ast.func, func)}}}'

		return f'{func}{{\\left({self._ast2tex (AST.tuple2argskw (ast.args))} \\right)}}'

	def _ast2tex_lim (self, ast):
		s = self._ast2tex_wrap (ast.to, False, ast.to.is_slice) if ast.dir is None else (self._ast2tex_pow (AST ('^', ast.to, AST.Zero), trighpow = False) [:-1] + ast.dir)

		return f'\\lim_{{{self._ast2tex (ast.lvar)} \\to {s}}} {self._ast2tex_paren_mul_exp (ast.lim)}'

	def _ast2tex_sum (self, ast):
		return f'\\sum_{{{self._ast2tex (ast.svar)} = {self._ast2tex (ast.from_)}}}^{self._ast2tex_curly (ast.to)} {self._ast2tex_paren_mul_exp (ast.sum)}' \

	def _ast2tex_diff (self, ast):
		if ast.diff.is_var and not ast.diff.is_diff_or_part:
			top  = self._ast2tex (ast.diff)
			topp = f' {top}'
			side = ''

		else:
			top  = topp = ''
			side = self._ast2tex_wrap (ast.diff, 0, ast.diff.op not in {'(', '-lamb'})

		ds = set ()
		dp = 0

		for v, p in ast.dvs:
			ds.add (v)
			dp += p

		if not ds:
			return f'\\frac{{d{top}}}{{}}{side}'

		is_d = len (ds) <= 1 and ast.is_diff_d

		if is_d:
			diff = _SYM_USER_VARS.get (ast.diff.var, ast.diff)

			if diff.is_lamb:
				diff = diff.lamb

			is_d = len (diff.free_vars) <= 1

		if is_d:
			dvs = " ".join (self._ast2tex (AST ('@', f'd{v}') if p == 1 else AST ('^', AST ('@', f'd{v}'), AST ('#', p))) for v, p in ast.dvs)

			return f'\\frac{{d{top if dp == 1 else f"^{dp}{topp}"}}}{{{dvs}}}{side}'

		else:
			dvs = " ".join (self._ast2tex (AST ('@', f'partial{v}') if p == 1 else AST ('^', AST ('@', f'partial{v}'), AST ('#', p))) for v, p in ast.dvs)

			return f'\\frac{{\\partial{topp if dp == 1 else f"^{dp}{topp}"}}}{{{dvs}}}{side}'

	def _ast2tex_intg (self, ast):
		if ast.intg is None:
			intg  = ' '

		else:
			curly = ast.intg.op in {"-diff", "-slice", "||", "^^", "&&", "-or", "-and", "-not"} or ast.intg.tail_mul.op in {"-lim", "-sum"}
			intg  = self._ast2tex_wrap (ast.intg, curly, {"=", "<>"})
			intg  = f' {{{intg}}} ' if not curly and _ast_has_open_differential (ast.intg, istex = True) else f' {intg} '

		if ast.from_ is None:
			return f'\\int{intg}\\ {self._ast2tex (ast.dv)}'
		else:
			return f'\\int_{self._ast2tex_curly (ast.from_)}^{self._ast2tex_curly (ast.to)}{intg}\\ {self._ast2tex (ast.dv)}'

	def _ast2tex_idx (self, ast):
		obj = self._ast2tex_wrap (ast.obj,
			ast.obj.op in {"^", "-slice"} or ast.obj.is_subs_diff_ufunc or (ast.obj.is_var and ast.obj.var in _SYM_USER_FUNCS),
			ast.obj.is_num_neg or ast.obj.op in {"=", "<>", ",", "-", "+", "*", "/", "-lim", "-sum", "-diff", "-intg", "-piece", "||", "^^", "&&", "-or", "-and", "-not"})
		idx = '[' if ast.idx.len and ast.idx [0].is_var_null else f'\\left[{self._ast2tex (AST.tuple2ast (ast.idx))} \\right]'

		return f'{obj}{idx}'

	def _ast2tex_ufunc (self, ast):
		user       = _SYM_USER_ALL.get (ast.ufunc)
		is_top_ass = _ast_is_top_ass_lhs (self, ast)

		if (not ast.ufunc or
				(_STRICT_TEX and
				((ast.is_ufunc_explicit and is_top_ass) or
					((user and (not user.is_ufunc or not user.apply_argskw ((ast.vars, ast.kw))) or
							(not user and not AST.UFunc.valid_implicit_args (ast.vars))) and
						not is_top_ass)))):
			pre = '?'
		else:
			pre = ''

		name = self._ast2tex (AST ("@", ast.ufunc)) if ast.ufunc else ""
		args = ", ".join (tuple (self._ast2tex (v) for v in ast.vars) + tuple (f"{k} = {self._ast2tex_wrap (a, 0, a.is_comma)}" for k, a in ast.kw))

		return f'{pre}{name}\\left({args} \\right)'

	def _ast2tex_subs (self, ast):
		subs, vars = _ast_subs2func (ast)

		if len (subs) == ast.subs.len:
			expr = self._ast2tex (ast.expr)

		else:
			expr = f'{self._ast2tex (ast.expr)}\\left({", ".join (self._ast2tex (v) for v in vars)} \\right)'

			if not subs:
				return expr

		if len (subs) == 1:
			subs = self._ast2tex (subs [0])
		else:
			subs = '\\substack{' + ' \\\\ '.join (self._ast2tex (s) for s in subs) + '}'

		return f'\\left. {expr} \\right|_{{{subs}}}'

	_ast2tex_funcs = {
		';'     : lambda self, ast: ';\\: '.join (self._ast2tex (a) for a in ast.scolon),
		'='     : lambda self, ast: f'{self._ast2tex_ass_hs (ast.lhs)} = {self._ast2tex_ass_hs (ast.rhs, False)}',
		'<>'    : _ast2tex_cmp,
		'#'     : _ast2tex_num,
		'@'     : _ast2tex_var,
		'.'     : _ast2tex_attr,
		'"'     : lambda self, ast: '\\text{' + repr (ast.str_).replace ('}', '\\}') + '}',
		','     : lambda self, ast: f'{", ".join (self._ast2tex (c) for c in ast.comma)}{_trail_comma (ast.comma)}',
		'('     : lambda self, ast: '(' if ast.paren.is_var_null else self._ast2tex_wrap (ast.paren, 0, 1), # not ast.paren.is_lamb),
		'['     : lambda self, ast: '[' if ast.brack.len == 1 and ast.brack [0].is_var_null else f'\\left[{", ".join (self._ast2tex (b) for b in ast.brack)} \\right]',
		'|'     : lambda self, ast: '|' if ast.abs.is_var_null else f'\\left|{self._ast2tex (ast.abs)} \\right|',
		'-'     : _ast2tex_minus,
		'!'     : lambda self, ast: self._ast2tex_wrap (ast.fact, {'^'}, (ast.fact.op not in {'#', '@', '.', '"', '(', '[', '|', '!', '^', '-func', '-mat', '-idx', '-set', '-dict', '-sym'} or ast.fact.is_num_neg)) + '!',
		'+'     : _ast2tex_add,
		'*'     : _ast2tex_mul,
		'/'     : _ast2tex_div,
		'^'     : _ast2tex_pow,
		'-log'  : _ast2tex_log,
		'-sqrt' : lambda self, ast: f'\\sqrt{{{self._ast2tex_wrap (ast.rad, 0, {",", "-slice"})}}}' if ast.idx is None else f'\\sqrt[{self._ast2tex (ast.idx)}]{{{self._ast2tex_wrap (ast.rad, 0, {",", "-slice"})}}}',
		'-func' : _ast2tex_func,
		'-lim'  : _ast2tex_lim,
		'-sum'  : _ast2tex_sum,
		'-diff' : _ast2tex_diff,
		'-diffp': lambda self, ast: self._ast2tex_wrap (ast.diffp, ast.diffp.is_subs_diff_any_ufunc, ast.diffp.is_num_neg or ast.diffp.op in {"=", "<>", "-", "+", "*", "/", "^", "-sqrt", "-lim", "-sum", "-diff", "-intg", "-piece", "-slice", "||", "^^", "&&", "-or", "-and", "-not"}) + "'" * ast.count,
		'-intg' : _ast2tex_intg,
		'-mat'  : lambda self, ast: '\\begin{bmatrix} ' + r' \\ '.join (' & '.join (self._ast2tex_wrap (e, 0, e.is_slice) for e in row) for row in ast.mat) + f'{" " if ast.mat else ""}\\end{{bmatrix}}',
		'-piece': lambda self, ast: '\\begin{cases} ' + r' \\ '.join (f'{self._ast2tex_wrap (p [0], 0, {"=", "<>", ",", "-slice"})} & \\text{{otherwise}}' if p [1] is True else f'{self._ast2tex_wrap (p [0], 0, {"=", "<>", ",", "-slice"})} & \\text{{for}}\\: {self._ast2tex_wrap (p [1], 0, {"-slice"})}' for p in ast.piece) + ' \\end{cases}',
		'-lamb' : lambda self, ast: f'\\left({self._ast2tex (AST ("@", ast.vars [0]) if ast.vars.len == 1 else AST ("(", (",", tuple (("@", v) for v in ast.vars))))} \\mapsto {self._ast2tex (ast.lamb)} \\right)',
		'-idx'  : _ast2tex_idx,
		'-slice': lambda self, ast: self._ast2tex_wrap ('{:}'.join (self._ast2tex_wrap (a, a and _ast_is_neg (a), a and a.op in {'=', ',', '-slice'}) for a in _ast_slice_bounds (ast, '')), 0, not ast.start and self.parent.is_comma and ast is self.parent.comma [0] and self.parents [-2].is_ass and self.parent is self.parents [-2].rhs),
		'-set'  : lambda self, ast: f'\\left\\{{{", ".join (self._ast2tex_wrap (c, 0, c.is_slice) for c in ast.set)} \\right\\}}' if ast.set else '\\emptyset',
		'-dict' : lambda self, ast: f'\\left\\{{{", ".join (f"{self._ast2tex_wrap (k, 0, k.is_slice)}{{:}} {self._ast2tex_wrap (v, 0, v.is_slice)}" for k, v in ast.dict)} \\right\\}}',
		'||'    : lambda self, ast: ' \\cup '.join (self._ast2tex_wrap (a, 0, a.op in {'=', '<>', ',', '-slice', '-or', '-and', '-not'} or (a.is_piece and a is not ast.union [-1])) for a in ast.union),
		'^^'    : lambda self, ast: ' \\ominus '.join (self._ast2tex_wrap (a, 0, a.op in {'=', '<>', ',', '-slice', '||', '-or', '-and', '-not'} or (a.is_piece and a is not ast.sdiff [-1])) for a in ast.sdiff),
		'&&'    : lambda self, ast: ' \\cap '.join (self._ast2tex_wrap (a, 0, a.op in {'=', '<>', ',', '-slice', '||', '^^', '-or', '-and', '-not'} or (a.is_piece and a is not ast.xsect [-1])) for a in ast.xsect),
		'-or'   : lambda self, ast: ' \\vee '.join (self._ast2tex_wrap (a, 0, a.op in {'=', ',', '-slice'} or (a.is_piece and a is not ast.or_ [-1])) for a in ast.or_),
		'-and'  : lambda self, ast: ' \\wedge '.join (self._ast2tex_wrap (a, 0, a.op in {'=', ',', '-slice', '-or'} or (a.is_piece and a is not ast.and_ [-1])) for a in ast.and_),
		'-not'  : lambda self, ast: f'\\neg\\ {self._ast2tex_wrap (ast.not_, 0, ast.not_.op in {"=", ",", "-slice", "-or", "-and"})}',
		'-ufunc': _ast2tex_ufunc,
		'-subs' : _ast2tex_subs,
		'-sym'  : lambda self, ast: f'\\${self._ast2tex (AST ("@", ast.sym)) if ast.sym else ""}' + ('' if ast.is_sym_unqualified else f'\\left({", ".join (tuple (f"{k} = {self._ast2tex_wrap (a, 0, a.is_comma)}" for k, a in ast.kw))} \\right)'),

		'-text' : lambda self, ast: ast.tex,
	}

#...............................................................................................
class ast2nat: # abstract syntax tree -> native text
	def __init__ (self): self.parent = self.ast = None # pylint droppings
	def __new__ (cls, ast, retxlat = False):
		self         = super ().__new__ (cls)
		self.parents = [None]
		self.parent  = self.ast = AST.Null

		astx = sxlat.xlat_funcs2asts (ast, sxlat.XLAT_FUNC2AST_NAT)
		nat  = self._ast2nat (astx)

		return nat if not retxlat else (nat, (astx if astx != ast else None))

	def _ast2nat (self, ast):
		self.parents.append (self.ast)

		self.parent = self.ast
		self.ast    = ast

		nat         = self._ast2nat_funcs [ast.op] (self, ast)

		del self.parents [-1]

		self.ast    = self.parent
		self.parent = self.parents [-1]

		return nat

	def _ast2nat_wrap (self, obj, curly = None, paren = None):
		isast = isinstance (obj, AST)
		paren = (obj.op in paren) if isinstance (paren, set) else paren
		curly = ((obj.op in curly) if isinstance (curly, set) else curly) and not (isast and obj.is_abs)
		s     = self._ast2nat (obj if not obj.is_slice or paren or not curly or obj.step is not None else AST ('-slice', obj.start, obj.stop, False)) if isast else str (obj)

		return f'({s})' if paren else f'{{{s}}}' if curly else s

	def _ast2nat_curly (self, ast, ops = {}):
		if ast.is_slice:
			ast = AST ('(', ast)

		return self._ast2nat_wrap (ast, ops if ops else (ast.is_div or not ast.is_single_unit or (ast.is_var and ast.var in AST.Var.PY2TEX)))

	def _ast2nat_paren (self, ast, ops = {}):
		return self._ast2nat_wrap (ast, 0, not (ast.is_paren or (ops and ast.op not in ops)))

	def _ast2nat_curly_mul_exp (self, ast, ret_has = False, also = {}):
		if ast.is_mul:
			s, has = self._ast2nat_mul (ast, True)
		else:
			s, has = self._ast2nat (ast), False

		has = has or ((ast.op in also) if isinstance (also, set) else also)
		s   = self._ast2nat_wrap (s, has, ast.is_slice)

		return (s, has) if ret_has else s

	def _ast2nat_ass_hs (self, hs, lhs = True):
		return self._ast2nat_wrap (hs, 0, hs.is_ass or hs.is_slice or (lhs and (hs.op in {'-piece', '-lamb'}) or (hs.is_comma and (self.parent and not self.parent.is_scolon))) or \
				(not lhs and hs.is_lamb and self.parent.op in {'-set', '-dict'}))

	def _ast2nat_cmp_hs (self, hs):
		return self._ast2nat_wrap (hs, 0, {'=', '<>', '-piece', '-lamb', '-slice', '-or', '-and', '-not'})

	def _ast2nat_cmp (self, ast):
		return f'{self._ast2nat_cmp_hs (ast.lhs)} {" ".join (f"{AST.Cmp.PYFMT.get (r, r)} {self._ast2nat_cmp_hs (e)}" for r, e in ast.cmp)}'

	def _ast2nat_attr (self, ast):
		obj = self._ast2nat_wrap (ast.obj, ast.obj.is_pow or ast.obj.is_subs_diff_ufunc, {"=", "<>", "#", ",", "-", "+", "*", "/", "-lim", "-sum", "-diff", "-intg", "-piece", "-lamb", "-slice", "||", "^^", "&&", "-or", "-and", "-not"})

		if ast.is_attr_var:
			return f'{obj}.{ast.attr}'
		else:
			return f'{obj}.{ast.attr}({self._ast2nat (AST.tuple2argskw (ast.args))})'

	def _ast2nat_minus (self, ast):
		s = self._ast2nat_wrap (ast.minus, ast.minus.op in {"*", "-diff", "-piece", "||", "^^", "&&", "-or", "-and"}, {"=", "<>", "+", "-lamb", "-slice", "-not"})

		return f'-{{{s}}}' if s [:1] not in {'{', '('} and ast.minus.strip_fdpi.is_num_pos else f'-{s}'

	def _ast2nat_str (self, ast):
		s = repr (ast.str_)

		return s if s [0] != "'" else f' {s}'

	def _ast2nat_add (self, ast):
		terms = []

		for n in ast.add:
			not_first = n is not ast.add [0]
			not_last  = n is not ast.add [-1]
			op        = ' + '

			if n.is_minus and not_first: # and n.minus.is_num_pos
				op, n = ' - ', n.minus

			terms.extend ([op, self._ast2nat_wrap (n,
				n.is_piece or (not_first and _ast_is_neg_nominus (n)) or ((n.strip_mmls.is_intg or (n.is_mul and n.mul [-1].strip_mmls.is_intg)) and not_last),
				(n.op in ('-piece', '-lamb') and not_last) or n.op in {'=', '<>', '+', '-lamb', '-slice', '||', '^^', '&&', '-or', '-and', '-not'})])

		return ''.join (terms [1:]).replace (' + -', ' - ')

	def _ast2nat_mul (self, ast, ret_has = False):
		t   = []
		p   = None
		has = False

		for i, n in enumerate (ast.mul):
			s = self._ast2nat_wrap (n,
				n.op in {'+', '-piece', '-lamb', '-slice', '||', '^^', '&&', '-or', '-and', '-not'} or
				(p and (
					_ast_is_neg (n) or
					(p.is_div and (p.denom.is_intg or (p.denom.is_mul and p.denom.mul [-1].is_intg)) and n.is_diff and n.diff.is_var and n.dvs [-1] [1] == 1))),
				n.op in {'=', '<>'})

			if n.strip_mmls.is_intg and n is not ast.mul [-1] and s [-1:] not in {'}', ')', ']'}:
				s = f'{{{s}}}'

			is_exp          = i in ast.exp
			paren_after_var = p and (s.startswith ('(') and (p.tail_mul.is_var or p.tail_mul.is_attr_var))

			if paren_after_var or (p and (
					s.startswith ('[') or
					s [:1].isdigit () or
					t [-1] [-1:] == '.' or
					n.is_num or
					n.is_var_null or
					n.op in {'/', '-diff'} or
					(s.startswith ('(') and (
						is_exp or
						p.is_ufunc or
						(p.strip_paren.is_lamb and n.is_paren_isolated) or
						(p.is_diff_any_ufunc and not p.diff_any.apply_argskw (n.strip_paren1.as_ufunc_argskw)))) or
					n.strip_attrdp.is_subs_diff_ufunc or
 					(t [-1] [-1:] not in {'}', ')', ']'} and p.tail_mul.is_sym_unqualified) or
					p.strip_minus.op in {'/', '-lim', '-sum', '-diff', '-intg'} or
					(n.is_pow and (n.base.strip_paren.is_comma or n.base.is_num_pos)) or
					(n.is_attr and n.strip_attr.strip_paren.is_comma) or
					(n.is_idx and (n.obj.is_idx or n.obj.strip_paren.is_comma)) or
					(p.has_tail_lambda and n is ast.mul [-1] and t [-1] [-6:] == 'lambda') or
					(p.tail_mul.is_var and p.tail_mul.var in _SYM_USER_FUNCS) or
					s [:1] in {'e', 'E'} and t [-1] [-1].isdigit ())):

				v = p.tail_mul
				a = _SYM_USER_VARS.get (v.var, AST.Null)

				if paren_after_var and not (
						is_exp or
						(v.is_var and (
							AST.UFunc.valid_implicit_args (n.strip_paren1.as_ufunc_argskw [0])) or
							(n.is_diffp and n.diffp.is_paren and AST.UFunc.valid_implicit_args (n.diffp.paren.as_ufunc_argskw [0])) or
							(a.is_ufunc and a.apply_argskw (n.strip_paren1.as_ufunc_argskw)))):

					t.append (f'{{{s}}}')

				elif paren_after_var and not is_exp and n.is_paren_free and a.is_diff_any_ufunc and a.diff_any.apply_argskw (n.strip_paren1.as_ufunc_argskw):
					t.append (s)

				else:
					t.extend ([' * ', s])
					has = True

			elif p and (
					p.is_diff_or_part_solo or
					n.op not in {'#', '|', '^'} or
					p.op not in {'#', '|'}):
				t.extend ([' ', s])

			else:
				t.append (s)

			p = n

		return (''.join (t), has) if ret_has else ''.join (t)

	def _ast2nat_div (self, ast):
		false_diff = (ast.numer.base.is_diff_or_part_solo and ast.numer.exp.is_num_pos_int) if ast.numer.is_pow else \
				(ast.numer.mul.len == 2 and ast.numer.mul [1].is_var and ast.numer.mul [0].is_pow and ast.numer.mul [0].base.is_diff_or_part_solo and ast.numer.mul [0].exp.strip_curly.is_num_pos_int) if ast.numer.is_mul else \
				ast.numer.is_diff_or_part_solo

		n, ns = (self._ast2nat_wrap (ast.numer, 1), True) if _ast_is_neg (ast.numer) or (ast.numer.is_mul and ast.numer.mul [-1].op in {'-lim', '-sum'}) else \
				(self._ast2nat_wrap (ast.numer, 0, 1), True) if (ast.numer.is_slice or false_diff) else \
				self._ast2nat_curly_mul_exp (ast.numer, True, {'=', '<>', '+', '/', '-lim', '-sum', '-diff', '-intg', '-piece', '-lamb', '||', '^^', '&&', '-or', '-and', '-not'})

		d, ds = (self._ast2nat_wrap (ast.denom, 1), True) if ((_ast_is_neg (ast.denom) and ast.denom.strip_minus.is_div) or ast.denom.strip_minus.is_subs_diff_ufunc or (ast.denom.is_mul and ast.denom.mul [0].is_subs_diff_ufunc)) else \
				(self._ast2nat_wrap (ast.denom, 0, 1), True) if ast.denom.is_slice else \
				self._ast2nat_curly_mul_exp (ast.denom, True, {'=', '<>', '+', '/', '-lim', '-sum', '-diff', '-intg', '-piece', '-lamb', '||', '^^', '&&', '-or', '-and', '-not'})

		s     = ns or ds or ast.numer.strip_minus.op not in {'#', '@'} or ast.denom.strip_minus.op not in {'#', '@'}

		return f'{n}{" / " if s else "/"}{d}'

	def _ast2nat_pow (self, ast, trighpow = True):
		b = self._ast2nat_wrap (ast.base, 0, not (ast.base.op in {'@', '.', '"', '(', '[', '|', '-func', '-mat', '-idx', '-set', '-dict', '-ufunc'} or ast.base.is_num_pos))
		p = self._ast2nat_wrap (ast.exp,
				ast.exp.op in {'<>', '=', '+', '-lamb', '-slice', '-not'} or
				ast.exp.strip_minus.op in {'*', '/', '-lim', '-sum', '-diff', '-intg', '-piece', '||', '^^', '&&', '-or', '-and'} or
				ast.exp.strip_minus.is_subs_diff_ufunc,
				{","})

		if trighpow and ast.base.is_func_trigh_noninv and ast.exp.is_num and ast.exp.num != '-1': # and ast.exp.is_single_unit
			i = len (ast.base.func)

			return f'{b [:i]}**{p}{b [i:]}'

		return f'{b}**{p}'

	def _ast2nat_log (self, ast):
		if ast.base is None:
			return f'ln({self._ast2nat (ast.log)})'
		else:
			return f'\\log_{self._ast2nat_curly (ast.base)}({self._ast2nat (ast.log)})'

	def _ast2nat_lim (self, ast):
		s = self._ast2nat_wrap (ast.to, (ast.to.is_ass and ast.to.rhs.is_lamb) or ast.to.op in {'-lamb', '-piece'}, ast.to.is_slice) if ast.dir is None else (self._ast2nat_pow (AST ('^', ast.to, AST.Zero), trighpow = False) [:-1] + ast.dir)

		return f'\\lim_{{{self._ast2nat (ast.lvar)} \\to {s}}} {self._ast2nat_curly_mul_exp (ast.lim, False, ast.lim.op in {"=", "<>", "+", "-piece", "-lamb", "-slice", "||", "^^", "&&", "-or", "-and", "-not"} or ast.lim.is_mul_has_abs)}'

	def _ast2nat_sum (self, ast):
		return f'\\sum_{{{self._ast2nat (ast.svar)} = {self._ast2nat_curly (ast.from_, {"-lamb", "-piece"})}}}^{self._ast2nat_curly (ast.to)} {self._ast2nat_curly_mul_exp (ast.sum, False, ast.sum.op in {"=", "<>", "+", "-piece", "-lamb", "-slice", "||", "^^", "&&", "-or", "-and", "-not"} or ast.sum.is_mul_has_abs)}'

	def _ast2nat_diff (self, ast):
		if ast.diff.is_var and not ast.diff.is_diff_or_part:
			top  = self._ast2nat (ast.diff)
			topp = f' {top}'
			side = ''

		else:
			top  = topp = ''
			side = f' {self._ast2nat_paren (ast.diff)}'

		dp  = sum (dv [1] for dv in ast.dvs)
		dv  = (lambda v: AST ('@', f'd{v}')) if ast.is_diff_d else (lambda v: AST ('@', f'partial{v}'))
		dvs = " ".join (self._ast2nat (dv (v) if p == 1 else AST ('^', dv (v), AST ('#', p))) for v, p in ast.dvs)

		return f'{ast.d}{top if dp == 1 else f"**{dp}{topp}"} / {dvs}{side}'

	def _ast2nat_intg (self, ast):
		if ast.intg is None:
			intg  = ' '
		else:
			curly = (ast.intg.op in {"-piece", "-lamb", "-slice", "||", "^^", "&&", "-or", "-and", "-not"} or
				ast.intg.is_mul_has_abs or
				ast.intg.tail_mul.op in {"-lim", "-sum"} or
				(ast.intg.tail_mul.is_var and ast.intg.tail_mul.var in _SYM_USER_FUNCS))
			intg  = self._ast2nat_wrap (ast.intg, curly, {"=", "<>"})
			intg  = f' {{{intg}}} ' if not curly and _ast_has_open_differential (ast.intg, istex = False) else f' {intg} '

		if ast.from_ is None:
			return f'\\int{intg}{self._ast2nat (ast.dv)}'
		else:
			return f'\\int_{self._ast2nat_curly (ast.from_)}^{self._ast2nat_curly (ast.to)}{intg}{self._ast2nat (ast.dv)}'

	def _ast2nat_mat (self, ast):
		if not ast.rows:
			return '\\[]'
		elif ast.is_mat_column and not any (r [0].is_brack for r in ast.mat): # (ast.rows > 1 or not ast.mat [0] [0].is_brack):
			return f"\\[{', '.join (self._ast2nat (row [0]) for row in ast.mat)}]"
		else:
			return f"""\\[{', '.join (f'[{", ".join (self._ast2nat (e) for e in row)}]' for row in ast.mat)}]"""

	def _ast2nat_idx (self, ast):
		obj = self._ast2nat_wrap (ast.obj,
			ast.obj.op in {"^", "-slice"} or ast.obj.is_subs_diff_ufunc or (ast.obj.is_var and ast.obj.var in _SYM_USER_FUNCS),
			ast.obj.is_num_neg or ast.obj.op in {"=", "<>", ",", "+", "*", "/", "-", "-lim", "-sum", "-diff", "-intg", "-piece", "-lamb", "||", "^^", "&&", "-or", "-and", "-not"})
		idx = '[' if ast.idx.len and ast.idx [0].is_var_null else f'[{self._ast2nat (AST.tuple2ast (ast.idx))}]'

		return f'{obj}{idx}'

	def _ast2nat_slice (self, ast):
		b = _ast_slice_bounds (ast)
		s = ':'.join (self._ast2nat_wrap (a, a is not b [-1] and not a.op in {'/', '-diff'} and a.has_tail_lambda_solo, a.op in {'=', ',', '-lamb', '-slice'}) for a in b)

		return self._ast2nat_wrap (s, 0, not ast.start and self.parent.is_comma and ast is self.parent.comma [0] and self.parents [-2].is_ass and self.parent is self.parents [-2].rhs)

	def _ast2nat_dict (self, ast):
		items = []

		for k, v in ast.dict:
			if k.op in {'-lamb', '-slice'}:
				k       = self._ast2nat_paren (k)
			else:
				_, wrap = k.tail_lambda_solo
				k       = self._ast2nat (wrap (AST ('@', '\\lambda')) if wrap else k)

			items.append ((k, self._ast2nat_wrap (v, v.is_lamb, v.is_slice)))

		return f'''{{{", ".join (f'{k}: {v}' for k, v in items)}}}'''

	def _ast2nat_ufunc (self, ast):
		user       = _SYM_USER_ALL.get (ast.ufunc)
		is_top_ass = _ast_is_top_ass_lhs (self, ast)

		if (not ast.ufunc or
				((ast.is_ufunc_explicit and is_top_ass) or
						((user and (not user.is_ufunc or not user.apply_argskw ((ast.vars, ast.kw))) or
							(not user and not AST.UFunc.valid_implicit_args (ast.vars))) and
					not is_top_ass))):
			pre = '?'
		else:
			pre = ''

		args = ", ".join (tuple (self._ast2nat (v) for v in ast.vars) + tuple (f"{k} = {self._ast2nat_wrap (a, 0, a.is_comma)}" for k, a in ast.kw))

		return f'{pre}{ast.ufunc}({args})'

	def _ast2nat_subs (self, ast):
		subs, vars = _ast_subs2func (ast)

		if len (subs) == ast.subs.len:
			expr = self._ast2nat (ast.expr)

		else:
			expr = f'{self._ast2nat (ast.expr)}({", ".join (self._ast2nat (v) for v in vars)})'

			if not subs:
				return expr

		if len (subs) == 1:
			subs = self._ast2nat (subs [0])
		else:
			subs = self._ast2nat (AST (',', tuple (subs)))

		return f'\\. {expr} |_{{{subs}}}'

	_ast2nat_funcs = {
		';'     : lambda self, ast: '; '.join (self._ast2nat (a) for a in ast.scolon),
		'='     : lambda self, ast: f'{self._ast2nat_ass_hs (ast.lhs)} = {self._ast2nat_ass_hs (ast.rhs, False)}',
		'<>'    : _ast2nat_cmp,
		'#'     : lambda self, ast: ast.num,
		'@'     : lambda self, ast: '{' if ast.is_var_null and self.parent.op in {None, ';'} else ast.var,
		'.'     : _ast2nat_attr,
		'"'     : _ast2nat_str,
		','     : lambda self, ast: f'{", ".join (self._ast2nat (c) for c in ast.comma)}{_trail_comma (ast.comma)}',
		'('     : lambda self, ast: '(' if ast.paren.is_var_null else f'({self._ast2nat (ast.paren)})',
		'['     : lambda self, ast: '[' if ast.brack.len == 1 and ast.brack [0].is_var_null else f'[{", ".join (self._ast2nat (b) for b in ast.brack)}]',
		'|'     : lambda self, ast: '|' if ast.abs.is_var_null else f'{{|{self._ast2nat (ast.abs)}|}}',
		'-'     : _ast2nat_minus,
		'!'     : lambda self, ast: self._ast2nat_wrap (ast.fact, {'^'}, ast.fact.op not in {'#', '@', '.', '"', '(', '[', '|', '!', '^', '-func', '-mat', '-idx', '-set', '-dict', '-sym'} or ast.fact.is_num_neg) + '!',
		'+'     : _ast2nat_add,
		'*'     : _ast2nat_mul,
		'/'     : _ast2nat_div,
		'^'     : _ast2nat_pow,
		'-log'  : _ast2nat_log,
		'-sqrt' : lambda self, ast: f'sqrt{"" if ast.idx is None else f"[{self._ast2nat (ast.idx)}]"}({self._ast2nat (ast.rad)})',
		'-func' : lambda self, ast: f"{ast.func}{self._ast2nat_wrap (AST.tuple2argskw (ast.args), 0, not (ast.func in {AST.Func.NOREMAP, AST.Func.NOEVAL} and ast.args [0].op in {'#', '@', '(', '[', '|', '-func', '-mat', '-set', '-dict'}))}",
		'-lim'  : _ast2nat_lim,
		'-sum'  : _ast2nat_sum,
		'-diff' : _ast2nat_diff,
		'-diffp': lambda self, ast: self._ast2nat_wrap (ast.diffp, ast.diffp.is_subs_diff_any_ufunc, ast.diffp.is_num_neg or ast.diffp.op in {"=", "<>", "-", "+", "*", "/", "^", "-lim", "-sum", "-diff", "-intg", "-piece", "-lamb", "-slice", "||", "^^", "&&", "-or", "-and", "-not"}) + "'" * ast.count,
		'-intg' : _ast2nat_intg,
		'-mat'  : _ast2nat_mat,
		'-piece': lambda self, ast: ' else '.join (f'{self._ast2nat_wrap (p [0], p [0].op in {"=", "-piece", "-lamb"}, {",", "-slice"})}' if p [1] is True else f'{self._ast2nat_wrap (p [0], p [0].op in {"=", "-piece", "-lamb"}, {",", "-slice"})} if {self._ast2nat_wrap (p [1], p [1].op in {"=", "-piece", "-lamb"}, {",", "-slice"})}' for p in ast.piece),
		'-lamb' : lambda self, ast: f'lambda{" " + ", ".join (ast.vars) if ast.vars else ""}: {self._ast2nat_wrap (ast.lamb, ast.lamb.op in {"=", "<>", "-lamb"}, ast.lamb.is_slice)}',
		'-idx'  : _ast2nat_idx,
		'-slice': _ast2nat_slice,
		'-set'  : lambda self, ast: f'{{{", ".join (self._ast2nat_wrap (c, 0, c.is_slice) for c in ast.set)}{_trail_comma (ast.set)}}}' if ast.set else '\\{}',
		'-dict' : _ast2nat_dict,
		'||'    : lambda self, ast: ' || '.join (self._ast2nat_wrap (a, 0, {'=', '<>', ',', '-slice', '-piece', '-lamb', '-or', '-and', '-not'}) for a in ast.union),
		'^^'    : lambda self, ast: ' ^^ '.join (self._ast2nat_wrap (a, 0, {'=', '<>', ',', '-slice', '-piece', '-lamb', '||', '-or', '-and', '-not'}) for a in ast.sdiff),
		'&&'    : lambda self, ast: ' && '.join (self._ast2nat_wrap (a, 0, {'=', '<>', ',', '-slice', '-piece', '-lamb', '||', '^^', '-or', '-and', '-not'}) for a in ast.xsect),
		'-or'   : lambda self, ast: ' or '.join (self._ast2nat_wrap (a, 0, {'=', ',', '-slice', '-piece', '-lamb'}) for a in ast.or_),
		'-and'  : lambda self, ast: ' and '.join (self._ast2nat_wrap (a, 0, {'=', ',', '-slice', '-piece', '-lamb', '-or'}) for a in ast.and_),
		'-not'  : lambda self, ast: f'not {self._ast2nat_wrap (ast.not_, 0, {"=", ",", "-slice", "-piece", "-lamb", "-or", "-and"})}',
		'-ufunc': _ast2nat_ufunc,
		'-subs' : _ast2nat_subs,
		'-sym'  : lambda self, ast: f'${ast.sym}' if ast.is_sym_unqualified else f'${ast.sym}({", ".join (tuple (f"{k} = {self._ast2nat_wrap (a, 0, a.is_comma)}" for k, a in ast.kw))})',

		'-text' : lambda self, ast: ast.nat,
	}

#...............................................................................................
class ast2py: # abstract syntax tree -> Python code text
	def __init__ (self): self.parent = self.ast = None # pylint droppings
	def __new__ (cls, ast, retxlat = False, ass2cmp = True):
		self         = super ().__new__ (cls)
		self.ass2cmp  = ass2cmp
		self.parents = [None]
		self.parent  = self.ast = AST.Null

		astx = sxlat.xlat_funcs2asts (ast, sxlat.XLAT_FUNC2AST_PY)
		astS = sxlat.xlat_pyS (astx) if _PYS else astx # 1/2 -> S(1)/2
		py   = self._ast2py (astS)

		return py if not retxlat else (py, (astx if astx != ast else None))

	def _ast2py (self, ast):
		self.parents.append (self.ast)

		self.parent = self.ast
		self.ast    = ast

		py          = self._ast2py_funcs [ast.op] (self, ast)

		del self.parents [-1]

		self.ast    = self.parent
		self.parent = self.parents [-1]

		return py

	def _ast2py_curly (self, ast):
		if ast.is_cmp_in or ast.strip_minus.op in {',', '+', '*', '/'} or ast.strip_minus.is_log_with_base:
			return self._ast2py_paren (ast)
		else:
			return self._ast2py (ast)

	def _ast2py_paren (self, ast, paren = _None):
		if paren is _None:
			return self._ast2py (ast) if ast.is_paren else f'({self._ast2py (ast)})'

		if ((ast.op in paren) if isinstance (paren, set) else paren):
			return f'({self._ast2py (ast)})'

		return self._ast2py (ast)

	def _ast2py_ass (self, ast):
		is_top_ass = self.parent.op in {None, ';'}

		if is_top_ass:
			if ast.ass_valid:
				ast = ast.ass_valid
			else:
				is_top_ass = False

		if is_top_ass or self.parent.is_func: # present assignment with = instead of Eq for keyword argument or at top level?
			return f'{self._ast2py_paren (ast.lhs) if ast.lhs.is_lamb else self._ast2py (ast.lhs)} = {self._ast2py (ast.rhs)}'

		return f'Eq({self._ast2py_paren (ast.lhs, bool (ast.lhs.is_comma))}, {self._ast2py_paren (ast.rhs, bool (ast.rhs.is_comma))}{", 1" if _SYM_MARK_PY_ASS_EQ else ""})' # _SYM_MARK_PY_ASS_EQ for when testing only

	_ast2py_cmpfuncs = {'==': 'Eq', '!=': 'Ne', '<': 'Lt', '<=': 'Le', '>': 'Gt', '>=': 'Ge'}

	def _ast2py_cmp (self, ast):
		def cmppy (lhs, rel, rhs):
			if rel in {'in', 'notin'}:
				return f'{self._ast2py_paren (lhs, lhs.is_cmp_in)} {AST.Cmp.PYFMT.get (rel, rel)} {self._ast2py_paren (rhs, rhs.is_cmp_in)}'
			else:
				return f'{self._ast2py_cmpfuncs [rel]}({self._ast2py_paren (lhs, bool (lhs.is_comma))}, {self._ast2py_paren (rhs, bool (rhs.is_comma))})'

		if ast.cmp.len == 1:
			return cmppy (ast.lhs, *ast.cmp [0])
		else:
			return f'And({cmppy (ast.lhs, *ast.cmp [0])}, {", ".join (cmppy (ast.cmp [i - 1] [1], *ast.cmp [i]) for i in range (1, ast.cmp.len))})'

	def _ast2py_attr (self, ast):
		obj = self._ast2py_paren (ast.obj, ast.obj.is_log_with_base or ast.obj.op in {"=", "<>", "#", ",", "-", "+", "*", "/", "^"})

		if ast.is_attr_func:
			args, kw = AST.args2kwargs (ast.args, self._ast2py, ass2cmp = self.ass2cmp)

			return f'{obj}.{ast.attr}({", ".join (args + [f"{k} = {a}" for k, a in kw.items ()])})'

		return f'{obj}.{ast.attr}'

	def _ast2py_minus (self, ast):
		s = self._ast2py_paren (ast.minus, ast.minus.is_add or ast.minus.is_cmp_in or (ast.minus.is_idx and ast.minus.obj.is_num) or
				(ast.minus.is_mul and (not self.parent.is_add or ast is self.parent.add [0] or (ast.minus.mul [0].is_idx and ast.minus.mul [0].obj.is_num))))

		return f'-({s})' if s [:1] != '(' and (ast.minus.strip_fdpi.is_num_pos and not self.parent.is_add) else f'-{s}'

	def _ast2py_add (self, ast):
		return ' + '.join (self._ast2py_paren (n, n.is_cmp_in or (n is not ast.add [0] and (n.is_num_neg or (n.is_mul and _ast_is_neg (n.mul [0]))))) for n in ast.add).replace (' + -', ' - ')

	def _ast2py_mul (self, ast):
		def py (a):
			return self._ast2py_paren (a, a.is_cmp_in or a.op in {',', '+'} or (a is not ast.mul [0] and (a.is_div or a.is_log_with_base)))

		mul  = [py (ast.mul [0])]
		lamb = ast.mul [0]

		for i in range (1, ast.mul.len):
			a = ast.mul [i]

			if a.is_paren_free and i not in ast.exp:
				if lamb.is_lamb: # lambda call so merge into one string without '*'
					mul [-1] += py (a)
					lamb      = lamb.lamb

					continue

				lamb = AST.Null

				if ast.mul [i - 1].is_var:
					diff = _SYM_USER_VARS.get (ast.mul [i - 1].var, AST.Null)

					if diff.is_diff_any_ufunc: # possible ics call to derivative of ufunc
						if diff.diff_any.apply_argskw (a.paren.as_ufunc_argskw):
							subs = []

							for s, d in zip (diff.diff_any.vars, a.paren.comma if isinstance (a.paren.comma, tuple) else (a.paren,)):
								if s != d:
									subs.append ((s, d))

							if subs:
								mul [-1] = self._ast2py_subs (AST ('-subs', None, tuple (subs)), exprstr = mul [-1])

						continue

			mul.append (py (a))

		return mul [0] if len (mul) == 1 else '*'.join (mul)

	def _ast2py_div (self, ast):
		nn = _ast_is_neg (ast.numer)
		n  = self._ast2py_paren (ast.numer) if nn else self._ast2py_curly (ast.numer)
		d  = self._ast2py_curly (ast.denom)
		s  = " / " if nn or (ast.numer.strip_minus.strip_pseudo.op not in {"#", "@"} and not (ast.numer.is_func and ast.numer.func == 'S' and ast.numer.args.len == 1 and ast.numer.args [0].op in {"#", "@"})) or \
			ast.denom.strip_minus.strip_pseudo.op not in {"#", "@"} or d.lstrip ("-") [:1] == "(" else "/"

		return f'{n}{s}{d}'

	def _ast2py_pow (self, ast):
		b = self._ast2py_paren (ast.base) if _ast_is_neg (ast.base) or ast.base.is_pow else self._ast2py_curly (ast.base)
		e = self._ast2py_paren (ast.exp) if ast.exp.strip_minus.is_sqrt_with_idx else self._ast2py_curly (ast.exp)

		return f'{b}**{e}'

	def _ast2py_log (self, ast):
		if ast.base is None:
			return f'ln({self._ast2py (ast.log)})'
		else:
			return f'ln({self._ast2py (ast.log)}) / ln({self._ast2py (ast.base)})'

	def _ast2py_func (self, ast):
		if ast.func in {AST.Func.NOREMAP, AST.Func.NOEVAL}:
			return self._ast2py (ast.args [0])

		args, kw = AST.args2kwargs (ast.args, self._ast2py, ass2cmp = self.ass2cmp)

		return f'{ast.func}({", ".join (args + [f"{k} = {a}" for k, a in kw.items ()])})'

	def _ast2py_lim (self, ast):
		return \
				f'''Limit({self._ast2py (ast.lim)}, {self._ast2py (ast.lvar)}, {self._ast2py_paren (ast.to, ast.to.is_comma)}''' \
				f'''{", dir = '+-'" if ast.dir is None else ", dir = '-'" if ast.dir == '-' else ""})'''

	def _ast2py_diff (self, ast):
		args = sum (((self._ast2py (AST ('@', v)),) if p == 1 else (self._ast2py (AST ('@', v)), str (p)) for v, p in ast.dvs), ())

		return f'Derivative({self._ast2py (ast.diff._strip_paren (keeptuple = True))}, {", ".join (args)})'

	def _ast2py_intg (self, ast):
		if ast.intg is not None and ast.intg.is_intg:
			intg = self._ast2py_intg (ast.intg)
		else:
			intg = f'Integral({1 if ast.intg is None else self._ast2py (ast.intg)})'

		if ast.from_ is None:
			intg = intg [:-1] + f', {self._ast2py (ast.dv.as_var)})'
		else:
			intg = intg [:-1] + f', ({self._ast2py (ast.dv.as_var)}, {self._ast2py (ast.from_)}, {self._ast2py (ast.to)}))'

		return intg

	def _ast2py_mat (self, ast):
		if not ast.rows:
			return 'Matrix()'
		elif ast.is_mat_column and not any (r [0].is_brack for r in ast.mat):
			return f"Matrix([{', '.join (self._ast2py (row [0]) for row in ast.mat)}])"
		else:
			return f"""Matrix([{', '.join (f'[{", ".join (self._ast2py (e) for e in row)}]' for row in ast.mat)}])"""

	def _ast2py_idx (self, ast):
		obj = self._ast2py_paren (ast.obj, ast.obj.is_num_neg or ast.obj.is_log_with_base or ast.obj.is_sqrt_with_idx or (ast.obj.is_var and ast.obj.var in _SYM_USER_FUNCS) or
			ast.obj.op in {"=", "<>", ",", "+", "*", "/", "^", "-", "-lim", "-sum", "-diff", "-intg", "-piece"})

		if ast.idx.len and ast.idx [0].is_var_null:
			idx = '['
		elif ast.idx.len == 1 and ast.idx [0].strip_paren.is_slice:
			idx = f'[{self._ast2py (ast.idx [0])}]'
		else:
			idx = f'[{self._ast2py (AST.tuple2ast (ast.idx))}]'

		return f'{obj}{idx}'

	def _ast2py_slice (self, ast):
		if self.parent.is_idx and any (i is ast for i in self.parent.idx) or \
				self.parent.is_comma and len (self.parents) > 1 and self.parents [-2].is_idx and ast in self.parents [-2].idx:
			b = _ast_slice_bounds (ast)

			return ':'.join (self._ast2py_paren (a, a is not b [-1] and a.has_tail_lambda_solo or a.op in {'=', ',', '-slice'}) for a in b)

		args = _ast_slice_bounds (ast, AST.None_, allow1 = True)

		if len (args) == 3 and args [2] is AST.None_:
			args = args [:2]

		return f'slice({", ".join (self._ast2py_paren (a, a.op in {"=", ",", "-slice"}) for a in args)})'

	def _ast2py_sdiff (self, ast):
		sdiff = self._ast2py (ast.sdiff [0])

		for a in ast.sdiff [1:]:
			a     = self._ast2py (a)
			sdiff = f'Union(Complement({sdiff}, {a}), Complement({a}, {sdiff}))'

		return sdiff

	def _ast2py_subs (self, ast, exprstr = None):
		def tupletuple (a):
			return self._ast2py (AST ('(', (',', (a,))) if a.strip_paren.is_comma else a)

		if ast.subs.len > 1:
			subs = f'({", ".join (self._ast2py (s) for s, d in ast.subs)}), ({", ".join (self._ast2py (d) for s, d in ast.subs)})'
		else:
			subs = f'{tupletuple (ast.subs [0] [0])}, {tupletuple (ast.subs [0] [1])}'

		return f'Subs({exprstr or self._ast2py_paren (ast.expr, ast.expr.is_comma)}, {subs})'

	_ast2py_funcs = {
		';'     : lambda self, ast: '; '.join (self._ast2py (a) for a in ast.scolon),
		'='     : _ast2py_ass,
		'<>'    : _ast2py_cmp,
		'#'     : lambda self, ast: ast.num,
		'@'     : lambda self, ast: '{' if ast.is_var_null and self.parent.op in {None, ';'} else ast.var,
		'.'     : _ast2py_attr,
		'"'     : lambda self, ast: repr (ast.str_),
		','     : lambda self, ast: f'{", ".join (self._ast2py (parm) for parm in ast.comma)}{_trail_comma (ast.comma)}',
		'('     : lambda self, ast: '(' if ast.paren.is_var_null else f'({self._ast2py (ast.paren)})',
		'['     : lambda self, ast: '[' if ast.brack.len == 1 and ast.brack [0].is_var_null else f'[{", ".join (self._ast2py (b) for b in ast.brack)}]',
		'|'     : lambda self, ast: '|' if ast.abs.is_var_null else f'abs({self._ast2py (ast.abs)})',
		'-'     : _ast2py_minus,
		'!'     : lambda self, ast: f'factorial({self._ast2py (ast.fact)})',
		'+'     : _ast2py_add,
		'*'     : _ast2py_mul,
		'/'     : _ast2py_div,
		'^'     : _ast2py_pow,
		'-log'  : _ast2py_log,
		'-sqrt' : lambda self, ast: f'sqrt({self._ast2py (ast.rad)})' if ast.idx is None else self._ast2py (AST ('^', ast.rad.strip_paren1, ('/', AST.One, ast.idx))),
		'-func' : _ast2py_func,
		'-lim'  : _ast2py_lim,
		'-sum'  : lambda self, ast: f'Sum({self._ast2py (ast.sum)}, ({self._ast2py (ast.svar)}, {self._ast2py_paren (ast.from_, ast.from_.is_comma)}, {self._ast2py (ast.to)}))',
		'-diff' : _ast2py_diff,
		'-diffp': lambda self, ast: f'{"diff(" * ast.count}{self._ast2py (ast.diffp)}{")" * ast.count}',
		'-intg' : _ast2py_intg,
		'-mat'  : _ast2py_mat,
		'-piece': lambda self, ast: 'Piecewise(' + ', '.join (f'({self._ast2py (p [0])}, {True if p [1] is True else self._ast2py (p [1])})' for p in ast.piece) + ')',
		'-lamb' : lambda self, ast: f"""Lambda({ast.vars [0] if ast.vars.len == 1 else f'({", ".join (ast.vars)})'}, {self._ast2py (ast.lamb)})""",
		'-idx'  : _ast2py_idx,
		'-slice': _ast2py_slice,
		'-set'  : lambda self, ast: f'FiniteSet({", ".join (self._ast2py (c) for c in ast.set)})',
		'-dict' : lambda self, ast: f'{{{", ".join (f"{self._ast2py_paren (k, k.has_tail_lambda_solo)}: {self._ast2py (v)}" for k, v in ast.dict)}}}',
		'||'    : lambda self, ast: f'Union({", ".join (self._ast2py (a) for a in ast.union)})',
		'^^'    : _ast2py_sdiff,
		'&&'    : lambda self, ast: f'Intersection({", ".join (self._ast2py (a) for a in ast.xsect)})',
		'-or'   : lambda self, ast: f'Or({", ".join (self._ast2py_paren (a, a.is_comma) for a in ast.or_)})',
		'-and'  : lambda self, ast: f'And({", ".join (self._ast2py_paren (a, a.is_comma) for a in ast.and_)})',
		'-not'  : lambda self, ast: f'Not({self._ast2py_paren (ast.not_, ast.not_.is_ass or ast.not_.is_comma)})',
		'-ufunc': lambda self, ast: f'Function({", ".join ((f"{ast.ufunc!r}",) + tuple (f"{k} = {self._ast2py_paren (a, a.is_comma)}" for k, a in ast.kw))})' + (f'({", ".join (self._ast2py (v) for v in ast.vars)})' if ast.vars else ''),
		'-subs' : _ast2py_subs,
		'-sym'  : lambda self, ast: f'Symbol({", ".join ((f"{ast.sym!r}",) + tuple (f"{k} = {self._ast2py_paren (a, a.is_comma)}" for k, a in ast.kw))})',

		'-text' : lambda self, ast: ast.py,
	}

#...............................................................................................
# Potentially bad __builtins__: eval, exec, globals, locals, vars, setattr, delattr, exit, help, input, license, open, quit, __import__
_builtins_dict         = __builtins__ if isinstance (__builtins__, dict) else __builtins__.__dict__
_ast2spt_func_builtins = dict (no for no in filter (lambda no: no [1], ((n, _builtins_dict.get (n)) for n in AST.Func.BUILTINS)))
_ast2spt_pyfuncs       = {**_ast2spt_func_builtins, **sp.__dict__, 'simplify': _simplify}

class ast2spt: # abstract syntax tree -> sympy tree (expression)
	_SYMPY_FLOAT_PRECISION = None

	@staticmethod
	def set_precision (ast): # recurse through ast to set sympy float precision according to longest string of digits found
		prec  = 15
		stack = [ast]

		while stack:
			ast = stack.pop ()

			if not isinstance (ast, AST):
				pass # nop
			elif ast.is_num:
				prec = max (prec, len (ast.num)) # will be a little more than number of digits to compensate for falling precision with some calculations
			else:
				stack.extend (ast if ast.op is None else ast [1:])

		ast2spt._SYMPY_FLOAT_PRECISION = prec if prec > 15 else None

	def __init__ (self): self.parent = self.ast = None # pylint kibble
	def __new__ (cls, ast, retxlat = False):
		self         = super ().__new__ (cls)
		self.parents = [None]
		self.parent  = self.ast = AST.Null

		clear_cache () # don't want sympy object annotations to stick around like ?F(x) coming back as ?F(xi_1)

		astx = sxlat.xlat_funcs2asts (ast, sxlat.XLAT_FUNC2AST_SPT)
		spt  = self._ast2spt (astx)

		if _DOIT:
			spt = _doit (spt)

		if _POST_SIMPLIFY:
			spt = _simplify (spt)

		return spt if not retxlat else (spt, (astx if astx != ast else None))

	def _ast2spt (self, ast):
		self.parents.append (self.ast)

		self.parent = self.ast
		self.ast    = ast

		spt         = self._ast2spt_funcs [ast.op] (self, ast)

		del self.parents [-1]

		self.ast    = self.parent
		self.parent = self.parents [-1]

		return spt

	def _ast2spt_ass (self, ast):
		lhs, rhs = self._ast2spt (ast.lhs), self._ast2spt (ast.rhs)

		try:
			return EqAss (lhs, rhs) # try to use SymPy comparison object
		except:
			return lhs == rhs # fall back to Python comparison

	_ast2spt_cmpfuncs = {
		'=='   : (EqCmp, lambda a, b: a == b),
		'!='   : (sp.Ne, lambda a, b: a != b),
		'<'    : (sp.Lt, lambda a, b: a < b),
		'<='   : (sp.Le, lambda a, b: a <= b),
		'>'    : (sp.Gt, lambda a, b: a > b),
		'>='   : (sp.Ge, lambda a, b: a >= b),
		'in'   : (sp.Contains, lambda a, b: a in b),
		'notin': (lambda a, b: sp.Not (sp.Contains (a, b)), lambda a, b: a not in b),
	}

	def _ast2spt_cmp (self, ast):
		def cmpspt (lhs, rel, rhs):
			fspt, fpy = self._ast2spt_cmpfuncs [rel]

			try:
				return fspt (lhs, rhs) # try to use SymPy comparison object
			except:
				return fpy (lhs, rhs) # fall back to Python comparison

		hss = [self._ast2spt (ast.lhs)] + [self._ast2spt (cmp [1]) for cmp in ast.cmp]

		if ast.cmp.len == 1:
			return cmpspt (hss [0], ast.cmp [0] [0], hss [1])
		else:
			return sp.And (*(_sympify (cmpspt (hss [i], ast.cmp [i] [0], hss [i + 1])) for i in range (ast.cmp.len)))

	_ast2spt_consts = { # 'e' and 'i' dynamically set on use from AST.E or AST.I
		'pi'   : sp.pi,
		'oo'   : sp.oo,
		'zoo'  : sp.zoo,
		'None' : None,
		'True' : True,
		'False': False,
		'nan'  : sp.nan,
	}

	def _ast2spt_var (self, ast):
		spt = {**self._ast2spt_consts, AST.E.var: sp.E, AST.I.var: sp.I}.get (ast.var, _None)

		if spt is _None:
			if len (ast.var) > 1 and ast.var not in AST.Var.GREEK:
				spt = getattr (sp, ast.var, _None)

			if spt is _None:
				spt = sp.Symbol (ast.var)

		return spt

	def _ast2spt_attr (self, ast):
		obj = ast.obj
		spt = None

		while obj.is_func and obj.args and (obj.func == AST.Func.NOEVAL or obj.func == AST.Func.NOREMAP):
			obj = obj.args [0]

		if obj.is_var: # and obj.var not in self.vars: # always support S.Half and the like unless base object redefined by assignment
			spt = getattr (sp, obj.var, None)

		if spt is None:
			spt = self._ast2spt (ast.obj)

		try:
			attr = getattr (spt, ast.attr)

			return attr if ast.is_attr_var else _ast_func_call (attr, ast.args, self._ast2spt)

		except AttributeError as e: # unresolved attributes of expressions with free vars remaining should not raise
			try:
				if not isinstance (spt, NoEval) and not spt.free_symbols:
					raise e

			except:
				raise e from None

		return NoEval (AST ('.', spt2ast (spt), *ast [2:]))

	def _ast2spt_add (self, ast): # specifically try to subtract negated objects (because of sets)
		itr = iter (ast.add)
		res = self._ast2spt (next (itr))

		for arg in itr:
			arg, neg    = arg.strip_minus_retneg
			arg, is_neg = self._ast2spt (arg), neg.is_neg

			try:
				res = res - arg if is_neg else res + arg
			except:
				res = sp.sympify (res) - sp.sympify (arg) if is_neg else sp.sympify (res) + sp.sympify (arg)

		return res

	def _ast2spt_mul (self, ast): # handle dynamic cases of function calls due to usage of implicit multiplication
		mul = [self._ast2spt (ast.mul [0])]

		for i in range (1, ast.mul.len):
			a = ast.mul [i]
			m = self._ast2spt (a)

			if a.is_paren_free and i not in ast.exp: # non-explicit multiplication with tuple - possible function call intended: "y (...)"
				if callable (mul [-1]): # isinstance (o, sp.Lambda): # Lambda or other callable being called
					mul [-1] = mul [-1] (*m) if isinstance (m, tuple) else mul [-1] (m)

					continue

				if ast.mul [i - 1].is_diff_any_ufunc: # possible ics call to derivative of ufunc
					if ast.mul [i - 1].diff_any.apply_argskw (a.paren.as_ufunc_argskw):
						src, dst = [], []

						if isinstance (mul [-1], sp.Derivative) and isinstance (mul [-1].args [0], sp_AppliedUndef):
							for s, d in zip (mul [-1].args [0].args, m if isinstance (m, tuple) else (m,)): # ast.mul [i - 1].diff_any.vars,
								if s != d:
									src.append (s)
									dst.append (d)

					if src:
						mul [-1] = spt = sp.Subs (mul [-1], tuple (src), tuple (dst))
						spt.doit = lambda self = spt, *args, **kw: self # disable doit because loses information

					continue

			mul.append (m)

		return mul [0] if len (mul) == 1 else _Mul (*mul)

	def _ast2spt_func (self, ast):
		if ast.func == AST.Func.NOREMAP: # special reference meta-function
			return self._ast2spt (ast.args [0])

		if ast.func == AST.Func.NOEVAL: # special no-evaluate meta-function
			if self.parent.is_lamb and ast is self.parent.lamb: # if at top-level in lambda body then lambda handles differnt meaning of this pseudo-func
				return self._ast2spt (ast.args [0])
			else:
				return NoEval (ast.args [0])

		func = _ast2spt_pyfuncs.get (ast.func)

		if func is not None:
			return _ast_func_call (func, ast.args, self._ast2spt)

		if ast.func in _SYM_USER_FUNCS: # user lambda, within other lambda if it got here
			return NoEval (ast)

		raise NameError (f'function {ast.func!r} is not defined')

	def _ast2spt_diff (self, ast):
		args     = sum (((self._ast2spt (AST ('@', v)),) if p == 1 else (self._ast2spt (AST ('@', v)), sp.Integer (p)) for v, p in ast.dvs), ())
		spt      = self._ast2spt (ast.diff)

		return spt.diff (*args) if isinstance (spt, sp_AppliedUndef) else sp.Derivative (spt, *args)

	def _ast2spt_diffp (self, ast):
		spt      = self._ast2spt (ast.diffp)
		is_ufunc = isinstance (spt, sp_AppliedUndef)

		for _ in range (ast.count):
			spt = spt.diff () if is_ufunc else sp.Derivative (spt)

		return spt

	def _ast2spt_intg (self, ast):
		if ast.from_ is None:
			if ast.intg is None:
				return sp.Integral (1, sp.Symbol (ast.dv.var_name))
			else:
				return sp.Integral (self._ast2spt (ast.intg), sp.Symbol (ast.dv.var_name))

		else:
			if ast.intg is None:
				return sp.Integral (1, (sp.Symbol (ast.dv.var_name), self._ast2spt (ast.from_), self._ast2spt (ast.to)))
			else:
				return sp.Integral (self._ast2spt (ast [1]), (sp.Symbol (ast.dv.var_name), self._ast2spt (ast.from_), self._ast2spt (ast.to)))

	def _ast2spt_lamb (self, ast):
		if ast.vars.len == 1 and ast.lamb.strip_paren.is_var and ast.lamb.strip_paren.var == ast.vars [0]: # identity lambda
			spt = IdLambda (None, sp.Symbol (ast.vars [0]))

		else:
			spt = sp.Lambda (tuple (sp.Symbol (v) for v in ast.vars), self._ast2spt (ast.lamb))

			if not (ast.lamb.is_func and ast.lamb.func == AST.Func.NOEVAL):
				spt.doit = lambda self, *args, **kw: self # disable doit for lambda definition

		return spt

	def _ast2spt_idx (self, ast):
		spt = self._ast2spt (ast.obj)
		idx = self._ast2spt (ast.idx [0]) if len (ast.idx) == 1 else tuple (self._ast2spt (i) for i in ast.idx)

		try:
			return spt [idx]
		except TypeError: # invalid indexing of expressions with free vars remaining should not raise
			if not isinstance (spt, NoEval) and not getattr (spt, 'free_symbols', None) and not hasattr (spt, '__getitem__'):
				raise

		return NoEval (AST ('-idx', spt2ast (spt), ast.idx))

	def _ast2spt_sdiff (self, ast):
		sdiff = self._ast2spt (ast.sdiff [0])

		for a in ast.sdiff [1:]:
			a     = self._ast2spt (a)
			sdiff = sp.Union (sp.Complement (sdiff, a), sp.Complement (a, sdiff))

		return sdiff

	def _ast2spt_ufunc (self, ast):
		spt                   = sp.Function (ast.ufunc, **{k: _bool_or_None (self._ast2spt (a)) for k, a in ast.kw}) (*(self._ast2spt (v) for v in ast.vars))
		spt.is_ufunc_explicit = ast.is_ufunc_explicit # try to pass explicit state of ufunc through

		return spt

	def _ast2spt_subs (self, ast):
		return _subs (self._ast2spt (ast.expr), [(self._ast2spt (s), self._ast2spt (d)) for s, d in ast.subs])

	_ast2spt_funcs = {
		';'     : lambda self, ast: _raise (RuntimeError ('semicolon expression should never get here')),
		'='     : _ast2spt_ass,
		'<>'    : _ast2spt_cmp,
		'#'     : lambda self, ast: sp.Integer (ast.num) if ast.is_num_int else sp.Float (ast.num, ast2spt._SYMPY_FLOAT_PRECISION),
		'@'     : _ast2spt_var,
		'.'     : _ast2spt_attr,
		'"'     : lambda self, ast: ast.str_,
		','     : lambda self, ast: tuple (self._ast2spt (p) for p in ast.comma),
		'{'     : lambda self, ast: self._ast2spt (ast.curly),
		'('     : lambda self, ast: self._ast2spt (ast.paren),
		'['     : lambda self, ast: [self._ast2spt (b) for b in ast.brack],
		'|'     : lambda self, ast: sp.Abs (self._ast2spt (ast.abs)),
		'-'     : lambda self, ast: -self._ast2spt (ast.minus),
		'!'     : lambda self, ast: sp.factorial (self._ast2spt (ast.fact)),
		'+'     : _ast2spt_add,
		'*'     : _ast2spt_mul,
		'/'     : lambda self, ast: _Mul (self._ast2spt (ast.numer), _Pow (self._ast2spt (ast.denom), -1)),
		'^'     : lambda self, ast: _Pow (self._ast2spt (ast.base), self._ast2spt (ast.exp)),
		'-log'  : lambda self, ast: sp.log (self._ast2spt (ast.log)) if ast.base is None else sp.log (self._ast2spt (ast.log), self._ast2spt (ast.base)),
		'-sqrt' : lambda self, ast: _Pow (self._ast2spt (ast.rad), _Pow (sp.S (2), -1)) if ast.idx is None else _Pow (self._ast2spt (ast.rad), _Pow (self._ast2spt (ast.idx), -1)),
		'-func' : _ast2spt_func,
		'-lim'  : lambda self, ast: (sp.Limit if ast.dir else sp.limit) (self._ast2spt (ast.lim), self._ast2spt (ast.lvar), self._ast2spt (ast.to), dir = ast.dir or '+-'),
		'-sum'  : lambda self, ast: sp.Sum (self._ast2spt (ast.sum), (self._ast2spt (ast.svar), self._ast2spt (ast.from_), self._ast2spt (ast.to))),
		'-diff' : _ast2spt_diff,
		'-diffp': _ast2spt_diffp,
		'-intg' : _ast2spt_intg,
		'-mat'  : lambda self, ast: sp.Matrix ([[self._ast2spt (e) for e in row] for row in ast.mat]),
		'-piece': lambda self, ast: sp.Piecewise (*((self._ast2spt (p [0]), True if p [1] is True else self._ast2spt (p [1])) for p in ast.piece)),
		'-lamb' : _ast2spt_lamb,
		'-idx'  : _ast2spt_idx,
		'-slice': lambda self, ast: slice (*(self._ast2spt (a) if a else a for a in _ast_slice_bounds (ast, None))),
		'-set'  : lambda self, ast: sp.FiniteSet (*(self._ast2spt (a) for a in ast.set)),
		'-dict' : lambda self, ast: dict ((self._ast2spt (k), self._ast2spt (v)) for k, v in ast.dict),
		'||'    : lambda self, ast: sp.Union (*(self._ast2spt (a) for a in ast.union)),
		'^^'    : _ast2spt_sdiff,
		'&&'    : lambda self, ast: sp.Intersection (*(self._ast2spt (a) for a in ast.xsect)),
		'-or'   : lambda self, ast: sp.Or (*(_sympify (self._ast2spt (a), sp.Or, bool) for a in ast.or_)),
		'-and'  : lambda self, ast: sp.And (*(_sympify (self._ast2spt (a), sp.And, bool) for a in ast.and_)),
		'-not'  : lambda self, ast: _sympify (self._ast2spt (ast.not_), sp.Not, lambda x: not x),
		'-ufunc': _ast2spt_ufunc,
		'-subs' : _ast2spt_subs,
		'-sym'  : lambda self, ast: sp.Symbol (ast.sym, **{k: _bool_or_None (self._ast2spt (a)) for k, a in ast.kw}),

		'-text' : lambda self, ast: ast.spt,
	}

#...............................................................................................
class spt2ast:
	def __init__ (self): self.parent = self.spt = None # pylint droppings
	def __new__ (cls, spt):
		self         = super ().__new__ (cls)
		self.parents = [None]
		self.parent  = self.spt = None

		return _ast_eqcmp2ass (self._spt2ast (spt))

	def _spt2ast (self, spt): # sympy tree (expression) -> abstract syntax tree
		def __spt2ast (spt):
			for cls in spt.__class__.__mro__:
				func = spt2ast._spt2ast_funcs.get (cls)

				if func:
					return func (self, spt)

			tex  = sp.latex (spt)
			text = str (spt)

			if tex [0] == '<' and tex [-1] == '>': # for Python repr style of objects <class something> TODO: Move this to Javascript.
				tex = '\\text{' + tex.replace ("<", "&lt;").replace (">", "&gt;").replace ("\n", "") + '}'

			return AST ('-text', tex, text, text, spt)

		self.parents.append (self.spt)

		self.parent = self.spt
		self.spt    = spt

		spt         = __spt2ast (spt)

		del self.parents [-1]

		self.spt    = self.parent
		self.parent = self.parents [-1]

		return spt

	def _spt2ast_num (self, spt):
		s = str (spt)

		if s [:3] == '0.e' or s [:4] == '-0.e':
			return AST ('#', '0')

		num = AST ('#', s)

		if num.grp [5]:
			return AST ('#', ''.join (num.grp [:6] + num.grp [7:]))

		e = len (num.grp [2]) + num.num_exp_val

		return AST ('#', \
				f'{num.grp [0]}{num.grp [1]}e+{e}'     if e >= 16 else \
				f'{num.grp [0]}{num.grp [1]}{"0" * e}' if e >= 0 else \
				f'{num.grp [0]}{num.grp [1]}e{e}')

	def _spt2ast_Symbol (self, spt):
		if isinstance (spt, sp.Dummy):
			spt = sp.Symbol (spt.name, **spt._assumptions.generator)

		if spt.name and spt == sp.Symbol (spt.name):
			return AST ('@', spt.name)
		else:
			return AST ('-sym', spt.name, tuple (sorted ((k, self._spt2ast (v)) for k, v in spt._assumptions.generator.items ())))

	def _spt2ast_Union (self, spt): # convert union of complements to symmetric difference if present
		if len (spt.args) == 2 and spt.args [0].is_Complement and spt.args [1].is_Complement and \
				spt.args [0].args [0] == spt.args [1].args [1] and spt.args [0].args [1] == spt.args [1].args [0]:
			return AST ('^^', (self._spt2ast (spt.args [0].args [0]), self._spt2ast (spt.args [0].args [1])))

		return self._spt2ast (spt.args [0]) if len (spt.args) == 1 else AST ('||', tuple (self._spt2ast (a) for a in spt.args))

	def _spt2ast_MatrixBase (self, spt):
		if not spt.rows or not spt.cols:
			return AST.MatEmpty
		if spt.cols > 1:
			return AST ('-mat', tuple (tuple (self._spt2ast (e) for e in spt [row, :]) for row in range (spt.rows)))
		else:
			return AST ('-mat', tuple ((self._spt2ast (e),) for e in spt))

	def _spt2ast_Add (self, spt):
		terms = []
		hasO  = False

		for arg in spt.args: # spt._sorted_args: #
			ast  = self._spt2ast (arg)
			hasO = hasO or isinstance (arg, sp.Order)

			if ast.is_num_neg:
				ast = AST ('-', ast.neg ())
			elif ast.is_mul and _ast_is_neg (ast.mul [0]):
				ast = AST ('-', ('*', (ast.mul [0].neg (),) + ast.mul [1:]))

			terms.append (ast)

		if not hasO: # try to order so negative is not first, but not extensively where it might change standard equation forms returned from SymPy
			if spt.args [0].is_number and (not _ast_is_neg (terms [1]) or _ast_is_neg (terms [0])): # spt.args [0] < 0):
				terms = terms [1:] + [terms [0]]
			elif len (terms) == 2 and _ast_is_neg (terms [0]) and not _ast_is_neg (terms [1]):
				terms = terms [::-1]

		return AST ('+', tuple (terms))

	def _spt2ast_Mul (self, spt):
		if spt.args [0] == -1:
			return AST ('-', self._spt2ast (sp.Mul (*spt.args [1:])))

		if spt.args [0].is_negative and isinstance (spt, sp.Number):
			return AST ('-', self._spt2ast (sp.Mul (-spt.args [0], *spt.args [1:])))

		args = spt.args [1:] if spt.args [0] == 1 else spt.args # sometimes we get Mul (1, ...), strip the 1

		if len (spt.args) == 1:
			return self._spt2ast (args [0])

		numer = []
		denom = []
		neg = False

		for arg in args: # absorb products into rational
			if isinstance (arg, sp.Pow) and arg.args [1].is_negative:
				denom.append (self._spt2ast (arg.args [0] if arg.args [1] is sp.S.NegativeOne else _Pow (arg.args [0], -arg.args [1])))
			elif not isinstance (arg, sp.Rational) or arg.q == 1:
				numer.append (self._spt2ast (arg))

			else:
				denom.append (self._spt2ast (arg.q))

				p = arg.p

				if p < 0:
					neg = not neg
					p   = -p

				if p != 1:
					numer.append (self._spt2ast (p))

		neg = (lambda ast: AST ('-', ast)) if neg else (lambda ast: ast)

		if not denom:
			return neg (AST ('*', tuple (numer)) if len (numer) > 1 else numer [0])

		if not numer:
			return neg (AST ('/', AST.One, AST ('*', tuple (denom)) if len (denom) > 1 else denom [0]))

		if _MUL_RATIONAL and len (denom) == 1 and denom [0].is_num: # leading rational enabled?
			if numer [0].is_num:
				return neg (AST ('*', (('/', numer [0], denom [0]), AST ('*', tuple (numer [1:])) if len (numer) > 2 else numer [1])))
			else:
				return neg (AST ('*', (('/', AST.One, denom [0]), AST ('*', tuple (numer)) if len (numer) > 1 else numer [0])))

		return neg (AST ('/', AST ('*', tuple (numer)) if len (numer) > 1 else numer [0], AST ('*', tuple (denom)) if len (denom) > 1 else denom [0]))

	def _spt2ast_Pow (self, spt):
		if spt.args [1].is_negative:
			return AST ('/', AST.One, self._spt2ast (spt.args [0] if spt.args [1] is sp.S.NegativeOne else _Pow (spt.args [0], -spt.args [1])))

		if spt.args [1] == 0.5:
			return AST ('-sqrt', self._spt2ast (spt.args [0]))

		return AST ('^', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1]))

	def _spt2ast_MatPow (self, spt):
		try: # compensate for some MatPow.doit() != mat**pow
			return self._spt2ast (spt.args [0]**spt.args [1])
		except:
			return AST ('^', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1]))

	def _spt2ast_Derivative (self, spt):
		if len (spt.args) == 2:
			syms = _free_symbols (spt.args [0])

			if len (syms) == 1 and spt.args [1] [0] == syms.pop ():
				return AST ('-diffp', self._spt2ast (spt.args [0]), int (spt.args [1] [1]))

		return AST ('-diff', self._spt2ast (spt.args [0]), 'd', tuple ((s.name, int (p)) for s, p in spt.args [1:]))

	def _spt2ast_Integral (self, spt):
		if len (spt.args [1]) == 3:
			return AST ('-intg', self._spt2ast (spt.args [0]), AST ('@', f'd{self._spt2ast (spt.args [1] [0]) [1]}'), self._spt2ast (spt.args [1] [1]), self._spt2ast (spt.args [1] [2]))
		else:
			return AST ('-intg', self._spt2ast (spt.args [0]), AST ('@', f'd{self._spt2ast (spt.args [1] [0]) [1]}'))

	def _spt2ast_Function (self, spt, name = None, args = None, kw = None):
		if name is None:
			name = spt.__class__.__name__

		if args is None:
			args = spt.args

		if kw:
			return AST ('-func', name, tuple (self._spt2ast (arg) for arg in spt.args) + tuple (AST ('=', ('@', kw), a) for kw, a in kw))
		else:
			return AST ('-func', name, tuple (self._spt2ast (arg) for arg in spt.args))

	def _spt2ast_AppliedUndef (self, spt):
		if spt.__class__.__name__ == 'slice': # special cased converted slice object with start, stop and step present, this is REALLY unnecessary...
			return AST ('-slice', *tuple (self._spt2ast (s) for s in spt.args))

		name = f'?{spt.name}' if not spt.name or getattr (spt, 'is_ufunc_explicit', False) else spt.name

		return AST ('-ufunc', name, tuple (self._spt2ast (a) for a in spt.args), tuple (sorted ((k, self._spt2ast (a)) for k, a in spt._extra_kwargs.items ()))) # i._explicit_class_assumptions.items ()))

	_dict_keys   = {}.keys ().__class__
	_dict_values = {}.values ().__class__
	_dict_items  = {}.items ().__class__

	_spt2ast_Limit_dirs = {'+': ('+',), '-': ('-',), '+-': ()}

	_spt2ast_funcs = {
		NoEval: lambda self, spt: spt.ast (), # _spt2ast_NoEval,

		None.__class__: lambda self, spt: AST.None_,
		bool: lambda self, spt: AST.True_ if spt else AST.False_,
		int: lambda self, spt: AST ('#', str (spt)),
		float: lambda self, spt: AST ('#', str (_fltoint (spt))),
		complex: lambda self, spt: AST ('#', str (_fltoint (spt.real))) if not spt.imag else AST ('+', (('#', str (_fltoint (spt.real))), AST.I if spt.imag == 1 else ('*', (('#', str (_fltoint (spt.imag))), AST.I)))),
		str: lambda self, spt: AST ('"', spt),
		tuple: lambda self, spt: AST ('(', (',', tuple (self._spt2ast (e) for e in spt))),
		list: lambda self, spt: AST ('[', tuple (self._spt2ast (e) for e in spt)),
		set: lambda self, spt: AST ('-set', tuple (self._spt2ast (e) for e in spt)),
		frozenset: lambda self, spt: AST ('-set', tuple (self._spt2ast (e) for e in spt)),
		dict: lambda self, spt: AST ('-dict', tuple ((self._spt2ast (k), self._spt2ast (v)) for k, v in spt.items ())),
		slice: lambda self, spt: AST ('-slice', False if spt.start is None else self._spt2ast (spt.start), False if spt.stop is None else self._spt2ast (spt.stop), None if spt.step is None else self._spt2ast (spt.step)),
		_dict_keys: lambda self, spt: AST ('[', tuple (self._spt2ast (e) for e in spt)),
		_dict_values: lambda self, spt: AST ('[', tuple (self._spt2ast (e) for e in spt)),
		_dict_items: lambda self, spt: AST ('[', tuple (self._spt2ast (e) for e in spt)),
		sp.Tuple: lambda self, spt: self._spt2ast (spt.args),

		sp.Integer: _spt2ast_num,
		sp.Float: _spt2ast_num,
		sp.Rational: lambda self, spt: AST ('/', ('#', str (spt.p)), ('#', str (spt.q))) if spt.p >= 0 else AST ('-', ('/', ('#', str (-spt.p)), ('#', str (spt.q)))),
		sp.numbers.ImaginaryUnit: lambda self, spt: AST.I,
		sp.numbers.Pi: lambda self, spt: AST.Pi,
		sp.numbers.Exp1: lambda self, spt: AST.E,
		sp.numbers.Infinity: lambda self, spt: AST.Infty,
		sp.numbers.NegativeInfinity: lambda self, spt: AST ('-', AST.Infty),
		sp.numbers.ComplexInfinity: lambda self, spt: AST.CInfty,
		sp.numbers.NaN: lambda self, spt: AST.NaN,

		sp.Symbol: _spt2ast_Symbol,

		sp.boolalg.BooleanTrue: lambda self, spt: AST.True_,
		sp.boolalg.BooleanFalse: lambda self, spt: AST.False_,
		sp.Or: lambda self, spt: AST ('-or', tuple (self._spt2ast (a) for a in spt.args)),
		sp.And: lambda self, spt: (lambda args: sxlat._xlat_f2a_And (*args, canon = True) or AST ('-and', args)) (tuple (self._spt2ast (a) for a in spt.args)), # collapse possibly previously segmented extended comparison
		sp.Not: lambda self, spt: AST ('-not', self._spt2ast (spt.args [0])),

		EqAss: lambda self, spt: AST ('=', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1])),
		EqCmp: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('==', self._spt2ast (spt.args [1])),), is_cmp_explicit = True),
		sp.Eq: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('==', self._spt2ast (spt.args [1])),)),
		sp.Ne: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('!=', self._spt2ast (spt.args [1])),)),
		sp.Lt: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('<',  self._spt2ast (spt.args [1])),)),
		sp.Le: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('<=', self._spt2ast (spt.args [1])),)),
		sp.Gt: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('>',  self._spt2ast (spt.args [1])),)),
		sp.Ge: lambda self, spt: AST ('<>', self._spt2ast (spt.args [0]), (('>=', self._spt2ast (spt.args [1])),)),

		sp.EmptySet: lambda self, spt: AST.SetEmpty,
		sp.fancysets.Complexes: lambda self, spt: AST.Complexes,
		sp.fancysets.Reals: lambda self, spt: AST.Reals,
		sp.fancysets.Integers: lambda self, spt: AST.Integers,
		sp.fancysets.Naturals: lambda self, spt: AST.Naturals,
		sp.fancysets.Naturals0: lambda self, spt: AST.Naturals0,
		sp.FiniteSet: lambda self, spt: AST ('-set', tuple (self._spt2ast (arg) for arg in spt.args)),
		sp.Union: _spt2ast_Union,
		sp.Intersection: lambda self, spt: self._spt2ast (spt.args [0]) if len (spt.args) == 1 else AST.flatcat ('&&', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1])),
		sp.Complement: lambda self, spt: AST ('+', (self._spt2ast (spt.args [0]), ('-', self._spt2ast (spt.args [1])))),

		sp.matrices.MatrixBase: _spt2ast_MatrixBase,

		sp.Poly: lambda self, spt: self._spt2ast_Function (spt, args = spt.args + spt.gens, kw = (('domain', AST ('"', str (spt.domain))),)),

		sp.Add: _spt2ast_Add,
		sp.Mul: _spt2ast_Mul,
		sp.Pow: _spt2ast_Pow,
		sp.MatPow: _spt2ast_MatPow,

		sp.Abs: lambda self, spt: AST ('|', self._spt2ast (spt.args [0])),
		sp.arg: lambda self, spt: AST ('-func', 'arg', (self._spt2ast (spt.args [0]),)),
		sp.exp: lambda self, spt: AST ('^', AST.E, self._spt2ast (spt.args [0])),
		sp.factorial: lambda self, spt: AST ('!', self._spt2ast (spt.args [0])),
		sp.functions.elementary.trigonometric.TrigonometricFunction: _spt2ast_Function,
		sp.functions.elementary.hyperbolic.HyperbolicFunction: _spt2ast_Function,
		sp.functions.elementary.trigonometric.InverseTrigonometricFunction: _spt2ast_Function,
		sp.functions.elementary.hyperbolic.InverseHyperbolicFunction: _spt2ast_Function,
		sp.log: lambda self, spt: AST ('-log', self._spt2ast (spt.args [0])) if len (spt.args) == 1 else AST ('-log', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1])),
		sp.Min: lambda self, spt: AST ('-func', 'Min', tuple (self._spt2ast (arg) for arg in spt.args)),
		sp.Max: lambda self, spt: AST ('-func', 'Max', tuple (self._spt2ast (arg) for arg in spt.args)),

		sp.Limit: lambda self, spt: AST (*(('-lim', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1]), self._spt2ast (spt.args [2])) + spt2ast._spt2ast_Limit_dirs [spt.args [3].name])),
		sp.Sum: lambda self, spt: AST ('-sum', self._spt2ast (spt.args [0]), self._spt2ast (spt.args [1] [0]), self._spt2ast (spt.args [1] [1]), self._spt2ast (spt.args [1] [2])),
		sp.Derivative: _spt2ast_Derivative,
		sp.Integral: _spt2ast_Integral,

		sp.Lambda: lambda self, spt: AST ('-lamb', self._spt2ast (spt.args [1]), tuple (v.name for v in spt.args [0])),
		sp.Order: lambda self, spt: AST ('-func', 'O', ((self._spt2ast (spt.args [0]) if spt.args [1] [1] == 0 else self._spt2ast (spt.args)),)),
		sp.Piecewise: lambda self, spt: AST ('-piece', tuple ((self._spt2ast (t [0]), True if isinstance (t [1], sp.boolalg.BooleanTrue) else self._spt2ast (t [1])) for t in spt.args)),
		sp.Subs: lambda self, spt: AST ('-subs', self._spt2ast (spt.args [0]), tuple ((self._spt2ast (s), self._spt2ast (d)) for s, d in zip (spt.args [1], spt.args [2]))),

		sp.Function: _spt2ast_Function,
		sp_AppliedUndef: _spt2ast_AppliedUndef,
	}

#...............................................................................................
def set_sym_user_funcs (user_funcs):
	global _SYM_USER_FUNCS, _SYM_USER_ALL
	_SYM_USER_FUNCS = user_funcs
	_SYM_USER_ALL   = {**_SYM_USER_VARS, **{f: _SYM_USER_VARS.get (f, AST.VarNull) for f in _SYM_USER_FUNCS}}

def set_sym_user_vars (user_vars):
	global _SYM_USER_VARS, _SYM_USER_ALL
	_SYM_USER_VARS = user_vars
	_SYM_USER_ALL   = {**_SYM_USER_VARS, **{f: _SYM_USER_VARS.get (f, AST.VarNull) for f in _SYM_USER_FUNCS}}

def set_pyS (state):
	global _PYS
	_PYS = state

def set_simplify (state):
	global _POST_SIMPLIFY
	_POST_SIMPLIFY = state

def set_doit (state):
	global _DOIT
	_DOIT = state

def set_prodrat (state):
	global _MUL_RATIONAL
	_MUL_RATIONAL = state

def set_strict (state):
	global _STRICT_TEX
	_STRICT_TEX = state

def set_quick (state):
	global _QUICK_MODE
	_QUICK_MODE = state

class sym: # for single script
	set_sym_user_funcs = set_sym_user_funcs
	set_sym_user_vars  = set_sym_user_vars
	set_pyS            = set_pyS
	set_simplify       = set_simplify
	set_doit           = set_doit
	set_prodrat        = set_prodrat
	set_strict         = set_strict
	set_quick          = set_quick
	ast2tex            = ast2tex
	ast2nat            = ast2nat
	ast2py             = ast2py
	ast2spt            = ast2spt
	spt2ast            = spt2ast

# Builds expression tree from text, nodes are nested AST tuples.

import ast as py_ast
from collections import OrderedDict
import os
import re
import sys


ALL_FUNC_NAMES = AST.Func.PY | AST.Func.TEX | {'sech', 'csch', AST.Func.NOREMAP, AST.Func.NOEVAL}
RESERVED_WORDS = {'in', 'if', 'else', 'or', 'and', 'not', 'sqrt', 'log', 'ln', 'Function', 'Symbol'} | AST.Func.PY

_SP_USER_FUNCS = set () # set of user funcs present {name, ...} - including hidden N and gamma and the like
_SP_USER_VARS  = {} # flattened user vars {name: ast, ...}

def _raise (exc):
	raise exc

def _is_valid_var_name (self, text):
	toks = self.tokenize (text)

	return toks == ['VAR', '$end'] and not toks [0].grp [4]

def _FUNC_name (FUNC):
	if FUNC.grp [1]:
		return AST.Func.TEX2PY_TRIGH_INV.get (FUNC.grp [1], FUNC.grp [1])

	else:
		func = (FUNC.grp [0] or FUNC.grp [2] or FUNC.text).replace ('\\', '')

		return f'{func}{FUNC.grp [3]}' if FUNC.grp [3] else func

def _ast_from_tok_digit_or_var (tok, i = 0, noerr = False):
	return AST ('#', tok.grp [i]) if tok.grp [i] else \
			AST ('@', AST.Var.ANY2PY.get (tok.grp [i + 2].replace (' ', ''), tok.grp [i + 1]) if tok.grp [i + 2] else tok.grp [i + 1])

def _ast_func_tuple_args (ast):
	ast = ast.strip_curly.strip_paren1 # ast = ast._strip (1) # ast = ast._strip_curly_of_paren_tex.strip_paren1 # ast = ast._strip (1)

	return ast.comma if ast.is_comma else (ast,)

def _ast_func_sxlat (func, args, **kw):
	return sxlat.xlat_funcs2asts (AST ('-func', func, args, **kw), sxlat.XLAT_FUNC2AST_SPARSER, recurse = False)

def _ast_func_reorder (ast, unconditional = False):
	wrap2 = None

	if ast.is_diffp:
		ast2, wrap2 = ast.diffp, lambda a, count = ast.count: AST ('-diffp', a, count)
	elif ast.is_fact:
		ast2, wrap2 = ast.fact, lambda a: AST ('!', a)
	elif ast.is_pow:
		ast2, wrap2 = ast.base, lambda a: AST ('^', a, ast.exp, is_pypow = ast.is_pypow)
	elif ast.is_attr:
		ast2, wrap2 = ast.obj, lambda a: AST ('.', a, *ast [2:])
	elif ast.is_idx:
		ast2, wrap2 = ast.obj, lambda a: AST ('-idx', a, ast.idx)

	if wrap2:
		ast3, wrap3 = _ast_func_reorder (ast2, unconditional = unconditional)

		if unconditional or ast3.op in {'{', '(', '[', '-lamb'}: # ast3.is_curly or ast3.is_paren or ast3.is_brack:
			return ast3, lambda a: wrap2 (wrap3 (a))

	return ast, lambda a: a

def _ast_var_as_ufunc (var, arg, rhs, force_implicit = False): # var guaranteed not to be in _SP_USER_FUNCS
	if var.var != '_' and arg.is_paren and var.is_var_nonconst: # f (vars[, kws]) -> ('-ufunc', 'f', (vars)[, kws]) ... implicit undefined function
		argskw = arg.paren.as_ufunc_argskw
		ufunc  = _SP_USER_VARS.get (var.var, AST.Null)

		if ufunc.is_ufunc:
			ast = ufunc.apply_argskw (argskw) # AST ('-ufunc', ufunc.ufunc_full, *argskw, src_rhs = rhs, src_var_name = var.var)

			if ast:
				return ast.setkw (src_rhs = rhs, src_var_name = var.var)

		elif ufunc.op is None and (force_implicit or AST.UFunc.valid_implicit_args (argskw [0])):
			return AST ('-ufunc', var.var, *argskw, src_rhs = rhs)

	return None

def _ast_diff_func_apply_call (var, expr, arg):
	func = _SP_USER_VARS.get (var, expr [1])
	args = arg.comma if arg.is_comma else (arg,)

	if func.is_lamb:
		if len (args) == func.vars.len:
			subs = tuple (filter (lambda va: va [1] != va [0], zip ((AST ('@', v) for v in func.vars), args)))

			return AST ('-subs', expr, subs) if subs else expr

	elif func.is_ufunc_applied:
		ast = func.apply_argskw (arg.as_ufunc_argskw)

		if ast:
			return AST ('-subs', expr, ast.ufunc_subs) if ast.ufunc_subs else expr

	return None

def _ast_pre_slice (pre, post):
	if not post.is_slice:
		return AST ('-slice', pre, post, None)
	elif post.step is None:
		return AST ('-slice', pre, post.start, post.stop)

	raise SyntaxError ('invalid slice')

def _ast_mulexps_to_muls (ast): # convert explicit multiplication ASTs to normal multiplication ASTs with index information for explicit muls
	if not isinstance (ast, AST):
		return ast
	elif ast.is_mulexp:
		return AST ('*', tuple (_ast_mulexps_to_muls (a) for a in ast.mul), frozenset (range (1, ast.mul.len)))
	else:
		return AST (*tuple (_ast_mulexps_to_muls (a) for a in ast))#, **ast._kw)

def _ast_tail_differential (self, want_pre = False, from_add = False): # find first instance of concatenated differential for integral expression -> pre, dv, wrap -> wrap (\int pre dv), pre may be None, if dv is None then rest are undefined
	lself = lambda a: a

	if self.is_differential or self.is_var_null: # AST.VarNull is for autocomplete
		return None, self, lself, lself

	elif self.is_minus:
		pre, dv, wrap, wrapp = self.minus.tail_differential

		if dv:
			return pre, dv.setkw (dv_has_neg = dv.dv_has_neg or not pre), wrap, lambda a: AST ('-', wrapp (a)) if (not a.is_num_pos or from_add) else wrapp (AST ('#', f'-{a.num}'))

	elif self.is_fact:
		pre, dv, wrap, wrapp = self.fact.tail_differential

		if dv:
			return pre, dv, lambda a: AST ('!', wrap (a)), wrapp

	elif self.is_add:
		pre, dv, wrap, wrapp = self.add [-1].tail_differential_from_add

		if dv and pre:
			return AST ('+', (*self.add [:-1], wrapp (pre))), dv, wrap, lself

	elif self.op in {'*', '*exp'}:
		for i, ast in enumerate (self.mul):
			pre, dv, wrap, wrapp = ast.tail_differential

			if dv:
				if want_pre and (pre or not i):
					want_pre = False

					if ast is not self.mul [-1]:
						continue

				if not i:
					return pre, dv, lambda a: AST (self.op, (wrap (a), *self.mul [1:])), wrapp

				if pre:
					pre = AST (self.op, (*self.mul [:i], pre))
				elif i > 1:
					pre = AST (self.op, self.mul [:i])
				else:
					pre = self.mul [0]

				if i < self.mul.len - 1:
					return pre, dv, lambda a: AST (self.op, (wrap (a), *self.mul [i + 1:])), wrapp

				else:
					return pre, dv, wrap, wrapp

	elif self.is_div:
		pre, dv, wrap, wrapp = self.numer.tail_differential

		if dv:
			return pre, dv, lambda a: AST ('/', wrap (a), self.denom), wrapp

		pre, dv, wrap, wrapp = self.denom.tail_differential_want_pre

		if dv and pre:
			return AST ('/', self.numer, wrapp (pre)), dv, wrap, lself

	elif self.is_pow:
		pre, dv, wrap, wrapp = self.base.tail_differential

		if dv and (pre or not want_pre):
			return pre, dv, lambda a: AST ('^', wrap (a), self.exp), wrapp

		pre, dv, wrap, wrapp = self.exp.tail_differential_want_pre

		if dv and pre:
			return AST ('^', self.base, wrapp (pre)), dv, wrap, lself

	elif self.is_func:
		if self.src:
			if not want_pre and self.src.mul [0].is_differential and self.func in _SP_USER_FUNCS:
				return None, self.src.mul [0], lambda a: AST ('*', (a, self.src.mul [1])), lself

			pre, dv, wrap, wrapp = self.src.mul [1].tail_differential

			if dv:
				if pre:
					pre = wrapp (pre)

					return AST ('-func', self.func, (pre,), src = AST ('*', (self.func, pre))), dv, wrap, lself

				elif self.func in _SP_USER_FUNCS:
					return AST ('@', self.func), dv, wrap, wrapp

	elif self.is_diff:
		if self.src:
			pre, dv, wrap, wrapp = self.src.tail_differential

			if dv and pre:
				pre = _expr_diff (wrapp (pre))

				if pre.is_diff:
					return pre, dv, wrap, lself

	elif self.op in {'-lim', '-sum'}:
		pre, dv, wrap, wrapp = self [1].tail_differential_want_pre

		if dv and pre:
			return AST (self.op, wrapp (pre), *self [2:]), dv, wrap, lself

	return None, None, None, None

AST._tail_differential          = _ast_tail_differential # adding to AST class so it can be cached and accessed as member
AST._tail_differential_want_pre = lambda self: self._tail_differential (want_pre = True)
AST._tail_differential_from_add = lambda self: self._tail_differential (from_add = True)
AST._has_tail_differential      = lambda self: self.tail_differential [1]

#...............................................................................................
def _expr_ass_lvals (ast, allow_lexprs = False): # process assignment lvalues ... {a}, {b = x}, {y} -> {a, b} = {x, y}
	def can_be_ufunc (ast):
		return (
			(ast.is_func and ast.func in _SP_USER_FUNCS and all (a.is_var_nonconst for a in ast.args)) or
			(ast.is_mul and ast.mul.len == 2 and ast.mul [1].is_paren and ast.mul [0].is_var_nonconst and ast.mul [1].paren.as_ufunc_argskw))

	def as_ufunc (ast):
		if ast.is_func:
			return AST ('-ufunc', ast.func, ast.args)
		else: # is_mul
			return AST ('-ufunc', ast.mul [0].var, *ast.mul [1].paren.as_ufunc_argskw)

	def lhs_ufunc_explicitize (ast):
		if not allow_lexprs and (ast.is_ufunc_py or (ast.is_ufunc and ast.kw)):
			return AST ('-ufunc', f'?{ast.ufunc}', *ast [2:])
		elif ast.src_var_name:
			return AST ('-ufunc', f'{ast.src_var_name}', *ast [2:])
		else:
			return ast

	# start here
	if ast.is_ass: # if assigning to function call then is assignment to function instead, rewrite
		if can_be_ufunc (ast.lhs):
			ast = AST ('=', as_ufunc (ast.lhs), ast.rhs)
		else:
			ast = AST ('=', lhs_ufunc_explicitize (ast.lhs), ast.rhs)

	elif ast.is_comma: # tuple assignment? ('x, y = y, x' comes from parsing as ('x', 'y = y', 'x')) so rewrite
		vars = []
		itr  = iter (ast.comma)

		for c in itr:
			if c.op in {'@', '-ufunc'}:
				vars.append (lhs_ufunc_explicitize (c))
			elif can_be_ufunc (c):
				vars.append (as_ufunc (c))

			elif c.is_ass:
				t = (c.rhs,) + tuple (itr)
				v = lhs_ufunc_explicitize (c.lhs) if c.lhs.op in {'@', '-ufunc'} else as_ufunc (c.lhs) if can_be_ufunc (c.lhs) else c.lhs if allow_lexprs else None

				if v:
					ast = AST ('=', (',', tuple (vars) + (v,)) if len (vars) else v, t [0] if len (t) == 1 else AST (',', t))

					vars.append (c.lhs)

				break

			elif allow_lexprs:
				vars.append (c)
			else:
				break

	return ast

def _expr_comma (lhs, rhs):
	if rhs.is_slice and rhs.step is None and rhs.stop and rhs.start and rhs.start.is_var_nonconst:
		if lhs.is_comma:
			for i in range (lhs.comma.len - 1, -1, -1):
				first_var, wrap = lhs.comma [i].tail_lambda # ._tail_lambda (has_var = True)

				if first_var and wrap:
					ast = wrap (AST ('-lamb', rhs.stop, (first_var.var, *(v.var for v in lhs.comma [i + 1:]), rhs.start.var)))

					return ast if not i else AST (',', lhs.comma [:i] + (ast,))

				if not lhs.comma [i].is_var_nonconst:
					break

		else:
			first_var, wrap = lhs.tail_lambda # ._tail_lambda (has_var = True)

			if first_var and wrap:
				return wrap (AST ('-lamb', rhs.stop, (first_var.var, rhs.start.var)))

	return AST.flatcat (',', lhs, rhs)

def _expr_colon (lhs, rhs):
	first_var, wrap = lhs.tail_lambda

	if wrap is None:
		return _ast_pre_slice (lhs, rhs)

	return wrap (AST ('-lamb', rhs, () if first_var is None else (first_var.var,)))

def _expr_mapsto (args, lamb):
	if args.is_var_nonconst:
		return AST ('-lamb', lamb, (args.var,), is_lamb_mapsto = True)
	elif args.is_comma and all (v.is_var_nonconst for v in args.comma):
		return AST ('-lamb', lamb, tuple (v.var for v in args.comma), is_lamb_mapsto = True)

	raise SyntaxError ('mapsto parameters can only be variables')

def _expr_piece (expr, expr_if, expr_else):
	if expr_else.is_piece:
		return AST ('-piece', ((expr, expr_if),) + expr_else.piece)
	else:
		return AST ('-piece', ((expr, expr_if), (expr_else, True)))

def _expr_cmp (lhs, CMP, rhs):
	cmp = AST.Cmp.ANY2PY.get (CMP.text.replace (' ', ''), CMP.text.replace (' ', ''))

	if lhs.is_cmp:
		return AST ('<>', lhs.lhs, lhs.cmp + ((cmp, rhs),))
	else:
		return AST ('<>', lhs, ((cmp, rhs),))

def _expr_add (self, lhs, rhs):
	ast = AST.flatcat ('+', lhs, rhs)

	if self.in_intg () and lhs.has_tail_differential:
		return Reduce (ast)#, keep = True)

	return PopConfs (ast)

def _expr_mul_exp (self, lhs, rhs): # fix side-effect of integral parsing
	if lhs.is_mulexp:
		if lhs.mul [-1].is_differential and self.in_intg ():
			return Reduce (AST.flatcat ('*exp', lhs, rhs))

	return PopConfs (AST.flatcat ('*exp', lhs, rhs))

def _expr_neg (expr): # conditionally push negation into certain operations to make up for grammar higherarchy missing negative numbers
	if expr.op in {'!', '-diffp', '-idx'}:
		if expr [1].is_num_pos:
			return AST (expr.op, expr [1].neg (), *expr [2:])

	elif expr.is_mul:
		return AST ('*', (_expr_neg (expr.mul [0]),) + expr.mul [1:])

	return expr.neg (stack = True)

def _expr_diff (ast): # convert possible cases of derivatives in ast: ('*', ('/', 'd', 'dx'), expr) -> ('-diff', expr, 'd', ('x', 1))
	def interpret_divide (ast):
		numer = ast.numer.strip_curly
		d     = e = None
		p     = 1

		if numer.is_var:
			if numer.is_diff_or_part_solo:
				d = numer.var

			elif numer.is_diff_or_part:
				d = numer.diff_or_part_type
				e = numer.as_var

		elif numer.is_pow:
			if numer.base.is_diff_or_part_solo and numer.exp.strip_curly.is_num_pos_int:
				d = numer.base.var
				p = numer.exp.strip_curly.as_int

		elif numer.is_mul and numer.mul.len == 2 and numer.mul [1].is_var and numer.mul [0].is_pow and numer.mul [0].base.is_diff_or_part_solo and numer.mul [0].exp.strip_curly.is_num_pos_int:
			d = numer.mul [0].base.var
			p = numer.mul [0].exp.strip_curly.as_int
			e = numer.mul [1]

		if d is None:
			return None, None

		ast_dv_check = (lambda n: n.is_differential) if d == 'd' else (lambda n: n.is_partial)

		denom = ast.denom.strip_curly
		ns    = denom.mul if denom.is_mul else (denom,)
		ds    = []
		cp    = p

		for i, n in enumerate (ns):
			if n.is_ufunc: # implicit ufunc created for last differential reverts back to differential followed by paren
				if n.is_ufunc_explicit or cp != 1:
					break

				v   = n.src_rhs # AST ('(', AST.tuple2ast (n.vars))
				n   = AST ('@', n.ufunc)
				ns  = ns [:i] + (n, v) + ns [i + 1:]
				ast = AST ('/', ast.numer, AST ('*', ns))

			if ast_dv_check (n):
				dec = 1
				ds.append ((n.var_name, 1))

			elif n.is_pow and ast_dv_check (n.base) and n.exp.strip_curly.is_num_pos_int:
				dec = n.exp.strip_curly.as_int
				ds.append ((n.base.var_name, dec))

			else:
				break

			cp -= dec

			if cp < 0:
				break

			if not cp:
				if i == len (ns) - 1:
					return AST ('-diff', e, d, tuple (ds), src = ast), None

				elif not ast.denom.is_curly:
					if e:
						return AST ('-diff', e, d, tuple (ds), src = AST ('/', ast.numer, ('*', ns [:i + 1]) if i else ns [0])), ns [i + 1:]
					elif i == len (ns) - 2:
						return AST ('-diff', ns [-1], d, tuple (ds), src = ast), None
					elif not ns [i + 1].is_paren:
						return AST ('-diff', AST ('*', ns [i + 1:]), d, tuple (ds), src = ast), None
					else:
						return AST ('-diff', ns [i + 1], d, tuple (ds), src = AST ('/', ast.numer, ('*', ns [:i + 2]) if i < len (ns) - 3 else ns [i + 2])), ns [i + 2:]

				break

		return None, None

	def try_apply_ics (ast, arg): # {d/dx u (x, t)} * (0, t) -> \. d/dx u (x, t) |_{x = 0}, {d/dx u (x, t)} * (0, 0) -> \. d/dx u (x, 0) |_{x = 0}
		if arg.is_paren:
			diff = ast.diff.strip_paren1
			ast2 = _ast_diff_func_apply_call (diff.var, AST ('-diff', diff, ast.d, ast.dvs), arg.paren)

			if ast2:
				return ast2

		return AST ('*', (ast, arg))

	# start here
	if ast.is_div: # this part handles d/dx y and dy/dx
		diff, tail = interpret_divide (ast)

		if diff and diff.diff:
			if not tail:
				return diff
			elif len (tail) == 1:
				return try_apply_ics (diff, tail [0])
			else:
				return AST.flatcat ('*', try_apply_ics (diff, tail [0]), AST ('*', tail [1:])) # only reanalyzes first element of tail for diff of ufunc ics

	elif ast.is_mul: # this part needed to handle \frac{d}{dx}
		mul = []
		end = ast.mul.len

		for i in range (end - 2, -1, -1):
			if ast.mul [i].is_div:
				diff, tail = interpret_divide (ast.mul [i])

				if diff:
					if diff.diff:
						if i < end - 1:
							mul [0:0] = ast.mul [i + 1 : end]

						if tail:
							mul [0:0] = tail

						mul.insert (0, diff)

					if i == end - 2:
						mul.insert (0, AST ('-diff', ast.mul [i + 1], diff.d, diff.dvs, src = AST ('*', ast.mul [i : end])))
					elif not ast.mul [i + 1].is_paren:
						mul.insert (0, AST ('-diff', AST ('*', ast.mul [i + 1 : end]), diff.d, diff.dvs, src = AST ('*', ast.mul [i : end])))

					else:
						diff = AST ('-diff', ast.mul [i + 1], diff.d, diff.dvs, src = AST ('*', ast.mul [i : i + 2]))
						expr = try_apply_ics (diff, ast.mul [i + 2]) # only reanalyzes first element of tail for diff of ufunc ics

						if expr.is_mul:
							mul [0:0] = ast.mul [i + 2 : end]
							mul.insert (0, diff)

						else:
							mul [0:0] = ast.mul [i + 3 : end]
							mul.insert (0, expr)

					end = i

		if mul:
			mul = mul [0] if len (mul) == 1 else AST ('*', tuple (mul))

			return mul if end == 0 else AST.flatcat ('*', ast.mul [0], mul) if end == 1 else AST.flatcat ('*', AST ('*', ast.mul [:end]), mul)

	return ast

def _expr_div (numer, denom):
	if denom.is_mulexp: # correct for wonky \int ... dv parsing
		return AST ('*exp', (('/', numer, denom.mul [0]), *denom.mul [1:]))

	if denom.is_mul:
		for i, ast in enumerate (denom.mul):
			if ast.is_mulexp:
				return AST ('*exp', (('/', numer, ('*', (*denom.mul [:i], ast.mul [0]))), *ast.mul [1:]))

	return AST ('/', numer, denom)

def _expr_mul_imp (self, lhs, rhs): # fix side-effect of integral parsing
	if rhs.is_div:
		if rhs.numer.is_intg:
			return PopConfs (AST ('/', AST.flatcat ('*', lhs, rhs.numer), rhs.denom))
		elif rhs.numer.is_mul and rhs.numer.mul [0].is_intg:
			return PopConfs (AST ('/', AST.flatcat ('*', lhs, rhs.numer), rhs.denom))

	elif rhs.is_mulexp:
		if rhs.mul [0].is_div and rhs.mul [0].numer.is_intg:
			return PopConfs (AST ('*exp', (('/', ('*', (lhs, rhs.mul [0].numer)), rhs.mul [0].denom), *rhs.mul [1:])))

	elif lhs.is_mul:
		if lhs.mul [-1].is_differential and self.in_intg ():
			return Reduce (AST.flatcat ('*', lhs, rhs))

	return PopConfs (AST.flatcat ('*', lhs, rhs))

def _expr_intg (ast, from_to = ()): # find differential for integration if present in ast and return integral ast
	pre, dv, wrap, wrapp = ast.tail_differential

	if dv:
		if pre:
			return wrap (AST ('-intg', wrapp (pre), dv, *from_to))
		elif dv.dv_has_neg:
			return wrap (AST ('-intg', wrapp (AST.One), dv, *from_to))
		else:
			return wrap (AST ('-intg', None, dv, *from_to))

	raise SyntaxError ('integration expecting a differential')

def _expr_diffp_ics (lhs, commas): # f (x)' * (0) -> \. f (x) |_{x = 0}
	if lhs.is_diffp:
		ast = _ast_diff_func_apply_call (lhs.diffp.var, lhs, commas)

		if ast:
			return ast

	return Reduce

def _expr_func (iparm, *args, is_operatorname = False): # rearrange ast tree for explicit parentheses like func (x)^y to give (func (x))^y instead of func((x)^y)
	is_func    = args [0] == '-func'
	is_pseudo  = is_func and args [1] in {AST.Func.NOREMAP, AST.Func.NOEVAL}
	rhs        = args [iparm]
	arg, wrapa = _ast_func_reorder (rhs, unconditional = is_pseudo)

	if is_func:
		name = args [1]

		if is_operatorname and name not in _SP_USER_FUNCS and name not in ALL_FUNC_NAMES: # \operatorname ufunc like SymPy writes out, will not catch unparend arg - shouldn't need to
			ast = _ast_var_as_ufunc (AST ('@', name), arg, rhs, force_implicit = True)

			if ast:
				return wrapa (ast)

		src = AST ('*', (('@', name), rhs))

		if arg.is_paren:
			ast2 = _ast_func_sxlat (name, _ast_func_tuple_args (arg), src = src)
		else:
			ast2 = AST ('-func', name, _ast_func_tuple_args (arg), src = src)

		if is_pseudo and ast2.is_func and ast2.args.len != 1:
			raise SyntaxError (f'no-{"remap" if ast2.func == AST.Func.NOREMAP else "eval"} pseudo-function takes a single argument')

	else: # args [0] in {'-sqrt', '-log'}:
		fargs    = arg.strip_curly.strip_paren1 if args [0] == '-log' or (not arg.is_paren_tex or arg.paren.op in {',', '-slice'}) else arg.strip_curly
		ast2     = AST (*(args [:iparm] + (fargs,) + args [iparm + 1:]))
		ast2.src = AST ('*', (AST.VarNull, rhs)) # VarNull is placeholder

	return wrapa (ast2)

def _expr_func_func (FUNC, args, expr_super = None):
	istok = isinstance (FUNC, Token)
	func  = _FUNC_name (FUNC) if istok else FUNC

	if expr_super is None:
		return _expr_func (2, '-func', func, args, is_operatorname = istok and FUNC.grp [2])
	elif expr_super.strip_curly != AST.NegOne or not AST ('-func', func, ()).is_func_trigh_noninv:
		return AST ('^', _expr_func_func (FUNC, args), expr_super, is_pypow = expr_super.is_pypow)
	else:
		return _expr_func_func (f'a{func}', args)

def _expr_ufunc_ics (self, lhs, commas): # ufunc ('f', ()) * (x) -> ufunc ('f', (x,)), ufunc ('f', (x,)) * (0) -> ufunc ('f', (0,)), ...
	if lhs.is_ufunc_py:
		ast = lhs.apply_argskw (commas.as_ufunc_argskw)

		if ast:
			return PopConfs (AST ('-ufunc', lhs.ufunc_full, (commas.comma if commas.is_comma else (commas,)), lhs.kw))#, is_ufunc_py = lhs.is_ufunc_py))

	return Reduce

def _expr_ufunc (self, args, py = False, name = ''):
	if py:
		args, kw = AST.args2kwargs (args.comma if args.is_comma else (args,))

		if len (args) != 1 or not args [0].is_str:
			raise SyntaxError ('Function() takes a single string name argument')

		name   = args [0].str_
		argskw = ((), tuple (sorted (kw.items ())))

	else:
		argskw = args.as_ufunc_argskw

		if not argskw:
			raise SyntaxError ('invalid undefined function arguments')

	if name and (name in RESERVED_WORDS or not _is_valid_var_name (self, name)):
		raise SyntaxError (f'invalid undefined function name {name!r}')

	if AST ('@', name).is_var_const:
		raise SyntaxError ('cannot use constant as undefined function name')

	return AST ('-ufunc', f'?{name}', *argskw, is_ufunc_py = py)

def _expr_varfunc (self, var, rhs): # user_func *imp* (...) -> user_func (...)
	arg, wrapa = _ast_func_reorder (rhs)

	if var.var in _SP_USER_FUNCS:
		if arg.is_paren:
			return PopConfs (wrapa (_ast_func_sxlat (var.var, _ast_func_tuple_args (arg), src = AST ('*', (var, arg)))))
		elif not (arg.is_curly and arg.strip_curly.is_paren) and var.var not in {'beta', 'Lambda'}: # special case beta and Lambda reject if they don't have parenthesized args (because they take two)
			return PopConfs (wrapa (AST ('-func', var.var, (arg,), src = AST ('*', (var, arg)))))

	else:
		ast = _ast_var_as_ufunc (var, arg, rhs)

		if ast:
			return PopConfs (wrapa (ast))

	return Reduce

def _expr_sym (self, args, py = False, name = ''):
	args, kw = AST.args2kwargs (args.comma if args.is_comma else (args,))

	if py:
		if len (args) != 1 or not args [0].is_str:
			raise SyntaxError ('Symbol() takes a single string name argument')

		name = args [0].str_

	elif args:
		raise SyntaxError ('$ does not take direct arguments, only keyword assumptions')

	if name and (name in RESERVED_WORDS or not _is_valid_var_name (self, name)):
		raise SyntaxError (f'invalid symbol name {name!r}')

	if AST ('@', name).is_var_const:
		raise SyntaxError ('cannot use constant as symbol name')

	return AST ('-sym', name, tuple (sorted (kw.items ())))

def _expr_subs (expr, subs):
	def asslist2srcdst (asslist):
		subs = []

		for ast in asslist:
			if ast.is_ass:
				subs.append (_expr_ass_lvals (ast, True) [1:])
			else:
				raise SyntaxError ('expecting assignment')

		return tuple (subs)

	# start here
	if not isinstance (subs, AST):
		subs = asslist2srcdst (subs)

	elif subs.is_ass:
		subs = (_expr_ass_lvals (subs, True) [1:],)

	elif subs.is_comma:
		if not subs.comma:
			return expr

		if subs.comma [0].is_ass:
			subs = asslist2srcdst (subs.comma)

		else:
			subs = _expr_ass_lvals (subs, True)

			if subs.is_ass and subs.lhs.is_comma and subs.rhs.is_comma and subs.rhs.comma.len == subs.lhs.comma.len:
				subs = tuple (zip (subs.lhs.comma, subs.rhs.comma))
			else:
				raise SyntaxError ('invalid tuple assignment')

	else:
		raise SyntaxError ('expecting assignment')

	if expr.strip_curly.is_subs: # collapse multiple subs into one
		return AST ('-subs', expr.strip_curly.expr, expr.strip_curly.subs + subs)

	return AST ('-subs', expr, subs)

def _expr_mat (mat_rows):
	if not mat_rows:
		return AST.MatEmpty
	elif len (mat_rows [0]) > 1:
		return AST ('-mat', mat_rows)
	else:
		return AST ('-mat', tuple ((c [0],) for c in mat_rows))

def _expr_vec (ast):
	e = ast.comma if ast.is_comma else (ast,)

	if all (c.is_brack for c in e):
		if len (e) == 0:
			return AST.MatEmpty

		elif len (e) == 1 or len (set (c.brack.len for c in e)) == 1:
			if e [0].brack.len == 1:
				return AST ('-mat', tuple ((c.brack [0],) for c in e))
			elif e [0].brack.len:
				return AST ('-mat', tuple (c.brack for c in e))
			else:
				return AST.MatEmpty

		elif e [-1].brack.len < e [0].brack.len:
			raise Incomplete (AST ('-mat', tuple (c.brack for c in e [:-1]) + (e [-1].brack + (AST.VarNull,) * (e [0].brack.len - e [-1].brack.len),)))

	return AST ('-mat', tuple ((c,) for c in e))

def _expr_curly (ast, forceset = False):
	e   = ast.comma if ast.is_comma else (ast,)
	kvs = []

	for kv in e:
		if not kv.is_slice or kv.step is not None or kv.start is False or kv.stop is False:
			if ast.is_comma:
				return AST ('-set', ast.comma)
			elif forceset:
				return AST ('-set', e)
			else:
				return AST ('{', ast if not ast.is_paren else ('(', ast.paren, True))

		kvs.append ((kv.start, kv.stop))

	return AST ('-dict', tuple (kvs))

def _expr_var (VAR):
	if VAR.grp [0]:
		var = 'partial' + AST.Var.ANY2PY.get (VAR.grp [2], VAR.grp [2].replace ('\\_', '_'))
	elif VAR.grp [1]:
		var = 'd' + AST.Var.ANY2PY.get (VAR.grp [2], VAR.grp [2].replace ('\\_', '_'))
	else:
		var = AST.Var.ANY2PY.get (VAR.grp [3].replace (' ', ''), VAR.grp [3].replace ('\\_', '_'))

	return AST ('@', f'{var}{VAR.grp [4]}' if VAR.grp [4] else var, text = VAR.text) # include original 'text' for check to prevent \lambda from creating lambda functions

def _expr_num (NUM):
	num = NUM.grp [1] or (NUM.grp [0] if NUM.text [0] != '.' else f'0{NUM.grp [0]}')

	if not NUM.grp [2]:
		return AST ('#', num)

	g2  = NUM.grp [2].replace ('{', '').replace ('}', '')

	if g2 [1] in {'-', '+'}:
		return AST ('#', f'{num}{g2.lower ()}')
	else:
		return AST ('#', f'{num}{g2 [0].lower ()}+{g2 [1:]}')

#...............................................................................................
class Parser (LALR1):
	def __init__ (self):
		LALR1.__init__ (self)

		self.TOKENS_LONG.update ([(v, self.TOKENS [v]) for v in self.TOKENS_QUICK])

	def set_quick (self, state = True):
		self.TOKENS.update (self.TOKENS_QUICK if state else self.TOKENS_LONG)
		self.set_tokens (self.TOKENS)

	_PARSER_TABLES = \
			b'eJztnXuv4zaS6L/MBaYbsAFLpEjp/Nd5zG6wncfmMbuDRhB0kp5FcPNCOsmdxWK/+60XqaJFSZat00e2iSMfSxTFVxXrJ1JF+dmrv3zx/qcvP/3kL7u//J83P38PX+Hw/a8+f/n3l7Dz8pvPXnz+4Se4G3defvPe5y/e/zfcjTtf/fWrT97/7O9hD74/+fRL' \
			b'+P/FV+/h/5cvvvhX2f37xxQNvuH/3158Tgl+wJExGu++9+G/fPP+iy8+/EL2P34RQt/rd//W737Gu5RCLNRfYUe+Kvmu4fvjjz75itL96JNPPw7fVdipqUCUUGyFo6MvsdAffvzZl3//4kPM9aNPvvwXrPFXmNrLjz6metP/f/8cz7/EJn35KcaRxoEmpJrz' \
			b'//c//fjjF6HVMeBzbvXPQ6tzGNXr89DqEvaCv/sSfp6Ul0r67/Dvxcefwf8P3ntJ5zD0kw+kVXHvvX73b/2utOqHL7/4EIvy+Ucf4/eH//k+NsOLL6kdMMkvuRpQ1C/DN7bnBx/97aMP8Ir3Rb4c77OX1PzQdkES//nFh+9ThA8++utfUYc++YjVkAr94pMP' \
			b'sJHxxKd4/ccvPvviy0+liEFJKOA/WMfwq2Llgyzf/zfYffvHt2//fP3b2z/V/lvY/+71b29+/+aX3775/tsf3/7++jd1Gnbf/PNXOPPDnz+F/Z/f/Nc3r3/7r3D49o9f3/zWH3wLuz+9/v2b7375UfZ+++X/9Xuc39s3b99+F/d+jXshmdffxt0fvv9nDP39' \
			b'95jRP15/93vY/5Uy4OA/fv6uL/M//vFrcvDND9+97UsaK/TjD33d+tDf3/wW93/648dvfvgpJvbdH7/9+N+qacLutz/8/Itupliq315/p5OCnXD455t45vX338dIr2Pl/vn2TV9TaqVYA6yTavh44o+ff/jl53jiv2OJfvj591gkEC5KnOXFaff1g5O6If98' \
			b'HZv9519iWf7QUV7//H0Srlv62+9++emn1/Hwl5jYt9As//dNL8Y03q8/vPnuTT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TYPyWX9GPKkkq2JDaoVphOKgOv5QZDHOSCqlyc6S+QXXRkxffyM0v+YcWkRf880v026MX54eX5uNqfh6igD6/wk4DSk7vt0HVZkBAtslrweG6lv3CnMHjGkPlBsRZ3G9oub1c' \
			b'3fQhYDy+fv7/AWiDPAA=' 

	_UPARTIAL = '\u2202' # \partial
	_USUM     = '\u2211' # \sum
	_UINTG    = '\u222b' # \int
	_UUNION   = '\u222a' # ||
	_USYMDIFF = '\u2296' # ^^
	_UXSECT   = '\u2229' # &&
	_UOR      = '\u2228' # or
	_UAND     = '\u2227' # and
	_UNOT     = '\u00ac' # not

	_LTR      = fr'[a-zA-Z]'
	_LTRD     = fr'[a-zA-Z0-9]'
	_LTRU     = fr'(?:[a-zA-Z_]|\\_)'

	_VARTEX   = '(?:' + '|'.join (sorted ((x.replace ('\\', '\\\\').replace ('+', '\\+').replace ('*', '\\*').replace ('^', '\\^') for x in AST.Var.TEX2PY), reverse = True)) + ')'
	_VARTEX1  = fr'(?:(\d)|({_LTR})|(\\partial|\\infty))'
	_VARPY    = fr'(?:{_LTR}(?:\w|\\_)*(?<!_))'
	_VARUNI   = fr'(?:{"|".join (AST.Var.UNI2PY)})'
	_VAR      = fr'(?:{_VARTEX}(?!{_LTR})|{_VARPY}|{_VARUNI})'

	_STRS     = r"'(?:\\.|[^'])*'"
	_STRD     = r'"(?:\\.|[^"])*"'

	_FUNCPY   = f"(?:{'|'.join (sorted (AST.Func.PY, reverse = True))})"
	_FUNCTEX  = f"(?:{'|'.join (sorted (AST.Func.TEX, reverse = True))})"

	TOKENS    = OrderedDict ([ # order matters due to Python regex non-greedy or operator '|'
		('UFUNC',        fr'\?'),
		('UFUNCPY',       r'Function(?!\w|\\_)'),
		('SYM',          fr'\$|\\\$'),
		('SYMPY',         r'Symbol(?!\w|\\_)'),
		('FUNC',         fr'(@|\%|\\\%|{_FUNCPY}(?!\w|\\_))|\\({_FUNCTEX})(?!{_LTRU})|\\operatorname\s*{{\s*({_LTR}(?:(?:\w|\\_)*{_LTRD})?)(?:_{{(\d+)}})?\s*}}'), # AST.Func.NOREMAP, AST.Func.NOEVAL HERE!

		('LIM',          fr'(?:\\lim)_'),
		('SUM',          fr'(?:\\sum(?:\s*\\limits)?|{_USUM})_'),
		('INTG',         fr'\\int(?:\s*\\limits)?(?!{_LTR})|{_UINTG}'),
		('L_DOT',         r'\\left\s*\.'),
		('L_PARENL',      r'\\left\s*\('),
		('R_PARENR',      r'\\right\s*\)'),
		('L_BRACKL',      r'\\left\s*\['),
		('R_BRACKR',      r'\\right\s*\]'),
		('L_BAR',         r'\\left\s*\|'),
		('R_BAR',         r'\\right\s*\|'),
		('L_SLASHCURLYL', r'\\left\s*\\{'),
		('R_SLASHCURLYR', r'\\right\s*\\}'),
		('CDOT',         fr'\\cdot(?!{_LTRU})'),
		('TO',           fr'\\to(?!{_LTRU})'),
		('UNION',        fr'\\cup(?!{_LTRU})|\|\||{_UUNION}'),
		('SDIFF',        fr'\\ominus(?!{_LTRU})|\^\^|{_USYMDIFF}'),
		('XSECT',        fr'\\cap(?!{_LTRU})|&&|{_UXSECT}'),
		('MAPSTO',       fr'\\mapsto(?!{_LTRU})'),
		('EMPTYSET',     fr'\\emptyset(?!{_LTRU})'),
		('SETMINUS',     fr'\\setminus(?!{_LTRU})'),
		('SUBSTACK',     fr'\\substack(?!{_LTRU})'),

		('BEG_MAT',       r'\\begin\s*{\s*matrix\s*}'),
		('END_MAT',       r'\\end\s*{\s*matrix\s*}'),
		('BEG_BMAT',      r'\\begin\s*{\s*bmatrix\s*}'),
		('END_BMAT',      r'\\end\s*{\s*bmatrix\s*}'),
		('BEG_VMAT',      r'\\begin\s*{\s*vmatrix\s*}'),
		('END_VMAT',      r'\\end\s*{\s*vmatrix\s*}'),
		('BEG_PMAT',      r'\\begin\s*{\s*pmatrix\s*}'),
		('END_PMAT',      r'\\end\s*{\s*pmatrix\s*}'),
		('BEG_CASES',     r'\\begin\s*{\s*cases\s*}'),
		('END_CASES',     r'\\end\s*{\s*cases\s*}'),
		('FRAC2',        fr'\\frac\s*{_VARTEX1}\s*{_VARTEX1}'),
		('FRAC1',        fr'\\frac\s*{_VARTEX1}'),
		('FRAC',         fr'\\frac(?!{_LTRU})'),
		('BINOM2',       fr'\\binom\s*{_VARTEX1}\s*{_VARTEX1}'),
		('BINOM1',       fr'\\binom\s*{_VARTEX1}'),
		('BINOM',        fr'\\binom(?!{_LTRU})'),

		('CMP',          fr'==|!=|<=|<|>=|>|(?:in|not\s+in)(?!{_LTRU})|(?:\\ne(?!g)q?|\\le|\\lt|\\ge|\\gt|\\in(?!fty)|\\notin)(?!{_LTRU})|{"|".join (AST.Cmp.UNI2PY)}'),
		('IF',            r'if(?!\w|\\_)'),
		('ELSE',          r'else(?!\w|\\_)'),
		('OR',           fr'or(?!\w|\\_)|\\vee(?!{_LTRU})|{_UOR}'),
		('AND',          fr'and(?!\w|\\_)|\\wedge(?!{_LTRU})|{_UAND}'),
		('NOT',          fr'not(?!\w|\\_)|\\neg(?!{_LTRU})|{_UNOT}'),
		('SQRT',         fr'sqrt(?!\w|\\_)|\\sqrt(?!{_LTRU})'),
		('LOG',          fr'log(?!\w|\\_)|\\log(?!{_LTR})'),
		('LN',           fr'ln(?!\w|\\_)|\\ln(?!{_LTRU})'),

		('NUM',           r'(?:(\d*\.\d+)|(\d+\.?))((?:[eE]|{[eE]})(?:[+-]?\d+|{[+-]?\d+}))?'),
		('VAR',          fr"(?:(?:(\\partial\s?|partial|{_UPARTIAL})|(d))({_VAR})|({_VAR}))(?:_{{(\d+)}})?"),
		('ATTR',         fr'(?<!\s)\.(?:({_LTRU}(?:\w|\\_)*)|\\operatorname\s*{{\s*({_LTR}(?:\w|\\_)*)\s*}})'),
		('STR',          fr"((?<![.'|!)}}\]\w]){_STRS}|{_STRD})|\\text\s*{{\s*({_STRS}|{_STRD})\s*}}"),

		('WSUB1',        fr'(?<=\w)_{_VARTEX1}'),
		('WSUB',          r'(?<=\w)_'),
		('SUB',           r'_'),
		('SLASHSUB',      r'\\_'),
		('SLASHDOT',      r'\\\.'),
		('COLON',         r'{:}|:'),
		('SCOLON',        r';'),
		('CARET1',       fr'\^{_VARTEX1}'),
		('CARET',         r'\^'),
		('DBLSLASH',      r'\\\\'),
		('DBLSTAR',       r'\*\*'),
		('SLASHCURLYL',   r'\\{'),
		('SLASHCURLYR',   r'\\}'),
		('SLASHBRACKL',   r'\\\['),
		('CURLYL',        r'{'),
		('CURLYR',        r'}'),
		('PARENL',        r'\('),
		('PARENR',        r'\)'),
		('BRACKL',        r'\['),
		('BRACKR',        r'\]'),
		('BAR',           r'\|'),
		('PLUS',          r'\+'),
		('MINUS',         r'-'),
		('STAR',          r'\*'),
		('DIVIDE',        r'/'),
		('EXCL',          r'!'),
		('AMP',           r'&'),
		('COMMA',         r','),
		('PRIME',         r"'"),
		('EQ',            r'='),
		('ignore',        r'\\[,:;]|\\?\s+|\\text\s*{\s*[^}]*\s*}'),
	])

	_PYGREEK_QUICK = '(?:' + '|'.join (sorted ((g for g in AST.Var.GREEK), reverse = True)) + ')'
	_PYMULTI_QUICK = '(?:' + '|'.join (sorted ((g for g in AST.Var.PY2TEXMULTI), reverse = True)) + ')'
	_VARPY_QUICK   = fr'(?:{_PYGREEK_QUICK}\d*|None|True|False|nan|{_LTR}\d*)'
	_VAR_QUICK     = fr'(?:{_VARTEX}|{_PYMULTI_QUICK}\d*|{_VARPY_QUICK}|{_VARUNI})'

	_FUNCPY_QUICK  = _FUNCPY.replace (r'|del|', r'|del(?!ta)|').replace (r'|det|', r'|det(?!a)|').replace (r'|Integer|', r'|Integer(?!s)|').replace (r'|Si|', r'|Si(?!gma)|')

	_IN_QUICK      = r"in(?!teger_|tegrate|teractive_traversal|terpolate|tersecti|tervals|v_quick|verse_|vert)"

	TOKENS_QUICK   = OrderedDict ([ # quick input mode different tokens (differences from normal)
		('FUNC',         fr'(@|\%|{_FUNCPY_QUICK})|\\({_FUNCTEX})|\\operatorname\s*{{\s*({_LTR}(?:(?:\w|\\_)*{_LTRD})?)(?:_{{(\d+)}})?\s*}}'), # AST.Func.NOREMAP, AST.Func.NOEVAL HERE!

		('LIM',          fr'\\lim_'),
		('SUM',          fr'(?:\\sum(?:\s*\\limits)?|{_USUM})_'),
		('INTG',         fr'\\int(?:\s*\\limits)?|{_UINTG}'),
		('CDOT',         fr'\\cdot'),
		('TO',           fr'\\to'),
		('UNION',        fr'\\cup|\|\||{_UUNION}'),
		('SDIFF',        fr'\\ominus|\^\^|{_USYMDIFF}'),
		('XSECT',        fr'\\cap|&&|{_UXSECT}'),
		('MAPSTO',       fr'\\mapsto'),
		('EMPTYSET',     fr'\\emptyset'),
		('SETMINUS',     fr'\\setminus'),
		('SUBSTACK',      r'\\substack'),

		('CMP',          fr'==|!=|<=|<|>=|>|{_IN_QUICK}|not\s+{_IN_QUICK}|(?:\\ne(?!g)q?|\\le|\\lt|\\ge|\\gt|\\in(?!fty)|\\notin)|{"|".join (AST.Cmp.UNI2PY)}'),
		('OR',           fr'\\vee|{_UOR}|or(?!dered)'),
		('AND',          fr'\\wedge|{_UAND}|and'),
		('NOT',          fr'\\neg|{_UNOT}|not(?!_empty_in)'),
		('SQRT',          r'\\sqrt|sqrt(?!_mod|_mod_iter|denest)'),
		('LOG',           r'\\log|log(?!combine|gamma)'),
		('LN',            r'\\ln|ln'),

		('VAR',          fr"(?:(?:(\\partial\s?|partial|{_UPARTIAL})|(d(?!elta)))(partial|{_VAR_QUICK})|({_VAR_QUICK}))(?:(?<!\d)_{{(\d+)}})?"),
	])

	TOKENS_LONG    = OrderedDict () # initialized in __init__()

	_PARSER_TOP             = 'expr_scolon'
	_PARSER_CONFLICT_REDUCE = {'BAR'}

	# grammar definition and implementation

	def expr_scolon_1      (self, expr_scolon, SCOLON, expr_ass_lvals):                return expr_scolon if expr_ass_lvals == AST.CommaEmpty else AST.flatcat (';', expr_scolon, expr_ass_lvals)
	def expr_scolon_2      (self, expr_ass_lvals):                                     return AST ('(', expr_ass_lvals.curly) if expr_ass_lvals.is_curly and expr_ass_lvals.curly.ass_valid else expr_ass_lvals

	def expr_ass_lvals     (self, expr_commas):                                        return _expr_ass_lvals (expr_commas)

	def expr_commas_1      (self, expr_comma, COMMA):                                  return expr_comma if expr_comma.is_comma else AST (',', (expr_comma,))
	def expr_commas_2      (self, expr_comma):                                         return expr_comma
	def expr_commas_3      (self):                                                     return AST.CommaEmpty
	def expr_comma_1       (self, expr_comma, COMMA, expr_colon):                      return _expr_comma (expr_comma, expr_colon)
	def expr_comma_2       (self, expr_colon):                                         return expr_colon

	def expr_colon_1       (self, expr, COLON, expr_colon):                            return _expr_colon (expr, expr_colon)
	def expr_colon_2       (self, expr, COLON):                                        return AST ('-slice', expr, False, None)
	def expr_colon_3       (self, COLON, expr_colon):                                  return _ast_pre_slice (False, expr_colon)
	def expr_colon_4       (self, COLON):                                              return AST ('-slice', False, False, None)
	def expr_colon_5       (self, expr):                                               return expr

	def expr               (self, expr_ass):                                           return expr_ass

	def expr_ass_1         (self, expr_mapsto1, EQ, expr_mapsto2):                     return AST ('=', expr_mapsto1, expr_mapsto2)
	def expr_ass_2         (self, expr_mapsto):                                        return expr_mapsto

	def expr_mapsto_1      (self, expr_paren, MAPSTO, expr_colon):                     return _expr_mapsto (expr_paren.strip, expr_colon)
	def expr_mapsto_2      (self, expr_piece):                                         return expr_piece

	def expr_piece_1       (self, expr_or, IF, expr, ELSE, expr_mapsto):               return _expr_piece (expr_or, expr, expr_mapsto)
	def expr_piece_2       (self, expr_or, IF, expr):                                  return AST ('-piece', ((expr_or, expr),))
	def expr_piece_3       (self, expr_or):                                            return expr_or

	def expr_or_1          (self, expr_or, OR, expr_and):                              return AST.flatcat ('-or', expr_or, expr_and)
	def expr_or_2          (self, expr_and):                                           return expr_and

	def expr_and_1         (self, expr_and, AND, expr_not):                            return AST.flatcat ('-and', expr_and, expr_not)
	def expr_and_2         (self, expr_not):                                           return expr_not

	def expr_not_1         (self, NOT, expr_not):                                      return AST ('-not', expr_not)
	def expr_not_2         (self, expr_cmp):                                           return expr_cmp

	def expr_cmp_1         (self, expr_cmp, CMP, expr_union):                          return _expr_cmp (expr_cmp, CMP, expr_union)
	def expr_cmp_2         (self, expr_union):                                         return expr_union

	def expr_union_1       (self, expr_union, UNION, expr_sdiff):                      return AST.flatcat ('||', expr_union, expr_sdiff)
	def expr_union_2       (self, expr_sdiff):                                         return expr_sdiff

	def expr_sdiff_1       (self, expr_sdiff, SDIFF, expr_xsect):                      return AST.flatcat ('^^', expr_sdiff, expr_xsect)
	def expr_sdiff_2       (self, expr_xsect):                                         return expr_xsect

	def expr_xsect_1       (self, expr_xsect, XSECT, expr_add):                        return AST.flatcat ('&&', expr_xsect, expr_add)
	def expr_xsect_2       (self, expr_add):                                           return expr_add

	def expr_add_1         (self, expr_add, PLUS, expr_mul_exp):                       return _expr_add (self, expr_add, expr_mul_exp)
	def expr_add_2         (self, expr_add, MINUS, expr_mul_exp):                      return _expr_add (self, expr_add, AST ('-', expr_mul_exp))
	def expr_add_3         (self, expr_add, SETMINUS, expr_mul_exp):                   return _expr_add (self, expr_add, AST ('-', expr_mul_exp))
	def expr_add_4         (self, expr_mul_exp):                                       return expr_mul_exp

	def expr_mul_exp_1     (self, expr_mul_exp, CDOT, expr_neg):                       return _expr_mul_exp (self, expr_mul_exp, expr_neg) # AST.flatcat ('*exp', expr_mul_exp, expr_neg)
	def expr_mul_exp_2     (self, expr_mul_exp, STAR, expr_neg):                       return _expr_mul_exp (self, expr_mul_exp, expr_neg) # AST.flatcat ('*exp', expr_mul_exp, expr_neg)
	def expr_mul_exp_3     (self, expr_neg):                                           return expr_neg

	def expr_neg_1         (self, MINUS, expr_neg):                                    return _expr_neg (expr_neg)
	def expr_neg_2         (self, expr_div):                                           return expr_div

	def expr_div_1         (self, expr_div, DIVIDE, expr_divm):                        return PopConfs (_expr_diff (_expr_div (expr_div, expr_divm))) # d / dx *imp* y
	def expr_div_2         (self, expr_mul_imp):                                       return PopConfs (_expr_diff (expr_mul_imp)) # \frac{d}{dx} *imp* y
	def expr_divm_1        (self, MINUS, expr_divm):                                   return PopConfs (_expr_neg (expr_divm))
	def expr_divm_2        (self, expr_mul_imp):                                       return expr_mul_imp

	def expr_mul_imp_1     (self, expr_mul_imp, expr_intg):                            return _expr_mul_imp (self, expr_mul_imp, expr_intg) # PopConfs (AST.flatcat ('*', expr_mul_imp, expr_intg))
	def expr_mul_imp_2     (self, expr_intg):                                          return expr_intg

	def expr_intg_1        (self, INTG, expr_sub, expr_super, expr_add):               return _expr_intg (expr_add, (expr_sub, expr_super))
	def expr_intg_2        (self, INTG, expr_super, expr_add):                         return _expr_intg (expr_add, (AST.Zero, expr_super))
	def expr_intg_3        (self, INTG, expr_add):                                     return _expr_intg (expr_add)
	def expr_intg_4        (self, expr_lim):                                           return expr_lim

	def expr_lim_1         (self, LIM, CURLYL, expr_var, TO, expr, CURLYR, expr_neg):                          return AST ('-lim', expr_neg, expr_var, expr)
	def expr_lim_2         (self, LIM, CURLYL, expr_var, TO, expr, caret_or_dblstar, PLUS, CURLYR, expr_neg):  return AST ('-lim', expr_neg, expr_var, expr, '+')
	def expr_lim_3         (self, LIM, CURLYL, expr_var, TO, expr, caret_or_dblstar, MINUS, CURLYR, expr_neg): return AST ('-lim', expr_neg, expr_var, expr, '-')
	def expr_lim_6         (self, expr_sum):                                                                   return expr_sum

	def expr_sum_1         (self, SUM, CURLYL, expr_var, EQ, expr_commas, CURLYR, expr_super, expr_neg):       return AST ('-sum', expr_neg, expr_var, expr_commas, expr_super)
	def expr_sum_2         (self, expr_diffp_ics):                                                             return expr_diffp_ics

	def expr_diffp_ics_1   (self, expr_diffp, expr_pcommas):                           return PopConfs (_expr_diffp_ics (expr_diffp, expr_pcommas))
	def expr_diffp_ics_2   (self, expr_diffp):                                         return expr_diffp

	def expr_diffp_1       (self, expr_diffp, PRIME):                                  return AST ('-diffp', expr_diffp.diffp, expr_diffp.count + 1) if expr_diffp.is_diffp else AST ('-diffp', expr_diffp, 1)
	def expr_diffp_2       (self, expr_func):                                          return expr_func

	def expr_func_1        (self, SQRT, expr_neg_arg):                                 return _expr_func (1, '-sqrt', expr_neg_arg)
	def expr_func_2        (self, SQRT, expr_super, expr_neg_arg):                     return AST ('^', _expr_func (1, '-sqrt', expr_neg_arg), expr_super, is_pypow = expr_super.is_dblstar)
	def expr_func_3        (self, SQRT, BRACKL, expr_commas, BRACKR, expr_neg_arg):    return _expr_func (1, '-sqrt', expr_neg_arg, expr_commas)
	def expr_func_4        (self, LN, expr_neg_arg):                                   return _expr_func (1, '-log', expr_neg_arg)
	def expr_func_5        (self, LN, expr_super, expr_neg_arg):                       return AST ('^', _expr_func (1, '-log', expr_neg_arg), expr_super, is_pypow = expr_super.is_dblstar)
	def expr_func_6        (self, LOG, expr_neg_arg):                                  return _expr_func (1, '-log', expr_neg_arg)
	def expr_func_7        (self, LOG, expr_super, expr_neg_arg):                      return AST ('^', _expr_func (1, '-log', expr_neg_arg), expr_super, is_pypow = expr_super.is_dblstar)
	def expr_func_8        (self, LOG, expr_sub, expr_neg_arg):                        return _expr_func (1, '-log', expr_neg_arg, expr_sub)
	def expr_func_9        (self, FUNC, expr_neg_arg):                                 return _expr_func_func (FUNC, expr_neg_arg)
	def expr_func_10       (self, FUNC, expr_super, expr_neg_arg):                     return _expr_func_func (FUNC, expr_neg_arg, expr_super)
	def expr_func_11       (self, expr_pow):                                           return expr_pow

	def expr_func_12       (self, SQRT, EQ, expr_mapsto):                              return AST ('=', ('@', 'sqrt'), expr_mapsto) # allow usage of function names in keyword arguments, dunno about this
	def expr_func_13       (self, LN, EQ, expr_mapsto):                                return AST ('=', ('@', 'ln'), expr_mapsto)
	def expr_func_14       (self, LOG, EQ, expr_mapsto):                               return AST ('=', ('@', 'log'), expr_mapsto)
	def expr_func_15       (self, FUNC, EQ, expr_mapsto):                              return AST ('=', ('@', _FUNC_name (FUNC)), expr_mapsto)

	def expr_pow_1         (self, expr_diffp_ics, expr_super):                         return AST ('^', expr_diffp_ics, expr_super, is_pypow = expr_super.is_dblstar)
	def expr_pow_2         (self, expr_fact):                                          return expr_fact

	def expr_fact_1        (self, expr_diffp_ics, EXCL):                               return AST ('!', expr_diffp_ics)
	def expr_fact_2        (self, expr_attr):                                          return expr_attr

	def expr_attr_1        (self, expr_diffp_ics, ATTR, expr_pcommas):                 return PopConfs (AST ('.', expr_diffp_ics, (ATTR.grp [0] or ATTR.grp [1]).replace ('\\', ''), expr_pcommas.comma if expr_pcommas.is_comma else (expr_pcommas,)))
	def expr_attr_2        (self, expr_diffp_ics, ATTR):                               return PopConfs (AST ('.', expr_diffp_ics, (ATTR.grp [0] or ATTR.grp [1]).replace ('\\', '')))
	def expr_attr_3        (self, expr_idx):                                           return expr_idx

	def expr_idx_1         (self, expr_diffp_ics, expr_bcommas):                       return PopConfs (AST ('-idx', expr_diffp_ics, expr_bcommas.comma if expr_bcommas.is_comma else (expr_bcommas,)))
	def expr_idx_2         (self, expr_abs):                                           return expr_abs

	def expr_abs_1         (self, L_BAR, expr_commas, R_BAR):                          return AST ('|', expr_commas) if not expr_commas.is_comma else _raise (SyntaxError ('absolute value does not take a comma expression'))
	def expr_abs_2         (self, BAR1, expr_commas, BAR2):                            return AST ('|', expr_commas) if not expr_commas.is_comma else _raise (SyntaxError ('absolute value does not take a comma expression'))
	def expr_abs_3         (self, expr_paren):                                         return expr_paren

	def expr_paren_1       (self, expr_pcommas):                                       return AST ('(', expr_pcommas, is_paren_tex = expr_pcommas.is_commas_tex) if not expr_pcommas.is_lamb_mapsto else expr_pcommas.setkw (is_lamb_mapsto = False)
	def expr_paren_2       (self, expr_bracket):                                       return expr_bracket
	def expr_pcommas_1     (self, CURLYL, L_PARENL, expr_commas, R_PARENR, CURLYR):    return expr_commas.setkw (is_commas_tex = True)
	def expr_pcommas_2     (self, L_PARENL, expr_commas, R_PARENR):                    return expr_commas
	def expr_pcommas_3     (self, PARENL, expr_commas, PARENR):                        return expr_commas

	def expr_bracket_1     (self, expr_bcommas):                                       return AST ('[', expr_bcommas.comma if expr_bcommas.is_comma else (expr_bcommas,))
	def expr_bracket_2     (self, expr_ufunc_ics):                                     return expr_ufunc_ics
	def expr_bcommas_1     (self, L_BRACKL, expr_commas, R_BRACKR):                    return expr_commas
	def expr_bcommas_2     (self, BRACKL, expr_commas, BRACKR):                        return expr_commas

	def expr_ufunc_ics_1   (self, expr_ufunc, expr_pcommas):                           return _expr_ufunc_ics (self, expr_ufunc, expr_pcommas)
	def expr_ufunc_ics_2   (self, expr_ufunc):                                         return expr_ufunc

	def expr_ufunc_1       (self, UFUNCPY, expr_pcommas):                              return _expr_ufunc (self, expr_pcommas, py = True)
	def expr_ufunc_2       (self, UFUNC, expr_var, expr_pcommas):                      return _expr_ufunc (self, expr_pcommas, name = expr_var.var)
	def expr_ufunc_3       (self, UFUNC, expr_pcommas):                                return _expr_ufunc (self, expr_pcommas)
	def expr_ufunc_4       (self, expr_varfunc):                                       return expr_varfunc

	def expr_varfunc_2     (self, expr_var_or_sub, expr_intg):                         return _expr_varfunc (self, expr_var_or_sub, expr_intg)
	def expr_varfunc_3     (self, expr_sym):                                           return expr_sym

	def expr_sym_1         (self, SYMPY, expr_pcommas):                                return _expr_sym (self, expr_pcommas, py = True)
	def expr_sym_2         (self, SYM, expr_var, expr_pcommas):                        return _expr_sym (self, expr_pcommas, name = expr_var.var)
	def expr_sym_3         (self, SYM, expr_pcommas):                                  return _expr_sym (self, expr_pcommas)
	def expr_sym_4         (self, SYM, expr_var):                                      return _expr_sym (self, AST.CommaEmpty, name = expr_var.var)
	def expr_sym_5         (self, SYM):                                                return _expr_sym (self, AST.CommaEmpty, name = '')
	def expr_sym_6         (self, expr_subs):                                          return expr_subs

	def expr_subs_1        (self, L_DOT, expr_commas, R_BAR, SUB, CURLYL, subsvars, CURLYR):  return _expr_subs (expr_commas, subsvars)
	def expr_subs_2        (self, SLASHDOT, expr_commas, BAR, SUB, CURLYL, subsvars, CURLYR): return _expr_subs (expr_commas, subsvars)
	def expr_subs_3        (self, expr_cases):                                         return expr_cases
	def subsvars_1         (self, SUBSTACK, CURLYL, subsvarss, CURLYR):                return subsvarss
	def subsvars_2         (self, expr_commas):                                        return expr_commas
	def subsvarss_1        (self, subsvarsv, DBLSLASH):                                return subsvarsv
	def subsvarss_2        (self, subsvarsv):                                          return subsvarsv
	def subsvarsv_1        (self, subsvarsv, DBLSLASH, expr_ass):                      return subsvarsv + (expr_ass,) if expr_ass.is_ass else _raise (SyntaxError ('expecting assignment'))
	def subsvarsv_2        (self, expr_ass):                                           return (expr_ass,) if expr_ass.is_ass else _raise (SyntaxError ('expecting assignment'))

	def expr_cases_1       (self, BEG_CASES, casess, END_CASES):                       return AST ('-piece', casess) # AST ('{', ('-piece', casess))
	def expr_cases_2       (self, expr_mat):                                           return expr_mat
	def casess_1           (self, casessp, DBLSLASH):                                  return casessp
	def casess_2           (self, casessp):                                            return casessp
	def casessp_1          (self, casessp, DBLSLASH, casessc):                         return casessp + (casessc,)
	def casessp_2          (self, casessc):                                            return (casessc,)
	def casessc_1          (self, expr1, AMP, expr2):                                  return (expr1, expr2)
	def casessc_2          (self, expr, AMP):                                          return (expr, True)

	def expr_mat_1         (self, L_BRACKL, BEG_MAT, mat_rows, END_MAT, R_BRACKR):     return _expr_mat (mat_rows)
	def expr_mat_2         (self, BEG_MAT, mat_rows, END_MAT):                         return _expr_mat (mat_rows)
	def expr_mat_3         (self, BEG_BMAT, mat_rows, END_BMAT):                       return _expr_mat (mat_rows)
	def expr_mat_4         (self, BEG_VMAT, mat_rows, END_VMAT):                       return _expr_mat (mat_rows)
	def expr_mat_5         (self, BEG_PMAT, mat_rows, END_PMAT):                       return _expr_mat (mat_rows)
	def expr_mat_6         (self, expr_vec):                                           return expr_vec
	def mat_rows_1         (self, mat_row, DBLSLASH):                                  return mat_row
	def mat_rows_2         (self, mat_row):                                            return mat_row
	def mat_rows_3         (self):                                                     return ()
	def mat_row_1          (self, mat_row, DBLSLASH, mat_col):                         return mat_row + (mat_col,)
	def mat_row_2          (self, mat_col):                                            return (mat_col,)
	def mat_col_1          (self, mat_col, AMP, expr):                                 return mat_col + (expr,)
	def mat_col_2          (self, expr):                                               return (expr,)

	def expr_vec_1         (self, SLASHBRACKL, expr_commas, BRACKR):                   return _expr_vec (expr_commas)
	def expr_vec_2         (self, expr_frac):                                          return expr_frac

	def expr_frac_1        (self, FRAC, expr_binom1, expr_binom2):                     return _expr_diff (AST ('/', expr_binom1, expr_binom2))
	def expr_frac_2        (self, FRAC1, expr_binom):                                  return _expr_diff (AST ('/', _ast_from_tok_digit_or_var (FRAC1), expr_binom))
	def expr_frac_3        (self, FRAC2):                                              return _expr_diff (AST ('/', _ast_from_tok_digit_or_var (FRAC2), _ast_from_tok_digit_or_var (FRAC2, 3)))
	def expr_frac_4        (self, expr_binom):                                         return expr_binom

	def expr_binom_1       (self, BINOM, expr_curly1, expr_curly2):                    return AST ('-func', 'binomial', (expr_curly1, expr_curly2))
	def expr_binom_2       (self, BINOM1, expr_curly):                                 return AST ('-func', 'binomial', (_ast_from_tok_digit_or_var (BINOM1), expr_curly))
	def expr_binom_3       (self, BINOM2):                                             return AST ('-func', 'binomial', (_ast_from_tok_digit_or_var (BINOM2), _ast_from_tok_digit_or_var (BINOM2, 3)))
	def expr_binom_4       (self, expr_curly):                                         return expr_curly

	def expr_curly_1       (self, L_SLASHCURLYL, expr_commas, R_SLASHCURLYR):          return _expr_curly (expr_commas, forceset = True)
	def expr_curly_2       (self, CURLYL, expr_commas, CURLYR):                        return _expr_curly (expr_commas)
	def expr_curly_3       (self, SLASHCURLYL, expr_commas, SLASHCURLYR):              return AST ('-set', expr_commas.comma) if expr_commas.is_comma else AST ('-set', (expr_commas,))
	def expr_curly_4       (self, SLASHCURLYL, expr_commas, CURLYR):                   return AST ('-set', expr_commas.comma) if expr_commas.is_comma else AST ('-set', (expr_commas,))
	def expr_curly_5       (self, expr_term):                                          return expr_term

	def expr_term_1        (self, expr_var_or_sub):                                    return expr_var_or_sub
	def expr_term_2        (self, expr_num):                                           return expr_num
	def expr_term_3        (self, STR):                                                return AST ('"', py_ast.literal_eval (STR.grp [0] or STR.grp [1].replace ('\\}', '}')))
	def expr_term_4        (self, EMPTYSET):                                           return AST.SetEmpty

	def expr_var_or_sub_1  (self, expr_var):                                           return expr_var
	def expr_var_or_sub_2  (self, SUB):                                                return AST ('@', '_') # special cased for last expression variable
	def expr_var_or_sub_3  (self, SLASHSUB):                                           return AST ('@', '_') # special cased for last expression variable

	def expr_var           (self, VAR):                                                return _expr_var (VAR)
	def expr_num           (self, NUM):                                                return _expr_num (NUM)

	def expr_sub_1         (self, WSUB, expr_frac):                                    return expr_frac
	def expr_sub_2         (self, WSUB1):                                              return _ast_from_tok_digit_or_var (WSUB1)

	def expr_super_1       (self, DBLSTAR, expr_neg_arg):                              expr_neg_arg.is_dblstar = True; return expr_neg_arg
	def expr_super_3       (self, CARET, expr_frac):                                   return expr_frac
	def expr_super_4       (self, CARET1):                                             return _ast_from_tok_digit_or_var (CARET1)

	def expr_neg_arg_1     (self, NOT, expr_neg_arg):                                  return AST ('-not', expr_neg_arg)
	def expr_neg_arg_2     (self, MINUS, expr_neg_arg):                                return _expr_neg (expr_neg_arg)
	def expr_neg_arg_3     (self, expr_diffp_ics):                                     return expr_diffp_ics

	def caret_or_dblstar_1 (self, DBLSTAR):                                            return '**'
	def caret_or_dblstar_2 (self, CARET):                                              return '^'

	#...............................................................................................
	# autocomplete means autocomplete AST tree so it can be rendered, not necessarily expression

	def stack_has_sym (self, sym):
		return any (st.sym == sym for st in self.stack)

	def in_intg (self):
		for st in reversed (self.stack):
			if st.sym == 'INTG':
				return True

			if st.sym in {'LIM', 'SUM', 'L_DOT', 'L_PARENL', 'L_BRACKL', 'L_BAR', 'L_SLASHCURLYL', 'TO', 'UNION', 'SDIFF', 'XSECT', 'BEG_MAT',
					'BEG_BMAT', 'BEG_VMAT', 'BEG_PMAT', 'BEG_CASES', 'SLASHDOT', 'SCOLON', 'SLASHCURLYL', 'SLASHBRACKL', 'CURLYL', 'PARENL', 'BRACKL'}:
				break

		return False

	#...............................................................................................

	_AUTOCOMPLETE_SUBSTITUTE = {
		'CARET1'          : 'CARET',
		'WSUB1'           : 'SUB',
		'FRAC2'           : 'FRAC',
		'FRAC1'           : 'FRAC',
		'BINOM2'          : 'BINOM',
		'BINOM1'          : 'BINOM',
		'expr_super'      : 'CARET',
		'caret_or_dblstar': 'CARET',
	}

	_AUTOCOMPLETE_CONTINUE = {
		'COMMA'        : ',',
		'PARENL'       : '(',
		'PARENR'       : ')',
		'CURLYR'       : '}',
		'BRACKR'       : ']',
		'BAR'          : '|',
		'SLASHCURLYR'  : '\\}',
		'L_PARENL'     : '\\left(',
		'L_BAR'        : '\\left|',
		'R_PARENR'     : ' \\right)',
		'R_CURLYR'     : ' \\right}',
		'R_BRACKR'     : ' \\right]',
		'R_BAR'        : ' \\right|',
		'R_SLASHCURLYR': ' \\right\\}',
	}

	_AUTOCOMPLETE_COMMA_CLOSE = {
		'CURLYL'       : 'CURLYR',
		'PARENL'       : 'PARENR',
		'BRACKL'       : 'BRACKR',
		'SLASHCURLYL'  : 'CURLYR',
		'SLASHBRACKL'  : 'BRACKR',
		'L_PARENL'     : 'R_PARENR',
		'L_BRACKL'     : 'R_BRACKR',
		'L_SLASHCURLYL': 'R_SLASHCURLYR',
	}

	def _insert_symbol (self, sym, tokinc = 0):
		tokidx       = self.tokidx
		self.tokidx += tokinc

		for sym in ((sym,) if isinstance (sym, str) else sym):
			if sym in self.TOKENS:
				self.tokens.insert (tokidx, sym if isinstance (sym, Token) else Token (self._AUTOCOMPLETE_SUBSTITUTE.get (sym, sym), '', self.tok.pos))

				if self.autocompleting:
					if sym not in self._AUTOCOMPLETE_CONTINUE:
						self.autocompleting = False
					else:
						self.autocomplete.append (self._AUTOCOMPLETE_CONTINUE [sym])

			else:
				self.tokens.insert (tokidx, Token (self._AUTOCOMPLETE_SUBSTITUTE.get (sym, 'VAR'), '', self.tok.pos, ('', '', '', '', '')))
				self._mark_error ()

			tokidx += 1

		return True # for convenience

	def _mark_error (self, sym_ins = None, tokinc = 0, at = None):
		self.autocompleting = False

		if self.erridx is None:
			self.erridx = self.tokens [self.tokidx].pos if at is None else at

		if sym_ins is not None:
			return self._insert_symbol (sym_ins, tokinc)

	def _parse_autocomplete_expr_commas (self, rule, pos):
		idx = -pos

		if self.tokens [self.tokidx - 1] == 'COMMA' and (self.stack [idx].sym not in {'CURLYL', 'PARENL', 'L_SLASHCURLYL', 'L_PARENL'} or \
				not self.stack [-1].red.is_comma or self.stack [-1].red.comma.len > 1):
			self._mark_error ()

		return self._insert_symbol (self._AUTOCOMPLETE_COMMA_CLOSE [self.stack [idx].sym])

	def _parse_autocomplete_expr_intg (self):
		s               = self.stack [-1]
		self.stack [-1] = State (s.idx, s.sym, s.pos, AST ('*', (s.red, AST.VarNull)))

		if self.autocompleting:
			vars = set (filter (lambda a: not (a.is_differential or a.is_part_any or a.var == '_'), s.red.free_vars))
		else:
			vars = set ()

		if len (vars) == 1:
			self.autocomplete.append (f' d{vars.pop ().var}')
		else:
			self._mark_error ()

		return True

	def parse_getextrastate (self):
		return (self.autocomplete [:], self.autocompleting, self.erridx, self.has_error)

	def parse_setextrastate (self, state):
		self.autocomplete, self.autocompleting, self.erridx, self.has_error = state

	def parse_result (self, red, erridx, autocomplete):
		res             = (red is None, not self.rederr, -erridx if erridx is not None else float ('-inf'), len (autocomplete), self.parse_idx, (red, erridx, autocomplete, self.rederr))
		self.parse_idx += 1

		if self.parse_best is None or res < self.parse_best:
			self.parse_best = res

		if os.environ.get ('SYMPAD_DEBUG'):
			if self.parse_idx <= 32:
				print ('parse:', res [-1], file = sys.stderr)

			elif self.parse_idx == 33:
				sys.stdout.write ('... |')
				sys.stdout.flush ()

			else:
				sys.stdout.write ('\x08' + '\\|/-' [self.parse_idx & 3])
				sys.stdout.flush ()

		return False # for convenience

	def parse_error (self): # add tokens to continue parsing for autocomplete if syntax allows
		self.has_error = True
		stack          = self.stack

		if isinstance (self.rederr, Incomplete):
			return self.parse_result (self.rederr.red, self.tok.pos, [])

		if self.tok != '$end':
			return self.parse_result (None, self.pos, [])

		irule, pos = self.strules [self.stidx] [0]
		rule       = self.rules [irule]

		if pos == 1:
			if rule == ('expr_func', ('FUNC', 'expr_neg_arg')):
				return self._insert_symbol (('PARENL', 'PARENR'))

			if rule == ('expr_paren', ('PARENL', 'expr_commas', 'PARENR')) and stack [-2].sym == 'expr_mul_imp' and \
					(stack [-2].red.is_attr or (stack [-2].red.is_var and stack [-2].red.var in _SP_USER_FUNCS)):
				return self._insert_symbol ('PARENR')

		if pos and rule [1] [pos - 1] == 'expr_commas' and rule [0] not in {'expr_sum', 'expr_abs', 'expr_func', 'expr_subs', 'subsvars'}: # {'expr_abs', 'expr_ufunc', 'varass'}:
			return self._parse_autocomplete_expr_commas (rule, pos)

		if pos >= len (rule [1]): # end of rule
			if rule [0] == 'expr_sub' and stack [-1 - len (rule [1])].sym == 'INTG':
				return self._insert_symbol ('CARET1')

			if rule [0] == 'expr_intg':
				return self._parse_autocomplete_expr_intg ()

			return self.parse_result (None, self.pos, []) if self.rederr else False

		return self._insert_symbol (rule [1] [pos])

	def parse_success (self, red):
		self.parse_result (red, self.erridx, self.autocomplete)

		return True # continue parsing if conflict branches remain to find best resolution

	def parse (self, text):
		def postprocess (res):
			return (_ast_mulexps_to_muls (res [0].no_curlys).flat.setkw (pre_parse_postprocess = res [0]),) + res [1:] if isinstance (res [0], AST) else res

		if not text.strip:
			return (AST.VarNull, 0, [])

		self.parse_idx      = 0
		self.parse_best     = None # (reduction, erridx, autocomplete)
		self.autocomplete   = []
		self.autocompleting = True
		self.erridx         = None
		self.has_error      = False

		if os.environ.get ('SYMPAD_DEBUG'):
			print (file = sys.stderr)

		LALR1.parse (self, text)

		res = self.parse_best [-1] if self.parse_best is not None else (None, 0, [], None)

		if os.environ.get ('SYMPAD_DEBUG'):
			if self.parse_idx >= 33:
				print (f'\x08total {self.parse_idx}', file = sys.stderr)
			elif self.parse_best is None:
				print (f'no parse', file = sys.stderr)

			print (file = sys.stderr)

		return postprocess (res)

def set_sp_user_funcs (user_funcs):
	global _SP_USER_FUNCS
	_SP_USER_FUNCS = user_funcs

def set_sp_user_vars (user_vars):
	global _SP_USER_VARS
	_SP_USER_VARS = user_vars

class sparser: # for single script
	RESERVED_WORDS    = RESERVED_WORDS
	set_sp_user_funcs = set_sp_user_funcs
	set_sp_user_vars  = set_sp_user_vars
	Parser            = Parser

# Patch SymPy bugs and inconveniences.

from collections import defaultdict

#...............................................................................................
def _Complement__new__ (cls, a, b, evaluate = True): # sets.Complement patched to sympify args
	if evaluate:
		return Complement.reduce (sympify (a), sympify (b))

	return Basic.__new__ (cls, a, b)

#...............................................................................................
# matrix multiplication itermediate simplification routines

def _dotprodsimp (a, b, simplify = True):
	"""Sum-of-products with optional intermediate product simplification
	targeted at the kind of blowup that occurs during summation of products.
	Intended to reduce expression blowup during matrix multiplication or other
	similar operations.

	Parameters
	==========

	a, b : iterable
		These will be multiplied then summed together either normally or
		using simplification on the intermediate products and cancelling at
		the end according to the 'simplify' flag. The elements must already be
		sympyfied and the sequences need not be of the same length, the shorter
		will be used.

	simplify : bool
		When set intermediate and final simplification will be used, not set
		will indicate a normal sum of products.
	"""

	expr = S.Zero
	itra = iter (a)
	itrb = iter (b)

	# simple non-simplified sum of products
	if not simplify:
		try:
			expr = next (itra) * next (itrb)

			for a in itra:
				expr += a * next (itrb)

		except StopIteration:
			pass

		return expr

	# part 1, the expanded summation
	try:
		prod    = next (itra) * next (itrb)
		_expand = getattr (prod, 'expand', None)
		expr    = _expand (power_base = False, power_exp = False, log = False, \
				multinomial = False, basic = False) if _expand else prod

		for a in itra:
			prod     = a * next (itrb)
			_expand  = getattr (prod, 'expand', None)
			expr    += _expand (power_base = False, power_exp = False, log = False, \
					multinomial = False, basic = False) if _expand else prod

	except StopIteration:
		pass

	# part 2, the cancelation and grouping
	try:
		exprops  = count_ops (expr)
		expr2    = expr.expand (power_base = False, power_exp = False, log = False, multinomial = True, basic = False)
		expr2ops = count_ops (expr2)

		if expr2ops < exprops:
			expr    = expr2
			exprops = expr2ops

		if exprops < 6: # empirically tested cutoff for expensive simplification
			return expr

		expr2    = cancel (expr)
		expr2ops = count_ops (expr2)

		if expr2ops < exprops:
			expr    = expr2
			exprops = expr2ops

		expr3    = together (expr2, deep = True)
		expr3ops = count_ops (expr3)

		if expr3ops < exprops:
			return expr3

	except:
		pass

	return expr

def _MatrixArithmetic_eval_matrix_mul (self, other):
	return self._new (self.rows, other.cols, lambda i, j:
		_dotprodsimp ((self [i,k] for k in range (self.cols)),
		(other [k,j] for k in range (self.cols))))

def _DenseMatrix_eval_matrix_mul (self, other):
	other_len = other.rows * other.cols
	new_len   = self.rows * other.cols
	new_mat   = [S.Zero] * new_len

	# if we multiply an n x 0 with a 0 x m, the
	# expected behavior is to produce an n x m matrix of zeros
	if self.cols != 0 and other.rows != 0:
		for i in range (new_len):
			row, col    = i // other.cols, i % other.cols
			row_indices = range (self.cols * row, self.cols * (row + 1))
			col_indices = range (col, other_len, other.cols)
			new_mat [i] = _dotprodsimp (
				(self._mat [a] for a in row_indices),
				(other._mat [b] for b in col_indices))

	return classof (self, other)._new (self.rows, other.cols, new_mat, copy = False)

def _SparseMatrix_eval_matrix_mul (self, other):
	"""Fast multiplication exploiting the sparsity of the matrix."""
	if not isinstance (other, SparseMatrix):
		return self.mul (self._new (other))

	# if we made it here, we're both sparse matrices
	# create quick lookups for rows and cols
	row_lookup = defaultdict (dict)
	for (i,j), val in self._smat.items ():
		row_lookup [i][j] = val
	col_lookup = defaultdict (dict)
	for (i,j), val in other._smat.items ():
		col_lookup [j][i] = val

	smat = {}
	for row in row_lookup.keys ():
		for col in col_lookup.keys ():
			# find the common indices of non-zero entries.
			# these are the only things that need to be multiplied.
			indices = set (col_lookup [col].keys ()) & set (row_lookup [row].keys ())
			if indices:
				smat [row, col] = _dotprodsimp ((row_lookup [row][k] for k in indices),
					(col_lookup [col][k] for k in indices))

	return self._new (self.rows, other.cols, smat)

#...............................................................................................
SPATCHED = False

try: # try to patch and fail silently if sympy has changed too much since this was written
	from sympy import sympify, S, count_ops, cancel, together, SparseMatrix, Basic, Complement, boolalg
	from sympy.matrices.common import MatrixArithmetic, classof
	from sympy.matrices.dense import DenseMatrix
	from sympy.matrices.sparse import SparseMatrix

	Complement.__new__                      = _Complement__new__ # sets.Complement sympify args fix

	# itermediate matrix multiplication simplification
	_SYMPY_MatrixArithmetic_eval_matrix_mul = MatrixArithmetic._eval_matrix_mul
	_SYMPY_DenseMatrix_eval_matrix_mul      = DenseMatrix._eval_matrix_mul
	_SYMPY_SparseMatrix_eval_matrix_mul     = SparseMatrix._eval_matrix_mul

	MatrixArithmetic._eval_matrix_mul       = _MatrixArithmetic_eval_matrix_mul
	DenseMatrix._eval_matrix_mul            = _DenseMatrix_eval_matrix_mul
	SparseMatrix._eval_matrix_mul           = _SparseMatrix_eval_matrix_mul

	# enable math on booleans
	boolalg.BooleanTrue.__int__             = lambda self: 1
	boolalg.BooleanTrue.__float__           = lambda self: 1.0
	boolalg.BooleanTrue.__complex__         = lambda self: 1+0j
	boolalg.BooleanTrue.as_coeff_Add        = lambda self, *a, **kw: (S.Zero, S.One)
	boolalg.BooleanTrue.as_coeff_Mul        = lambda self, *a, **kw: (S.One, S.One)
	boolalg.BooleanTrue._eval_evalf         = lambda self, *a, **kw: S.One

	boolalg.BooleanFalse.__int__            = lambda self: 0
	boolalg.BooleanFalse.__float__          = lambda self: 0.0
	boolalg.BooleanFalse.__complex__        = lambda self: 0j
	boolalg.BooleanFalse.as_coeff_Mul       = lambda self, *a, **kw: (S.Zero, S.Zero)
	boolalg.BooleanFalse.as_coeff_Add       = lambda self, *a, **kw: (S.Zero, S.Zero)
	boolalg.BooleanFalse._eval_evalf        = lambda self, *a, **kw: S.Zero

	boolalg.BooleanAtom.__add__             = lambda self, other: self.__int__ () + other
	boolalg.BooleanAtom.__radd__            = lambda self, other: other + self.__int__ ()
	boolalg.BooleanAtom.__sub__             = lambda self, other: self.__int__ () - other
	boolalg.BooleanAtom.__rsub__            = lambda self, other: other - self.__int__ ()
	boolalg.BooleanAtom.__mul__             = lambda self, other: self.__int__ () * other
	boolalg.BooleanAtom.__rmul__            = lambda self, other: other * self.__int__ ()
	boolalg.BooleanAtom.__pow__             = lambda self, other: self.__int__ () ** other
	boolalg.BooleanAtom.__rpow__            = lambda self, other: other ** self.__int__ ()
	boolalg.BooleanAtom.__div__             = lambda self, other: self.__int__ () / other
	boolalg.BooleanAtom.__rdiv__            = lambda self, other: other / self.__int__ ()
	boolalg.BooleanAtom.__truediv__         = lambda self, other: self.__int__ () / other
	boolalg.BooleanAtom.__rtruediv__        = lambda self, other: other / self.__int__ ()
	boolalg.BooleanAtom.__floordiv__        = lambda self, other: self.__int__ () // other
	boolalg.BooleanAtom.__rfloordiv__       = lambda self, other: other // self.__int__ ()
	boolalg.BooleanAtom.__mod__             = lambda self, other: self.__int__ () % other
	boolalg.BooleanAtom.__rmod__            = lambda self, other: other % self.__int__ ()

	SPATCHED = True

except:
	pass

def set_matmulsimp (state):
	if SPATCHED:
		idx                               = bool (state)
		MatrixArithmetic._eval_matrix_mul = (_SYMPY_MatrixArithmetic_eval_matrix_mul, _MatrixArithmetic_eval_matrix_mul) [idx]
		DenseMatrix._eval_matrix_mul      = (_SYMPY_DenseMatrix_eval_matrix_mul, _DenseMatrix_eval_matrix_mul) [idx]
		SparseMatrix._eval_matrix_mul     = (_SYMPY_SparseMatrix_eval_matrix_mul, _SparseMatrix_eval_matrix_mul) [idx]

class spatch: # for single script
	SPATCHED       = SPATCHED
	set_matmulsimp = set_matmulsimp
# Plot functions and expressions to image using matplotlib.

import base64
from io import BytesIO
import itertools as it
import math

import sympy as sp

_SPLOT = False

try:
	import matplotlib
	import matplotlib.pyplot as plt

	matplotlib.style.use ('bmh') # ('seaborn') # ('classic') # ('fivethirtyeight')

	_SPLOT       = True
	_FIGURE      = None
	_TRANSPARENT = True

except:
	pass

#...............................................................................................
def _cast_num (arg):
	try:
		return float (arg)
	except:
		return None

def _process_head (obj, args, fs, style = None, ret_xrng = False, ret_yrng = False, kw = {}):
	global _FIGURE, _TRANSPARENT

	if style is not None:
		if style [:1] == '-':
			style, _TRANSPARENT = style [1:], True
		else:
			_TRANSPARENT = False

		matplotlib.style.use (style)

	args = list (reversed (args))

	if args and args [-1] == '+': # continuing plot on previous figure?
		args.pop ()

	elif _FIGURE:
		plt.close (_FIGURE)

		_FIGURE = None

	if not _FIGURE:
		_FIGURE = plt.figure ()

	if fs is not None: # process figsize if present
		if isinstance (fs, (sp.Tuple, tuple)):
			fs = (_cast_num (fs [0]), _cast_num (fs [1]))

		else:
			fs = _cast_num (fs)

			if fs >= 0:
				fs = (fs, fs * 3 / 4)
			else:
				fs = (-fs, -fs)

		_FIGURE.set_figwidth (fs [0])
		_FIGURE.set_figheight (fs [1])

	xmax, ymin, ymax = None, None, None
	xmin             = _cast_num (args [-1]) if args else None

	if xmin is not None: # process xmin / xmax, ymin, ymax if present
		args = args [:-1]
		xmax = _cast_num (args [-1]) if args else None

		if xmax is not None:
			args = args [:-1]
			ymin = _cast_num (args [-1]) if args else None

			if ymin is not None:
				args = args [:-1]
				ymax = _cast_num (args [-1]) if args else None

				if ymax is not None:
					args = args [:-1]
				else:
					xmin, xmax, ymin, ymax = -xmin, xmin, xmax, ymin
		else:
			xmin, xmax = -xmin, xmin

	if xmin is not None:
		obj.xlim (xmin, xmax)
	elif ret_xrng:
		xmin, xmax = obj.xlim ()

	if ymin is not None:
		obj.ylim (ymin, ymax)
	elif ret_yrng:
		ymin, ymax = obj.ylim ()

	kw = dict ((k, # cast certain sympy objects which don't play nice with matplotlib using numpy
		int (v) if isinstance (v, sp.Integer) else
		float (v) if isinstance (v, (sp.Float, sp.Rational)) else
		v) for k, v in kw.items ())

	return args, xmin, xmax, ymin, ymax, kw

def _process_fmt (args, kw = {}):
	kw    = kw.copy ()
	fargs = []

	if args and isinstance (args [-1], str):
		fmt, lbl = (args.pop ().split ('=', 1) + [None]) [:2]
		fmt, clr = (fmt.split ('#', 1) + [None]) [:2]

		if lbl:
			kw ['label'] = lbl.strip ()

		if clr:
			clr = clr.strip ()

			if len (clr) == 6:
				try:
					_   = int (clr, 16)
					clr = f'#{clr}'
				except:
					pass

			kw ['color'] = clr

		fargs = [fmt.strip ()]

	if args and isinstance (args [-1], dict):
		kw.update (args.pop ())

	return args, fargs, kw

def _figure_to_image ():
	data = BytesIO ()

	_FIGURE.savefig (data, format = 'png', bbox_inches = 'tight', facecolor = 'none', edgecolor = 'none', transparent = _TRANSPARENT)

	return base64.b64encode (data.getvalue ()).decode ()

#...............................................................................................
def plotf (*args, fs = None, res = 12, style = None, **kw):
	"""Plot function(s), point(s) and / or line(s).

plotf ([+,] [limits,] *args, fs = None, res = 12, **kw)

limits  = set absolute axis bounds: (default x is (0, 1), y is automatic)
  x              -> (-x, x, y auto)
  x0, x1         -> (x0, x1, y auto)
  x, y0, y1      -> (-x, x, y0, y1)
  x0, x1, y0, y1 -> (x0, x1, y0, y1)

fs      = set figure figsize if present: (default is (6.4, 4.8))
  x      -> (x, x * 3 / 4)
  -x     -> (x, x)
  (x, y) -> (x, y)

res     = minimum target resolution points per 50 x pixels (more or less 1 figsize x unit),
          may be raised a little to align with grid
style   = optional matplotlib plot style

*args   = functions and their formatting: (func, ['fmt',] [{kw},] func, ['fmt',] [{kw},] ...)
  func                      -> callable function takes x and returns y
	(x, y)                    -> point at x, y
	(x0, y0, x1, y1, ...)     -> connected lines from x0, y1 to x1, y1 to etc...
	((x0, y0), (x1, y1), ...) -> same thing

	fmt                       = 'fmt[#color][=label]'
	"""

	if not _SPLOT:
		return None

	obj    = plt
	legend = False

	args, xmin, xmax, ymin, ymax, kw = _process_head (obj, args, fs, style, ret_xrng = True, kw = kw)

	while args:
		arg = args.pop ()

		if isinstance (arg, (sp.Tuple, tuple, list)): # list of x, y coords
			if isinstance (arg [0], (sp.Tuple, tuple, list)):
				arg = list (it.chain.from_iterable (arg))

			pargs = [arg [0::2], arg [1::2]]

		else: # y = function (x)
			if not callable (arg):
				if len (arg.free_symbols) != 1:
					raise ValueError ('expression must have exactly one free variable')

				arg = sp.Lambda (arg.free_symbols.pop (), arg)

			win = _FIGURE.axes [-1].get_window_extent ()
			xrs = (win.x1 - win.x0) // 50 # scale resolution to roughly 'res' points every 50 pixels
			rng = res * xrs
			dx  = dx2 = xmax - xmin

			while dx2 < (res * xrs) / 2: # align sampling grid on integers and fractions of integers while rng stays small enough
				rng = int (rng + (dx2 - (rng % dx2)) % dx2)
				dx2 = dx2 * 2

			xs = [xmin + dx * i / rng for i in range (rng + 1)]
			ys = [None] * len (xs)

			for i in range (len (xs)):
				try:
					ys [i] = _cast_num (arg (xs [i]))
				except (ValueError, ZeroDivisionError, FloatingPointError):
					pass

			# remove lines crossing graph vertically due to poles (more or less)
			if ymin is not None:
				for i in range (1, len (xs)):
					if ys [i] is not None and ys [i-1] is not None:
						if ys [i] < ymin and ys [i-1] > ymax:
							ys [i] = None
						elif ys [i] > ymax and ys [i-1] < ymin:
							ys [i] = None

			pargs = [xs, ys]

		args, fargs, kwf = _process_fmt (args, kw)
		legend           = legend or ('label' in kwf)

		obj.plot (*(pargs + fargs), **kwf)

	if legend or 'label' in kw:
		obj.legend ()

	return _figure_to_image ()

#...............................................................................................
def __fxfy2fxy (f1, f2): # u = f1 (x, y), v = f2 (x, y) -> (u, v) = f' (x, y)
	return lambda x, y, f1 = f1, f2 = f2: (float (f1 (x, y)), float (f2 (x, y)))

def __fxy2fxy (f): # (u, v) = f (x, y) -> (u, v) = f' (x, y)
	return lambda x, y, f = f: tuple (float (v) for v in f (x, y))

def __fdy2fxy (f): # v/u = f (x, y) -> (u, v) = f' (x, y)
	return lambda x, y, f = f: tuple ((math.cos (t), math.sin (t)) for t in (math.atan2 (f (x, y), 1),)) [0]

def _process_funcxy (args, testx, testy):
	isdy = False
	f    = args.pop ()

	if isinstance (f, (sp.Tuple, tuple, list)): # if (f1 (x, y), f2 (x, y)) functions or expressions present in args they are individual u and v functions
		c1, c2 = callable (f [0]), callable (f [1])

		if c1 and c2: # two Lambdas
			f = __fxfy2fxy (f [0], f [1])

		elif not (c1 or c2): # two expressions
			vars = tuple (sorted (sp.Tuple (f [0], f [1]).free_symbols, key = lambda s: s.name))

			if len (vars) != 2:
				raise ValueError ('expression must have exactly two free variables')

			return args, __fxfy2fxy (sp.Lambda (vars, f [0]), sp.Lambda (vars, f [1])), False

		else:
			raise ValueError ('field must be specified by two lambdas or two expressions, not a mix')

	# one function or expression
	if not callable (f): # convert expression to function
		if len (f.free_symbols) != 2:
			raise ValueError ('expression must have exactly two free variables')

		f = sp.Lambda (tuple (sorted (f.free_symbols, key = lambda s: s.name)), f)

	for y in testy: # check if returns 1 dy or 2 u and v values
		for x in testx:
			try:
				v = f (x, y)
			except (ValueError, ZeroDivisionError, FloatingPointError):
				continue

			try:
				_, _ = v
				f    = __fxy2fxy (f)

				break

			except:
				f    = __fdy2fxy (f)
				isdy = True

				break

		else:
			continue

		break

	return args, f, isdy

_plotv_clr_mag  = lambda x, y, u, v: math.sqrt (u**2 + v**2)
_plotv_clr_dir  = lambda x, y, u, v: math.atan2 (v, u)

_plotv_clr_func = {'mag': _plotv_clr_mag, 'dir': _plotv_clr_dir}

#...............................................................................................
def plotv (*args, fs = None, res = 13, style = None, resw = 1, kww = {}, **kw):
	"""Plot vector field.

plotv (['+',] [limits,] func(s), [color,] [fmt,] [*walks,] fs = None, res = 13, style = None, resw = 1, kww = {}, **kw)

limits  = set absolute axis bounds: (default x is (0, 1), y is automatic)
  x              -> (-x, x, y auto)
  x0, x1         -> (x0, x1, y auto)
  x, y0, y1      -> (-x, x, y0, y1)
  x0, x1, y0, y1 -> (x0, x1, y0, y1)

fs      = set figure figsize if present: (default is (6.4, 4.8))
  x      -> (x, x / 6 * 4)
  -x     -> (x, x)
  (x, y) -> (x, y)

res     = (w, h) number of arrows across x and y dimensions, if single digit then h will be w*3/4
resw    = resolution for optional plotw, see plotw for meaning
kww     = optional keyword arguments to be passed to plotw if that is being called
style   = optional matplotlib plot style

func(s) = function or two functions or expressions returning either (u, v) or v/u
	f (x, y)               -> returning (u, v)
	f (x, y)               -> returning v/u will be interpreted without direction
	(f1 (x, y), f2 (x, y)) -> returning u and v respectively

color   = followed optionally by individual arrow color selection function (can not be expression)
	'mag'               -> color by magnitude of (u, v) vector
	'dir'               -> color by direction of (u, v) vector
  f (x, y, u, v)      -> relative scalar, will be scaled according to whole field to select color

fmt     = followed optionally by color and label format string '[#color][=label]'

*walks  = followed optionally by arguments to plotw for individual x, y walks and formatting
	"""

	if not _SPLOT:
		return None

	obj = plt

	args, xmin, xmax, ymin, ymax, kw = _process_head (obj, args, fs, style, ret_xrng = True, ret_yrng = True, kw = kw)

	if not isinstance (res, (sp.Tuple, tuple, list)):
		win = _FIGURE.axes [-1].get_window_extent ()
		res = (int (res), int ((win.y1 - win.y0) // ((win.x1 - win.x0) / (res + 1))))
	else:
		res = (int (res [0]), int (res [1]))

	xs = (xmax - xmin) / (res [0] + 1)
	ys = (ymax - ymin) / (res [1] + 1)
	x0 = xmin + xs / 2
	y0 = ymin + ys / 2
	xd = (xmax - xs / 2) - x0
	yd = (ymax - ys / 2) - y0
	X  = [[x0 + xd * i / (res [0] - 1)] * res [1] for i in range (res [0])]
	Y  = [y0 + yd * i / (res [1] - 1) for i in range (res [1])]
	Y  = [Y [:] for _ in range (res [0])]
	U  = [[0] * res [1] for _ in range (res [0])]
	V  = [[0] * res [1] for _ in range (res [0])]

	args, f, isdy = _process_funcxy (args, [x [0] for x in X], Y [0])

	if isdy:
		d, kw = kw, {'headwidth': 0, 'headlength': 0, 'headaxislength': 0, 'pivot': 'middle'}
		kw.update (d)

	# populate U and Vs from X, Y grid
	for j in range (res [1]):
		for i in range (res [0]):
			try:
				U [i] [j], V [i] [j] = f (X [i] [j], Y [i] [j])
			except (ValueError, ZeroDivisionError, FloatingPointError):
				U [i] [j] = V [i] [j] = 0

	clrf = None

	if args:
		if callable (args [-1]): # color function present? f (x, y, u, v)
			clrf = args.pop ()

		elif isinstance (args [-1], str): # pre-defined color function string?
			clrf = _plotv_clr_func.get (args [-1])

			if clrf:
				args.pop ()

	args, _, kw = _process_fmt (args, kw)

	if clrf:
		C = [[float (clrf (X [i] [j], Y [i] [j], U [i] [j], V [i] [j])) for j in range (res [1])] for i in range (res [0])]

		obj.quiver (X, Y, U, V, C, **kw)

	else:
		obj.quiver (X, Y, U, V, **kw)

	if 'label' in kw:
		obj.legend ()

	if args: # if arguments remain, pass them on to plotw to draw differential curves
		plotw (resw = resw, from_plotv = (args, xmin, xmax, ymin, ymax, f), **kww)

	return _figure_to_image ()

#...............................................................................................
def plotw (*args, fs = None, resw = 1, style = None, from_plotv = False, **kw):
	"""Plot walk(s) over vector field.

plotw (['+',] [limits,] func(s), *args, fs = None, resw = 1, style = None, **kw)

limits  = set absolute axis bounds: (default x is (0, 1), y is automatic)
  x              -> (-x, x, y auto)
  x0, x1         -> (x0, x1, y auto)
  x, y0, y1      -> (-x, x, y0, y1)
  x0, x1, y0, y1 -> (x0, x1, y0, y1)

fs      = set figure figsize if present: (default is (6.4, 4.8))
  x      -> (x, x / 6 * 4)
  -x     -> (x, x)
  (x, y) -> (x, y)

resw    = maximum pixel steps to allow walk step to deviate before drawing, smaller = better quality
style   = optional matplotlib plot style

func(s) = function or two functions returning either (u, v) or v/u
	f (x, y)            -> returning (u, v)
	f (x, y)            -> returning v/u will be interpreted without direction
	f (x, y), f2 (x, y) -> returning u and v respectively

*args   = followed by initial x, y points for walks (x, y, ['fmt',] [{kw},] x, y, ['fmt',] [{kw},] ...)
	fmt   = 'fmt[#color][=label]'

HACK: Python complex type used as 2D vector.
	"""

	def dot (p0, p1): # dot product of two 2d vectors stored as complexes
		return p0.real * p1.real + p0.imag * p1.imag

	def walk (x, y, f, o = 1): # returns [(x, y), (x, y), ...], True if looped else False
		def delta (p, d = None):
			try:
				t = math.atan2 (*(f (p.real, p.imag) [::-1]))

				return complex (math.cos (t), math.sin (t))

			except (ValueError, ZeroDivisionError, FloatingPointError):
				if d is not None:
					return d

			raise FloatingPointError

		xys = [(x, y)]
		err = 0
		p0  = complex (x, y)
		p   = p0
#		d   = pxs
		d   = delta (p, pxs)

		while 1:
#			d  = delta (p, d)
			s  = 0
			o2 = o
			p2 = p
			d2 = d

			while 1:
				st = 0.25 * pxm
				d3 = o2 * d2

				while 1:
					p3 = p2 + d3 * st # * pxm

					try:
						d4 = delta (p3)
						dc = math.acos (dot (d2, d4))

						if dc > 2.748893571891069: # (7 * pi / 8), abrupt reverse of direction?
							o2 = -o2

						elif dc > 0.005:
							st = st * (0.004 / dc)
							continue

						err = err + dc * st # * pxm
						d2  = d4

						break

					except FloatingPointError:
						break

				s      = s + st
				isloop = (dot (d3, p0 - p2) > 0) and abs (p3 - p0) < (2 * err) # (8 * pxm)
				p2     = p3

				if isloop or p2.real < xmin or p2.real > xmax or p2.imag < ymin or p2.imag > ymax:
					xys.extend ([(p2.real, p2.imag)] + [(x, y)] * bool (isloop))
					return xys, isloop

				if abs (p2 - (p + o * d * s)) >= resw: # * pxm)) >= resw:
					xys.append ((p2.real, p2.imag))

					o = o2
					p = p2
					d = d2

					break

	if not _SPLOT:
		return None

	obj = plt

	if from_plotv:
		args, xmin, xmax, ymin, ymax, f  = from_plotv
	else:
		args, xmin, xmax, ymin, ymax, kw = _process_head (obj, args, fs, style, ret_xrng = True, ret_yrng = True, kw = kw)
		args, f, _                       = _process_funcxy (args, [xmin + (xmax - xmin) * i / 4 for i in range (5)], [ymin + (ymax - ymin) * i / 4 for i in range (5)])

	win  = _FIGURE.axes [-1].get_window_extent ()
	pxs  = complex ((xmax - xmin) / (win.x1 - win.x0), (ymax - ymin) / (win.y1 - win.y0)) # pixel scale from xmin/max ymin/max scale
	pxm  = abs (pxs)
	resw = resw * pxm

	leg = False

	while args:
		x, y        = args.pop ()
		xys, isloop = walk (x, y, f)

		if not isloop:
			xys = xys [::-1] [:-1] + walk (x, y, f, -1) [0]

		args, fargs, kwf = _process_fmt (args, kw)
		leg              = leg or ('label' in kwf)

		obj.plot (*([[xy [0] for xy in xys], [xy [1] for xy in xys]] + fargs), **kwf)

	if leg or 'label' in kw:
		obj.legend ()

	return _figure_to_image ()

#...............................................................................................
class splot: # for single script
	plotf = plotf
	plotv = plotv
	plotw = plotw
#!/usr/bin/env python3
# python 3.6+

# Server for web component and state machine for expressions.

import getopt
import io
import json
import os
import re
import subprocess
import sys
import time
import threading
import traceback
import webbrowser

from collections import OrderedDict
from http.server import HTTPServer, SimpleHTTPRequestHandler
from socketserver import ThreadingMixIn
from urllib.parse import parse_qs


_VERSION         = '1.1'

_ONE_FUNCS       = {'N', 'O', 'S', 'beta', 'gamma', 'Gamma', 'Lambda', 'zeta'}
_ENV_OPTS        = {'EI', 'quick', 'pyS', 'simplify', 'matsimp', 'ufuncmap', 'prodrat', 'doit', 'strict', *_ONE_FUNCS}
_ENV_OPTS_ALL    = _ENV_OPTS.union (f'no{opt}' for opt in _ENV_OPTS)

__OPTS, __ARGV   = getopt.getopt (sys.argv [1:], 'hvnudr', ['child', 'firstrun', 'help', 'version', 'nobrowser', 'ugly', 'debug', 'restert', *_ENV_OPTS_ALL])
__IS_MAIN        = __name__ == '__main__'
__IS_MODULE_RUN  = sys.argv [0] == '-m'

_SERVER_DEBUG    = __IS_MAIN and __ARGV and __ARGV [0] == 'server-debug'

_SYMPAD_PATH     = os.path.dirname (sys.argv [0])
_SYMPAD_NAME     = os.path.basename (sys.argv [0])
_SYMPAD_RESTART  = not __IS_MODULE_RUN and (('-r', '') in __OPTS or ('--restart', '') in __OPTS)
_SYMPAD_CHILD    = not _SYMPAD_RESTART or ('--child', '') in __OPTS
_SYMPAD_FIRSTRUN = not _SYMPAD_RESTART or ('--firstrun', '') in __OPTS
_SYMPAD_DEBUG    = os.environ.get ('SYMPAD_DEBUG')

_DEFAULT_ADDRESS = ('localhost', 9000)
_STATIC_FILES    = {'/style.css': 'text/css', '/script.js': 'text/javascript', '/index.html': 'text/html',
	'/help.html': 'text/html', '/bg.png': 'image/png', '/wait.webp': 'image/webp'}

_HELP            = f'usage: sympad [options] [host:port | host | :port]' '''

  -h, --help               - Show help information
  -v, --version            - Show version string
  -n, --nobrowser          - Don't start system browser to SymPad page
  -u, --ugly               - Start in draft display style (only on command line)
  -d, --debug              - Dump debug info to server log
  -r, --restart            - Restart server on source file changes (for development)
  --EI, --noEI             - Start with SymPy constants 'E' and 'I' or regular 'e' and 'i'
  --quick, --noquick       - Start in/not quick input mode
  --pyS, --nopyS           - Start with/out Python S escaping
  --simplify, --nosimplify - Start with/out post-evaluation simplification
  --matsimp, --nomatsimp   - Start with/out matrix simplification
  --ufuncmap, --noufuncmap - Start with/out undefined function mapping back to variables
  --prodrat, --noprodrat   - Start with/out separate product leading rational
  --doit, --nodoit         - Start with/out automatic expression doit()
  --strict, --nostrict     - Start with/out strict LaTeX formatting
  --N, --noN               - Start with/out N function
  --S, --noS               - Start with/out S function
  --O, --noO               - Start with/out O function
  --beta, --nobeta         - Start with/out beta function
  --gamma, --nogamma       - Start with/out gamma function
  --Gamma, --noGamma       - Start with/out Gamma function
  --Lambda, --noLambda     - Start with/out Lambda function
  --zeta, --nozeta         - Start with/out zeta function
'''.lstrip ()

if _SYMPAD_CHILD: # sympy slow to import so don't do it for watcher process as is unnecessary there

	import sympy as sp

	_SYS_STDOUT    = sys.stdout
	_DISPLAYSTYLE  = [1] # use "\displaystyle{}" formatting in MathJax
	_HISTORY       = []  # persistent history across browser closings

	_UFUNC_MAPBACK = True # map undefined functions from SymPy back to variables if possible
	_UFUNC_MAP     = {} # map of ufunc asts to ordered sequence of variable names
	_SYM_MAP       = {} # map of sym asts to ordered sequence of variable names
	_SYM_VARS      = set () # set of all variables mapped to symbols

	_PARSER        = sparser.Parser ()
	_START_ENV     = OrderedDict ([
		('EI', False), ('quick', False), ('pyS', True), ('simplify', False), ('matsimp', True), ('ufuncmap', True), ('prodrat', False), ('doit', True), ('strict', False),
		('N', True), ('O', True), ('S', True), ('beta', True), ('gamma', True), ('Gamma', True), ('Lambda', True), ('zeta', True)])

	_ENV           = _START_ENV.copy () # This is individual session STATE! Threading can corrupt this! It is GLOBAL to survive multiple Handlers.
	_VARS          = {'_': AST.Zero} # This also!

#...............................................................................................
def _admin_vars (*args):
	asts = _sorted_vars ()

	if not asts:
		return 'No variables defined.'

	return asts

def _admin_del (*args):
	vars = OrderedDict ()
	msgs = []

	for arg in args:
		var = arg.as_identifier

		if var is None or var == '_':
			raise TypeError (f'invalid argument {sym.ast2nat (arg)!r}')

		vars [var] = _VARS.get (var)

		if vars [var] is None:
			raise AE35UnitError (f'Variable {var!r} is not defined, it can only be attributable to human error.')

	for var, ast in vars.items ():
		msgs.append (f'{"Lambda function" if ast.is_lamb else "Undefined function" if ast.is_ufunc else "Variable"} {var!r} deleted.')

		del _VARS [var]

	_vars_updated ()

	if not msgs:
		msgs.append ('No variables specified!')

	return msgs

def _admin_delall (*args):
	last_var    = _VARS ['_']

	_VARS.clear ()

	_VARS ['_'] = last_var

	_vars_updated ()

	return 'All variables deleted.'

def _admin_env (*args):
	vars_updated = False

	def _envop (env, apply):
		nonlocal vars_updated

		msgs = []

		for var, state in env.items ():
			if apply:
				_ENV [var] = state

			if var == 'EI':
				msgs.append (f'Uppercase E and I is {"on" if state else "off"}.')

				if apply:
					AST.EI (state)

					for var in (AST.E.var, AST.I.var):
						if var in _VARS:
							del _VARS [var]

			elif var == 'quick':
				msgs.append (f'Quick input mode is {"on" if state else "off"}.')

				if apply:
					sym.set_quick (state)
					_PARSER.set_quick (state)

					vars_updated = True

			elif var == 'pyS':
				msgs.append (f'Python S escaping is {"on" if state else "off"}.')

				if apply:
					sym.set_pyS (state)

			elif var == 'simplify':
				msgs.append (f'Post-evaluation simplify is {"on" if state else "off"}.')

				if apply:
					sym.set_simplify (state)

			elif var == 'matsimp':
				msgs.append (f'Matrix simplify is {"broken" if not spatch.SPATCHED else "on" if state else "off"}.')

				if apply:
					spatch.set_matmulsimp (state)

			elif var == 'ufuncmap':
				msgs.append (f'Undefined function map to variable is {"on" if state else "off"}.')

				if apply:
					global _UFUNC_MAPBACK
					_UFUNC_MAPBACK = state

			elif var == 'prodrat':
				msgs.append (f'Leading product rational is {"on" if state else "off"}.')

				if apply:
					sym.set_prodrat (state)

			elif var == 'doit':
				msgs.append (f'Expression doit is {"on" if state else "off"}.')

				if apply:
					sym.set_doit (state)

			elif var == 'strict':
				msgs.append (f'Strict LaTeX formatting is {"on" if state else "off"}.')

				if apply:
					sym.set_strict (state)

			elif var in _ONE_FUNCS:
				msgs.append (f'Function {var} is {"on" if state else "off"}.')

				if apply:
					vars_updated = True

		return msgs

	# start here
	if not args:
		return _envop (_ENV, False)

	env = OrderedDict ()

	for arg in args:
		if arg.is_ass:
			var = arg.lhs.as_identifier

			if var:
				state = bool (sym.ast2spt (arg.rhs))

		else:
			var = arg.as_identifier

			if var:
				if var [:2] == 'no':
					var, state = var [2:], False
				else:
					state = True

		if var is None:
			raise TypeError (f'invalid argument {sym.ast2nat (arg)!r}')
		elif var not in _ENV_OPTS:
			raise NameError (f'invalid environment setting {var!r}')

		env [var] = state

	ret = _envop (env, True)

	if vars_updated:
		_vars_updated ()

	return ret

def _admin_envreset (*args):
	return ['Environment has been reset.<br><br>'] + _admin_env (*(AST ('@', var if state else f'no{var}') for var, state in _START_ENV.items ()))

#...............................................................................................
class RealityRedefinitionError (NameError):	pass
class CircularReferenceError (RecursionError): pass
class AE35UnitError (Exception): pass

def _mapback (ast, assvar = None, exclude = set ()): # map back ufuncs and symbols to the variables they are assigned to if possible
	if not isinstance (ast, AST):
		return ast

	if ast.is_var:
		if ast.var not in _SYM_VARS:
			return ast

		if ast.var == assvar:
			raise CircularReferenceError ('trying to assign unqualified symbol to variable of the same name')

		return AST ('-sym', ast.var)

	if ast.is_sym:
		vars = _SYM_MAP.get (ast)

		if not vars:
			return ast

		if ast.sym in vars:
			return AST ('@', ast.sym)

		return AST ('@', next (iter (vars)))

	if _UFUNC_MAPBACK:
		if ast.is_ass and ast.lhs.is_ufunc:
			return AST ('=', ast.lhs, _mapback (ast.rhs, assvar, exclude))
		elif not ast.is_ufunc:
			return AST (*(_mapback (a, assvar, exclude) for a in ast))

		vars = _UFUNC_MAP.get (ast)

		if vars: # prevent mapping to self on assignment
			if ast.ufunc in vars and ast.ufunc not in exclude:
				return AST ('@', ast.ufunc)

			for var in vars:
				if var not in exclude:
					return AST ('@', var)

	return AST (*(_mapback (a, assvar, exclude) for a in ast))

def _present_vars (vars):
	asts = []

	for v, e in vars:
		if v != '_':
			if e.is_lamb:
				asts.append (AST ('=', ('-ufunc', v, tuple (('@', vv) for vv in e.vars)), e.lamb))
			else:
				asts.append (AST ('=', ('@', v), e))

	return asts

def _sorted_vars ():
	return _present_vars (sorted (_VARS.items (), key = lambda kv: (kv [1].op not in {'-lamb', '-ufunc'}, kv [0])))

def _vars_updated ():
	one_funcs  = set (f for f in filter (lambda f: _ENV.get (f), _ONE_FUNCS)) # hidden functions for stuff like N and gamma
	user_funcs = one_funcs.copy ()

	for var, ast in _VARS.items ():
		if ast.is_lamb:
			user_funcs.add (var)

	vars = {v: AST.apply_vars (a, _VARS, mode = False) for v, a in _VARS.items ()} # flattened vars so sym and sparser don't need to do apply_vars()

	sym.set_sym_user_funcs (user_funcs)
	sym.set_sym_user_vars (vars)
	sparser.set_sp_user_funcs (user_funcs)
	sparser.set_sp_user_vars (vars)

	_UFUNC_MAP.clear ()
	_SYM_MAP.clear ()
	_SYM_VARS.clear ()

	for v, a in vars.items (): # build ufunc and sym mapback dict
		if v != '_':
			if a.is_ufunc:
				_UFUNC_MAP.setdefault (a, set ()).add (v)

			elif a.is_sym:
				_SYM_MAP.setdefault (a, set ()).add (v)
				_SYM_VARS.add (v)

def _prepare_ass (ast): # check and prepare for simple or tuple assignment
	if not ast.ass_valid:
		vars = None
	elif ast.ass_valid.error:
		raise RealityRedefinitionError (ast.ass_valid.error)

	else:
		vars, ast = ast.ass_valid.lhs, ast.ass_valid.rhs
		vars      = list (vars.comma) if vars.is_comma else [vars]

	return AST.apply_vars (ast, _VARS), vars

def _execute_ass (ast, vars): # execute assignment if it was detected
	def set_vars (vars):
		nvars = {}

		for v, a in vars.items ():
			v = v.var

			if a.is_ufunc_anonymous:
				a = AST (a.op, v, *a [2:])

			elif a.is_sym_anonymous:
				if a.is_sym_unqualified:
					raise CircularReferenceError ('cannot asign unqualified anonymous symbol')

				a = AST (a.op, v, *a [2:])

			nvars [v] = a

		try: # check for circular references
			AST.apply_vars (AST (',', tuple (('@', v) for v in nvars)), {**_VARS, **nvars})
		except RecursionError:
			raise CircularReferenceError ("I'm sorry, Dave. I'm afraid I can't do that.") from None

		_VARS.update (nvars)

		return list (nvars.items ())

	# start here
	if not vars: # no assignment
		if not ast.is_ufunc:
			ast = _mapback (ast)

		_VARS ['_'] = ast

		_vars_updated ()

		return [ast]

	if len (vars) == 1: # simple assignment
		if ast.op not in {'-ufunc', '-sym'}:
			ast = _mapback (ast, vars [0].var, {vars [0].var})

		vars = set_vars ({vars [0]: ast})

	else: # tuple assignment
		ast = ast.strip_paren

		if ast.op in {',', '[', '-set'}:
			asts = ast [1]

		else:
			asts = []
			itr  = iter (sym.ast2spt (ast))

			for i in range (len (vars) + 1):
				try:
					ast = sym.spt2ast (next (itr))
				except StopIteration:
					break

				if vars [i].is_ufunc_named:
					asts.append (AST.Ass.ufunc2lamb (vars [i], ast))

					vars [i] = AST ('@', vars [i].ufunc)

				else:
					asts.append (ast)

		if len (vars) < len (asts):
			raise ValueError (f'too many values to unpack (expected {len (vars)})')
		elif len (vars) > len (asts):
			raise ValueError (f'not enough values to unpack (expected {len (vars)}, got {len (asts)})')

		vasts   = list (zip (vars, asts))
		exclude = set (va [0].var for va in filter (lambda va: va [1].is_ufunc, vasts))
		asts    = [a if a.op in {'-ufunc', '-sym'} else _mapback (a, v.var, exclude) for v, a in vasts]
		vars    = set_vars (dict (zip (vars, asts)))

	_vars_updated ()

	return _present_vars (vars)

#...............................................................................................
class Handler (SimpleHTTPRequestHandler):
	def vars (self, request):
		asts = _sorted_vars ()

		return {'vars': [{
			'tex': sym.ast2tex (ast),
			'nat': sym.ast2nat (ast),
			'py' : sym.ast2py (ast),
			} for ast in asts]}

	def validate (self, request):
		ast, erridx, autocomplete, error = _PARSER.parse (request ['text'])
		tex = nat = py                   = None

		if ast is not None:
			tex, xlattex = sym.ast2tex (ast, retxlat = True)
			nat, xlatnat = sym.ast2nat (ast, retxlat = True)
			py, xlatpy  = sym.ast2py (ast, retxlat = True)

			if _SYMPAD_DEBUG:
				print ('free:', list (v.var for v in ast.free_vars), file = sys.stderr)
				print ('ast: ', ast, file = sys.stderr)

				if xlattex:
					print ('astt:', repr (xlattex), file = sys.stderr)

				if xlatnat:
					print ('astn:', repr (xlatnat), file = sys.stderr)

				if xlatpy:
					print ('astp:', repr (xlatpy), file = sys.stderr)

				print ('tex: ', tex, file = sys.stderr)
				print ('nat: ', nat, file = sys.stderr)
				print ('py:  ', py, file = sys.stderr)
				print (file = sys.stderr)

		if isinstance (error, Exception):
			if isinstance (error, lalr1.Incomplete):
				error = 'incomplete'
			else:
				error = (f'{error.__class__.__name__}: ' if not isinstance (error, SyntaxError) else '') + error.args [0].replace ('\n', ' ').strip ()

		return {
			'tex'         : tex,
			'nat'         : nat,
			'py'          : py,
			'erridx'      : erridx,
			'autocomplete': autocomplete,
			'error'       : error,
		}

	def evaluate (self, request):
		def evalexpr (ast):
			sym.ast2spt.set_precision (ast)

			if ast.is_func and ast.func in AST.Func.PLOT: # plotting?
				args, kw = AST.args2kwargs (AST.apply_vars (ast.args, _VARS), sym.ast2spt)
				ret      = getattr (splot, ast.func) (*args, **kw)

				return {'msg': ['Plotting not available because matplotlib is not installed.']} if ret is None else {'img': ret}

			elif ast.is_func and ast.func in AST.Func.ADMIN: # special admin function?
				asts = globals () [f'_admin_{ast.func}'] (*ast.args)

				if isinstance (asts, str):
					return {'msg': [asts]}
				elif isinstance (asts, list) and isinstance (asts [0], str):
					return {'msg': asts}

			else: # not admin function, normal evaluation
				ast, vars = _prepare_ass (ast)

				if _SYMPAD_DEBUG:
					print ('ast:       ', ast, file = sys.stderr)

				try:
					spt, xlat = sym.ast2spt (ast, retxlat = True) # , _VARS)

					if _SYMPAD_DEBUG and xlat:
						print ('xlat:      ', xlat, file = sys.stderr)

					sptast = sym.spt2ast (spt)

				except:
					if _SYMPAD_DEBUG:
						print (file = sys.stderr)

					raise

				if _SYMPAD_DEBUG:
					try:
						print ('spt:       ', repr (spt), file = sys.stderr)
					except:
						pass

					print ('spt type:  ', type (spt), file = sys.stderr)

					try:
						print ('spt args:  ', repr (spt.args), file = sys.stderr)
					except:
						pass

					print ('spt latex: ', sp.latex (spt), file = sys.stderr)
					print ('spt ast:   ', sptast, file = sys.stderr)
					print ('spt tex:   ', sym.ast2tex (sptast), file = sys.stderr)
					print ('spt nat:   ', sym.ast2nat (sptast), file = sys.stderr)
					print ('spt py:    ', sym.ast2py (sptast), file = sys.stderr)
					print (file = sys.stderr)

				asts = _execute_ass (sptast, vars)

			response = {}

			if asts and asts [0] != AST.None_:
				response.update ({'math': [{
					'tex': sym.ast2tex (ast),
					'nat': sym.ast2nat (ast),
					'py' : sym.ast2py (ast),
					} for ast in asts]})

			return response

		# start here
		responses = []

		try:
			_HISTORY.append (request ['text'])

			ast, _, _, _ = _PARSER.parse (request ['text'])

			if ast:
				for ast in (ast.scolon if ast.is_scolon else (ast,)):
					sys.stdout = _SYS_STDOUT if _SERVER_DEBUG else io.StringIO ()
					response   = evalexpr (ast)

					if sys.stdout.tell ():
						responses.append ({'msg': sys.stdout.getvalue ().strip ().split ('\n')})

					responses.append (response)

		except Exception:
			if sys.stdout is not _SYS_STDOUT and sys.stdout.tell (): # flush any printed messages before exception
				responses.append ({'msg': sys.stdout.getvalue ().strip ().split ('\n')})

			etype, exc, tb = sys.exc_info ()

			if exc.args and isinstance (exc.args [0], str):
				exc = etype (exc.args [0].replace ('\n', ' ').strip (), *exc.args [1:]).with_traceback (tb) # reformat text to remove newlines

			responses.append ({'err': ''.join (traceback.format_exception (etype, exc, tb)).strip ().split ('\n')})

		finally:
			sys.stdout = _SYS_STDOUT

		return {'data': responses} if responses else {}

	def do_GET (self):
		if self.path == '/':
			self.path = '/index.html'

		fnm = os.path.join (_SYMPAD_PATH, self.path.lstrip ('/'))

		if self.path != '/env.js' and (self.path not in _STATIC_FILES or (not _RUNNING_AS_SINGLE_SCRIPT and not os.path.isfile (fnm))):
			self.send_error (404, f'Invalid path {self.path!r}')

		else:
			self.send_response (200)

			if self.path == '/env.js':
				content = 'text/javascript'
				data    = f'History = {_HISTORY}\nHistIdx = {len (_HISTORY)}\nVersion = {_VERSION!r}\nSymPyVersion = {sp.__version__!r}\nDisplayStyle = {_DISPLAYSTYLE [0]}'.encode ('utf8')

				self.send_header ('Cache-Control', 'no-store')

			else:
				content = _STATIC_FILES [self.path]

				if _RUNNING_AS_SINGLE_SCRIPT:
					data = _FILES [self.path [1:]]
				else:
					data = open (fnm, 'rb').read ()

			self.send_header ('Content-type', f'{content}')
			self.end_headers ()
			self.wfile.write (data)

	def do_POST (self):
		request = parse_qs (self.rfile.read (int (self.headers ['Content-Length'])).decode ('utf8'), keep_blank_values = True)

		for key, val in list (request.items ()):
			if isinstance (val, list) and len (val) == 1:
				request [key] = val [0]

		if request ['mode'] == 'vars':
			response = self.vars (request)

		else:
			if request ['mode'] == 'validate':
				response = self.validate (request)
			else: # if request ['mode'] == 'evaluate':
				response = {**self.evaluate (request), **self.vars (request)}

			response ['idx']  = request ['idx']
			response ['text'] = request ['text']

		response ['mode'] = request ['mode']

		self.send_response (200)
		self.send_header ('Content-type', 'application/json')
		self.send_header ('Cache-Control', 'no-store')
		self.end_headers ()
		self.wfile.write (json.dumps (response).encode ('utf8'))
		# self.wfile.write (json.dumps ({**request, **response}).encode ('utf8'))

#...............................................................................................
def start_server (logging = True):
	if not logging:
		Handler.log_message = lambda *args, **kwargs: None

	if ('--ugly', '') in __OPTS or ('-u', '') in __OPTS:
		_DISPLAYSTYLE [0] = 0

	for opt, _ in __OPTS:
		opt = opt.lstrip ('-')

		if opt in _ENV_OPTS_ALL:
			_admin_env (AST ('@', opt))

	_START_ENV.update (_ENV)
	_vars_updated ()

	if not __ARGV:
		host, port = _DEFAULT_ADDRESS
	else:
		host, port = (re.split (r'(?<=\]):' if __ARGV [0].startswith ('[') else ':', __ARGV [0]) + [_DEFAULT_ADDRESS [1]]) [:2]
		host, port = host.strip ('[]'), int (port)

	try:
		httpd  = HTTPServer ((host, port), Handler)
		thread = threading.Thread (target = httpd.serve_forever, daemon = True)

		thread.start ()

		return httpd

	except OSError as e:
		if e.errno != 98:
			raise

		print (f'Port {port} seems to be in use, try specifying different port as a command line parameter, e.g. localhost:9001')

		sys.exit (-1)

_MONTH_NAME = (None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')

def child ():
	def log_message (msg):
		y, m, d, hh, mm, ss, _, _, _ = time.localtime (time.time ())

		sys.stderr.write (f'{httpd.server_address [0]} - - ' \
				f'[{"%02d/%3s/%04d %02d:%02d:%02d" % (d, _MONTH_NAME [m], y, hh, mm, ss)}] {msg}\n')

	# start here
	httpd = start_server ()

	if _SYMPAD_FIRSTRUN and ('--nobrowser', '') not in __OPTS and ('-n', '') not in __OPTS:
		webbrowser.open (f'http://{httpd.server_address [0] if httpd.server_address [0] != "0.0.0.0" else "127.0.0.1"}:{httpd.server_address [1]}')

	if _SYMPAD_FIRSTRUN:
		print (f'SymPad v{_VERSION} server running. If a browser window does not automatically open to the address below then try navigating to that URL manually.\n')

	log_message (f'Serving at http://{httpd.server_address [0]}:{httpd.server_address [1]}/')

	if not _SYMPAD_RESTART:
		try:
			while 1:
				time.sleep (0.5) # thread.join () doesn't catch KeyboardInterupt on Windows

		except KeyboardInterrupt:
			sys.exit (0)

	else:
		fnms    = (_SYMPAD_NAME,) if _RUNNING_AS_SINGLE_SCRIPT else (_SYMPAD_NAME, 'splot.py', 'spatch.py', 'sparser.py', 'sym.py', 'sxlat.py', 'sast.py', 'lalr1.py')
		watch   = [os.path.join (_SYMPAD_PATH, fnm) for fnm in fnms]
		tstamps = [os.stat (fnm).st_mtime for fnm in watch]

		try:
			while 1:
				time.sleep (0.5)

				if [os.stat (fnm).st_mtime for fnm in watch] != tstamps:
					log_message ('Files changed, restarting...')
					sys.exit (0)

		except KeyboardInterrupt:
			sys.exit (0)

	sys.exit (-1)

def parent ():
	if not _SYMPAD_RESTART or __IS_MODULE_RUN:
		child () # does not return

	# continue as parent process and wait for child process to return due to file changes and restart it
	base      = [sys.executable] + sys.argv [:1] + ['--child'] # (['--child'] if __IS_MAIN else ['sympad', '--child'])
	opts      = [o [0] for o in __OPTS]
	first_run = ['--firstrun']

	try:
		while 1:
			ret       = subprocess.run (base + opts + first_run + __ARGV)
			first_run = []

			if ret.returncode != 0 and not _SYMPAD_DEBUG:
				sys.exit (0)

	except KeyboardInterrupt:
		sys.exit (0)

#...............................................................................................

def main ():
	if ('--help', '') in __OPTS or ('-h', '') in __OPTS:
		print (_HELP)
		sys.exit (0)

	if ('--version', '') in __OPTS or ('-v', '') in __OPTS:
		print (_VERSION)
		sys.exit (0)

	if ('--debug', '') in __OPTS or ('-d', '') in __OPTS:
		_SYMPAD_DEBUG = os.environ ['SYMPAD_DEBUG'] = '1'

	if _SYMPAD_CHILD:
		child ()
	else:
		parent ()

if __IS_MAIN:
	main ()
