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

Time bar (total: 1.5s)

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)

sample649.0ms (42.6%)

Results
638.0ms8256×body256valid
0.0msbody256invalid
Bogosity

preprocess168.0ms (11%)

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
01251
12851
24651
39151
413451
521651
634251
762051
8122751
9209451
10478051
11646751
12722851
13752651
14758251
15761451
16786751
Stop Event
node limit
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(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 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 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0.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)

localize25.0ms (1.6%)

Localize:

Found 1 expressions with local error:

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

rewrite216.0ms (14.2%)

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

simplify75.0ms (4.9%)

Algorithm
egg-herbie
Rules
1962×fma-def
1636×fma-neg
522×associate-*r/
520×*-commutative
506×unswap-sqr
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01091240
12701136
27231014
32403970
46838970
Stop Event
node limit
Counts
34 → 76
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/8 (pow.f64 x 4)) (*.f64 -1/16 (pow.f64 x 6)))))
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 x (sqrt.f64 -1)) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 x (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 x (sqrt.f64 -1)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))))
(*.f64 -1 (*.f64 x (sqrt.f64 -1)))
(-.f64 (*.f64 -1 (*.f64 x (sqrt.f64 -1))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 -1 (*.f64 x (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 -1 (*.f64 x (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1))))))
(-.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))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) (*.f64 -1/16 (pow.f64 x 6)))))
(+.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/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) (fma.f64 -1/16 (pow.f64 x 6) 1)))
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 x (sqrt.f64 -1)) (*.f64 1/2 (/.f64 1 (*.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 (sqrt.f64 -1)) x))
(fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 x (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))))
(-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 -1/8 (*.f64 (*.f64 (pow.f64 x 3) -1) (sqrt.f64 -1)))))
(+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x) (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 x 5) (pow.f64 (sqrt.f64 -1) 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 x (sqrt.f64 -1)))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (/.f64 -1/8 (*.f64 (*.f64 (pow.f64 x 3) -1) (sqrt.f64 -1)))))
(+.f64 (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x) (+.f64 (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))))))
(-.f64 (+.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 -1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))
(*.f64 -1 (*.f64 x (sqrt.f64 -1)))
(*.f64 (neg.f64 x) (sqrt.f64 -1))
(*.f64 x (neg.f64 (sqrt.f64 -1)))
(-.f64 (*.f64 -1 (*.f64 x (sqrt.f64 -1))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (*.f64 (neg.f64 x) (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 (neg.f64 x) (sqrt.f64 -1) (/.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 (*.f64 x (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (fma.f64 -1 (*.f64 x (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(+.f64 (/.f64 1/8 (*.f64 (*.f64 (pow.f64 x 3) -1) (sqrt.f64 -1))) (fma.f64 (neg.f64 x) (sqrt.f64 -1) (/.f64 -1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x)))
(-.f64 (/.f64 (/.f64 -1/8 (pow.f64 x 3)) (sqrt.f64 -1)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 -1 (*.f64 x (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3))))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1))))))
(-.f64 (fma.f64 -1 (*.f64 x (sqrt.f64 -1)) (/.f64 1/8 (*.f64 (pow.f64 x 3) (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)))))
(-.f64 (-.f64 (/.f64 1/8 (*.f64 (*.f64 (pow.f64 x 3) -1) (sqrt.f64 -1))) (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5)))))
(-.f64 (-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x))) (/.f64 1/16 (*.f64 (pow.f64 x 5) (pow.f64 (sqrt.f64 -1) 5))))
(+.f64 (/.f64 (/.f64 -1/8 (pow.f64 x 3)) (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 (/.f64 1/2 x) (sqrt.f64 -1)))))
(-.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)))))
(sqrt.f64 (exp.f64 (log1p.f64 (neg.f64 (*.f64 x 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)))

eval53.0ms (3.5%)

Compiler

Compiled 1130 to 875 computations (22.6% saved)

prune10.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh000
Picked011
Done000
Total74377
Accuracy
100.0%
Counts
77 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
1
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
1
Compiler

Compiled 34 to 26 computations (23.5% saved)

localize28.0ms (1.8%)

Localize:

Found 1 expressions with local error:

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

Compiled 20 to 11 computations (45% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (3.2%)

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

simplify64.0ms (4.2%)

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
Accuracy
100.0%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
1
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
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
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
1
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
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
Accuracy
100.0%
Counts
3 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.6%
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
100.0%
(sqrt.f64 (-.f64 1 (*.f64 x x)))
98.9%
1
Compiler

Compiled 32 to 23 computations (28.1% saved)

regimes17.0ms (1.1%)

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:

9.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
3.0ms
x
2.0ms
(*.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:

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

Compiled 15 to 10 computations (33.3% saved)

regimes3.0ms (0.2%)

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.9%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 (6.8%)

Rules
1962×fma-def
1636×fma-neg
522×associate-*r/
520×*-commutative
506×unswap-sqr
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01091240
12701136
27231014
32403970
46838970
Stop Event
node limit
Compiler

Compiled 15 to 12 computations (20% saved)

end0.0ms (0%)

preprocess36.0ms (2.4%)

Remove

(abs x)

Compiler

Compiled 58 to 40 computations (31% saved)

Profiling

Loading profile data...