Details

Time bar (total: 2.2s)

analyze4.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
0%0%50%0%0%50%0%3
33.3%12.5%25%0%0%62.5%0%4
60%18.7%12.5%0%0%68.7%0%5
77.8%21.9%6.2%0%0%71.8%0%6
88.2%23.4%3.1%0%0%73.4%0%7
93.9%24.2%1.6%0%0%74.2%0%8
96.9%24.6%0.8%0%0%74.6%0%9
98.4%24.8%0.4%0%0%74.8%0%10
99.2%24.9%0.2%0%0%74.9%0%11
99.6%24.9%0.1%0%0%74.9%0%12
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.4s (65%)

Results
1.4s8256×body256valid
2.0ms17×body256invalid
Bogosity

preprocess11.0ms (0.5%)

Algorithm
egg-herbie
Rules
rational_best-simplify-22
rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01239
11439
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Outputs
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify11.0ms (0.5%)

Algorithm
egg-herbie
Rules
rational_best-simplify-22
rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01239
11439
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Outputs
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))

eval0.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize19.0ms (0.9%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.0b
(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
Compiler

Compiled 53 to 29 computations (45.3% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite76.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
1370×rational_best-1
1366×rational_best-4
1366×rational_best-2
1366×rational_best-3
1350×exponential-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01152
16952
210652
315652
425052
552852
6174652
7421552
8681352
Stop Event
node limit
Counts
2 → 25
Calls
Call 1
Inputs
(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2) (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))))

simplify325.0ms (15.1%)

Algorithm
egg-herbie
Rules
1350×rational_best-simplify-1
1068×rational_best-simplify-2
988×rational_best-simplify-43
710×rational_best-simplify-54
522×rational_best-simplify-29
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131679
11981679
23021679
34281679
47651679
59541679
611771679
714321679
816891679
920061679
1041531679
1144531679
1251341679
1358741679
1465321679
1568021679
1671481679
1774411679
1875671679
1979891679
Stop Event
node limit
Counts
49 → 86
Calls
Call 1
Inputs
(/.f64 2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/16 (pow.f64 x 5)))))
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (/.f64 1 x))
(+.f64 (sqrt.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2))))))
(-.f64 (+.f64 (sqrt.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 4)))))
(*.f64 -1 (sqrt.f64 -1))
(+.f64 (/.f64 1 x) (*.f64 -1 (sqrt.f64 -1)))
(-.f64 (+.f64 (/.f64 1 x) (*.f64 -1 (sqrt.f64 -1))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (*.f64 -1 (sqrt.f64 -1)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 4)))))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
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 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 0)
(-.f64 0 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))
(*.f64 1 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))))
(*.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (/.f64 1 x))
(*.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))) -1)
(/.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)
(/.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))) -1)
(pow.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)
(neg.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(+.f64 0 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(+.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2))
(+.f64 (*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2) (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(-.f64 0 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(*.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) -1)
(*.f64 -1 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(/.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) -1)
(pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(neg.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
Outputs
(/.f64 2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 x -1/2) (*.f64 -1/8 (pow.f64 x 3))))
(+.f64 (*.f64 x -1/2) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/8 (pow.f64 x 3))))
(+.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) (*.f64 -1/8 (pow.f64 x 3)))
(+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 -1/2 x) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/16 (pow.f64 x 5)))))
(+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 x -1/2) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/16 (pow.f64 x 5)))))
(+.f64 (*.f64 x -1/2) (+.f64 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/16 (pow.f64 x 5))) (*.f64 -1/8 (pow.f64 x 3))))
(+.f64 (*.f64 x -1/2) (+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 -1/16 (pow.f64 x 5)))))
(+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 -1/8 (pow.f64 x 3)) (+.f64 (*.f64 x -1/2) (*.f64 -1/16 (pow.f64 x 5)))))
(+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 x -1/2) (+.f64 (*.f64 -1/8 (pow.f64 x 3)) (*.f64 -1/16 (pow.f64 x 5)))))
(sqrt.f64 -1)
(+.f64 (sqrt.f64 -1) (/.f64 1 x))
(+.f64 (/.f64 1 x) (sqrt.f64 -1))
(+.f64 (sqrt.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2))))))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (+.f64 (/.f64 1 x) (sqrt.f64 -1)))
(+.f64 (/.f64 1 x) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2))))))
(-.f64 (+.f64 (sqrt.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 4)))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))) (+.f64 (/.f64 1 x) (sqrt.f64 -1))) (*.f64 1/8 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 4)))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (sqrt.f64 -1) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))) (*.f64 1/8 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 4)))))
(*.f64 -1 (sqrt.f64 -1))
(neg.f64 (sqrt.f64 -1))
(+.f64 (/.f64 1 x) (*.f64 -1 (sqrt.f64 -1)))
(+.f64 (/.f64 1 x) (neg.f64 (sqrt.f64 -1)))
(-.f64 (+.f64 (/.f64 1 x) (*.f64 -1 (sqrt.f64 -1))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 1 x) (neg.f64 (sqrt.f64 -1))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (*.f64 -1 (sqrt.f64 -1)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 4)))))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 4)))) (+.f64 (/.f64 1 x) (neg.f64 (sqrt.f64 -1)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 4)))) (neg.f64 (sqrt.f64 -1)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) (pow.f64 x 2)))))
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 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 1 (*.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 (+.f64 (*.f64 -1/8 (pow.f64 x 4)) (*.f64 -1/16 (pow.f64 x 6))) (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))))
(+.f64 (+.f64 1 (*.f64 -1/2 (pow.f64 x 2))) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) (*.f64 -1/16 (pow.f64 x 6))))
(+.f64 1 (+.f64 (*.f64 -1/8 (pow.f64 x 4)) (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/16 (pow.f64 x 6)))))
(*.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 1 (*.f64 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 (*.f64 x (sqrt.f64 -1)) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (*.f64 (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 (*.f64 x (sqrt.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (sqrt.f64 -1)))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (+.f64 (*.f64 x (sqrt.f64 -1)) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (sqrt.f64 -1)))))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (sqrt.f64 -1)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(neg.f64 (*.f64 x (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 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (*.f64 (sqrt.f64 -1) (neg.f64 x)) (*.f64 1/2 (/.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 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (sqrt.f64 -1)))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (sqrt.f64 -1)))) (*.f64 (sqrt.f64 -1) (neg.f64 x))) (*.f64 1/2 (/.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 (*.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 1 (*.f64 (pow.f64 x 3) (sqrt.f64 -1)))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (sqrt.f64 -1))))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 x 3) (sqrt.f64 -1)))) (*.f64 (sqrt.f64 -1) (neg.f64 x))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 x (sqrt.f64 -1)))) (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 x 5) (sqrt.f64 -1))))))
(-.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 0)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(-.f64 0 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 1 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))))
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (/.f64 1 x))
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(*.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))) -1)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(/.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(/.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))) -1)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(pow.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))) 1)
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(neg.f64 (neg.f64 (*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))
(*.f64 (/.f64 1 x) (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(+.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 0 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 (*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 2) (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(-.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 0)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(-.f64 0 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) -1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(*.f64 -1 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(/.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) -1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(neg.f64 (neg.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))
(sqrt.f64 (-.f64 1 (*.f64 x x)))

eval30.0ms (1.4%)

Compiler

Compiled 1702 to 1373 computations (19.3% saved)

prune10.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh000
Picked011
Done000
Total84387
Error
0b
Counts
87 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(log.f64 (/.f64 2 x))
0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0.4b
(log.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))
Compiler

Compiled 30 to 23 computations (23.3% saved)

localize16.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
Compiler

Compiled 35 to 27 computations (22.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite12.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
18×rational_best-simplify-2
16×rational_best-simplify-1
14×rational_best-4
14×rational_best-2
14×rational_best-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
16425
28325
38525
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)))))

simplify16.0ms (0.8%)

Algorithm
egg-herbie
Rules
14×rational_best-simplify-2
10×rational_best-simplify-7
rational_best-simplify-1
rational_best-simplify-5
rational_best-simplify-49
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019371
126371
236371
340371
441371
543371
645371
Stop Event
saturated
Counts
17 → 10
Calls
Call 1
Inputs
(/.f64 2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(*.f64 -1/2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(*.f64 -1/2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 0)
(*.f64 1 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))
(*.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)
(/.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)
(pow.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)
Outputs
(/.f64 2 x)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(*.f64 -1/2 x)
(*.f64 x -1/2)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(*.f64 -1/2 x)
(*.f64 x -1/2)
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 -1/2 x) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 0)
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(*.f64 1 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(*.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(/.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))
(pow.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))) 1)
(+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x)))

