Linear.Matrix:fromQuaternion from linear-1.19.1.3, A

Time bar (total: 3.6s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 12 to 8 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
Operation ival-mult, time spent: 0.0ms, 0.0% of total-time
Operation ival-sub, time spent: 0.0ms, 0.0% of total-time
Operation const, time spent: 0.0ms, 0.0% of total-time

sample2.2s (61%)

Results
1.6s5907×256valid
424.0ms2348×256infinite
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 657.0ms
Operation ival-mult, time spent: 584.0ms, 89.0% of total-time
Operation ival-sub, time spent: 58.0ms, 9.0% of total-time
Operation const, time spent: 14.0ms, 2.0% of total-time
Bogosity

preprocess226.0ms (6.3%)

Algorithm
egg-herbie
Rules
1072×fma-neg
554×fma-def
344×unsub-neg
326×associate-*r*
296×distribute-lft-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
170-0-(-.f64 (*.f64 x x) (*.f64 x y))
00-0-x
00-0-(*.f64 x y)
00-0-(*.f64 x x)
00-0-(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
00-0-2
00-0-y
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
028212
191196
2210196
3722196
41664196
52113196
62485196
72605196
82605196
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (neg.f64 x) y)))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x (neg.f64 y))))
(neg.f64 (*.f64 2 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (neg.f64 x) y))))
(neg.f64 (*.f64 2 (-.f64 (*.f64 x x) (*.f64 x (neg.f64 y)))))
(*.f64 2 (-.f64 (*.f64 y y) (*.f64 y x)))
Outputs
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 2 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (neg.f64 x) y)))
(*.f64 2 (*.f64 x (-.f64 x (neg.f64 y))))
(*.f64 2 (*.f64 x (+.f64 x y)))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x (neg.f64 y))))
(*.f64 2 (*.f64 x (-.f64 x (neg.f64 y))))
(*.f64 2 (*.f64 x (+.f64 x y)))
(neg.f64 (*.f64 2 (-.f64 (*.f64 (neg.f64 x) (neg.f64 x)) (*.f64 (neg.f64 x) y))))
(*.f64 -2 (*.f64 x (-.f64 x (neg.f64 y))))
(*.f64 (*.f64 x (+.f64 x y)) -2)
(*.f64 x (*.f64 -2 (+.f64 x y)))
(neg.f64 (*.f64 2 (-.f64 (*.f64 x x) (*.f64 x (neg.f64 y)))))
(*.f64 -2 (*.f64 x (-.f64 x (neg.f64 y))))
(*.f64 (*.f64 x (+.f64 x y)) -2)
(*.f64 x (*.f64 -2 (+.f64 x y)))
(*.f64 2 (-.f64 (*.f64 y y) (*.f64 y x)))
(*.f64 2 (*.f64 y (-.f64 y x)))
(*.f64 y (*.f64 (-.f64 y x) 2))
(*.f64 y (*.f64 2 (-.f64 y x)))
(*.f64 y (*.f64 -2 (-.f64 x y)))
Compiler

Compiled 67 to 25 computations (62.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.0ms
Operation ival-mult, time spent: 11.0ms, 75.0% of total-time
Operation ival-sub, time spent: 3.0ms, 20.0% of total-time
Operation const, time spent: 1.0ms, 7.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 2 (*.f64 x (-.f64 x y)))
Compiler

Compiled 9 to 6 computations (33.3% saved)

