Linear.Matrix:fromQuaternion from linear-1.19.1.3, B

Time bar (total: 1.9s)

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)

sample973.0ms (50.6%)

Results
593.0ms5960×body256valid
367.0ms2296×body256infinite
Bogosity

preprocess97.0ms (5%)

Algorithm
egg-herbie
Rules
2140×fma-def
254×associate-*r*
248×unsub-neg
210×distribute-lft-in
180×associate-*l*
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02384
17876
220276
353276
4106376
5193876
6235176
7252076
8261176
9262876
10263176
Stop Event
saturated
Calls
Call 1
Inputs
(*.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))))
(*.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 x (*.f64 2 (+.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 x (*.f64 -2 (-.f64 y x)))
(*.f64 x (*.f64 (-.f64 y x) -2))
(*.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)))
(*.f64 x (*.f64 -2 (-.f64 y x)))
(*.f64 x (*.f64 (-.f64 y x) -2))
(*.f64 2 (+.f64 (*.f64 y y) (*.f64 y x)))
(*.f64 2 (*.f64 y (+.f64 y x)))
(*.f64 2 (*.f64 y (+.f64 x y)))
(*.f64 y (*.f64 2 (+.f64 x y)))
Compiler

Compiled 13 to 9 computations (30.8% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
34×fma-def
26×*-commutative
10×associate-*r*
10×associate-*l*
distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
12219
24519
37719
48119
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (*.f64 x (+.f64 x y)))

eval0.0ms (0%)

Compiler

Compiled 18 to 11 computations (38.9% saved)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Accurracy
100.0%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 2 (*.f64 x (+.f64 x y)))
100.0%
(*.f64 2 (*.f64 x (+.f64 x y)))
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize24.0ms (1.3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 21 to 8 computations (61.9% saved)

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

rewrite64.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
1874×pow1
1742×add-exp-log
1740×log1p-expm1-u
1740×expm1-log1p-u
1712×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
117519
2237019
Stop Event
node limit
Counts
1 → 19
Calls
Call 1
Inputs
(*.f64 2 (*.f64 x (+.f64 x y)))
Outputs
(+.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y)))
(+.f64 (*.f64 (*.f64 2 x) x) (*.f64 (*.f64 2 x) y))
(+.f64 (*.f64 (*.f64 2 x) y) (*.f64 (*.f64 2 x) x))
(+.f64 (*.f64 (*.f64 x x) 2) (*.f64 (*.f64 x y) 2))
(+.f64 (*.f64 x (*.f64 2 x)) (*.f64 y (*.f64 2 x)))
(+.f64 (*.f64 y (*.f64 2 x)) (*.f64 x (*.f64 2 x)))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x (+.f64 x y)))) 1)
(/.f64 (*.f64 (*.f64 2 x) (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (fma.f64 x x (*.f64 y (-.f64 y x))))
(/.f64 (*.f64 (*.f64 2 x) (fma.f64 x x (neg.f64 (*.f64 y y)))) (-.f64 x y))
(pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 1)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x (+.f64 x y)))) 3)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 2 (*.f64 x (+.f64 x y)))) 2)
(sqrt.f64 (*.f64 4 (pow.f64 (*.f64 x (+.f64 x y)) 2)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x (+.f64 x y))))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))

simplify70.0ms (3.7%)

