Details

Time bar (total: 1.7s)

analyze34.0ms (1.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%37.5%62.5%0
0%37.5%62.5%1
0%18.7%81.3%2
0%9.4%90.6%3
0%9.4%90.6%4
0%7%93%5
1.2%4.7%94.1%6
1.2%3.5%95.3%7
1.8%2.6%95.6%8
2%1.9%96%9
2.4%1.3%96.3%10
2.6%1%96.5%11
2.7%0.7%96.6%12
2.8%0.5%96.7%13
2.9%0.3%96.7%14
Compiler

Compiled 26 to 15 computations (42.3% saved)

sample1.0s (58%)

Results
945.0ms8256×body128valid
47.0ms398×body128invalid
Compiler

Compiled 52 to 30 computations (42.3% saved)

preprocess25.0ms (1.5%)

Algorithm
egg-herbie
Rules
303×associate-/l*_binary64
282×associate-/r/_binary64
258×times-frac_binary64
232×fma-def_binary64
190×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01340
14734
213730
339430
4128230
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (*.f64 b b))))
Outputs
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a)))))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b (*.f64 a a)) b -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (*.f64 b b))))
(sqrt.f64 (fabs.f64 (-.f64 1 (/.f64 (*.f64 a a) (*.f64 b b)))))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 a b) (/.f64 a b) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 a (/.f64 a (*.f64 b b)) -1)))
Compiler

Compiled 15 to 8 computations (46.7% saved)

simplify19.0ms (1.1%)

Algorithm
egg-herbie
Rules
704×fma-def_binary64
600×associate-/r*_binary64
362×distribute-rgt-in_binary64
331×distribute-lft-in_binary64
206×div-sub_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
12617
27215
320115
454915
5197915
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
Outputs
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
(sqrt.f64 (fabs.f64 (-.f64 1 (*.f64 (/.f64 b a) (/.f64 b a)))))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
16.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
16.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
16.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
Compiler

Compiled 79 to 45 computations (43% saved)

localize6.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
16.3b
(/.f64 b (*.f64 a a))

series8.0ms (0.5%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
b
@0
(/.f64 b (*.f64 a a))
1.0ms
a
@0
(/.f64 b (*.f64 a a))
1.0ms
b
@inf
(/.f64 b (*.f64 a a))
1.0ms
b
@-inf
(/.f64 b (*.f64 a a))
0.0ms
a
@inf
(/.f64 b (*.f64 a a))

rewrite41.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
772×log1p-expm1-u_binary64
772×expm1-log1p-u_binary64
92×add-sqr-sqrt_binary64
89×*-un-lft-identity_binary64
89×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0922
118320
2234420
Stop Event
node limit
Counts
2 → 57
Calls
Call 1
Inputs
(/.f64 b (*.f64 a a))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 b (pow.f64 a -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (pow.f64 a -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (pow.f64 a -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (pow.f64 a -2))) (cbrt.f64 (/.f64 (*.f64 b b) (pow.f64 a 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (*.f64 b b) (pow.f64 a 4))) (cbrt.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 b) a) (/.f64 (sqrt.f64 b) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 b) (/.f64 1 (*.f64 a (neg.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 a -2) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 b a) (/.f64 1 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 b) 2) 1) (/.f64 (cbrt.f64 b) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 b) 1) (/.f64 (sqrt.f64 b) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 a) (/.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 b) 2) a) (/.f64 (cbrt.f64 b) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 a 4))) (/.f64 b (cbrt.f64 (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 b) 2) (cbrt.f64 (pow.f64 a 4))) (cbrt.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 b) (cbrt.f64 (pow.f64 a 4))) (/.f64 (sqrt.f64 b) (cbrt.f64 (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (pow.f64 a -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (pow.f64 a -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (pow.f64 a -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 b) a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 a (/.f64 b a)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 b (*.f64 a (neg.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 b (pow.f64 a -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (pow.f64 a -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 b 3) (pow.f64 (*.f64 a a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 b (pow.f64 a -2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (pow.f64 a -2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) (cbrt.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))) (cbrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1) 1/4) (pow.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) 2)) (sqrt.f64 (cbrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) 2) 1/2) (pow.f64 (cbrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 b (*.f64 b (pow.f64 a -2)) -1))))))))