localize234.0ms (6.5%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(*.f64 2 (*.f64 x (-.f64 x y)))
Compiler

Compiled 21 to 8 computations (61.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 193.0ms
Operation ival-sub, time spent: 189.0ms, 98.0% of total-time
Operation ival-mult, time spent: 4.0ms, 2.0% of total-time
Operation const, time spent: 1.0ms, 1.0% of total-time

series3.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 2 (*.f64 x (-.f64 x y)))
1.0ms
y
@0
(*.f64 2 (*.f64 x (-.f64 x y)))
1.0ms
x
@0
(*.f64 2 (*.f64 x (-.f64 x y)))
0.0ms
x
@-inf
(*.f64 2 (*.f64 x (-.f64 x y)))
0.0ms
y
@inf
(*.f64 2 (*.f64 x (-.f64 x y)))

rewrite347.0ms (9.7%)

Algorithm
batch-egg-rewrite
Rules
982×unpow-prod-down
718×prod-diff
650×log-prod
610×log1p-expm1-u
610×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01128
112028
2161728
Stop Event
node limit
Counts
1 → 28
Calls
Call 1
Inputs
(*.f64 2 (*.f64 x (-.f64 x y)))
Outputs
(+.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))
(+.f64 0 (*.f64 (-.f64 x y) (*.f64 2 x)))
(+.f64 (*.f64 (*.f64 2 x) x) (*.f64 (*.f64 2 x) (neg.f64 y)))
(+.f64 (*.f64 x (*.f64 2 x)) (*.f64 (neg.f64 y) (*.f64 2 x)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 1)
(/.f64 (*.f64 (*.f64 2 x) (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (fma.f64 y (+.f64 x y) (pow.f64 x 2)))
(/.f64 (*.f64 (*.f64 2 x) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (+.f64 x y))
(pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 1)
(pow.f64 (cbrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 3)
(pow.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 2) 1/2)
(pow.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 2)
(sqrt.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 2))
(log.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))))
(cbrt.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 3))
(expm1.f64 (log1p.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(exp.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 1))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 1) 1))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 2))
(log1p.f64 (expm1.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(fma.f64 x (*.f64 2 x) (*.f64 (neg.f64 y) (*.f64 2 x)))
(fma.f64 (*.f64 2 x) x (*.f64 (*.f64 2 x) (neg.f64 y)))

simplify65.0ms (1.8%)

Algorithm
egg-herbie
Rules
1306×associate-*r*
1198×associate-*l*
1002×log-prod
650×distribute-lft-out
578×distribute-lft-in
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0931915
12291880
27001491
351911467
Stop Event
node limit
Counts
52 → 44
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))
(+.f64 0 (*.f64 (-.f64 x y) (*.f64 2 x)))
(+.f64 (*.f64 (*.f64 2 x) x) (*.f64 (*.f64 2 x) (neg.f64 y)))
(+.f64 (*.f64 x (*.f64 2 x)) (*.f64 (neg.f64 y) (*.f64 2 x)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 1)
(/.f64 (*.f64 (*.f64 2 x) (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (fma.f64 y (+.f64 x y) (pow.f64 x 2)))
(/.f64 (*.f64 (*.f64 2 x) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (+.f64 x y))
(pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 1)
(pow.f64 (cbrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 3)
(pow.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 2) 1/2)
(pow.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 2)
(sqrt.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 2))
(log.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))))
(cbrt.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 3))
(expm1.f64 (log1p.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(exp.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 1))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 1) 1))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 2))
(log1p.f64 (expm1.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(fma.f64 x (*.f64 2 x) (*.f64 (neg.f64 y) (*.f64 2 x)))
(fma.f64 (*.f64 2 x) x (*.f64 (*.f64 2 x) (neg.f64 y)))
Outputs
(*.f64 -2 (*.f64 x y))
(*.f64 x (*.f64 y -2))
(*.f64 x (*.f64 -2 y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 -2 (*.f64 x y))
(*.f64 x (*.f64 y -2))
(*.f64 x (*.f64 -2 y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 -2 (*.f64 x y))
(*.f64 x (*.f64 y -2))
(*.f64 x (*.f64 -2 y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 x (-.f64 x y)) (*.f64 x (-.f64 x y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 0 (*.f64 (-.f64 x y) (*.f64 2 x)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 (*.f64 2 x) x) (*.f64 (*.f64 2 x) (neg.f64 y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (*.f64 x (*.f64 2 x)) (*.f64 (neg.f64 y) (*.f64 2 x)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(*.f64 3 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(-.f64 (exp.f64 (log1p.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 1)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(/.f64 (*.f64 (*.f64 2 x) (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (fma.f64 y (+.f64 x y) (pow.f64 x 2)))
(/.f64 (*.f64 x 2) (/.f64 (fma.f64 y (+.f64 x y) (pow.f64 x 2)) (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
(*.f64 (/.f64 (*.f64 x 2) (fma.f64 y (+.f64 x y) (pow.f64 x 2))) (-.f64 (pow.f64 x 3) (pow.f64 y 3)))
(*.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)) (/.f64 x (/.f64 (fma.f64 y (+.f64 x y) (pow.f64 x 2)) 2)))
(/.f64 (*.f64 (*.f64 2 x) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (+.f64 x y))
(/.f64 (*.f64 x 2) (/.f64 (+.f64 x y) (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(*.f64 (/.f64 (*.f64 x 2) (+.f64 x y)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (/.f64 x (/.f64 (+.f64 x y) 2)))
(*.f64 (/.f64 x (/.f64 1 (-.f64 x y))) 2)
(pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 1)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(pow.f64 (cbrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 3)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(pow.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 2) 1/2)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(pow.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 3) 1/3)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(pow.f64 (sqrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 2)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(sqrt.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 2))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(log.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(cbrt.f64 (pow.f64 (*.f64 (-.f64 x y) (*.f64 2 x)) 3))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(expm1.f64 (log1p.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(exp.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(exp.f64 (*.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 1))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x))) 1) 1))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 3))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 1/3))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (-.f64 x y) (*.f64 2 x)))) 2))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(log1p.f64 (expm1.f64 (*.f64 (-.f64 x y) (*.f64 2 x))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(fma.f64 x (*.f64 2 x) (*.f64 (neg.f64 y) (*.f64 2 x)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(fma.f64 (*.f64 2 x) x (*.f64 (*.f64 2 x) (neg.f64 y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 x (*.f64 2 (-.f64 x y)))

eval15.0ms (0.4%)

Compiler

Compiled 542 to 329 computations (39.3% saved)

prune7.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New42244
Fresh000
Picked101
Done000
Total43245
Accuracy
100.0%
Counts
45 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(*.f64 x (*.f64 2 (-.f64 x y)))
62.5%
(*.f64 -2 (*.f64 x y))
Compiler

Compiled 16 to 11 computations (31.3% saved)

localize46.0ms (1.3%)

Localize:

Found 2 expressions with local error:

NewAccuracyProgram
99.6%
(*.f64 x (*.f64 2 (-.f64 x y)))
100.0%
(*.f64 -2 (*.f64 x y))
Compiler

Compiled 32 to 14 computations (56.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
Operation ival-mult, time spent: 9.0ms, 81.0% of total-time
Operation ival-sub, time spent: 1.0ms, 9.0% of total-time
Operation const, time spent: 1.0ms, 9.0% of total-time

series6.0ms (0.2%)

Counts
2 → 24
Calls

12 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
(*.f64 x (*.f64 2 (-.f64 x y)))
1.0ms
x
@0
(*.f64 -2 (*.f64 x y))
1.0ms
y
@inf
(*.f64 -2 (*.f64 x y))
1.0ms
x
@inf
(*.f64 -2 (*.f64 x y))
1.0ms
y
@0
(*.f64 -2 (*.f64 x y))

rewrite92.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
928×log-prod
836×prod-diff
798×log1p-expm1-u
798×expm1-log1p-u
450×fma-def
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01447
116247
2213947
Stop Event
node limit
Counts
2 → 48
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 x y))
(*.f64 x (*.f64 2 (-.f64 x y)))
Outputs
(+.f64 0 (*.f64 x (*.f64 y -2)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2)))) (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2)))))) (log.f64 (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 y -2)))) 1)
(pow.f64 (*.f64 x (*.f64 y -2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 y -2))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 y -2))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 2))
(log.f64 (exp.f64 (*.f64 x (*.f64 y -2))))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 y -2)))))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 y -2))))
(exp.f64 (log.f64 (*.f64 x (*.f64 y -2))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 y -2))) 1))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 y -2))) 1) 1))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 y -2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (*.f64 y -2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 y -2)))) 2))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 y -2))))
(+.f64 0 (*.f64 x (*.f64 2 (-.f64 x y))))
(+.f64 (*.f64 (*.f64 x 2) x) (*.f64 (*.f64 x 2) (neg.f64 y)))
(+.f64 (*.f64 x (*.f64 x 2)) (*.f64 (neg.f64 y) (*.f64 x 2)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y))) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 1)
(/.f64 (*.f64 (*.f64 x 2) (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (fma.f64 y (+.f64 x y) (pow.f64 x 2)))
(/.f64 (*.f64 (*.f64 x 2) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (+.f64 x y))
(pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 2))
(log.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 2 (-.f64 x y))))))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 3))
(cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 2 (-.f64 x y)) 3)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (-.f64 x y)) 3) (pow.f64 x 3)))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(exp.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 1))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 1) 1))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 2))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(fma.f64 x (*.f64 x 2) (*.f64 (neg.f64 y) (*.f64 x 2)))
(fma.f64 (*.f64 x 2) x (*.f64 (*.f64 x 2) (neg.f64 y)))

