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

Time bar (total: 2.0s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.1MiB live, 0.1MiB 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)

sample395.0ms (20%)

Memory
160.5MiB live, 160.5MiB allocated
Samples
223.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 107.0ms
ival-div: 58.0ms (54.2% of total)
ival-sub: 34.0ms (31.8% of total)
exact: 7.0ms (6.5% of total)
ival-true: 5.0ms (4.7% of total)
ival-assert: 3.0ms (2.8% of total)
Bogosity

explain60.0ms (3.1%)

Memory
29.8MiB live, 29.8MiB 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
17.0ms512×0valid
Compiler

Compiled 64 to 44 computations (31.3% saved)

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

preprocess13.0ms (0.6%)

Memory
5.2MiB live, 5.2MiB 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 (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
(-.f64 x #s(literal 1/3 binary64))
Compiler

Compiled 5 to 5 computations (0% saved)

eval0.0ms (0%)

Memory
0.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.4MiB live, 0.4MiB 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)

simplify2.0ms (0.1%)

Memory
0.4MiB live, 0.4MiB 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 (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)))
(-.f64 x #s(literal 1/3 binary64))
x
(/.f64 #s(literal 1 binary64) #s(literal 3 binary64))
#s(literal 1/3 binary64)
#s(literal 1 binary64)
#s(literal 3 binary64)

localize12.0ms (0.6%)

Memory
5.7MiB live, 5.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
8.0ms256×0valid
Compiler

Compiled 24 to 12 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-div: 2.0ms (58.1% of total)
ival-sub: 1.0ms (29% 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
0.4MiB live, 0.4MiB allocated
Counts
2 → 12
Calls
Call 1
Inputs
#s(alt (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)) (patch (/.f64 #s(literal 1 binary64) #s(literal 3 binary64)) #<representation binary64>) () ())
#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())
Outputs
#s(alt -1/3 (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (patch (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1 binary64) #s(literal 3 binary64))) (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)))

simplify12.0ms (0.6%)

Memory
1.2MiB live, 1.2MiB 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
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
x
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))

rewrite120.0ms (6.1%)

Memory
47.6MiB live, 47.6MiB 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>

eval32.0ms (1.6%)

Memory
28.7MiB live, 28.7MiB allocated
Compiler

Compiled 8 097 to 759 computations (90.6% saved)

prune5.0ms (0.2%)

Memory
12.6MiB live, 12.6MiB 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 25 to 16 computations (36% saved)

simplify4.0ms (0.2%)

Memory
0.8MiB live, 0.8MiB 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)
(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 (/.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 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)))
(/.f64 x (fma.f64 (-.f64 x #s(literal -1/3 binary64)) x #s(literal 1/9 binary64)))
(fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #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 x (-.f64 x #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)

localize45.0ms (2.3%)

Memory
18.4MiB live, 18.4MiB 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
32.0ms245×0valid
2.0ms1valid
1.0ms2valid
Compiler

Compiled 131 to 33 computations (74.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 27.0ms
const: 11.0ms (41.1% of total)
ival-div: 5.0ms (18.7% of total)
ival-mult: 4.0ms (15% of total)
ival-sub: 3.0ms (11.2% of total)
ival-add: 2.0ms (7.5% 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)

series7.0ms (0.4%)

Memory
3.8MiB live, 3.8MiB allocated
Counts
8 → 96
Calls
Call 1
Inputs
#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())
#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())
#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())
#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())
#s(alt (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)))) (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 (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 -1/3 (taylor 0 x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt -1/3 (taylor 0 x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (- x 1/3) (taylor 0 x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* -27 x))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* x (- (* 243 (pow x 2)) 27)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt 1/9 (taylor 0 x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/9 (* 1/3 x)) (taylor 0 x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/9 (* x (+ 1/3 x))) (taylor 0 x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/9 (* x (+ 1/3 x))) (taylor 0 x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt 1/3 (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt -1/3 (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 -1/3 (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (- x 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (- (* x (+ 1 (* -9 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 x (taylor inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (- 1 (* 1/3 (/ 1 x))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 x))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x))))) (taylor inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x))))) (taylor inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (/ -1/27 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 x (taylor -inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) (patch #s(approx (- x (/ 1 3)) #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (-.f64 x #s(literal 1/3 binary64)) (patch (-.f64 x #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* 1/3 (/ 1 x)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (patch (/.f64 x (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) (patch (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (/ -1/27 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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)))
1.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)))

simplify104.0ms (5.3%)

Memory
30.6MiB live, 30.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0122482
1346478
2846470
32476466
46522466
08425450
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
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* x (+ 9 (* -27 x)))
(*.f64 (fma.f64 #s(literal -27 binary64) x #s(literal 9 binary64)) x)
(* x (+ 9 (* x (- (* 243 (pow x 2)) 27))))
(*.f64 (fma.f64 (fma.f64 #s(literal 243 binary64) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27))))
(*.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)
1/9
#s(literal 1/9 binary64)
(+ 1/9 (* 1/3 x))
(fma.f64 #s(literal 1/3 binary64) x #s(literal 1/9 binary64))
(+ 1/9 (* x (+ 1/3 x)))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
(+ 1/9 (* x (+ 1/3 x)))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
1/3
#s(literal 1/3 binary64)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- (* x (+ 1 (* -9 (pow x 2)))) 1/3)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -9 binary64) (-.f64 x #s(literal 1/3 binary64)))
(- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3)
(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
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
x
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (- 1 (* 1/3 (/ 1 x))) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 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)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) 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)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 1/3 (/ 1 x))))
(*.f64 (+.f64 #s(literal 1/3 binary64) x) x)
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
x
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(/ -1/27 (pow x 2))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/.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))
(/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/.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
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(* -1 (/ (- (* 1/3 (/ 1 x)) 1) x))
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) 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)
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) 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)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 1/3 (/ 1 x))))
(*.f64 (+.f64 #s(literal 1/3 binary64) x) x)
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
(* (pow x 2) (+ 1 (+ (/ 1/9 (pow x 2)) (* 1/3 (/ 1 x)))))
(fma.f64 (+.f64 #s(literal 1/3 binary64) x) x #s(literal 1/9 binary64))
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(/ -1/27 (pow x 2))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2))
(/.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))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2))
(/.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))