Algorithm
egg-herbie
Rules
1162×associate-*r*
1024×associate-*l*
976×log-prod
724×fma-neg
558×exp-sum
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
073843
1198843
2614839
33863839
47230839
Stop Event
node limit
Counts
43 → 34
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y)))
(+.f64 (*.f64 (*.f64 2 x) x) (*.f64 (*.f64 2 x) y))
(+.f64 (*.f64 (*.f64 2 x) y) (*.f64 (*.f64 2 x) x))
(+.f64 (*.f64 (*.f64 x x) 2) (*.f64 (*.f64 x y) 2))
(+.f64 (*.f64 x (*.f64 2 x)) (*.f64 y (*.f64 2 x)))
(+.f64 (*.f64 y (*.f64 2 x)) (*.f64 x (*.f64 2 x)))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x (+.f64 x y)))) 1)
(/.f64 (*.f64 (*.f64 2 x) (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (fma.f64 x x (*.f64 y (-.f64 y x))))
(/.f64 (*.f64 (*.f64 2 x) (fma.f64 x x (neg.f64 (*.f64 y y)))) (-.f64 x y))
(pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 1)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x (+.f64 x y)))) 3)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 2 (*.f64 x (+.f64 x y)))) 2)
(sqrt.f64 (*.f64 4 (pow.f64 (*.f64 x (+.f64 x y)) 2)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x (+.f64 x y))))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
Outputs
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 2 x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 (*.f64 2 x) x) (*.f64 (*.f64 2 x) y))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 (*.f64 2 x) y) (*.f64 (*.f64 2 x) x))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 (*.f64 x x) 2) (*.f64 (*.f64 x y) 2))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 x (*.f64 2 x)) (*.f64 y (*.f64 2 x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 y (*.f64 2 x)) (*.f64 x (*.f64 2 x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x (+.f64 x y)))) 1)
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(/.f64 (*.f64 (*.f64 2 x) (+.f64 (pow.f64 y 3) (pow.f64 x 3))) (fma.f64 x x (*.f64 y (-.f64 y x))))
(/.f64 (*.f64 2 x) (/.f64 (fma.f64 x x (*.f64 y (-.f64 y x))) (+.f64 (pow.f64 y 3) (pow.f64 x 3))))
(/.f64 (*.f64 2 (fma.f64 x (pow.f64 y 3) (pow.f64 x 4))) (fma.f64 y (-.f64 y x) (*.f64 x x)))
(*.f64 (/.f64 (fma.f64 x (pow.f64 y 3) (pow.f64 x 4)) (fma.f64 y (-.f64 y x) (*.f64 x x))) 2)
(/.f64 (*.f64 (*.f64 2 x) (fma.f64 x x (neg.f64 (*.f64 y y)))) (-.f64 x y))
(/.f64 (*.f64 2 x) (/.f64 (-.f64 x y) (fma.f64 x x (*.f64 y (neg.f64 y)))))
(*.f64 (/.f64 (*.f64 2 x) (-.f64 x y)) (-.f64 (*.f64 x x) (*.f64 y y)))
(*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (/.f64 (*.f64 2 x) (-.f64 x y)))
(*.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (*.f64 (/.f64 2 (-.f64 x y)) x))
(pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 1)
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x (+.f64 x y)))) 3)
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 3) 1/3)
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(pow.f64 (sqrt.f64 (*.f64 2 (*.f64 x (+.f64 x y)))) 2)
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(sqrt.f64 (*.f64 4 (pow.f64 (*.f64 x (+.f64 x y)) 2)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x (+.f64 x y))))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x (+.f64 x y))) 3))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x (+.f64 x y)))))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))

eval10.0ms (0.5%)

Compiler

Compiled 384 to 195 computations (49.2% saved)

prune7.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New32234
Fresh000
Picked011
Done000
Total32335
Accurracy
100.0%
Counts
35 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
59.6%
(*.f64 y (*.f64 2 x))
100.0%
(*.f64 2 (*.f64 x (+.f64 x y)))
56.2%
(*.f64 2 (*.f64 x x))
59.6%
(*.f64 y (*.f64 2 x))
100.0%
(*.f64 2 (*.f64 x (+.f64 x y)))
56.2%
(*.f64 2 (*.f64 x x))
Compiler

Compiled 46 to 32 computations (30.4% saved)