simplify80.0ms (2.2%)

Algorithm
egg-herbie
Rules
1122×log-prod
1056×fma-def
914×distribute-lft-in
872×distribute-rgt-in
630×unswap-sqr
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01402375
13211970
211311889
356021865
Stop Event
node limit
Counts
72 → 68
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(+.f64 0 (*.f64 x (*.f64 y -2)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2)))) (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2)))))) (log.f64 (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 y -2)))) 1)
(pow.f64 (*.f64 x (*.f64 y -2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 y -2))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 y -2))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 2))
(log.f64 (exp.f64 (*.f64 x (*.f64 y -2))))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 y -2)))))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 y -2))))
(exp.f64 (log.f64 (*.f64 x (*.f64 y -2))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 y -2))) 1))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 y -2))) 1) 1))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 y -2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (*.f64 y -2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 y -2)))) 2))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 y -2))))
(+.f64 0 (*.f64 x (*.f64 2 (-.f64 x y))))
(+.f64 (*.f64 (*.f64 x 2) x) (*.f64 (*.f64 x 2) (neg.f64 y)))
(+.f64 (*.f64 x (*.f64 x 2)) (*.f64 (neg.f64 y) (*.f64 x 2)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y))) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 1)
(/.f64 (*.f64 (*.f64 x 2) (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (fma.f64 y (+.f64 x y) (pow.f64 x 2)))
(/.f64 (*.f64 (*.f64 x 2) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (+.f64 x y))
(pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 1)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 3)
(pow.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 2)
(sqrt.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 2))
(log.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 2 (-.f64 x y))))))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 3))
(cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 2 (-.f64 x y)) 3)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (-.f64 x y)) 3) (pow.f64 x 3)))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(exp.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 1))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 1) 1))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 2))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(fma.f64 x (*.f64 x 2) (*.f64 (neg.f64 y) (*.f64 x 2)))
(fma.f64 (*.f64 x 2) x (*.f64 (*.f64 x 2) (neg.f64 y)))
Outputs
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 -2 (*.f64 x y))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 -2 (*.f64 x y)) (*.f64 2 (pow.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 0 (*.f64 x (*.f64 y -2)))
(*.f64 -2 (*.f64 x y))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2)))) (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2)))))) (log.f64 (cbrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 -2 y))) (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 -2 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 -2 y)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 -2 y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 -2 y)))))
(*.f64 3 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 -2 y)))))
(*.f64 3 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) y))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 x (*.f64 y -2))))))
(*.f64 -2 (*.f64 x y))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 y -2)))) 1)
(*.f64 -2 (*.f64 x y))
(pow.f64 (*.f64 x (*.f64 y -2)) 1)
(*.f64 -2 (*.f64 x y))
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 y -2))) 3)
(*.f64 -2 (*.f64 x y))
(pow.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 3) 1/3)
(*.f64 -2 (*.f64 x y))
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 y -2))) 2)
(*.f64 -2 (*.f64 x y))
(sqrt.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 2))
(*.f64 -2 (*.f64 x y))
(log.f64 (exp.f64 (*.f64 x (*.f64 y -2))))
(*.f64 -2 (*.f64 x y))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 y -2)))))
(*.f64 -2 (*.f64 x y))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 y -2)) 3))
(*.f64 -2 (*.f64 x y))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 y -2))))
(*.f64 -2 (*.f64 x y))
(exp.f64 (log.f64 (*.f64 x (*.f64 y -2))))
(*.f64 -2 (*.f64 x y))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 y -2))) 1))
(*.f64 -2 (*.f64 x y))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 y -2))) 1) 1))
(*.f64 -2 (*.f64 x y))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 y -2)))) 3))
(*.f64 -2 (*.f64 x y))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (*.f64 y -2)))) 1/3))
(*.f64 -2 (*.f64 x y))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 y -2)))) 2))
(*.f64 -2 (*.f64 x y))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 y -2))))
(*.f64 -2 (*.f64 x y))
(+.f64 0 (*.f64 x (*.f64 2 (-.f64 x y))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 (*.f64 x 2) x) (*.f64 (*.f64 x 2) (neg.f64 y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (*.f64 x (*.f64 x 2)) (*.f64 (neg.f64 y) (*.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y))) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))))
(+.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (-.f64 x y))) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (-.f64 x y)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y))))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 2) x) (-.f64 x y)))))
(*.f64 3 (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (-.f64 x y)))))
(+.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 1)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(/.f64 (*.f64 (*.f64 x 2) (-.f64 (pow.f64 x 3) (pow.f64 y 3))) (fma.f64 y (+.f64 x y) (pow.f64 x 2)))
(/.f64 (*.f64 x 2) (/.f64 (fma.f64 y (+.f64 x y) (pow.f64 x 2)) (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
(*.f64 (/.f64 (*.f64 x 2) (fma.f64 y (+.f64 x y) (pow.f64 x 2))) (-.f64 (pow.f64 x 3) (pow.f64 y 3)))
(*.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)) (/.f64 (*.f64 x 2) (fma.f64 y (+.f64 x y) (pow.f64 x 2))))
(/.f64 (*.f64 (*.f64 x 2) (-.f64 (pow.f64 x 2) (pow.f64 y 2))) (+.f64 x y))
(/.f64 (*.f64 x 2) (/.f64 (+.f64 x y) (-.f64 (pow.f64 x 2) (pow.f64 y 2))))
(*.f64 (/.f64 (*.f64 x 2) (+.f64 x y)) (-.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (-.f64 (pow.f64 x 2) (pow.f64 y 2)) (/.f64 (*.f64 x 2) (+.f64 x y)))
(/.f64 (*.f64 x 2) (/.f64 1 (-.f64 x y)))
(pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 1)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 3)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(pow.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 3) 1/3)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 2)
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(sqrt.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 2))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(log.f64 (pow.f64 (exp.f64 (*.f64 x 2)) (-.f64 x y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 2 (-.f64 x y))))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 2 (-.f64 x y))) 3))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 2 (-.f64 x y)) 3)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (-.f64 x y)) 3) (pow.f64 x 3)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(exp.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 1))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y)))) 1) 1))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 3))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 1/3))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (*.f64 2 (-.f64 x y))))) 2))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 2 (-.f64 x y)))))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(fma.f64 x (*.f64 x 2) (*.f64 (neg.f64 y) (*.f64 x 2)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))
(fma.f64 (*.f64 x 2) x (*.f64 (*.f64 x 2) (neg.f64 y)))
(fma.f64 -2 (*.f64 x y) (*.f64 2 (pow.f64 x 2)))
(*.f64 (-.f64 x y) (*.f64 x 2))
(*.f64 2 (*.f64 x (-.f64 x y)))