localize5.0ms (0.2%)

Compiler

Compiled 10 to 7 computations (30% saved)

eval2.0ms (0.1%)

Compiler

Compiled 93 to 76 computations (18.3% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New10010
Fresh000
Picked011
Done022
Total10313
Error
0b
Counts
13 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(log.f64 (/.f64 2 x))
0b
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0.4b
(log.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))
Compiler

Compiled 30 to 23 computations (23.3% saved)

regimes74.0ms (3.4%)

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

3 calls:

66.0ms
(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
4.0ms
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
3.0ms
x
Results
ErrorSegmentsBranch
0b1x
0b1(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
0b1(+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x))
Compiler

Compiled 57 to 41 computations (28.1% saved)

regimes3.0ms (0.1%)

Accuracy

Total -0.2b remaining (-54.8%)

Threshold costs -0.2b (-54.8%)

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

1 calls:

2.0ms
x
Results
ErrorSegmentsBranch
0.4b1x
Compiler

Compiled 17 to 13 computations (23.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02079
Stop Event
done
saturated
Calls
Call 1
Inputs
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
(log.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))
(log.f64 (/.f64 2 x))
Outputs
(log.f64 (+.f64 (/.f64 1 x) (/.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) x)))
(log.f64 (+.f64 (*.f64 x -1/2) (*.f64 2 (/.f64 1 x))))
(log.f64 (/.f64 2 x))
Compiler

Compiled 30 to 23 computations (23.3% saved)

soundness0.0ms (0%)

end132.0ms (6.1%)

Compiler

Compiled 28 to 21 computations (25% saved)

Profiling

Loading profile data...