Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, G

Time bar (total: 3.4s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 7 computations (0% saved)

sample511.0ms (14.9%)

Memory
9.4MiB live, 711.7MiB allocated
Samples
311.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 143.0ms
ival-div: 90.0ms (63.1% of total)
ival-sub: 38.0ms (26.6% of total)
exact: 7.0ms (4.9% of total)
ival-true: 5.0ms (3.5% of total)
ival-assert: 3.0ms (2.1% of total)
Bogosity

explain51.0ms (1.5%)

Memory
13.3MiB live, 91.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-#s(literal 1 binary64)
00-0-#s(literal 3 binary64)
00-0-(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
00-0-(/.f64 #s(literal 1 binary64) #s(literal 3 binary64))
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
18.0ms512×0valid
Compiler

Compiled 42 to 24 computations (42.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-div: 4.0ms (52.6% of total)
ival-sub: 2.0ms (26.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess14.0ms (0.4%)

Memory
-19.4MiB live, 18.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1189
2396
3636
4966
51046
61066
053
083
1133
2143
0143
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Outputs
(-.f64 x #s(literal 1/3 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune1.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Compiler

Compiled 5 to 5 computations (0% saved)

simplify3.0ms (0.1%)

Memory
3.2MiB live, 3.2MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
cost-diff704
(/.f64 #s(literal 1 binary64) #s(literal 3 binary64))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
087
1137
2147
0147
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
x
(/.f64 #s(literal 1 binary64) #s(literal 3 binary64))
#s(literal 1 binary64)
#s(literal 3 binary64)
Outputs
(-.f64 x #s(literal 1/3 binary64))
x
#s(literal 1/3 binary64)
#s(literal 1 binary64)
#s(literal 3 binary64)

localize13.0ms (0.4%)

Memory
19.7MiB live, 19.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(/.f64 #s(literal 1 binary64) #s(literal 3 binary64))
accuracy0.00390625
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Samples
9.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-div: 2.0ms (54.3% of total)
ival-sub: 1.0ms (27.2% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series1.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated
Counts
2 → 12
Calls
Call 1
Inputs
#s(alt #<batchref> (patch (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
((/ 1 3) (- x (/ 1 3)))
0.0ms
x
@-inf
((/ 1 3) (- x (/ 1 3)))
0.0ms
x
@0
((/ 1 3) (- x (/ 1 3)))

simplify19.0ms (0.6%)

Memory
-44.7MiB live, 11.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01330
13230
27530
315830
441230
552330
657630
759930
860130
060130
Stop Event
iter limit
saturated
Counts
12 → 10
Calls
Call 1
Inputs
-1/3
(- x 1/3)
(- x 1/3)
(- x 1/3)
x
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
Outputs
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))

rewrite152.0ms (4.4%)

Memory
18.4MiB live, 209.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
084
1274
21294
39794
085574
Stop Event
iter limit
node limit
iter limit
Counts
2 → 313
Calls
Call 1
Inputs
(/.f64 #s(literal 1 binary64) #s(literal 3 binary64))
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval39.0ms (1.2%)

Memory
-2.9MiB live, 72.1MiB allocated
Compiler

Compiled 8 147 to 763 computations (90.6% saved)

prune5.0ms (0.1%)

Memory
18.4MiB live, 18.4MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3203323
Fresh000
Picked101
Done000
Total3213324
Accuracy
100.0%
Counts
324 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
74.9%
(fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
100.0%
(-.f64 x #s(literal 1/3 binary64))
53.8%
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Compiler

Compiled 30 to 20 computations (33.3% saved)

simplify5.0ms (0.1%)

Memory
5.3MiB live, 5.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x #s(literal -1/3 binary64))
cost-diff0
(fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))
cost-diff0
(/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
cost-diff0
(*.f64 x x)
cost-diff0
(-.f64 x #s(literal 1/3 binary64))
cost-diff0
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01763
02563
13963
25062
36062
46662
06662
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
x
#s(literal 1/3 binary64)
(fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
(*.f64 x x)
x
(/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
(fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))
(-.f64 x #s(literal -1/3 binary64))
#s(literal -1/3 binary64)
#s(literal 1/9 binary64)
(/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
#s(literal -1/27 binary64)
Outputs
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
x
#s(literal 1/3 binary64)
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64))))
(*.f64 x x)
x
(/.f64 x (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64)))
(fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64))
(-.f64 x #s(literal -1/3 binary64))
#s(literal -1/3 binary64)
#s(literal 1/9 binary64)
(/.f64 #s(literal -1/27 binary64) (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64)))
#s(literal -1/27 binary64)

localize59.0ms (1.7%)

Memory
-18.9MiB live, 64.7MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0.01171875
(-.f64 x #s(literal -1/3 binary64))
accuracy0.08984375
(/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
accuracy14.936672711441545
(fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
accuracy15.030234256986494
(/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
accuracy0.00390625
(-.f64 x #s(literal 1/3 binary64))
accuracy29.597194368038707
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Samples
42.0ms245×0valid
5.0ms1valid
1.0ms2valid
Compiler

Compiled 136 to 37 computations (72.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 38.0ms
const: 19.0ms (49.7% of total)
ival-div: 8.0ms (20.9% of total)
ival-mult: 5.0ms (13.1% of total)
ival-sub: 4.0ms (10.5% of total)
ival-add: 2.0ms (5.2% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series9.0ms (0.3%)

Memory
10.8MiB live, 10.8MiB allocated
Counts
8 → 96
Calls
Call 1
Inputs
#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@inf
((- x (/ 1 3)) (- x 1/3) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (+ (* x (- x -1/3)) 1/9) (- x -1/3) (+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9)))
2.0ms
x
@-inf
((- x (/ 1 3)) (- x 1/3) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (+ (* x (- x -1/3)) 1/9) (- x -1/3) (+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9)))
2.0ms
x
@0
((- x (/ 1 3)) (- x 1/3) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (+ (* x (- x -1/3)) 1/9) (- x -1/3) (+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9)))

simplify136.0ms (4%)

Memory
12.9MiB live, 161.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0122482
1346478
2846470
32483466
46528466
08435450
Stop Event
iter limit
node limit
Counts
96 → 88
Calls
Call 1
Inputs
-1/3
(- x 1/3)
(- x 1/3)
(- x 1/3)
-1/3
(- x 1/3)
(- x 1/3)
(- x 1/3)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 9 x)
(* x (+ 9 (* -27 x)))
(* x (+ 9 (* x (- (* 243 (pow x 2)) 27))))
(* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27))))
1/9
(+ 1/9 (* 1/3 x))
(+ 1/9 (* x (+ 1/3 x)))
(+ 1/9 (* x (+ 1/3 x)))
1/3
(+ 1/3 x)
(+ 1/3 x)
(+ 1/3 x)
-1/3
(- x 1/3)
(- x 1/3)
(- x 1/3)
-1/3
(- x 1/3)
(- (* x (+ 1 (* -9 (pow x 2)))) 1/3)
(- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3)
x
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
x
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(/ 1 x)
(/ (- 1 (* 1/3 (/ 1 x))) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 x))) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) x)
(pow x 2)
(* (pow x 2) (+ 1 (* 1/3 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
x
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(/ -1/27 (pow x 2))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(/ 1 x)
(* -1 (/ (- (* 1/3 (/ 1 x)) 1) x))
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) x))
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) x))
(pow x 2)
(* (pow x 2) (+ 1 (* 1/3 (/ 1 x))))
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(/ -1/27 (pow x 2))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2))
Outputs
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 (fma.f64 #s(literal -27 binary64) x #s(literal 9 binary64)) x)
(*.f64 (fma.f64 (fma.f64 #s(literal 243 binary64) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -729 binary64) x #s(literal 243 binary64)) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
#s(literal 1/9 binary64)
(fma.f64 #s(literal 1/3 binary64) x #s(literal 1/9 binary64))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
#s(literal 1/3 binary64)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -9 binary64) (-.f64 x #s(literal 1/3 binary64)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 27 binary64) x #s(literal -9 binary64)) (-.f64 x #s(literal 1/3 binary64)))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(/.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/27 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/27 binary64) (/.f64 #s(literal 1/81 binary64) x)) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(*.f64 x x)
(*.f64 (+.f64 #s(literal 1/3 binary64) x) x)
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
x
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/.f64 (-.f64 (/.f64 #s(literal -1/729 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal -1/81 binary64) x) #s(literal -1/27 binary64))) (*.f64 x x))
(/.f64 (-.f64 (-.f64 #s(literal -1/27 binary64) (/.f64 (-.f64 #s(literal -1/81 binary64) (/.f64 #s(literal 1/2187 binary64) (pow.f64 x #s(literal 3 binary64)))) x)) (/.f64 #s(literal 1/729 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 x x))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(/.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/27 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/27 binary64) (/.f64 #s(literal 1/81 binary64) x)) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(*.f64 x x)
(*.f64 (+.f64 #s(literal 1/3 binary64) x) x)
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
x
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/.f64 (-.f64 (/.f64 #s(literal -1/729 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal -1/81 binary64) x) #s(literal -1/27 binary64))) (*.f64 x x))
(/.f64 (-.f64 (-.f64 #s(literal -1/27 binary64) (/.f64 (-.f64 #s(literal -1/81 binary64) (/.f64 #s(literal 1/2187 binary64) (pow.f64 x #s(literal 3 binary64)))) x)) (/.f64 #s(literal 1/729 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 x x))

rewrite468.0ms (13.7%)

Memory
-210.5MiB live, 254.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01756
02539
19839
272439
0893039
Stop Event
iter limit
node limit
iter limit
Counts
8 → 673
Calls
Call 1
Inputs
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
(fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))
(-.f64 x #s(literal -1/3 binary64))
(fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
(/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval161.0ms (4.7%)

Memory
31.0MiB live, 182.7MiB allocated
Compiler

Compiled 30 001 to 2 029 computations (93.2% saved)

prune61.0ms (1.8%)

Memory
10.8MiB live, 48.5MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New9521953
Fresh000
Picked123
Done000
Total9533956
Accuracy
100.0%
Counts
956 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.4%
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
100.0%
(-.f64 x #s(literal 1/3 binary64))
53.8%
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Compiler

Compiled 35 to 28 computations (20% saved)

simplify5.0ms (0.2%)

Memory
6.0MiB live, 6.0MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 9 binary64) x)
cost-diff0
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01664
02464
13464
24264
35164
45764
05764
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
(*.f64 x x)
x
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
(*.f64 #s(literal 9 binary64) x)
#s(literal 9 binary64)
(/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
#s(literal -1/27 binary64)
(fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))
(-.f64 x #s(literal -1/3 binary64))
#s(literal -1/3 binary64)
#s(literal 1/9 binary64)
Outputs
(fma.f64 #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (*.f64 x x) (/.f64 #s(literal -1/27 binary64) (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64))))
(*.f64 x x)
x
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
(*.f64 #s(literal 9 binary64) x)
#s(literal 9 binary64)
(/.f64 #s(literal -1/27 binary64) (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64)))
#s(literal -1/27 binary64)
(fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64))
(-.f64 x #s(literal -1/3 binary64))
#s(literal -1/3 binary64)
#s(literal 1/9 binary64)

localize68.0ms (2%)

Memory
-30.6MiB live, 88.1MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.01171875
(-.f64 x #s(literal -1/3 binary64))
accuracy0.08984375
(/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
accuracy14.936672711441545
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
accuracy29.470351993631606
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
Samples
49.0ms245×0valid
2.0ms1valid
1.0ms2valid
Compiler

Compiled 130 to 34 computations (73.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 43.0ms
ival-mult: 21.0ms (49.3% of total)
const: 10.0ms (23.5% of total)
ival-div: 7.0ms (16.4% of total)
ival-add: 2.0ms (4.7% of total)
ival-sub: 1.0ms (2.3% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
6.7MiB live, 6.7MiB allocated
Counts
6 → 72
Calls
Call 1
Inputs
#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())
#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (* 9 x) (/ -1/27 (+ (* x (- x -1/3)) 1/9)) (- x -1/3))
1.0ms
x
@inf
((+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (* 9 x) (/ -1/27 (+ (* x (- x -1/3)) 1/9)) (- x -1/3))
1.0ms
x
@0
((+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (* 9 x) (/ -1/27 (+ (* x (- x -1/3)) 1/9)) (- x -1/3))

simplify203.0ms (5.9%)

Memory
9.9MiB live, 212.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112386
1314382
2763382
32214378
46746378
08119369
Stop Event
iter limit
node limit
Counts
72 → 68
Calls
Call 1
Inputs
-1/3
(- x 1/3)
(- x 1/3)
(- x 1/3)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 9 x)
(* x (+ 9 (* -27 x)))
(* x (+ 9 (* x (- (* 243 (pow x 2)) 27))))
(* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27))))
(* 9 x)
(* 9 x)
(* 9 x)
(* 9 x)
-1/3
(- x 1/3)
(- (* x (+ 1 (* -9 (pow x 2)))) 1/3)
(- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3)
1/3
(+ 1/3 x)
(+ 1/3 x)
(+ 1/3 x)
x
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(/ 1 x)
(/ (- 1 (* 1/3 (/ 1 x))) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 x))) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) x)
(* 9 x)
(* 9 x)
(* 9 x)
(* 9 x)
(/ -1/27 (pow x 2))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(/ 1 x)
(* -1 (/ (- (* 1/3 (/ 1 x)) 1) x))
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) x))
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) x))
(* 9 x)
(* 9 x)
(* 9 x)
(* 9 x)
(/ -1/27 (pow x 2))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2))
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
Outputs
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 (fma.f64 #s(literal -27 binary64) x #s(literal 9 binary64)) x)
(*.f64 (fma.f64 (fma.f64 #s(literal 243 binary64) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -729 binary64) x #s(literal 243 binary64)) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -9 binary64) (-.f64 x #s(literal 1/3 binary64)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 27 binary64) x #s(literal -9 binary64)) (-.f64 x #s(literal 1/3 binary64)))
#s(literal 1/3 binary64)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(/.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/27 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/27 binary64) (/.f64 #s(literal 1/81 binary64) x)) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/.f64 (-.f64 (/.f64 #s(literal -1/729 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal -1/81 binary64) x) #s(literal -1/27 binary64))) (*.f64 x x))
(/.f64 (-.f64 (-.f64 #s(literal -1/27 binary64) (/.f64 (-.f64 #s(literal -1/81 binary64) (/.f64 #s(literal 1/2187 binary64) (pow.f64 x #s(literal 3 binary64)))) x)) (/.f64 #s(literal 1/729 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 x x))
x
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(/.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/27 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/27 binary64) (/.f64 #s(literal 1/81 binary64) x)) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/.f64 (-.f64 (/.f64 #s(literal -1/729 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal -1/81 binary64) x) #s(literal -1/27 binary64))) (*.f64 x x))
(/.f64 (-.f64 (-.f64 #s(literal -1/27 binary64) (/.f64 (-.f64 #s(literal -1/81 binary64) (/.f64 #s(literal 1/2187 binary64) (pow.f64 x #s(literal 3 binary64)))) x)) (/.f64 #s(literal 1/729 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 x x))
x
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)

rewrite404.0ms (11.8%)

Memory
15.0MiB live, 208.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01653
02453
18853
259153
3657653
0812653
Stop Event
iter limit
node limit
iter limit
Counts
6 → 231
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
(*.f64 x x)
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
(*.f64 #s(literal 9 binary64) x)
(/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
(-.f64 x #s(literal -1/3 binary64))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval65.0ms (1.9%)

Memory
-14.5MiB live, 101.2MiB allocated
Compiler

Compiled 14 165 to 954 computations (93.3% saved)

prune7.0ms (0.2%)

Memory
-9.8MiB live, 28.7MiB allocated
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2981299
Fresh000
Picked101
Done022
Total2993302
Accuracy
100.0%
Counts
302 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.0%
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
100.0%
(-.f64 x #s(literal 1/3 binary64))
53.8%
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Compiler

Compiled 37 to 28 computations (24.3% saved)

simplify5.0ms (0.1%)

Memory
22.1MiB live, 22.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 9 binary64) x)
cost-diff0
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
cost-diff0
(*.f64 x x)
cost-diff0
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01774
02474
13574
24374
35274
45874
05872
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
(*.f64 x x)
x
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
(*.f64 #s(literal 9 binary64) x)
#s(literal 9 binary64)
(/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))
#s(literal -1/27 binary64)
(fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))
#s(approx (- x -1/3) #s(literal 1/3 binary64))
#s(literal 1/3 binary64)
#s(literal 1/9 binary64)
Outputs
(fma.f64 #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (*.f64 x x) (/.f64 #s(literal -1/27 binary64) (fma.f64 #s(approx (- x -1/3) #s(literal 1/3 binary64)) x #s(literal 1/9 binary64))))
(*.f64 x x)
x
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
(*.f64 #s(literal 9 binary64) x)
#s(literal 9 binary64)
(/.f64 #s(literal -1/27 binary64) (fma.f64 #s(approx (- x -1/3) #s(literal 1/3 binary64)) x #s(literal 1/9 binary64)))
#s(literal -1/27 binary64)
(fma.f64 #s(approx (- x -1/3) #s(literal 1/3 binary64)) x #s(literal 1/9 binary64))
#s(approx (- x -1/3) #s(literal 1/3 binary64))
#s(literal 1/3 binary64)
#s(literal 1/9 binary64)

localize269.0ms (7.9%)

Memory
-29.1MiB live, 58.6MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.08984375
(/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))
accuracy14.936672711441545
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
accuracy29.470351993631606
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
accuracy29.584231559906513
#s(approx (- x -1/3) #s(literal 1/3 binary64))
Samples
33.0ms245×0valid
2.0ms1valid
1.0ms2valid
Compiler

Compiled 138 to 35 computations (74.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
const: 12.0ms (44.1% of total)
ival-mult: 7.0ms (25.7% of total)
ival-div: 4.0ms (14.7% of total)
ival-add: 2.0ms (7.3% of total)
ival-sub: 1.0ms (3.7% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
9.5MiB live, 9.5MiB allocated
Counts
6 → 72
Calls
Call 1
Inputs
#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())
#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())
#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())
Outputs
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (* 9 x) (- x -1/3) (/ -1/27 (+ (* x (- x -1/3)) 1/9)))
1.0ms
x
@inf
((+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (* 9 x) (- x -1/3) (/ -1/27 (+ (* x (- x -1/3)) 1/9)))
1.0ms
x
@0
((+ (* (* x x) (/ x (+ (* x (- x -1/3)) 1/9))) (/ -1/27 (+ (* x (- x -1/3)) 1/9))) (* x x) (/ x (+ (* x (- x -1/3)) 1/9)) (* 9 x) (- x -1/3) (/ -1/27 (+ (* x (- x -1/3)) 1/9)))

simplify142.0ms (4.1%)

Memory
3.7MiB live, 113.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112386
1314382
2762382
32209378
46754378
08127369
Stop Event
iter limit
node limit
Counts
72 → 68
Calls
Call 1
Inputs
-1/3
(- x 1/3)
(- x 1/3)
(- x 1/3)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 9 x)
(* x (+ 9 (* -27 x)))
(* x (+ 9 (* x (- (* 243 (pow x 2)) 27))))
(* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27))))
(* 9 x)
(* 9 x)
(* 9 x)
(* 9 x)
1/3
(+ 1/3 x)
(+ 1/3 x)
(+ 1/3 x)
-1/3
(- x 1/3)
(- (* x (+ 1 (* -9 (pow x 2)))) 1/3)
(- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3)
x
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(* x (- 1 (* 1/3 (/ 1 x))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(/ 1 x)
(/ (- 1 (* 1/3 (/ 1 x))) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 x))) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) x)
(* 9 x)
(* 9 x)
(* 9 x)
(* 9 x)
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(/ -1/27 (pow x 2))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(/ 1 x)
(* -1 (/ (- (* 1/3 (/ 1 x)) 1) x))
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) x))
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) x))
(* 9 x)
(* 9 x)
(* 9 x)
(* 9 x)
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(* x (+ 1 (* 1/3 (/ 1 x))))
(/ -1/27 (pow x 2))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2))
Outputs
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 (fma.f64 #s(literal -27 binary64) x #s(literal 9 binary64)) x)
(*.f64 (fma.f64 (fma.f64 #s(literal 243 binary64) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -729 binary64) x #s(literal 243 binary64)) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
#s(literal 1/3 binary64)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
#s(literal -1/3 binary64)
(-.f64 x #s(literal 1/3 binary64))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -9 binary64) (-.f64 x #s(literal 1/3 binary64)))
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 27 binary64) x #s(literal -9 binary64)) (-.f64 x #s(literal 1/3 binary64)))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(/.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/27 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/27 binary64) (/.f64 #s(literal 1/81 binary64) x)) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
x
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/.f64 (-.f64 (/.f64 #s(literal -1/729 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal -1/81 binary64) x) #s(literal -1/27 binary64))) (*.f64 x x))
(/.f64 (-.f64 (-.f64 #s(literal -1/27 binary64) (/.f64 (-.f64 #s(literal -1/81 binary64) (/.f64 #s(literal 1/2187 binary64) (pow.f64 x #s(literal 3 binary64)))) x)) (/.f64 #s(literal 1/729 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 x x))
x
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(*.f64 x x)
(/.f64 #s(literal 1 binary64) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/27 binary64) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/27 binary64) (/.f64 #s(literal 1/81 binary64) x)) (*.f64 x x)) #s(literal 1/3 binary64)) x) #s(literal -1 binary64)) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
(*.f64 #s(literal 9 binary64) x)
x
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(+.f64 #s(literal 1/3 binary64) x)
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/.f64 (-.f64 (/.f64 #s(literal -1/729 binary64) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal -1/81 binary64) x) #s(literal -1/27 binary64))) (*.f64 x x))
(/.f64 (-.f64 (-.f64 #s(literal -1/27 binary64) (/.f64 (-.f64 #s(literal -1/81 binary64) (/.f64 #s(literal 1/2187 binary64) (pow.f64 x #s(literal 3 binary64)))) x)) (/.f64 #s(literal 1/729 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 x x))

rewrite297.0ms (8.7%)

Memory
-1.4MiB live, 252.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01761
02461
110161
272761
3788361
0873659
Stop Event
iter limit
node limit
iter limit
Counts
6 → 161
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
(*.f64 x x)
#s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x))
(*.f64 #s(literal 9 binary64) x)
#s(approx (- x -1/3) #s(literal 1/3 binary64))
(/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64)))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval33.0ms (1%)

Memory
16.3MiB live, 88.9MiB allocated
Compiler

Compiled 12 178 to 553 computations (95.5% saved)

prune10.0ms (0.3%)

Memory
-23.3MiB live, 22.8MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2290229
Fresh000
Picked011
Done022
Total2293232
Accuracy
100.0%
Counts
232 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.0%
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
100.0%
(-.f64 x #s(literal 1/3 binary64))
53.8%
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Compiler

Compiled 124 to 63 computations (49.2% saved)

regimes6.0ms (0.2%)

Memory
15.7MiB live, 15.7MiB allocated
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
(-.f64 x #s(literal 1/3 binary64))
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))))
(fma.f64 (*.f64 x x) #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
(fma.f64 (*.f64 x x) (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))))
Outputs
(-.f64 x #s(literal 1/3 binary64))
Calls

2 calls:

3.0ms
x
2.0ms
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Compiler

Compiled 6 to 6 computations (0% saved)

regimes3.0ms (0.1%)

Memory
10.1MiB live, 10.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Outputs
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Calls

2 calls:

1.0ms
x
1.0ms
(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Results
AccuracySegmentsBranch
53.8%1x
53.8%1(-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
Compiler

Compiled 6 to 6 computations (0% saved)

simplify25.0ms (0.7%)

Memory
1.4MiB live, 75.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
098
1148
2188
3208
4218
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 x #s(literal 1/3 binary64))
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))
Outputs
(-.f64 x #s(literal 1/3 binary64))
#s(approx (- x (/ 1 3)) #s(literal -1/3 binary64))

soundness118.0ms (3.4%)

Memory
-13.8MiB live, 136.1MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01330
13230
27530
315830
441230
552330
657630
759930
860130
060130
054
084
1274
21294
39794
085574
Stop Event
done
iter limit
node limit
iter limit
iter limit
saturated
Compiler

Compiled 19 to 18 computations (5.3% saved)

preprocess41.0ms (1.2%)

Memory
19.0MiB live, 56.4MiB allocated
Compiler

Compiled 30 to 28 computations (6.7% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...