simplify51.0ms (3%)

Algorithm
egg-herbie
Rules
693×associate-/r/_binary64
497×fma-def_binary64
434×unswap-sqr_binary64
232×associate-/r*_binary64
211×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010528
117528
230528
355528
4136528
5444528
61879528
73242528
83964528
94573528
Stop Event
node limit
Counts
105 → 61
Calls
Call 1
Inputs
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
Outputs
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (pow.f64 a 2)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

prune34.0ms (2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh101
Picked101
Done000
Total61263
Error
0.0b
Counts
63 → 2
Alt Table
StatusErrorProgram
1.4b
(sqrt.f64 (fabs.f64 (fma.f64 b (log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) -1)))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 891 to 615 computations (31% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

series3.0ms (0.2%)

Counts
1 → 0
Calls

6 calls:

TimeVariablePointExpression
1.0ms
b
@inf
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
1.0ms
b
@0
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0ms
b
@-inf
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0ms
a
@-inf
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0ms
a
@inf
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

rewrite34.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
710×pow1_binary64
656×add-log-exp_binary64
656×log1p-expm1-u_binary64
656×expm1-log1p-u_binary64
80×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0815
116012
2198612
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))) (cbrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))) (cbrt.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)) 1/4) (pow.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))) 2)) (sqrt.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 -1 (pow.f64 (/.f64 b a) 2)))))))))

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
21 → 21
Calls
Call 1
Inputs
Outputs

prune8.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh011
Picked011
Done000
Total21223
Error
0.0b
Counts
23 → 2
Alt Table
StatusErrorProgram
1.4b
(sqrt.f64 (fabs.f64 (fma.f64 b (log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) -1)))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 308 to 220 computations (28.6% saved)

localize8.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (exp.f64 b) (pow.f64 a -2))
0.5b
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))

series255.0ms (14.7%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
103.0ms
b
@0
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))
71.0ms
a
@0
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))
50.0ms
b
@inf
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))
26.0ms
b
@-inf
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))
3.0ms
a
@inf
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))

rewrite39.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
713×pow1_binary64
658×add-log-exp_binary64
657×log1p-expm1-u_binary64
657×expm1-log1p-u_binary64
80×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
116316
2185216
Stop Event
node limit
Counts
2 → 47
Calls
Call 1
Inputs
(log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))
(pow.f64 (exp.f64 b) (pow.f64 a -2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (*.f64 (pow.f64 a -2) 1/2)) (*.f64 b (*.f64 (pow.f64 a -2) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 b (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 b (pow.f64 a -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (pow.f64 a -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 a -2) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (pow.f64 a -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (pow.f64 a -2))) (pow.f64 (cbrt.f64 (*.f64 b (pow.f64 a -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (pow.f64 a -2))) 2) (cbrt.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 a -4)) (*.f64 (cbrt.f64 (pow.f64 a -2)) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 a) (sqrt.f64 b)) (*.f64 (/.f64 1 a) (sqrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 a) (*.f64 (/.f64 1 a) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 b) (/.f64 1 a)) (*.f64 (sqrt.f64 b) (/.f64 1 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (cbrt.f64 (pow.f64 a -4))) (cbrt.f64 (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (/.f64 1 a)) (/.f64 1 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 a -2) (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 a -2) (sqrt.f64 b)) (sqrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (pow.f64 a -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (pow.f64 a -2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (pow.f64 a -2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 a) (sqrt.f64 b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 a -4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (pow.f64 a -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (pow.f64 a -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 a -2) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (pow.f64 a -2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (exp.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) 2) (cbrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) (sqrt.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 (pow.f64 a -2)) (pow.f64 (exp.f64 b) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 b)) 2) (pow.f64 a -2)) (pow.f64 (cbrt.f64 (exp.f64 b)) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 b)) (pow.f64 a -2)) (pow.f64 (sqrt.f64 (exp.f64 b)) (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 b) (*.f64 2 (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 b (pow.f64 a -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))))))))

