Details

Time bar (total: 3.5s)

sample80.0ms

Algorithm
intervals
Results
20.0ms108×body2560nan
16.0ms489×body80nan
10.0ms65×body1280nan
10.0ms256×body80valid
4.0ms31×body640nan
2.0ms23×body320nan
1.0ms13×body160nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0119
1119

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
0.2b
(log (+ x (sqrt (- (* x x) 1.0))))
28.5b
(sqrt (- (* x x) 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
pow1 add-cube-cbrt add-log-exp
add-exp-log log-prod sqrt-prod
add-cbrt-cube
log-div flip3-+ sqrt-div flip-+ distribute-lft-out
+-commutative rem-sqrt-square flip3-- sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow flip-- difference-of-squares
Counts
3 → 43
Calls
3 calls:
6.0ms
(+ x (sqrt (- (* x x) 1.0)))
6.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

series18.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ x (sqrt (- (* x x) 1.0)))
10.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
4.0ms
(sqrt (- (* x x) 1.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04948610
14948610

prune92.0ms

Filtered
43 candidates to 52 candidates (-20.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New50252
Fresh000
Picked011
Done000
Total50353

Merged error: 0b

Counts
53 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x))))
0.2b
(+ (log 2) (- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
0.3b
(/ 0.09375 (pow x 4))
0.6b
(/ 0.25 (* x x))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
27×add-sqr-sqrt
25×add-cube-cbrt
24×times-frac
16×distribute-lft-out
15×pow1
14×add-exp-log
12×unpow-prod-down distribute-lft-out--
11×log-pow add-cbrt-cube add-log-exp
log-prod
associate-/r*
associate--l+ associate-/l*
associate-+r+ div-exp sum-log
diff-log sqr-pow
cbrt-undiv associate-+l+
sub-neg frac-2neg clear-num div-inv
+-commutative pow-to-exp associate-+r- flip3-- flip3-+ pow-exp prod-exp flip-- cbrt-unprod flip-+ associate--r+ difference-of-squares
Counts
4 → 120
Calls
4 calls:
17.0ms
(- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x))))
20.0ms
(+ (log 2) (- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
4.0ms
(/ 0.09375 (pow x 4))
5.0ms
(/ 0.25 (* x x))

series25.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x))))
12.0ms
(+ (log 2) (- (log x) (+ (/ 0.09375 (pow x 4)) (/ 0.25 (* x x)))))
3.0ms
(/ 0.09375 (pow x 4))
3.0ms
(/ 0.25 (* x x))

simplify58.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049681655
149681655

prune192.0ms

Filtered
84 candidates to 132 candidates (-57.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1320132
Fresh011
Picked011
Done011
Total1323135

Merged error: 0b

Counts
135 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
0.0b
(sqrt (+ x (sqrt 1.0)))
0.2b
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×sqrt-prod
16×*-un-lft-identity
14×sqrt-div
10×pow1 add-cube-cbrt
associate-*r*
add-exp-log associate-*l*
flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
log-prod flip3-- sqrt-pow1 pow1/2 pow-prod-down flip--
log-div associate-*r/ associate-*l/ distribute-lft-out difference-of-squares
+-commutative rem-sqrt-square sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod distribute-lft-out--
Counts
4 → 83
Calls
4 calls:
2.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
4.0ms
(sqrt (+ x (sqrt 1.0)))
2.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
12.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series38.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
4.0ms
(sqrt (+ x (sqrt 1.0)))
13.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
051981470

prune196.0ms

Filtered
72 candidates to 95 candidates (-31.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New95095
Fresh000
Picked011
Done022
Total95398

Merged error: 0b

Counts
98 → 3

regimes90.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01617
11617

end0.0ms

sample2.5s

Algorithm
intervals
Results
552.0ms2942×body2560nan
533.0ms16308×body80nan
397.0ms2530×body1280nan
312.0ms8000×body80valid
153.0ms1241×body640nan
62.0ms648×body320nan
21.0ms305×body160nan

Profiling

Loading profile data...