Diagrams.TwoD.Ellipse:ellipse from diagrams-lib-1.3.0.3

Time bar (total: 1.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
0%0%50%0%0%50%0%3
50%25%25%0%0%50%0%4
75%37.5%12.5%0%0%50%0%5
87.5%43.7%6.2%0%0%50%0%6
93.8%46.9%3.1%0%0%50%0%7
96.9%48.4%1.6%0%0%50%0%8
98.4%49.2%0.8%0%0%50%0%9
99.2%49.6%0.4%0%0%50%0%10
99.6%49.8%0.2%0%0%50%0%11
99.8%49.9%0.1%0%0%50%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample718.0ms (39.1%)

Results
708.0ms8256×body256valid
0.0msbody256invalid
Bogosity

preprocess170.0ms (9.3%)

Algorithm
egg-herbie
Rules
1654×fma-def
1194×sub-neg
1138×distribute-lft-out
868×associate-+r+
716×*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01234
12834
24634
39134
413434
521634
634234
762034
8122734
9209434
10478034
11646734
12722834
13752634
14758234
15761434
16786734
Stop Event
node limit
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (-.f64 1 (*.f64 (neg.f64 x) (neg.f64 x))))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (fma.f64 x (neg.f64 x) 1))
(sqrt.f64 (-.f64 1 (*.f64 (neg.f64 x) (neg.f64 x))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (fma.f64 x (neg.f64 x) 1))
Symmetry

(abs x)

Compiler

Compiled 8 to 6 computations (25% saved)

simplify170.0ms (9.3%)

Algorithm
egg-herbie
Rules
1468×fma-def
1260×distribute-lft-out
1098×unsub-neg
944×distribute-rgt-out--
798×distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11517
22217
33417
45117
57917
612617
734817
873417
9154917
10291817
11460317
12557017
13588817
14617417
15634317
16642017
17668717
18768517
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (neg.f64 (fma.f64 x x -1)))

eval1.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Accurracy
100.0%
Counts
3 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize222.0ms (12.1%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 18 to 9 computations (50% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite96.0ms (5.3%)

Algorithm
batch-egg-rewrite
Rules
1512×pow1
1404×add-exp-log
1402×log1p-expm1-u
1402×expm1-log1p-u
1374×add-log-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
116417
2198617
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 1)
(*.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) (pow.f64 (-.f64 1 (*.f64 x x)) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 1/2))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 6))) (sqrt.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))
(pow.f64 (-.f64 1 (*.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 3)
(pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2) 1/3)
(pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) 2)
(fabs.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))

simplify81.0ms (4.4%)