eval17.0ms (0.5%)

Compiler

Compiled 830 to 540 computations (34.9% saved)

prune52.0ms (1.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh000
Picked022
Done000
Total68270
Accuracy
100.0%
Counts
70 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(*.f64 x (*.f64 2 (-.f64 x y)))
62.5%
(*.f64 -2 (*.f64 x y))
Compiler

Compiled 46 to 27 computations (41.3% saved)

regimes22.0ms (0.6%)

Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 x y))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 2 (*.f64 x (-.f64 x y)))
Calls

4 calls:

11.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
4.0ms
x
4.0ms
y
3.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
100.0%1(-.f64 (*.f64 x x) (*.f64 x y))
Compiler

Compiled 26 to 16 computations (38.5% saved)

regimes6.0ms (0.2%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 x y))
Outputs
(*.f64 -2 (*.f64 x y))
Calls

2 calls:

4.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
62.5%1x
62.5%1y
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
10×*-commutative
sub-neg
+-commutative
neg-mul-1
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01447
12147
22647
32847
42947
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 -2 (*.f64 x y))
Outputs
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 -2 (*.f64 x y))
Compiler

Compiled 16 to 11 computations (31.3% saved)

soundness138.0ms (3.9%)

Rules
1072×fma-neg
554×fma-def
344×unsub-neg
326×associate-*r*
296×distribute-lft-in
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
028212
191196
2210196
3722196
41664196
52113196
62485196
72605196
82605196
Stop Event
saturated
Compiler

Compiled 18 to 11 computations (38.9% saved)

end0.0ms (0%)

preprocess37.0ms (1%)

Compiler

Compiled 68 to 44 computations (35.3% saved)

Profiling

Loading profile data...