Details

Time bar (total: 2.5s)

analyze5.0ms (0.2%)

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
50%50%50%0%0%0%0%3
75%75%25%0%0%0%0%4
87.5%87.5%12.5%0%0%0%0%5
93.8%93.7%6.2%0%0%0%0%6
96.9%96.8%3.1%0%0%0%0%7
98.4%98.4%1.6%0%0%0%0%8
99.2%99.2%0.8%0%0%0%0%9
99.6%99.6%0.4%0%0%0%0%10
99.8%99.8%0.2%0%0%0%0%11
99.9%99.9%0.1%0%0%0%0%12
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample1.4s (57.2%)

Results
1.4s8256×body256valid
0.0msbody256infinite
Bogosity

preprocess216.0ms (8.6%)

Algorithm
egg-herbie
Rules
2734×sqr-pow
1306×cube-prod
1044×pow-sqr
884×associate-*r*
868×unswap-sqr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11417
22517
34617
410617
532917
6123017
7209417
8223417
9240217
10259917
11287817
12324617
13369217
14422017
15486217
16564117
17596717
18624117
19644717
20650717
21653717
22747217
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Outputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 8 to 7 computations (12.5% saved)

simplify208.0ms (8.2%)

Algorithm
egg-herbie
Rules
2734×sqr-pow
1306×cube-prod
1044×pow-sqr
884×associate-*r*
868×unswap-sqr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11417
22517
34617
410617
532917
6123017
7209417
8223417
9240217
10259917
11287817
12324617
13369217
14422017
15486217
16564117
17596717
18624117
19644717
20650717
21653717
22747217
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Outputs
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
(sqrt.f64 (*.f64 2 (*.f64 x x)))

eval1.0ms (0%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 7 to 5 computations (28.6% saved)

localize6.0ms (0.2%)

Local Accuracy

Found 2 expressions with local accuracy:

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

Compiled 17 to 8 computations (52.9% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite63.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
1354×pow1
1244×add-exp-log
1244×log1p-expm1-u
1244×expm1-log1p-u
1214×add-log-exp
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0830
116024
2181024
Stop Event
node limit
Counts
2 → 36
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(*.f64 2 (*.f64 x x))
Outputs
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 x (sqrt.f64 2))
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(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))))

simplify64.0ms (2.5%)

Algorithm
egg-herbie
Rules
1200×log-prod
1148×fma-def
1056×distribute-rgt-in
1030×distribute-lft-in
700×fma-neg
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
083816
1193816
2739816
32412688
47441688
Stop Event
node limit
Counts
60 → 48
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.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 x (sqrt.f64 2))) 1)
(*.f64 x (sqrt.f64 2))
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(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 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 (sqrt.f64 2) x))
(*.f64 (sqrt.f64 2) (neg.f64 x))
(neg.f64 (hypot.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 1 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (*.f64 x (sqrt.f64 2)) 1)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(fabs.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2))))
(*.f64 (sqrt.f64 2) x)
(hypot.f64 x x)
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 2 (*.f64 x x)) 1)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 x (sqrt.f64 2)) 2)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(sqrt.f64 (*.f64 (pow.f64 x 4) 4))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x))))
(*.f64 2 (*.f64 x x))
(*.f64 x (+.f64 x x))

eval8.0ms (0.3%)

Compiler

Compiled 375 to 272 computations (27.5% saved)

prune11.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New47148
Fresh000
Picked011
Done000
Total47249
Accurracy
100.0%
Counts
49 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
51.6%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 11 to 7 computations (36.4% saved)

localize2.0ms (0.1%)

Local Accuracy

Found 1 expressions with local accuracy:

NewAccuracyProgram
100.0%
(hypot.f64 x x)
Compiler

Compiled 5 to 2 computations (60% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite47.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
738×pow1
704×add-sqr-sqrt
696×*-un-lft-identity
674×add-exp-log
674×log1p-expm1-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
1807
29337
Stop Event
node limit
Counts
1 → 41
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
(+.f64 0 (hypot.f64 x x))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2))
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x))
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 2 1/2) x)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))

simplify55.0ms (2.2%)