Algorithm
egg-herbie
Rules
2014×fma-def
570×associate-*r/
540×*-commutative
506×unswap-sqr
408×sub-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01081256
12701124
27311014
32413962
47145962
Stop Event
node limit
Counts
34 → 79
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(*.f64 (sqrt.f64 -1) x)
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 1)
(*.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) (pow.f64 (-.f64 1 (*.f64 x x)) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 1/2))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 6))) (sqrt.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))
(pow.f64 (-.f64 1 (*.f64 x x)) 1/2)
(pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 3)
(pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2) 1/3)
(pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) 2)
(fabs.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 4))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) 1))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/8) -1/2) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) (*.f64 -1/16 (pow.f64 x 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -1/8 (pow.f64 x 4) (*.f64 -1/16 (pow.f64 x 6))))
(fma.f64 -1/16 (pow.f64 x 6) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/8) -1/2) 1))
(*.f64 (sqrt.f64 -1) x)
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (pow.f64 x 3) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (fma.f64 x (sqrt.f64 -1) (/.f64 1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3)))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (pow.f64 x 3)) (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))))))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (/.f64 -1/8 (*.f64 (pow.f64 x 3) (neg.f64 (sqrt.f64 -1))))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))))))
(-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/16 (pow.f64 x 5)) (pow.f64 (sqrt.f64 -1) 5))) (*.f64 (/.f64 (/.f64 -1 (sqrt.f64 -1)) x) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(neg.f64 (*.f64 x (sqrt.f64 -1)))
(*.f64 x (neg.f64 (sqrt.f64 -1)))
(*.f64 (sqrt.f64 -1) (neg.f64 x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))))
(-.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (*.f64 x (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (/.f64 (/.f64 -1/8 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))))
(-.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (pow.f64 x 3)) (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
(-.f64 (+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))
(-.f64 (fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 (neg.f64 (sqrt.f64 -1)) x (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))
(+.f64 (-.f64 (/.f64 (/.f64 -1/8 (sqrt.f64 -1)) (pow.f64 x 3)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)))) (/.f64 -1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))
(-.f64 (*.f64 (/.f64 (/.f64 -1 (sqrt.f64 -1)) x) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/16 (pow.f64 x 5)) (pow.f64 (sqrt.f64 -1) 5))))
(-.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) (pow.f64 (-.f64 1 (*.f64 x x)) 1/4))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 3/2)
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 1 (*.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 1/2))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (fabs.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))
(pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 3/2)
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (hypot.f64 1 x))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 6))) (sqrt.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))
(/.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 6))) (sqrt.f64 (+.f64 1 (fma.f64 x x (pow.f64 x 4)))))
(pow.f64 (-.f64 1 (*.f64 x x)) 1/2)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 3)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2) 1/3)
(cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2))
(pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) 2)
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(fabs.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(log.f64 (exp.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2))
(expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))
(pow.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) 1/2)
(sqrt.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))))
(log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(+.f64 1 (-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))

eval52.0ms (2.8%)

Compiler

Compiled 1157 to 891 computations (23% saved)

prune10.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New77279
Fresh000
Picked011
Done000
Total77380
Accurracy
100.0%
Counts
80 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
Compiler

Compiled 34 to 26 computations (23.5% saved)

localize24.0ms (1.3%)

Local Accuracy

Found 1 expressions with local accuracy:

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

Compiled 20 to 11 computations (45% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite51.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
1058×pow1
1024×add-sqr-sqrt
976×add-exp-log
976×log1p-expm1-u
976×expm1-log1p-u
Iterations

Useful iterations: 0 (0.0ms)

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

simplify68.0ms (3.7%)

Algorithm
egg-herbie
Rules
2120×log-prod
1106×distribute-rgt-in
1092×distribute-lft-in
810×associate-*r*
672×associate-*l*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
038299
191299
2320299
32107299
46963299
Stop Event
node limit
Counts
23 → 14
Calls
Call 1
Inputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(-.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1)
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)
(pow.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3) 1/3)
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))
(cbrt.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))
Outputs
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(-.f64 (+.f64 1 (*.f64 -1/2 (*.f64 x x))) 1)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3) 1/3)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(cbrt.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(exp.f64 (log.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))
(log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 -1/2 x))

eval3.0ms (0.2%)

Compiler

Compiled 125 to 91 computations (27.2% saved)

prune3.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done011
Total14317
Accurracy
100.0%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
Compiler

Compiled 34 to 26 computations (23.5% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
Compiler

Compiled 34 to 26 computations (23.5% saved)

localize0.0ms (0%)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Accurracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.1%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.2%
1
Compiler

Compiled 32 to 23 computations (28.1% saved)

regimes10.0ms (0.5%)

Counts
3 → 1
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Calls

4 calls:

3.0ms
x
2.0ms
(*.f64 x x)
2.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
2.0ms
(-.f64 1 (*.f64 x x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.f64 (-.f64 1 (*.f64 x x)))
100.0%1(-.f64 1 (*.f64 x x))
100.0%1(*.f64 x x)
Compiler

Compiled 34 to 22 computations (35.3% saved)

regimes5.0ms (0.3%)

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

2 calls:

2.0ms
x
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
99.1%1x
99.1%1(*.f64 x x)
Compiler

Compiled 15 to 10 computations (33.3% saved)

regimes3.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
1
Outputs
1
Calls

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
98.2%1x
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01137
12037
22737
33137
43337
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
1
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(+.f64 1 (*.f64 (*.f64 x x) -1/2))
1
Compiler

Compiled 17 to 13 computations (23.5% saved)

soundness104.0ms (5.7%)

Rules
2014×fma-def
570×associate-*r/
540×*-commutative
506×unswap-sqr
408×sub-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01081256
12701124
27311014
32413962
47145962
Stop Event
node limit
Compiler

Compiled 15 to 12 computations (20% saved)

end0.0ms (0%)

preprocess28.0ms (1.5%)

Remove

(abs x)

Compiler

Compiled 58 to 40 computations (31% saved)

Profiling

Loading profile data...