rewrite120.0ms (6.1%)

Memory
52.7MiB live, 52.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01756
02539
19839
272439
0894639
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>

eval99.0ms (5%)

Memory
84.9MiB live, 84.9MiB allocated
Compiler

Compiled 29 206 to 2 012 computations (93.1% saved)

prune27.0ms (1.4%)

Memory
35.7MiB live, 35.7MiB 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 21 to 18 computations (14.3% saved)

simplify4.0ms (0.2%)

Memory
0.7MiB live, 0.7MiB 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 (*.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 #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 x (-.f64 x #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)
(fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #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)

localize47.0ms (2.4%)

Memory
15.4MiB live, 15.4MiB 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
33.0ms245×0valid
2.0ms1valid
1.0ms2valid
Compiler

Compiled 112 to 28 computations (75% saved)

Precisions
Click to see histograms. Total time spent on operations: 26.0ms
const: 10.0ms (38.2% of total)
ival-mult: 7.0ms (26.8% of total)
ival-div: 4.0ms (15.3% of total)
ival-add: 3.0ms (11.5% of total)
ival-sub: 2.0ms (7.6% 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.3%)

Memory
3.1MiB live, 3.1MiB allocated
Counts
6 → 72
Calls
Call 1
Inputs
#s(alt (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)))) (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 (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())
#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())
Outputs
#s(alt -1/3 (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* -27 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* x (- (* 243 (pow x 2)) 27)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt -1/3 (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (- x 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (- (* x (+ 1 (* -9 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 1/3 (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (/ (- 1 (* 1/3 (/ 1 x))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 x))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (/ -1/27 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 x (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* 1/3 (/ 1 x)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (/ -1/27 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x (-.f64 x #s(literal -1/3 binary64)) #s(literal 1/9 binary64))) (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 x (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (patch (-.f64 x #s(literal -1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 x #s(literal -1/3 binary64)) (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))

simplify114.0ms (5.8%)

Memory
30.2MiB live, 30.2MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0112386
1314382
2763382
32214378
46741378
08114369
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
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* x (+ 9 (* -27 x)))
(*.f64 (fma.f64 #s(literal -27 binary64) x #s(literal 9 binary64)) x)
(* x (+ 9 (* x (- (* 243 (pow x 2)) 27))))
(*.f64 (fma.f64 (fma.f64 #s(literal 243 binary64) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27))))
(*.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)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- (* x (+ 1 (* -9 (pow x 2)))) 1/3)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -9 binary64) (-.f64 x #s(literal 1/3 binary64)))
(- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3)
(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)))
1/3
#s(literal 1/3 binary64)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
x
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (- 1 (* 1/3 (/ 1 x))) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 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)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) 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)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(/ -1/27 (pow x 2))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/.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))
(/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/.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
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
x
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(* -1 (/ (- (* 1/3 (/ 1 x)) 1) x))
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) 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)
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) 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)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(/ -1/27 (pow x 2))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2))
(/.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))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2))
(/.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
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)