simplify28.0ms (1.6%)

Algorithm
egg-herbie
Rules
816×associate-/l*_binary64
378×distribute-lft-out_binary64
284×fma-def_binary64
274×distribute-rgt-out_binary64
167×associate-/l/_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
071492
1174486
2556486
32373486
Stop Event
node limit
Counts
95 → 61
Calls
Call 1
Inputs
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(/.f64 b (pow.f64 a 2))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (/.f64 b (pow.f64 a 2)))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6)))))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (+.f64 (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6))) (*.f64 1/40320 (/.f64 (+.f64 (*.f64 1680 (pow.f64 b 4)) (+.f64 (*.f64 -5040 (pow.f64 b 4)) (+.f64 (*.f64 20160 (pow.f64 b 4)) (+.f64 (*.f64 -10080 (pow.f64 b 4)) (*.f64 -6720 (pow.f64 b 4)))))) (pow.f64 a 8))))))
(/.f64 b (pow.f64 a 2))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (/.f64 b (pow.f64 a 2)))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6)))))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (+.f64 (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6))) (*.f64 1/40320 (/.f64 (+.f64 (*.f64 1680 (pow.f64 b 4)) (+.f64 (*.f64 -5040 (pow.f64 b 4)) (+.f64 (*.f64 20160 (pow.f64 b 4)) (+.f64 (*.f64 -10080 (pow.f64 b 4)) (*.f64 -6720 (pow.f64 b 4)))))) (pow.f64 a 8))))))
1
(+.f64 1 (/.f64 b (pow.f64 a 2)))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (/.f64 b (pow.f64 a 2))))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
1
(+.f64 1 (/.f64 b (pow.f64 a 2)))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (/.f64 b (pow.f64 a 2))))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
1
(+.f64 1 (/.f64 b (pow.f64 a 2)))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (/.f64 b (pow.f64 a 2))))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
Outputs
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (/.f64 b (pow.f64 a 2)))
(/.f64 b (*.f64 a a))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6)))))
(/.f64 b (*.f64 a a))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (+.f64 (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6))) (*.f64 1/40320 (/.f64 (+.f64 (*.f64 1680 (pow.f64 b 4)) (+.f64 (*.f64 -5040 (pow.f64 b 4)) (+.f64 (*.f64 20160 (pow.f64 b 4)) (+.f64 (*.f64 -10080 (pow.f64 b 4)) (*.f64 -6720 (pow.f64 b 4)))))) (pow.f64 a 8))))))
(/.f64 b (*.f64 a a))
(/.f64 b (pow.f64 a 2))
(/.f64 b (*.f64 a a))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (/.f64 b (pow.f64 a 2)))
(/.f64 b (*.f64 a a))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6)))))
(/.f64 b (*.f64 a a))
(+.f64 (*.f64 1/24 (/.f64 (+.f64 (*.f64 -12 (pow.f64 b 2)) (*.f64 12 (pow.f64 b 2))) (pow.f64 a 4))) (+.f64 (/.f64 b (pow.f64 a 2)) (+.f64 (*.f64 1/720 (/.f64 (+.f64 (*.f64 120 (pow.f64 b 3)) (+.f64 (*.f64 -360 (pow.f64 b 3)) (*.f64 240 (pow.f64 b 3)))) (pow.f64 a 6))) (*.f64 1/40320 (/.f64 (+.f64 (*.f64 1680 (pow.f64 b 4)) (+.f64 (*.f64 -5040 (pow.f64 b 4)) (+.f64 (*.f64 20160 (pow.f64 b 4)) (+.f64 (*.f64 -10080 (pow.f64 b 4)) (*.f64 -6720 (pow.f64 b 4)))))) (pow.f64 a 8))))))
(/.f64 b (*.f64 a a))
1
(+.f64 1 (/.f64 b (pow.f64 a 2)))
(+.f64 (/.f64 b (*.f64 a a)) 1)
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (/.f64 b (pow.f64 a 2))))
(fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) (+.f64 (/.f64 b (*.f64 a a)) 1))
(+.f64 (/.f64 b (*.f64 a a)) (fma.f64 1/2 (/.f64 b (/.f64 (pow.f64 a 4) b)) 1))
(+.f64 (/.f64 b (*.f64 a a)) (fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) 1))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) (+.f64 1 (+.f64 (/.f64 b (*.f64 a a)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(+.f64 (fma.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6)) (/.f64 b (*.f64 a a))) (fma.f64 1/2 (/.f64 b (/.f64 (pow.f64 a 4) b)) 1))
(+.f64 (fma.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6)) (/.f64 b (*.f64 a a))) (fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) 1))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
(exp.f64 (/.f64 b (pow.f64 a 2)))
(exp.f64 (/.f64 b (*.f64 a a)))
1
(+.f64 1 (/.f64 b (pow.f64 a 2)))
(+.f64 (/.f64 b (*.f64 a a)) 1)
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (/.f64 b (pow.f64 a 2))))
(fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) (+.f64 (/.f64 b (*.f64 a a)) 1))
(+.f64 (/.f64 b (*.f64 a a)) (fma.f64 1/2 (/.f64 b (/.f64 (pow.f64 a 4) b)) 1))
(+.f64 (/.f64 b (*.f64 a a)) (fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) 1))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) (+.f64 1 (+.f64 (/.f64 b (*.f64 a a)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(+.f64 (fma.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6)) (/.f64 b (*.f64 a a))) (fma.f64 1/2 (/.f64 b (/.f64 (pow.f64 a 4) b)) 1))
(+.f64 (fma.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6)) (/.f64 b (*.f64 a a))) (fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) 1))
1
(+.f64 1 (/.f64 b (pow.f64 a 2)))
(+.f64 (/.f64 b (*.f64 a a)) 1)
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (/.f64 b (pow.f64 a 2))))
(fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) (+.f64 (/.f64 b (*.f64 a a)) 1))
(+.f64 (/.f64 b (*.f64 a a)) (fma.f64 1/2 (/.f64 b (/.f64 (pow.f64 a 4) b)) 1))
(+.f64 (/.f64 b (*.f64 a a)) (fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) 1))
(+.f64 (*.f64 1/2 (/.f64 (pow.f64 b 2) (pow.f64 a 4))) (+.f64 1 (+.f64 (/.f64 b (pow.f64 a 2)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) (+.f64 1 (+.f64 (/.f64 b (*.f64 a a)) (*.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6))))))
(+.f64 (fma.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6)) (/.f64 b (*.f64 a a))) (fma.f64 1/2 (/.f64 b (/.f64 (pow.f64 a 4) b)) 1))
(+.f64 (fma.f64 1/6 (/.f64 (pow.f64 b 3) (pow.f64 a 6)) (/.f64 b (*.f64 a a))) (fma.f64 1/2 (/.f64 (*.f64 b b) (pow.f64 a 4)) 1))

prune42.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh000
Picked011
Done011
Total61263
Error
0.0b
Counts
63 → 2
Alt Table
StatusErrorProgram
1.4b
(sqrt.f64 (fabs.f64 (fma.f64 b (log.f64 (pow.f64 (exp.f64 b) (pow.f64 a -2))) -1)))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 1109 to 802 computations (27.7% saved)

regimes32.0ms (1.8%)

Accuracy

Total 0.0b remaining (9.7%)

Threshold costs 0.0b (9.7%)

Counts
5 → 1
Compiler

Compiled 117 to 67 computations (42.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Outputs
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

end45.0ms (2.6%)

Stop Event
done
Compiler

Compiled 50 to 32 computations (36% saved)

Profiling

Loading profile data...