Details

Time bar (total: 5.9s)

analyze266.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14

sample154.0ms

Algorithm
intervals
Results
34.0ms72×body1280valid
17.0ms65×body640valid
8.0ms25×body2560valid
5.0ms29×body320valid
2.0ms55×body80valid
1.0ms10×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
199

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 54.7b

Counts
2 → 1

localize26.0ms

Local error

Found 3 expressions with local error:

12.8b
(sqrt (+ (* x x) 1.0))
17.3b
(+ x (sqrt (+ (* x x) 1.0)))
29.9b
(log (+ x (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
flip3-+ sqrt-prod add-cbrt-cube flip-+
log-div sqrt-div distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 rem-log-exp sum-log log-pow
Counts
3 → 42
Calls
3 calls:
4.0ms
(sqrt (+ (* x x) 1.0))
6.0ms
(+ x (sqrt (+ (* x x) 1.0)))
6.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))

series17.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(sqrt (+ (* x x) 1.0))
4.0ms
(+ x (sqrt (+ (* x x) 1.0)))
9.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))

simplify40.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05075600

prune99.0ms

Filtered
42 candidates to 51 candidates (-21.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0b

Counts
52 → 4

localize10.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (pow (/ x (sqrt 1.0)) 3) -1/6)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
50×associate-*l*
48×add-sqr-sqrt
40×times-frac
29×add-cube-cbrt *-un-lft-identity
25×unpow-prod-down cube-prod
20×sqrt-prod
add-exp-log
unswap-sqr
prod-exp
associate-*r* add-cbrt-cube
pow-exp div-inv sqr-pow
pow1 cube-div cube-mult pow-to-exp unpow3 div-exp associate-*l/ *-commutative cbrt-unprod add-log-exp
Counts
1 → 75
Calls
1 calls:
15.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/6)

series15.0ms

Counts
1 → 3
Calls
1 calls:
15.0ms
(* (pow (/ x (sqrt 1.0)) 3) -1/6)

simplify39.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
04973758
14973758

prune126.0ms

Filtered
40 candidates to 78 candidates (-95.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh033
Picked011
Done000
Total78482

Merged error: 0b

Counts
82 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 0.0625 (pow x 5))
0.1b
(/ 0.125 (pow x 3))
12.6b
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
19.4b
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
71×times-frac
68×*-un-lft-identity
46×add-cube-cbrt
26×unpow-prod-down
19×associate-/r*
15×add-exp-log
14×cube-prod
11×log-prod
10×difference-of-squares sqr-pow
add-log-exp
add-cbrt-cube
div-exp frac-sub associate-/l* distribute-lft-out--
pow1 log-div
cube-mult unpow3 distribute-lft-out
cbrt-undiv pow-to-exp flip3-- frac-2neg flip3-+ diff-log frac-add pow-exp clear-num flip-- flip-+ div-inv
sub-neg rem-log-exp sum-log log-pow associate--r+
Counts
4 → 159
Calls
4 calls:
4.0ms
(/ 0.0625 (pow x 5))
5.0ms
(/ 0.125 (pow x 3))
37.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
37.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

series23.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 0.0625 (pow x 5))
3.0ms
(/ 0.125 (pow x 3))
10.0ms
(log (- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5)))))
6.0ms
(- (/ 0.125 (pow x 3)) (+ (/ 0.5 x) (/ 0.0625 (pow x 5))))

simplify56.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
053612493

prune296.0ms

Filtered
110 candidates to 171 candidates (-55.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh022
Picked011
Done011
Total1714175

Merged error: 0b

Counts
175 → 4

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
0.1b
(/ 0.125 (pow x 3))
10.2b
(log (+ (* x 2) (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
51×times-frac
35×*-un-lft-identity
29×add-cube-cbrt
14×unpow-prod-down cube-prod
12×associate-/r*
10×difference-of-squares
add-exp-log
sqr-pow
add-cbrt-cube add-log-exp
pow1 cube-mult unpow3
log-prod div-exp associate-/l*
log-div distribute-lft-out--
cbrt-undiv pow-to-exp sub-neg flip3-- frac-2neg flip3-+ diff-log rem-log-exp pow-exp clear-num log-pow frac-sub flip-- flip-+ div-inv
Counts
3 → 103
Calls
3 calls:
28.0ms
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
5.0ms
(/ 0.125 (pow x 3))
30.0ms
(log (+ (* x 2) (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

series20.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(- (/ 0.5 x) (/ 0.125 (pow x 3)))
3.0ms
(/ 0.125 (pow x 3))
9.0ms
(log (+ (* x 2) (- (/ 0.5 x) (/ 0.125 (pow x 3)))))

simplify30.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
054511389

prune159.0ms

Filtered
70 candidates to 112 candidates (-60.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1120112
Fresh011
Picked011
Done022
Total1124116

Merged error: 0b

Counts
116 → 4

regimes101.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 32.0b

bsearch60.0ms

Steps
ItersRangePoint
9
3.5414994669164844e-06
998.7618487170289
0.8860700991029492
10
-5588807744.785467
-0.09395944944426991
-1.01671876785975

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09555
19555

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.1s2351×body1280valid
432.0ms1582×body640valid
256.0ms779×body2560valid
131.0ms809×body320valid
82.0ms2095×body80valid
37.0ms384×body160valid

Profiling

Loading profile data...