rewrite149.0ms (7.5%)

Memory
42.3MiB live, 42.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01653
02453
18853
259153
3657253
0812253
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>

eval48.0ms (2.4%)

Memory
29.6MiB live, 29.6MiB allocated
Compiler

Compiled 9 846 to 941 computations (90.4% saved)

prune10.0ms (0.5%)

Memory
11.9MiB live, 11.9MiB 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 20 to 18 computations (10% saved)

simplify4.0ms (0.2%)

Memory
0.7MiB live, 0.7MiB 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 (*.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 #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 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/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 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 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)

localize50.0ms (2.5%)

Memory
16.2MiB live, 16.2MiB 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
35.0ms245×0valid
2.0ms1valid
1.0ms2valid
Compiler

Compiled 108 to 29 computations (73.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 29.0ms
const: 13.0ms (45.5% of total)
ival-mult: 7.0ms (24.5% of total)
ival-div: 4.0ms (14% of total)
ival-add: 3.0ms (10.5% of total)
ival-sub: 2.0ms (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.3%)

Memory
3.1MiB live, 3.1MiB allocated
Counts
6 → 72
Calls
Call 1
Inputs
#s(alt (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)))) (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 (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())
#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())
#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 -1/3 (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (- x 1/3) (taylor 0 x) (#s(alt (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)))) (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 (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* -27 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* x (- (* 243 (pow x 2)) 27)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt 1/3 (taylor 0 x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/3 x) (taylor 0 x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt -1/3 (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (- x 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (- (* x (+ 1 (* -9 (pow x 2)))) 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3) (taylor 0 x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 x (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (* x (- 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt (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)))) (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 (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (/ (- 1 (* 1/3 (/ 1 x))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 x))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ -1/27 (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2)) (taylor inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 x (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (* -1 (* x (- (* 1/3 (/ 1 x)) 1))) (taylor -inf x) (#s(alt (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)))) (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 (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ())
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* 1/3 (/ 1 x)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) (patch #s(approx (/ x (+ (* x (- x -1/3)) 1/9)) (*.f64 #s(literal 9 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 9 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 9 binary64) x) (patch (*.f64 #s(literal 9 binary64) x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (* 1/3 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- x -1/3) #s(literal 1/3 binary64)) (patch #s(approx (- x -1/3) #s(literal 1/3 binary64)) #<representation binary64>) () ())) ())
#s(alt (/ -1/27 (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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 (/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2)) (taylor -inf x) (#s(alt (/.f64 #s(literal -1/27 binary64) (fma.f64 x #s(approx (- x -1/3) #s(literal 1/3 binary64)) #s(literal 1/9 binary64))) (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)))

simplify114.0ms (5.8%)

Memory
30.1MiB live, 30.1MiB 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
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* x (+ 9 (* -27 x)))
(*.f64 (fma.f64 #s(literal -27 binary64) x #s(literal 9 binary64)) x)
(* x (+ 9 (* x (- (* 243 (pow x 2)) 27))))
(*.f64 (fma.f64 (fma.f64 #s(literal 243 binary64) (*.f64 x x) #s(literal -27 binary64)) x #s(literal 9 binary64)) x)
(* x (+ 9 (* x (- (* (pow x 2) (+ 243 (* -729 x))) 27))))
(*.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)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
1/3
#s(literal 1/3 binary64)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
(+ 1/3 x)
(+.f64 #s(literal 1/3 binary64) x)
-1/3
#s(literal -1/3 binary64)
(- x 1/3)
(-.f64 x #s(literal 1/3 binary64))
(- (* x (+ 1 (* -9 (pow x 2)))) 1/3)
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -9 binary64) (-.f64 x #s(literal 1/3 binary64)))
(- (* x (+ 1 (* (pow x 2) (- (* 27 x) 9)))) 1/3)
(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
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(* x (- 1 (* 1/3 (/ 1 x))))
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(/ (- 1 (* 1/3 (/ 1 x))) x)
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (* 1/3 (/ 1 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)
(/ (- (+ 1 (/ 1/27 (pow x 3))) (+ (* 1/3 (/ 1 x)) (* 1/81 (/ 1 (pow x 4))))) 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)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(/ -1/27 (pow x 2))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/ (- (* 1/81 (/ 1 x)) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/.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))
(/ (- (+ (* 1/81 (/ 1 x)) (* 1/2187 (/ 1 (pow x 4)))) (+ 1/27 (/ 1/729 (pow x 3)))) (pow x 2))
(/.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
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(* -1 (* x (- (* 1/3 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/3 binary64))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(/ 1 x)
(/.f64 #s(literal 1 binary64) x)
(* -1 (/ (- (* 1/3 (/ 1 x)) 1) x))
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1/3 binary64) x)) x)
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) 1/3) x)) 1) 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)
(* -1 (/ (- (* -1 (/ (- (* 1/27 (/ 1 (pow x 2))) (+ 1/3 (/ 1/81 (pow x 3)))) x)) 1) 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)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
(* 9 x)
(*.f64 #s(literal 9 binary64) x)
x
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(* x (+ 1 (* 1/3 (/ 1 x))))
(+.f64 #s(literal 1/3 binary64) x)
(/ -1/27 (pow x 2))
(/.f64 #s(literal -1/27 binary64) (*.f64 x x))
(/ (- (* 1/81 (/ 1 x)) 1/27) (pow x 2))
(/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/81 binary64) x) #s(literal 1/27 binary64)) x) x)
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) 1/81) x)) 1/27) (pow x 2))
(/.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))
(/ (- (* -1 (/ (- (* 1/729 (/ 1 (pow x 2))) (+ 1/81 (/ 1/2187 (pow x 3)))) x)) 1/27) (pow x 2))
(/.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))

rewrite159.0ms (8.1%)

Memory
44.4MiB live, 44.4MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01761
02461
110161
272761
3789261
0874559
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>

eval35.0ms (1.8%)

Memory
22.0MiB live, 22.0MiB allocated
Compiler

Compiled 7 187 to 541 computations (92.5% saved)

prune10.0ms (0.5%)

Memory
10.4MiB live, 10.4MiB 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 81 to 43 computations (46.9% saved)

regimes6.0ms (0.3%)

Memory
3.7MiB live, 3.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
3.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.2%)

Memory
2.8MiB live, 2.8MiB 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:

2.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)

simplify28.0ms (1.4%)

Memory
18.3MiB live, 18.3MiB 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))

soundness93.0ms (4.7%)

Memory
1.6MiB live, 1.6MiB 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 14 to 14 computations (0% saved)

preprocess29.0ms (1.5%)

Memory
23.1MiB live, 23.1MiB allocated
Compiler

Compiled 20 to 20 computations (0% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...