Algorithm
egg-herbie
Rules
924×associate-*r*
884×log-prod
766×associate-*l*
738×associate-+r+
718×associate-+l+
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0116717
1249681
2686669
34006669
Stop Event
node limit
Counts
53 → 55
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 (sqrt.f64 2) x)
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(+.f64 0 (hypot.f64 x x))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(*.f64 (hypot.f64 x x) 1)
(*.f64 1 (hypot.f64 x x))
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2))
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2))
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x))
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (pow.f64 2 1/2) x)
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(pow.f64 (hypot.f64 x x) 1)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(log.f64 (exp.f64 (hypot.f64 x x)))
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(exp.f64 (log.f64 (hypot.f64 x x)))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2))
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
Outputs
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (sqrt.f64 2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(*.f64 -1 (*.f64 (sqrt.f64 2) x))
(neg.f64 (*.f64 x (sqrt.f64 2)))
(*.f64 x (neg.f64 (sqrt.f64 2)))
(+.f64 0 (hypot.f64 x x))
(hypot.f64 x x)
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))
(hypot.f64 x x)
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))
(*.f64 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))) 3)
(-.f64 (+.f64 1 (hypot.f64 x x)) 1)
(hypot.f64 x x)
(*.f64 (hypot.f64 x x) 1)
(hypot.f64 x x)
(*.f64 1 (hypot.f64 x x))
(hypot.f64 x x)
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
(hypot.f64 x x)
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2))
(hypot.f64 x x)
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2))
(hypot.f64 x x)
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 8)))
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x))
(hypot.f64 x x)
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x))
(hypot.f64 x x)
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(hypot.f64 x x)
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 8)))
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))
(hypot.f64 x x)
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))
(hypot.f64 x x)
(*.f64 (pow.f64 2 1/2) x)
(*.f64 x (sqrt.f64 2))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
(hypot.f64 x x)
(pow.f64 (hypot.f64 x x) 1)
(hypot.f64 x x)
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
(hypot.f64 x x)
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)
(hypot.f64 x x)
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
(hypot.f64 x x)
(pow.f64 (*.f64 x (+.f64 x x)) 1/2)
(hypot.f64 x x)
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x))))
(sqrt.f64 (*.f64 x (+.f64 x x)))
(hypot.f64 x x)
(log.f64 (exp.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
(hypot.f64 x x)
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (log.f64 (hypot.f64 x x)))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3))
(hypot.f64 x x)
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3))
(hypot.f64 x x)
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2))
(hypot.f64 x x)
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2))
(hypot.f64 x x)
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
(hypot.f64 x x)

eval8.0ms (0.3%)

Compiler

Compiled 507 to 205 computations (59.6% saved)

prune6.0ms (0.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done011
Total55257
Accurracy
100.0%
Counts
57 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 x x)
51.6%
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 11 to 7 computations (36.4% saved)

regimes17.0ms (0.7%)

Accuracy

Total -31.0b remaining (-264592.3%)

Threshold costs -31b (-264592.3%)

Counts
3 → 1
Calls
Call 1
Inputs
(hypot.f64 x x)
(sqrt.f64 (*.f64 2 (*.f64 x x)))
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Outputs
(hypot.f64 x x)
Calls

4 calls:

8.0ms
(pow.f64 x 2)
3.0ms
x
3.0ms
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
3.0ms
(*.f64 2 (pow.f64 x 2))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
100.0%1(*.f64 2 (pow.f64 x 2))
100.0%1(pow.f64 x 2)
Compiler

Compiled 35 to 26 computations (25.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
Stop Event
done
saturated
Calls
Call 1
Inputs
(hypot.f64 x x)
Outputs
(hypot.f64 x x)
Compiler

Compiled 4 to 2 computations (50% saved)

soundness349.0ms (13.8%)

Rules
2734×sqr-pow
1306×cube-prod
1200×log-prod
1148×fma-def
1056×distribute-rgt-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
11417
22517
34617
410617
532917
6123017
7209417
8223417
9240217
10259917
11287817
12324617
13369217
14422017
15486217
16564117
17596717
18624117
19644717
20650717
21653717
22747217
083816
1193816
2739816
32412688
47441688
Stop Event
node limit
node limit
Compiler

Compiled 93 to 65 computations (30.1% saved)

end10.0ms (0.4%)

Compiler

Compiled 4 to 2 computations (50% saved)

Profiling

Loading profile data...