localize95.0ms (5%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 24 to 13 computations (45.8% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
1042×pow1
1004×add-sqr-sqrt
956×add-exp-log
956×log1p-expm1-u
956×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112113
2136213
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 2 (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))

simplify61.0ms (3.2%)

Algorithm
egg-herbie
Rules
2150×log-prod
1058×distribute-lft-in
1054×distribute-rgt-in
808×associate-*r*
692×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
036299
189299
2318299
32143299
47034299
Stop Event
node limit
Counts
23 → 13
Calls
Call 1
Inputs
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
Outputs
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(sqrt.f64 (*.f64 4 (pow.f64 x 4)))
(*.f64 2 (*.f64 x x))
(log.f64 (pow.f64 (exp.f64 2) (*.f64 x x)))
(*.f64 2 (*.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))

eval2.0ms (0.1%)

Compiler

Compiled 93 to 61 computations (34.4% saved)

prune5.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New13013
Fresh000
Picked022
Done011
Total13316
Accurracy
100.0%
Counts
16 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
59.6%
(*.f64 y (*.f64 2 x))
100.0%
(*.f64 2 (*.f64 x (+.f64 x y)))
56.2%
(*.f64 2 (*.f64 x x))
Compiler

Compiled 51 to 32 computations (37.3% saved)

regimes16.0ms (0.8%)

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

4 calls:

4.0ms
y
4.0ms
x
4.0ms
(+.f64 (*.f64 x x) (*.f64 x y))
3.0ms
(*.f64 2 (+.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 54 to 32 computations (40.7% saved)

regimes42.0ms (2.2%)

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

2 calls:

26.0ms
y
15.0ms
x
Results
AccuracySegmentsBranch
83.9%5x
88.3%5y
Compiler

Compiled 18 to 12 computations (33.3% saved)

regimes6.0ms (0.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

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

2 calls:

3.0ms
x
3.0ms
y
Results
AccuracySegmentsBranch
56.2%1x
56.2%1y
Compiler

Compiled 13 to 9 computations (30.8% saved)

bsearch89.0ms (4.6%)

Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
18.0ms
1.1923401199038089e+104
9.838893898395693e+117
13.0ms
8.775321224088443e+92
6.198199308264533e+96
18.0ms
9.795166388073702e-79
6.854254102638514e-54
41.0ms
-798969773764577500.0
-7335166069009.538
Results
44.0ms483×body256valid
38.0ms125×body256infinite
Compiler

Compiled 624 to 467 computations (25.2% saved)

simplify8.0ms (0.4%)

Algorithm
egg-herbie
Rules
10×*-commutative
not-or
not-not
if-if-or-not
if-not
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027127
138121
241115
347111
451111
555111
656111
757111
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 2 (*.f64 x (+.f64 x y)))
(if (<=.f64 y -220000000000000000) (*.f64 y (*.f64 2 x)) (if (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888) (*.f64 2 (*.f64 x x)) (if (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568) (*.f64 y (*.f64 2 x)) (if (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704) (*.f64 2 (*.f64 x x)) (*.f64 y (*.f64 2 x))))))
(*.f64 2 (*.f64 x x))
Outputs
(*.f64 2 (*.f64 x (+.f64 x y)))
(if (<=.f64 y -220000000000000000) (*.f64 y (*.f64 2 x)) (if (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888) (*.f64 2 (*.f64 x x)) (if (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568) (*.f64 y (*.f64 2 x)) (if (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704) (*.f64 2 (*.f64 x x)) (*.f64 y (*.f64 2 x))))))
(if (<=.f64 y -220000000000000000) (*.f64 y (*.f64 2 x)) (if (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888) (*.f64 2 (*.f64 x x)) (if (or (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568) (not (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704))) (*.f64 y (*.f64 2 x)) (*.f64 2 (*.f64 x x)))))
(if (<=.f64 y -220000000000000000) (*.f64 y (*.f64 2 x)) (if (or (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888) (not (or (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568) (not (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704))))) (*.f64 2 (*.f64 x x)) (*.f64 y (*.f64 2 x))))
(if (or (<=.f64 y -220000000000000000) (not (or (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888) (not (or (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568) (not (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704))))))) (*.f64 y (*.f64 2 x)) (*.f64 2 (*.f64 x x)))
(if (or (<=.f64 y -220000000000000000) (not (or (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888) (and (not (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568)) (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704))))) (*.f64 y (*.f64 2 x)) (*.f64 2 (*.f64 x x)))
(if (or (<=.f64 y -220000000000000000) (and (not (<=.f64 y 795081179150273/883423532389192164791648750371459257913741948437809479060803100646309888)) (or (<=.f64 y 6000000000000000062027725073429789874588233614837937625952428988440055241786702844100664589549568) (not (<=.f64 y 6799999999999999885711842062090367014490639339817170610122289295154763739828345455887574551527082063560704))))) (*.f64 y (*.f64 2 x)) (*.f64 2 (*.f64 x x)))
(*.f64 2 (*.f64 x x))
Compiler

Compiled 46 to 33 computations (28.3% saved)

soundness194.0ms (10.1%)

Rules
1162×associate-*r*
1162×associate-*r*
1024×associate-*l*
1024×associate-*l*
976×log-prod
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
12219
24519
37719
48119
073843
1198843
2614839
33863839
47230839
073843
1198843
2614839
33863839
47230839
Stop Event
node limit
node limit
saturated
Compiler

Compiled 52 to 34 computations (34.6% saved)

end0.0ms (0%)

preprocess99.0ms (5.1%)

Compiler

Compiled 124 to 82 computations (33.9% saved)

Profiling

Loading profile data...